vp9parser: Fix indentation to make gst-indent happier
This commit is contained in:
parent
45f2ad952f
commit
1bf448cbbd
@ -223,14 +223,16 @@ static const int16_t ac_qlookup_12[QINDEX_RANGE] = {
|
|||||||
25551, 26047, 26559, 27071, 27599, 28143, 28687, 29247,
|
25551, 26047, 26559, 27071, 27599, 28143, 28687, 29247,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int clamp(int value, int low, int high)
|
static int
|
||||||
|
clamp (int value, int low, int high)
|
||||||
{
|
{
|
||||||
return value < low ? low : (value > high ? high : value);
|
return value < low ? low : (value > high ? high : value);
|
||||||
}
|
}
|
||||||
|
|
||||||
int16_t gst_vp9_dc_quant(int qindex, int delta, int bit_depth)
|
int16_t
|
||||||
|
gst_vp9_dc_quant (int qindex, int delta, int bit_depth)
|
||||||
{
|
{
|
||||||
const uint8_t q_table_idx = clamp(qindex + delta, 0, MAXQ);
|
const uint8_t q_table_idx = clamp (qindex + delta, 0, MAXQ);
|
||||||
|
|
||||||
switch (bit_depth) {
|
switch (bit_depth) {
|
||||||
case 8:
|
case 8:
|
||||||
@ -245,9 +247,10 @@ int16_t gst_vp9_dc_quant(int qindex, int delta, int bit_depth)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int16_t gst_vp9_ac_quant(int qindex, int delta, int bit_depth)
|
int16_t
|
||||||
|
gst_vp9_ac_quant (int qindex, int delta, int bit_depth)
|
||||||
{
|
{
|
||||||
const uint8_t q_table_idx = clamp(qindex + delta, 0, MAXQ);
|
const uint8_t q_table_idx = clamp (qindex + delta, 0, MAXQ);
|
||||||
|
|
||||||
switch (bit_depth) {
|
switch (bit_depth) {
|
||||||
case 8:
|
case 8:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user