cosmetics,vp9_ratectrl: apply clang-format
broken since:c3f095c8b
Merge "Fix to avoid abrupt relaxation of max qindex in recode path"5f21aba4b
Fix to avoid abrupt relaxation of max qindex in recode path the original change pre-dated the addition of .clang-format Change-Id: If5e399d9a805bcad9147360b13b36fbc8c560a7c
This commit is contained in:
@@ -170,11 +170,9 @@ int vp9_convert_q_to_qindex(double q_val, vpx_bit_depth_t bit_depth) {
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < QINDEX_RANGE; ++i)
|
for (i = 0; i < QINDEX_RANGE; ++i)
|
||||||
if (vp9_convert_qindex_to_q(i, bit_depth) >= q_val)
|
if (vp9_convert_qindex_to_q(i, bit_depth) >= q_val) break;
|
||||||
break;
|
|
||||||
|
|
||||||
if (i == QINDEX_RANGE)
|
if (i == QINDEX_RANGE) i--;
|
||||||
i--;
|
|
||||||
|
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user