Home
last modified time | relevance | path

Searched refs:NUM_LITERAL_CODES (Results 1 - 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dhistogram_enc.h35 uint32_t red_[NUM_LITERAL_CODES];
36 uint32_t blue_[NUM_LITERAL_CODES];
37 uint32_t alpha_[NUM_LITERAL_CODES];
104 return NUM_LITERAL_CODES + NUM_LENGTH_CODES + in VP8LHistogramNumCodes()
H A Dhistogram_enc.c210 NUM_LITERAL_CODES + NUM_LENGTH_CODES + PixOrCopyCacheIdx(v); in VP8LHistogramAddSinglePixOrCopy()
216 ++histo->literal_[NUM_LITERAL_CODES + code]; in VP8LHistogramAddSinglePixOrCopy()
363 + PopulationCost(p->red_, NUM_LITERAL_CODES, NULL, &p->is_used_[1]) in VP8LHistogramEstimateBits()
364 + PopulationCost(p->blue_, NUM_LITERAL_CODES, NULL, &p->is_used_[2]) in VP8LHistogramEstimateBits()
365 + PopulationCost(p->alpha_, NUM_LITERAL_CODES, NULL, &p->is_used_[3]) in VP8LHistogramEstimateBits()
367 + VP8LExtraCost(p->literal_ + NUM_LITERAL_CODES, NUM_LENGTH_CODES) in VP8LHistogramEstimateBits()
384 *cost += VP8LExtraCostCombined(a->literal_ + NUM_LITERAL_CODES, in GetCombinedHistogramEntropy()
385 b->literal_ + NUM_LITERAL_CODES, in GetCombinedHistogramEntropy()
403 GetCombinedEntropy(a->red_, b->red_, NUM_LITERAL_CODES, a->is_used_[1], in GetCombinedHistogramEntropy()
408 GetCombinedEntropy(a->blue_, b->blue_, NUM_LITERAL_CODES, in GetCombinedHistogramEntropy()
[all...]
H A Dbackward_references_enc.c777 ++histos[i]->literal_[NUM_LITERAL_CODES + NUM_LENGTH_CODES + key]; in CalculateBestCacheSize()
797 ++histos[i]->literal_[NUM_LITERAL_CODES + code]; in CalculateBestCacheSize()
H A Dbackward_references_cost_enc.c573 sizeof(double) * (NUM_LITERAL_CODES + NUM_LENGTH_CODES + in BackwardReferencesHashChainDistanceOnly()
/third_party/skia/third_party/externals/libwebp/src/dec/
H A Dvp8l_dec.c50 NUM_LITERAL_CODES + NUM_LENGTH_CODES,
51 NUM_LITERAL_CODES, NUM_LITERAL_CODES, NUM_LITERAL_CODES,
201 #define PACKED_NON_LITERAL_CODE 0 // must be < NUM_LITERAL_CODES
214 assert(code.value >= NUM_LITERAL_CODES); in ReadPackedSymbols()
233 if (hcode.value >= NUM_LITERAL_CODES) { in BuildPackedTable()
507 if (total_size == 0 && htrees[GREEN][0].value < NUM_LITERAL_CODES) { in ReadHuffmanCodes()
1023 const int len_code_limit = NUM_LITERAL_CODES + NUM_LENGTH_CODES; in DecodeAlphaData()
1040 if (code < NUM_LITERAL_CODES) { // Litera in DecodeAlphaData()
[all...]
/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Dlossless_enc.c702 ADD(1, red_, NUM_LITERAL_CODES); in VP8LHistogramAdd()
703 ADD(2, blue_, NUM_LITERAL_CODES); in VP8LHistogramAdd()
704 ADD(3, alpha_, NUM_LITERAL_CODES); in VP8LHistogramAdd()
711 ADD_EQ(1, red_, NUM_LITERAL_CODES); in VP8LHistogramAdd()
712 ADD_EQ(2, blue_, NUM_LITERAL_CODES); in VP8LHistogramAdd()
713 ADD_EQ(3, alpha_, NUM_LITERAL_CODES); in VP8LHistogramAdd()
/third_party/skia/third_party/externals/libwebp/src/webp/
H A Dformat_constants.h43 #define NUM_LITERAL_CODES 256 macro
/third_party/ffmpeg/libavcodec/
H A Dwebp.c66 #define NUM_LITERAL_CODES 256 macro
73 NUM_LITERAL_CODES + NUM_LENGTH_CODES,
74 NUM_LITERAL_CODES, NUM_LITERAL_CODES, NUM_LITERAL_CODES,
637 if (v < NUM_LITERAL_CODES) { in decode_entropy_coded_image()
651 } else if (v < NUM_LITERAL_CODES + NUM_LENGTH_CODES) { in decode_entropy_coded_image()
656 prefix_code = v - NUM_LITERAL_CODES; in decode_entropy_coded_image()
732 int cache_idx = v - (NUM_LITERAL_CODES + NUM_LENGTH_CODES); in decode_entropy_coded_image()
/third_party/skia/third_party/externals/libwebp/src/utils/
H A Dhuffman_utils.c214 ((1 << MAX_CACHE_BITS) + NUM_LITERAL_CODES + NUM_LENGTH_CODES)
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
H A DDecode.java44 private static final int NUM_LITERAL_CODES = 256; field in Decode
863 s.literalTreeGroup = decodeHuffmanTreeGroup(NUM_LITERAL_CODES, NUM_LITERAL_CODES, in readMetablockHuffmanCodesAndContextMaps()

Completed in 15 milliseconds