Lines Matching refs:buf_rle
458 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
608 VP8LCreateHuffmanTree(histogram, 7, buf_rle, huff_tree, &huffman_code); in StoreFullHuffmanCode()