Home
last modified time | relevance | path

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

/external/opencv3/3rdparty/libwebp/enc/
Dhistogram.c335 static void HistogramBuildImage(int xsize, int histo_bits, in HistogramBuildImage() argument
340 const int histo_xsize = VP8LSubSampleSize(xsize, histo_bits); in HistogramBuildImage()
342 assert(histo_bits > 0); in HistogramBuildImage()
345 const int ix = (y >> histo_bits) * histo_xsize + (x >> histo_bits); in HistogramBuildImage()
483 int quality, int histo_bits, int cache_bits, in VP8LGetHistoImageSymbols() argument
487 const int histo_xsize = histo_bits ? VP8LSubSampleSize(xsize, histo_bits) : 1; in VP8LGetHistoImageSymbols()
488 const int histo_ysize = histo_bits ? VP8LSubSampleSize(ysize, histo_bits) : 1; in VP8LGetHistoImageSymbols()
501 HistogramBuildImage(xsize, histo_bits, refs, image_out); in VP8LGetHistoImageSymbols()
Dvp8l.c424 VP8LBitWriter* const bw, int width, int histo_bits, in StoreImageToBitMask() argument
431 const int histo_xsize = histo_bits ? VP8LSubSampleSize(width, histo_bits) : 1; in StoreImageToBitMask()
435 const int histogram_ix = histogram_symbols[histo_bits ? in StoreImageToBitMask()
436 (y >> histo_bits) * histo_xsize + in StoreImageToBitMask()
437 (x >> histo_bits) : 0]; in StoreImageToBitMask()
927 int histo_bits = (use_palette ? 9 : 7) - method; in GetHistoBits() local
929 const uint64_t huff_image_size = VP8LSubSampleSize(width, histo_bits) * in GetHistoBits()
930 VP8LSubSampleSize(height, histo_bits) * in GetHistoBits()
933 ++histo_bits; in GetHistoBits()
935 return (histo_bits < MIN_HUFFMAN_BITS) ? MIN_HUFFMAN_BITS : in GetHistoBits()
[all …]
/external/webp/src/enc/
Dhistogram.c417 int xsize, int histo_bits, const VP8LBackwardRefs* const backward_refs, in HistogramBuild() argument
420 const int histo_xsize = VP8LSubSampleSize(xsize, histo_bits); in HistogramBuild()
423 assert(histo_bits > 0); in HistogramBuild()
426 const int ix = (y >> histo_bits) * histo_xsize + (x >> histo_bits); in HistogramBuild()
867 int histo_bits, int cache_bits, in VP8LGetHistoImageSymbols() argument
872 const int histo_xsize = histo_bits ? VP8LSubSampleSize(xsize, histo_bits) : 1; in VP8LGetHistoImageSymbols()
873 const int histo_ysize = histo_bits ? VP8LSubSampleSize(ysize, histo_bits) : 1; in VP8LGetHistoImageSymbols()
902 HistogramBuild(xsize, histo_bits, refs, orig_histo); in VP8LGetHistoImageSymbols()
Dvp8l.c348 int histo_bits = (use_palette ? 9 : 7) - method; in GetHistoBits() local
350 const int huff_image_size = VP8LSubSampleSize(width, histo_bits) * in GetHistoBits()
351 VP8LSubSampleSize(height, histo_bits); in GetHistoBits()
353 ++histo_bits; in GetHistoBits()
355 return (histo_bits < MIN_HUFFMAN_BITS) ? MIN_HUFFMAN_BITS : in GetHistoBits()
356 (histo_bits > MAX_HUFFMAN_BITS) ? MAX_HUFFMAN_BITS : histo_bits; in GetHistoBits()
359 static int GetTransformBits(int method, int histo_bits) { in GetTransformBits() argument
361 return (histo_bits > max_transform_bits) ? max_transform_bits : histo_bits; in GetTransformBits()
680 VP8LBitWriter* const bw, int width, int histo_bits, in StoreImageToBitMask() argument
684 const int histo_xsize = histo_bits ? VP8LSubSampleSize(width, histo_bits) : 1; in StoreImageToBitMask()
[all …]