Home | History | Annotate | Download | only in enc

Lines Matching refs:cache_bits

343                                  int cache_bits, VP8LBackwardRefs* const refs) {
346 const int use_color_cache = (cache_bits > 0);
349 if (use_color_cache && !VP8LColorCacheInit(&hashers, cache_bits)) {
386 const uint32_t* const argb, int cache_bits,
393 const int use_color_cache = (cache_bits > 0);
401 cc_init = VP8LColorCacheInit(&hashers, cache_bits);
485 int cache_bits, VP8LHashChain* const hash_chain,
509 static int CostModelBuild(CostModel* const m, int cache_bits,
512 VP8LHistogram* const histo = VP8LAllocateHistogram(cache_bits);
515 VP8LHistogramCreate(histo, refs, cache_bits);
588 int quality, int cache_bits, VP8LHashChain* const hash_chain,
594 const int use_color_cache = (cache_bits > 0);
599 ((cache_bits > 0) ? (1 << cache_bits) : 0));
613 cc_init = VP8LColorCacheInit(&hashers, cache_bits);
617 if (!CostModelBuild(cost_model, cache_bits, refs)) {
727 int quality, int cache_bits,
732 const int use_color_cache = (cache_bits > 0);
741 cc_init = VP8LColorCacheInit(&hashers, cache_bits);
792 int quality, int cache_bits,
805 xsize, ysize, argb, quality, cache_bits, hash_chain,
811 xsize, ysize, argb, quality, cache_bits, chosen_path, chosen_path_size,
837 int cache_bits) {
838 const int use_color_cache = (cache_bits > 0);
844 VP8LHistogram* histo = VP8LAllocateHistogram(cache_bits);
848 cc_init = VP8LColorCacheInit(&hashers, cache_bits);
886 kSmallPenaltyForLargeCache * cache_bits;
924 // Do a binary search to find the optimal entropy for cache_bits.
951 // Update (in-place) backward references for specified cache_bits.
953 int cache_bits,
958 if (!VP8LColorCacheInit(&hashers, cache_bits)) return 0;
987 int* const cache_bits, VP8LHashChain* const hash_chain,
990 *cache_bits = 0;
1001 int* const cache_bits, VP8LHashChain* const hash_chain,
1012 refs_lz77, &lz77_computed, cache_bits)) {
1017 // Transform refs_lz77 for the optimized cache_bits.
1018 if (*cache_bits > 0) {
1019 if (!BackwardRefsWithLocalCache(argb, *cache_bits, refs_lz77)) {
1024 if (!BackwardReferencesLz77(width, height, argb, *cache_bits, quality,
1030 if (!BackwardReferencesRle(width, height, argb, *cache_bits, refs_rle)) {
1034 histo = VP8LAllocateHistogram(*cache_bits);
1039 VP8LHistogramCreate(histo, refs_lz77, *cache_bits);
1042 VP8LHistogramCreate(histo, refs_rle, *cache_bits);
1060 *cache_bits, hash_chain,
1064 VP8LHistogramCreate(histo, refs_trace, *cache_bits);
1084 int low_effort, int* const cache_bits, VP8LHashChain* const hash_chain,
1088 cache_bits, hash_chain, refs_array);
1090 return GetBackwardReferences(width, height, argb, quality, cache_bits,