mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-14 10:06:09 +08:00
Merge pull request #261 from google/spec_fix_stan_symbol_buffer
Spec: Fix standard edgebreaker symbol buffer
This commit is contained in:
commit
44f9d88be9
@ -323,10 +323,10 @@ void NewActiveCornerReached(new_corner, symbol_id) {
|
|||||||
|
|
||||||
~~~~~
|
~~~~~
|
||||||
void ParseEdgebreakerStandardSymbol() {
|
void ParseEdgebreakerStandardSymbol() {
|
||||||
symbol = bit_symbol_buffer.ReadBits(1);
|
symbol = eb_symbol_buffer.ReadBits(1);
|
||||||
if (symbol != TOPOLOGY_C) {
|
if (symbol != TOPOLOGY_C) {
|
||||||
// Else decode two additional bits.
|
// Else decode two additional bits.
|
||||||
symbol_suffix = bit_symbol_buffer.ReadBits(2);
|
symbol_suffix = eb_symbol_buffer.ReadBits(2);
|
||||||
symbol |= (symbol_suffix << 1);
|
symbol |= (symbol_suffix << 1);
|
||||||
}
|
}
|
||||||
last_symbol_ = symbol;
|
last_symbol_ = symbol;
|
||||||
|
@ -144,8 +144,6 @@
|
|||||||
* Last EdgeBreaker symbol decoded
|
* Last EdgeBreaker symbol decoded
|
||||||
* last_vert_added
|
* last_vert_added
|
||||||
* Id of the last vertex decoded
|
* Id of the last vertex decoded
|
||||||
* bit_symbol_buffer
|
|
||||||
* Standard EdgeBreaker encoded symbol buffer
|
|
||||||
* active_corner_stack
|
* active_corner_stack
|
||||||
* Array of current working corners used during EdgeBreaker decoding
|
* Array of current working corners used during EdgeBreaker decoding
|
||||||
* edge_breaker_symbol_to_topology_id
|
* edge_breaker_symbol_to_topology_id
|
||||||
@ -163,7 +161,7 @@
|
|||||||
#### EdgeBreaker Traversal
|
#### EdgeBreaker Traversal
|
||||||
* eb_symbol_buffer_size
|
* eb_symbol_buffer_size
|
||||||
* eb_symbol_buffer
|
* eb_symbol_buffer
|
||||||
* EdgeBreaker encoded symbol data
|
* Standard EdgeBreaker encoded symbol data
|
||||||
* eb_start_face_buffer_prob_zero
|
* eb_start_face_buffer_prob_zero
|
||||||
* Face configuration encoded probability
|
* Face configuration encoded probability
|
||||||
* eb_start_face_buffer_size
|
* eb_start_face_buffer_size
|
||||||
|
Loading…
x
Reference in New Issue
Block a user