summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libwebp/src/utils/huffman_encode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/libwebp/src/utils/huffman_encode.h')
-rw-r--r--src/3rdparty/libwebp/src/utils/huffman_encode.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/3rdparty/libwebp/src/utils/huffman_encode.h b/src/3rdparty/libwebp/src/utils/huffman_encode.h
index 91aa18f..a157165 100644
--- a/src/3rdparty/libwebp/src/utils/huffman_encode.h
+++ b/src/3rdparty/libwebp/src/utils/huffman_encode.h
@@ -34,10 +34,9 @@ typedef struct {
} HuffmanTreeCode;
// Struct to represent the Huffman tree.
-// TODO(vikasa): Add comment for the fields of the Struct.
typedef struct {
- uint32_t total_count_;
- int value_;
+ uint32_t total_count_; // Symbol frequency.
+ int value_; // Symbol value.
int pool_index_left_; // Index for the left sub-tree.
int pool_index_right_; // Index for the right sub-tree.
} HuffmanTree;