Lines Matching refs:best_alpha
106 #define IS_BETTER_ALPHA(alpha, best_alpha) ((alpha) > (best_alpha)) argument
243 int best_alpha = DEFAULT_ALPHA; in MBAnalyzeBestIntra16Mode() local
256 if (IS_BETTER_ALPHA(alpha, best_alpha)) { in MBAnalyzeBestIntra16Mode()
257 best_alpha = alpha; in MBAnalyzeBestIntra16Mode()
262 return best_alpha; in MBAnalyzeBestIntra16Mode()
289 int best_alpha) { in MBAnalyzeBestIntra4Mode() argument
324 if (IS_BETTER_ALPHA(i4_alpha, best_alpha)) { in MBAnalyzeBestIntra4Mode()
326 best_alpha = i4_alpha; in MBAnalyzeBestIntra4Mode()
328 return best_alpha; in MBAnalyzeBestIntra4Mode()
332 int best_alpha = DEFAULT_ALPHA; in MBAnalyzeBestUVMode() local
347 if (IS_BETTER_ALPHA(alpha, best_alpha)) { in MBAnalyzeBestUVMode()
348 best_alpha = alpha; in MBAnalyzeBestUVMode()
357 return best_alpha; in MBAnalyzeBestUVMode()
364 int best_alpha, best_uv_alpha; in MBAnalyze() local
371 best_alpha = FastMBAnalyze(it); in MBAnalyze()
373 best_alpha = MBAnalyzeBestIntra16Mode(it); in MBAnalyze()
379 best_alpha = MBAnalyzeBestIntra4Mode(it, best_alpha); in MBAnalyze()
385 best_alpha = (3 * best_alpha + best_uv_alpha + 2) >> 2; in MBAnalyze()
386 best_alpha = FinalAlphaValue(best_alpha); in MBAnalyze()
387 alphas[best_alpha]++; in MBAnalyze()
388 it->mb_->alpha_ = best_alpha; // for later remapping. in MBAnalyze()
391 *alpha += best_alpha; // mixed susceptibility (not just luma) in MBAnalyze()