From 4906362b82fbefbd50b84d1fded09b442e904465 Mon Sep 17 00:00:00 2001 From: Frank Galligan Date: Tue, 24 Oct 2017 15:04:52 -0700 Subject: [PATCH] Spec: Fix Tagged Symbol decoder --- 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 0d5a820..bf5f972 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_, 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] diff --git a/docs/spec/variable.descriptions.md b/docs/spec/variable.descriptions.md index c8f48d0..2762743 100644 --- a/docs/spec/variable.descriptions.md +++ b/docs/spec/variable.descriptions.md @@ -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