Home
last modified time | relevance | path

Searched refs:histo_bits (Results 1 – 2 of 2) sorted by relevance

/external/webp/src/enc/
Dhistogram.c223 static void HistogramBuildImage(int xsize, int histo_bits, in HistogramBuildImage() argument
228 const int histo_xsize = VP8LSubSampleSize(xsize, histo_bits); in HistogramBuildImage()
230 assert(histo_bits > 0); in HistogramBuildImage()
233 const int ix = (y >> histo_bits) * histo_xsize + (x >> histo_bits); in HistogramBuildImage()
381 int quality, int histo_bits, int cache_bits, in VP8LGetHistoImageSymbols() argument
385 const int histo_xsize = histo_bits ? VP8LSubSampleSize(xsize, histo_bits) : 1; in VP8LGetHistoImageSymbols()
386 const int histo_ysize = histo_bits ? VP8LSubSampleSize(ysize, histo_bits) : 1; in VP8LGetHistoImageSymbols()
394 HistogramBuildImage(xsize, histo_bits, refs, image_out); in VP8LGetHistoImageSymbols()
Dvp8l.c416 VP8LBitWriter* const bw, int width, int histo_bits, in StoreImageToBitMask() argument
423 const int histo_xsize = histo_bits ? VP8LSubSampleSize(width, histo_bits) : 1; in StoreImageToBitMask()
427 const int histogram_ix = histogram_symbols[histo_bits ? in StoreImageToBitMask()
428 (y >> histo_bits) * histo_xsize + in StoreImageToBitMask()
429 (x >> histo_bits) : 0]; in StoreImageToBitMask()
903 int histo_bits = 7 - config->method; in GetHistoBits() local
905 const size_t huff_image_size = VP8LSubSampleSize(width, histo_bits) * in GetHistoBits()
906 VP8LSubSampleSize(height, histo_bits) * in GetHistoBits()
909 ++histo_bits; in GetHistoBits()
911 return (histo_bits < MIN_HUFFMAN_BITS) ? MIN_HUFFMAN_BITS : in GetHistoBits()
[all …]