Home
last modified time | relevance | path

Searched refs:desired_bits_per_mb (Results 1 – 2 of 2) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dratectrl.c502 static int find_closest_qindex_by_rate(int desired_bits_per_mb, in find_closest_qindex_by_rate() argument
517 if (mid_bits_per_mb > desired_bits_per_mb) { in find_closest_qindex_by_rate()
529 const int curr_bit_diff = (curr_bits_per_mb <= desired_bits_per_mb) in find_closest_qindex_by_rate()
530 ? desired_bits_per_mb - curr_bits_per_mb in find_closest_qindex_by_rate()
543 assert(prev_bits_per_mb > desired_bits_per_mb); in find_closest_qindex_by_rate()
544 prev_bit_diff = prev_bits_per_mb - desired_bits_per_mb; in find_closest_qindex_by_rate()
1727 static int find_qindex_by_rate(int desired_bits_per_mb, in find_qindex_by_rate() argument
1737 if (mid_bits_per_mb > desired_bits_per_mb) { in find_qindex_by_rate()
1745 desired_bits_per_mb || in find_qindex_by_rate()
Dpass2_strategy.c163 int desired_bits_per_mb, aom_bit_depth_t bit_depth, FRAME_TYPE frame_type, in find_qindex_by_rate_with_correction() argument
176 if (mid_bits_per_mb > desired_bits_per_mb) { in find_qindex_by_rate_with_correction()
189 assert(low_bits_per_mb <= desired_bits_per_mb || low == worst_qindex); in find_qindex_by_rate_with_correction()