Spec: Fix Tagged Symbol decoder

This commit is contained in:
Frank Galligan 2017-10-24 15:04:52 -07:00
parent 27b162f70b
commit 4906362b82
2 changed files with 2 additions and 1 deletions

View File

@ -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]

View File

@ -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