Home
last modified time | relevance | path

Searched refs:good_for_rle (Results 1 – 5 of 5) sorted by relevance

/external/brotli/c/enc/
Dentropy_encode.c243 uint8_t* good_for_rle) { in BrotliOptimizeHuffmanCountsForRle() argument
297 memset(good_for_rle, 0, length); in BrotliOptimizeHuffmanCountsForRle()
310 good_for_rle[i - k - 1] = 1; in BrotliOptimizeHuffmanCountsForRle()
328 if (i == length || good_for_rle[i] || in BrotliOptimizeHuffmanCountsForRle()
329 (i != 0 && good_for_rle[i - 1]) || in BrotliOptimizeHuffmanCountsForRle()
Dmetablock.c647 uint8_t good_for_rle[BROTLI_NUM_COMMAND_SYMBOLS]; in BrotliOptimizeHistograms() local
651 good_for_rle); in BrotliOptimizeHistograms()
656 good_for_rle); in BrotliOptimizeHistograms()
661 good_for_rle); in BrotliOptimizeHistograms()
Dentropy_encode.h63 size_t length, uint32_t* counts, uint8_t* good_for_rle);
/external/webp/src/utils/
Dhuffman_encode_utils.c31 static void OptimizeHuffmanForRle(int length, uint8_t* const good_for_rle, in OptimizeHuffmanForRle() argument
58 good_for_rle[i - k - 1] = 1; in OptimizeHuffmanForRle()
76 if (i == length || good_for_rle[i] || in OptimizeHuffmanForRle()
77 (i != 0 && good_for_rle[i - 1]) || in OptimizeHuffmanForRle()
/external/zopfli/src/zopfli/
Ddeflate.c384 int* good_for_rle; in OptimizeHuffmanForRle() local
399 good_for_rle = (int*)malloc(length * sizeof(int)); in OptimizeHuffmanForRle()
400 for (i = 0; i < length; ++i) good_for_rle[i] = 0; in OptimizeHuffmanForRle()
411 good_for_rle[i - k - 1] = 1; in OptimizeHuffmanForRle()
428 if (i == length || good_for_rle[i] in OptimizeHuffmanForRle()
464 free(good_for_rle); in OptimizeHuffmanForRle()