mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-04-22 05:39:54 +08:00
Spec: Change RansBitDecoder size to varUI32
- Bitstream 2.2 changed the RansBitCoder size from UI32 to varUI32. - This is associated with KhronosGroup/glTF#1114
This commit is contained in:
parent
a0224094ba
commit
9b51d1bf6f
@ -11,7 +11,7 @@ void ParseEdgebreakerTraversalStandardData() {
|
|||||||
eb_start_face_buffer size * UI8
|
eb_start_face_buffer size * UI8
|
||||||
for (i = 0; i < num_attribute_data; ++i) {
|
for (i = 0; i < num_attribute_data; ++i) {
|
||||||
attribute_connectivity_decoders_prob_zero[i] UI8
|
attribute_connectivity_decoders_prob_zero[i] UI8
|
||||||
attribute_connectivity_decoders_size[i] UI32
|
attribute_connectivity_decoders_size[i] varUI32
|
||||||
attribute_connectivity_decoders_buffer[i] size * UI8
|
attribute_connectivity_decoders_buffer[i] size * UI8
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -90,7 +90,7 @@ void DecodeTransformData() {
|
|||||||
~~~~~
|
~~~~~
|
||||||
void ParsePredictionRansData() {
|
void ParsePredictionRansData() {
|
||||||
prediction_rans_prob_zero UI8
|
prediction_rans_prob_zero UI8
|
||||||
prediction_rans_data_size UI32
|
prediction_rans_data_size varUI32
|
||||||
}
|
}
|
||||||
~~~~~
|
~~~~~
|
||||||
{:.draco-syntax}
|
{:.draco-syntax}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user