Searched refs:buf_rle (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/libwebp/utils/
H A Dhuffman_encode.h51 // 'buf_rle' and 'huff_tree' are pre-allocated and the 'tree' is the constructed
54 uint8_t* const buf_rle, HuffmanTree* const huff_tree,
H A Dhuffman_encode.c407 uint8_t* const buf_rle,
411 memset(buf_rle, 0, num_symbols * sizeof(*buf_rle));
412 OptimizeHuffmanForRle(num_symbols, buf_rle, histogram);
406 VP8LCreateHuffmanTree(uint32_t* const histogram, int tree_depth_limit, uint8_t* const buf_rle, HuffmanTree* const huff_tree, HuffmanTreeCode* const huff_code) argument
/external/webp/src/utils/
H A Dhuffman_encode.h51 // 'buf_rle' and 'huff_tree' are pre-allocated and the 'tree' is the constructed
54 uint8_t* const buf_rle, HuffmanTree* const huff_tree,
H A Dhuffman_encode.c407 uint8_t* const buf_rle,
411 memset(buf_rle, 0, num_symbols * sizeof(*buf_rle));
412 OptimizeHuffmanForRle(num_symbols, buf_rle, histogram);
406 VP8LCreateHuffmanTree(uint32_t* const histogram, int tree_depth_limit, uint8_t* const buf_rle, HuffmanTree* const huff_tree, HuffmanTreeCode* const huff_code) argument
/external/chromium_org/third_party/libwebp/enc/
H A Dvp8l.c194 uint8_t* buf_rle = NULL; local
232 buf_rle = (uint8_t*)WebPSafeMalloc(1ULL, max_num_symbols);
235 if (buf_rle == NULL || huff_tree == NULL) goto End;
241 VP8LCreateHuffmanTree(histo->literal_, 15, buf_rle, huff_tree, codes + 0);
242 VP8LCreateHuffmanTree(histo->red_, 15, buf_rle, huff_tree, codes + 1);
243 VP8LCreateHuffmanTree(histo->blue_, 15, buf_rle, huff_tree, codes + 2);
244 VP8LCreateHuffmanTree(histo->alpha_, 15, buf_rle, huff_tree, codes + 3);
245 VP8LCreateHuffmanTree(histo->distance_, 15, buf_rle, huff_tree, codes + 4);
250 WebPSafeFree(buf_rle);
337 uint8_t buf_rle[CODE_LENGTH_CODE local
[all...]
/external/webp/src/enc/
H A Dvp8l.c194 uint8_t* buf_rle = NULL; local
232 buf_rle = (uint8_t*)WebPSafeMalloc(1ULL, max_num_symbols);
235 if (buf_rle == NULL || huff_tree == NULL) goto End;
241 VP8LCreateHuffmanTree(histo->literal_, 15, buf_rle, huff_tree, codes + 0);
242 VP8LCreateHuffmanTree(histo->red_, 15, buf_rle, huff_tree, codes + 1);
243 VP8LCreateHuffmanTree(histo->blue_, 15, buf_rle, huff_tree, codes + 2);
244 VP8LCreateHuffmanTree(histo->alpha_, 15, buf_rle, huff_tree, codes + 3);
245 VP8LCreateHuffmanTree(histo->distance_, 15, buf_rle, huff_tree, codes + 4);
250 WebPSafeFree(buf_rle);
337 uint8_t buf_rle[CODE_LENGTH_CODE local
[all...]

Completed in 149 milliseconds