Searched refs:good_for_rle (Results 1 – 5 of 5) sorted by relevance
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()
245 uint8_t* good_for_rle) { in BrotliOptimizeHuffmanCountsForRle() argument299 memset(good_for_rle, 0, length); in BrotliOptimizeHuffmanCountsForRle()312 good_for_rle[i - k - 1] = 1; in BrotliOptimizeHuffmanCountsForRle()330 if (i == length || good_for_rle[i] || in BrotliOptimizeHuffmanCountsForRle()331 (i != 0 && good_for_rle[i - 1]) || in BrotliOptimizeHuffmanCountsForRle()
63 size_t length, uint32_t* counts, uint8_t* good_for_rle);
643 uint8_t good_for_rle[BROTLI_NUM_COMMAND_SYMBOLS]; in BrotliOptimizeHistograms() local647 good_for_rle); in BrotliOptimizeHistograms()652 good_for_rle); in BrotliOptimizeHistograms()657 good_for_rle); in BrotliOptimizeHistograms()
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()