Home | History | Annotate | Download | only in enc

Lines Matching refs:histo

496   VP8LHistogram* histo = NULL;
511 histo = VP8LAllocateHistogram(cache_bits);
512 if (histo == NULL) goto Error;
514 VP8LHistogramCreate(histo, refs, cache_bits);
517 VP8LHistogramNumCodes(histo->palette_code_bits_),
518 histo->literal_, m->literal_);
520 VALUES_IN_BYTE, histo->red_, m->red_);
522 VALUES_IN_BYTE, histo->blue_, m->blue_);
524 VALUES_IN_BYTE, histo->alpha_, m->alpha_);
526 NUM_DISTANCE_CODES, histo->distance_, m->distance_);
530 VP8LFreeHistogram(histo);
840 VP8LHistogram* const histo = VP8LAllocateHistogram(cache_bits);
841 if (histo == NULL) return NULL;
843 VP8LHistogramCreate(histo, refs_lz77, cache_bits);
844 bit_cost_lz77 = VP8LHistogramEstimateBits(histo);
846 VP8LHistogramCreate(histo, refs_rle, cache_bits);
847 bit_cost_rle = VP8LHistogramEstimateBits(histo);
850 VP8LFreeHistogram(histo);
892 VP8LHistogram* histo = VP8LAllocateHistogram(cache_bits);
893 if (histo == NULL) goto Error;
908 VP8LHistogramAddSinglePixOrCopy(histo, &token);
910 VP8LHistogramAddSinglePixOrCopy(histo, v);
913 VP8LHistogramAddSinglePixOrCopy(histo, v);
926 entropy = VP8LHistogramEstimateBits(histo) +
930 VP8LFreeHistogram(histo);