mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
qdm2: Whitespace cosmetics
This commit is contained in:
parent
0e78ef0f94
commit
45ee556d51
@ -819,7 +819,7 @@ static void synthfilt_build_sb_samples(QDM2Context *q, GetBitContext *gb,
|
|||||||
if (length == 0) {
|
if (length == 0) {
|
||||||
// If no data use noise
|
// If no data use noise
|
||||||
for (sb=sb_min; sb < sb_max; sb++)
|
for (sb=sb_min; sb < sb_max; sb++)
|
||||||
build_sb_samples_from_noise (q, sb);
|
build_sb_samples_from_noise(q, sb);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -832,12 +832,12 @@ static void synthfilt_build_sb_samples(QDM2Context *q, GetBitContext *gb,
|
|||||||
else if (sb >= 24)
|
else if (sb >= 24)
|
||||||
joined_stereo = 1;
|
joined_stereo = 1;
|
||||||
else
|
else
|
||||||
joined_stereo = (get_bits_left(gb) >= 1) ? get_bits1 (gb) : 0;
|
joined_stereo = (get_bits_left(gb) >= 1) ? get_bits1(gb) : 0;
|
||||||
|
|
||||||
if (joined_stereo) {
|
if (joined_stereo) {
|
||||||
if (get_bits_left(gb) >= 16)
|
if (get_bits_left(gb) >= 16)
|
||||||
for (j = 0; j < 16; j++)
|
for (j = 0; j < 16; j++)
|
||||||
sign_bits[j] = get_bits1 (gb);
|
sign_bits[j] = get_bits1(gb);
|
||||||
|
|
||||||
for (j = 0; j < 64; j++)
|
for (j = 0; j < 64; j++)
|
||||||
if (q->coding_method[1][sb][j] > q->coding_method[0][sb][j])
|
if (q->coding_method[1][sb][j] > q->coding_method[0][sb][j])
|
||||||
@ -1039,7 +1039,7 @@ static void init_quantized_coeffs_elem0(int8_t *quantized_coeffs,
|
|||||||
* @param q context
|
* @param q context
|
||||||
* @param gb bitreader context
|
* @param gb bitreader context
|
||||||
*/
|
*/
|
||||||
static void init_tone_level_dequantization (QDM2Context *q, GetBitContext *gb)
|
static void init_tone_level_dequantization(QDM2Context *q, GetBitContext *gb)
|
||||||
{
|
{
|
||||||
int sb, j, k, n, ch;
|
int sb, j, k, n, ch;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user