Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dhistogram_enc.c466 int xsize, int histo_bits, const VP8LBackwardRefs* const backward_refs, in HistogramBuild() argument
469 const int histo_xsize = VP8LSubSampleSize(xsize, histo_bits); in HistogramBuild()
472 assert(histo_bits > 0); in HistogramBuild()
475 const int ix = (y >> histo_bits) * histo_xsize + (x >> histo_bits); in HistogramBuild()
926 int histo_bits, int cache_bits, in VP8LGetHistoImageSymbols() argument
931 const int histo_xsize = histo_bits ? VP8LSubSampleSize(xsize, histo_bits) : 1; in VP8LGetHistoImageSymbols()
932 const int histo_ysize = histo_bits ? VP8LSubSampleSize(ysize, histo_bits) : 1; in VP8LGetHistoImageSymbols()
947 HistogramBuild(xsize, histo_bits, refs, orig_histo); in VP8LGetHistoImageSymbols()
Dvp8l_enc.c309 int histo_bits = (use_palette ? 9 : 7) - method; in GetHistoBits() local
311 const int huff_image_size = VP8LSubSampleSize(width, histo_bits) * in GetHistoBits()
312 VP8LSubSampleSize(height, histo_bits); in GetHistoBits()
314 ++histo_bits; in GetHistoBits()
316 return (histo_bits < MIN_HUFFMAN_BITS) ? MIN_HUFFMAN_BITS : in GetHistoBits()
317 (histo_bits > MAX_HUFFMAN_BITS) ? MAX_HUFFMAN_BITS : histo_bits; in GetHistoBits()
320 static int GetTransformBits(int method, int histo_bits) { in GetTransformBits() argument
323 (histo_bits > max_transform_bits) ? max_transform_bits : histo_bits; in GetTransformBits()
644 VP8LBitWriter* const bw, int width, int histo_bits, in StoreImageToBitMask() argument
648 const int histo_xsize = histo_bits ? VP8LSubSampleSize(width, histo_bits) : 1; in StoreImageToBitMask()
[all …]