From e3d2fc61cb03139be3f243c36858f7daa30738eb Mon Sep 17 00:00:00 2001 From: Frank Galligan Date: Tue, 24 Oct 2017 13:33:28 -0700 Subject: [PATCH] Spec: Fix Tagged Symbols constant - Addresses a comment in KhronosGroup/glTF#1114 --- docs/spec/rans.decoding.md | 2 +- docs/spec/variable.descriptions.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/spec/rans.decoding.md b/docs/spec/rans.decoding.md index 4ee00c3..95ac98a 100644 --- a/docs/spec/rans.decoding.md +++ b/docs/spec/rans.decoding.md @@ -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] diff --git a/docs/spec/variable.descriptions.md b/docs/spec/variable.descriptions.md index 19e3711..5305450 100644 --- a/docs/spec/variable.descriptions.md +++ b/docs/spec/variable.descriptions.md @@ -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