Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
45ee556d
Commit
45ee556d
authored
Jul 09, 2013
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qdm2: Whitespace cosmetics
parent
0e78ef0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
qdm2.c
libavcodec/qdm2.c
+4
-4
No files found.
libavcodec/qdm2.c
View file @
45ee556d
...
@@ -819,7 +819,7 @@ static void synthfilt_build_sb_samples(QDM2Context *q, GetBitContext *gb,
...
@@ -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,
...
@@ -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,
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment