Home
last modified time | relevance | path

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

/external/webp/src/enc/
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()
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, a->is_used_[2], in GetCombinedHistogramEntropy()
[all …]
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()
Dbackward_references_cost_enc.c573 sizeof(double) * (NUM_LITERAL_CODES + NUM_LENGTH_CODES + in BackwardReferencesHashChainDistanceOnly()
/external/webp/src/dsp/
Dlossless_enc.c683 ADD(1, red_, NUM_LITERAL_CODES); in VP8LHistogramAdd()
684 ADD(2, blue_, NUM_LITERAL_CODES); in VP8LHistogramAdd()
685 ADD(3, alpha_, NUM_LITERAL_CODES); in VP8LHistogramAdd()
692 ADD_EQ(1, red_, NUM_LITERAL_CODES); in VP8LHistogramAdd()
693 ADD_EQ(2, blue_, NUM_LITERAL_CODES); in VP8LHistogramAdd()
694 ADD_EQ(3, alpha_, NUM_LITERAL_CODES); in VP8LHistogramAdd()
/external/webp/src/dec/
Dvp8l_dec.c50 NUM_LITERAL_CODES + NUM_LENGTH_CODES,
51 NUM_LITERAL_CODES, NUM_LITERAL_CODES, NUM_LITERAL_CODES,
214 assert(code.value >= NUM_LITERAL_CODES); in ReadPackedSymbols()
233 if (hcode.value >= NUM_LITERAL_CODES) { in BuildPackedTable()
502 if (total_size == 0 && htrees[GREEN][0].value < NUM_LITERAL_CODES) { in ReadHuffmanCodes()
1014 const int len_code_limit = NUM_LITERAL_CODES + NUM_LENGTH_CODES; in DecodeAlphaData()
1031 if (code < NUM_LITERAL_CODES) { // Literal in DecodeAlphaData()
1044 const int length_sym = code - NUM_LITERAL_CODES; in DecodeAlphaData()
1120 const int len_code_limit = NUM_LITERAL_CODES + NUM_LENGTH_CODES; in DecodeImageData()
1157 if (code < NUM_LITERAL_CODES) { // Literal in DecodeImageData()
[all …]
/external/webp/include/webp/
Dformat_constants.h43 #define NUM_LITERAL_CODES 256 macro
/external/webp/src/webp/
Dformat_constants.h43 #define NUM_LITERAL_CODES 256 macro
/external/webp/src/utils/
Dhuffman_utils.c211 ((1 << MAX_CACHE_BITS) + NUM_LITERAL_CODES + NUM_LENGTH_CODES)
/external/brotli/java/org/brotli/dec/
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()