mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-12 05:39:01 +08:00
Spec: Fix Tagged Symbols constant
- Addresses a comment in KhronosGroup/glTF#1114
This commit is contained in:
parent
86a6933a5d
commit
e3d2fc61cb
@ -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]
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user