Home
last modified time | relevance | path

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

/external/brotli/c/enc/
Dhash.h43 #define score_t size_t macro
54 score_t score;
119 static BROTLI_INLINE score_t BackwardReferenceScore( in BackwardReferenceScore()
121 return BROTLI_SCORE_BASE + BROTLI_LITERAL_BYTE_SCORE * (score_t)copy_length - in BackwardReferenceScore()
125 static BROTLI_INLINE score_t BackwardReferenceScoreUsingLastDistance( in BackwardReferenceScoreUsingLastDistance()
127 return BROTLI_LITERAL_BYTE_SCORE * (score_t)copy_length + in BackwardReferenceScoreUsingLastDistance()
131 static BROTLI_INLINE score_t BackwardReferencePenaltyUsingLastDistance( in BackwardReferencePenaltyUsingLastDistance()
133 return (score_t)39 + ((0x1CA10 >> (distance_short_code & 0xE)) & 0xE); in BackwardReferencePenaltyUsingLastDistance()
143 score_t score; in TestStaticDictionaryItem()
Dhash_longest_match_quickly_inc.h161 score_t min_score = out->score; in FN()
162 score_t best_score = out->score; in FN()
173 const score_t score = BackwardReferenceScoreUsingLastDistance(len); in FN()
208 const score_t score = BackwardReferenceScore(len, backward); in FN()
239 const score_t score = BackwardReferenceScore(len, backward); in FN()
Dhash_longest_match64_inc.h174 score_t min_score = out->score; in FN()
175 score_t best_score = out->score; in FN()
205 score_t score = BackwardReferenceScoreUsingLastDistance(len); in FN()
246 score_t score = BackwardReferenceScore(len, backward); in FN()
Dhash_longest_match_inc.h170 score_t min_score = out->score; in FN()
171 score_t best_score = out->score; in FN()
201 score_t score = BackwardReferenceScoreUsingLastDistance(len); in FN()
241 score_t score = BackwardReferenceScore(len, backward); in FN()
Dhash_forgetful_chain_inc.h205 score_t min_score = out->score; in FN()
206 score_t best_score = out->score; in FN()
228 score_t score = BackwardReferenceScoreUsingLastDistance(len); in FN()
269 score_t score = BackwardReferenceScore(len, backward); in FN()
Dbackward_references_inc.h34 const score_t kMinScore = BROTLI_SCORE_BASE + 100; in EXPORT_FN()
58 const score_t cost_diff_lazy = 175; in EXPORT_FN()
Dhash_rolling_inc.h189 score_t score = BackwardReferenceScore(len, backward); in FN()
/external/webp/src/enc/
Dquant_enc.c566 score_t score; // partial RD score
583 static WEBP_INLINE score_t RDScoreTrellis(int lambda, score_t rate, in RDScoreTrellis()
584 score_t distortion) { in RDScoreTrellis()
602 score_t best_score; in TrellisQuantizeBlock()
606 score_t cost; in TrellisQuantizeBlock()
630 const score_t rate = (ctx0 == 0) ? VP8BitCost(1, last_proba) : 0; in TrellisQuantizeBlock()
663 score_t base_score; in TrellisQuantizeBlock()
664 score_t best_cur_score = MAX_COST; in TrellisQuantizeBlock()
688 const score_t cost = VP8LevelCost(ss_prev[p].costs, level); in TrellisQuantizeBlock()
690 const score_t score = in TrellisQuantizeBlock()
[all …]
Dvp8i_enc.h107 typedef int64_t score_t; // type used for scores, rate, distortion typedef
110 #define MAX_COST ((score_t)0x7fffffffffffffLL)
204 score_t i4_penalty_; // penalty for using Intra4
212 score_t D, SD; // Distortion, spectral distortion
213 score_t H, R, score; // header bits, rate, score.
Dwebp_enc.c110 (score_t)256 * 510 * 8 * 1024 / (enc->mb_w_ * enc->mb_h_); in MapConfigToTools()