Home
last modified time | relevance | path

Searched refs:buf_rle (Results 1 – 3 of 3) sorted by relevance

/external/webp/src/utils/
Dhuffman_encode_utils.c407 uint8_t* const buf_rle, in VP8LCreateHuffmanTree() argument
411 memset(buf_rle, 0, num_symbols * sizeof(*buf_rle)); in VP8LCreateHuffmanTree()
412 OptimizeHuffmanForRle(num_symbols, buf_rle, histogram); in VP8LCreateHuffmanTree()
Dhuffman_encode_utils.h53 uint8_t* const buf_rle, HuffmanTree* const huff_tree,
/external/webp/src/enc/
Dvp8l_enc.c458 uint8_t* buf_rle = NULL; in GetHuffBitLengthsAndCodes() local
497 buf_rle = (uint8_t*)WebPSafeMalloc(1ULL, max_num_symbols); in GetHuffBitLengthsAndCodes()
500 if (buf_rle == NULL || huff_tree == NULL) goto End; in GetHuffBitLengthsAndCodes()
506 VP8LCreateHuffmanTree(histo->literal_, 15, buf_rle, huff_tree, codes + 0); in GetHuffBitLengthsAndCodes()
507 VP8LCreateHuffmanTree(histo->red_, 15, buf_rle, huff_tree, codes + 1); in GetHuffBitLengthsAndCodes()
508 VP8LCreateHuffmanTree(histo->blue_, 15, buf_rle, huff_tree, codes + 2); in GetHuffBitLengthsAndCodes()
509 VP8LCreateHuffmanTree(histo->alpha_, 15, buf_rle, huff_tree, codes + 3); in GetHuffBitLengthsAndCodes()
510 VP8LCreateHuffmanTree(histo->distance_, 15, buf_rle, huff_tree, codes + 4); in GetHuffBitLengthsAndCodes()
515 WebPSafeFree(buf_rle); in GetHuffBitLengthsAndCodes()
602 uint8_t buf_rle[CODE_LENGTH_CODES] = { 0 }; in StoreFullHuffmanCode() local
[all …]