Lines Matching refs:histogram_image
472 const VP8LHistogramSet* const histogram_image, in GetHuffBitLengthsAndCodes() argument
478 const int histogram_image_size = histogram_image->size; in GetHuffBitLengthsAndCodes()
485 const VP8LHistogram* const histo = histogram_image->histograms[i]; in GetHuffBitLengthsAndCodes()
527 VP8LHistogram* const histo = histogram_image->histograms[i]; in GetHuffBitLengthsAndCodes()
806 VP8LHistogramSet* histogram_image = NULL; in EncodeImageNoHuffman() local
825 histogram_image = VP8LAllocateHistogramSet(1, cache_bits); in EncodeImageNoHuffman()
826 if (histogram_image == NULL) { in EncodeImageNoHuffman()
830 VP8LHistogramSetClear(histogram_image); in EncodeImageNoHuffman()
833 VP8LHistogramStoreRefs(refs, histogram_image->histograms[0]); in EncodeImageNoHuffman()
836 assert(histogram_image->size == 1); in EncodeImageNoHuffman()
837 if (!GetHuffBitLengthsAndCodes(histogram_image, huffman_codes)) { in EncodeImageNoHuffman()
873 VP8LFreeHistogramSet(histogram_image); in EncodeImageNoHuffman()
888 VP8LHistogramSet* histogram_image = NULL; in EncodeImageInternal() local
953 histogram_image = in EncodeImageInternal()
956 if (histogram_image == NULL || tmp_histo == NULL || in EncodeImageInternal()
959 cache_bits_tmp, histogram_image, tmp_histo, in EncodeImageInternal()
964 histogram_image_size = histogram_image->size; in EncodeImageInternal()
972 !GetHuffBitLengthsAndCodes(histogram_image, huffman_codes)) { in EncodeImageInternal()
976 VP8LFreeHistogramSet(histogram_image); in EncodeImageInternal()
977 histogram_image = NULL; in EncodeImageInternal()
1067 VP8LFreeHistogramSet(histogram_image); in EncodeImageInternal()