mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-04-23 14:19:53 +08:00
Spec: Fix Tagged Symbol decoder
This commit is contained in:
parent
27b162f70b
commit
4906362b82
@ -26,7 +26,7 @@ void DecodeTaggedSymbols(num_values, num_components, out_values) {
|
||||
encoded_data UI8[size]
|
||||
RansInitDecoder(ans_, &encoded_data[0], size, l_rans_base);
|
||||
for (i = 0; i < num_values; i += num_components) {
|
||||
RansRead(ans_, TAGGED_RANS_BASE, rans_precision,
|
||||
RansRead(ans_, TAGGED_RANS_BASE, TAGGED_RANS_PRECISION,
|
||||
lut_table_, probability_table_, &size);
|
||||
for (j = 0; j < num_components; ++j) {
|
||||
val f[size]
|
||||
|
@ -70,6 +70,7 @@
|
||||
* 256: IO_BASE
|
||||
* 4096: L_RANS_BASE
|
||||
* 16384: TAGGED_RANS_BASE
|
||||
* 4096: TAGGED_RANS_PRECISION
|
||||
|
||||
* Symbol encoding methods
|
||||
* 0: TAGGED_SYMBOLS
|
||||
|
Loading…
x
Reference in New Issue
Block a user