Spec: Fix Tagged Symbols constant

- Addresses a comment in KhronosGroup/glTF#1114
This commit is contained in:
Frank Galligan 2017-10-24 13:33:28 -07:00
parent 86a6933a5d
commit e3d2fc61cb
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_, L_RANS_BASE, rans_precision,
RansRead(ans_, TAGGED_RANS_BASE, rans_precision,
lut_table_, probability_table_, &size);
for (j = 0; j < num_components; ++j) {
val f[size]

View File

@ -69,6 +69,7 @@
* 4096: rabs_l_base
* 256: IO_BASE
* 4096: L_RANS_BASE
* 16384: TAGGED_RANS_BASE
* Symbol encoding methods
* 0: TAGGED_SYMBOLS