Searched refs:good_for_rle (Results 1 – 5 of 5) sorted by relevance
243 uint8_t* good_for_rle) { in BrotliOptimizeHuffmanCountsForRle() argument297 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()
647 uint8_t good_for_rle[BROTLI_NUM_COMMAND_SYMBOLS]; in BrotliOptimizeHistograms() local651 good_for_rle); in BrotliOptimizeHistograms()656 good_for_rle); in BrotliOptimizeHistograms()661 good_for_rle); in BrotliOptimizeHistograms()
63 size_t length, uint32_t* counts, uint8_t* good_for_rle);
31 static void OptimizeHuffmanForRle(int length, uint8_t* const good_for_rle, in OptimizeHuffmanForRle() argument58 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()
384 int* good_for_rle; in OptimizeHuffmanForRle() local399 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()