Searched refs:histo_bits (Results 1 – 2 of 2) sorted by relevance
/external/webp/src/enc/ |
D | histogram_enc.c | 559 int xsize, int histo_bits, const VP8LBackwardRefs* const backward_refs, in HistogramBuild() argument 562 const int histo_xsize = VP8LSubSampleSize(xsize, histo_bits); in HistogramBuild() 565 assert(histo_bits > 0); in HistogramBuild() 569 const int ix = (y >> histo_bits) * histo_xsize + (x >> histo_bits); in HistogramBuild() 1174 int histo_bits, int cache_bits, in VP8LGetHistoImageSymbols() argument 1179 const int histo_xsize = histo_bits ? VP8LSubSampleSize(xsize, histo_bits) : 1; in VP8LGetHistoImageSymbols() 1180 const int histo_ysize = histo_bits ? VP8LSubSampleSize(ysize, histo_bits) : 1; in VP8LGetHistoImageSymbols() 1196 HistogramBuild(xsize, histo_bits, refs, orig_histo); in VP8LGetHistoImageSymbols()
|
D | vp8l_enc.c | 338 int histo_bits = (use_palette ? 9 : 7) - method; in GetHistoBits() local 340 const int huff_image_size = VP8LSubSampleSize(width, histo_bits) * in GetHistoBits() 341 VP8LSubSampleSize(height, histo_bits); in GetHistoBits() 343 ++histo_bits; in GetHistoBits() 345 return (histo_bits < MIN_HUFFMAN_BITS) ? MIN_HUFFMAN_BITS : in GetHistoBits() 346 (histo_bits > MAX_HUFFMAN_BITS) ? MAX_HUFFMAN_BITS : histo_bits; in GetHistoBits() 349 static int GetTransformBits(int method, int histo_bits) { in GetTransformBits() argument 352 (histo_bits > max_transform_bits) ? max_transform_bits : histo_bits; in GetTransformBits() 734 VP8LBitWriter* const bw, int width, int histo_bits, in StoreImageToBitMask() argument 738 const int histo_xsize = histo_bits ? VP8LSubSampleSize(width, histo_bits) : 1; in StoreImageToBitMask() [all …]
|