Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
6d9f1b67
Commit
6d9f1b67
authored
Jul 19, 2010
by
Alex Converse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics: Whitespace
Originally committed as revision 24333 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
2bb1d0e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
aaccoder.c
libavcodec/aaccoder.c
+13
-13
No files found.
libavcodec/aaccoder.c
View file @
6d9f1b67
...
...
@@ -179,23 +179,23 @@ static av_always_inline float quantize_and_encode_band_cost_template(
if
(
cost
>=
uplim
)
return
uplim
;
if
(
pb
)
{
put_bits
(
pb
,
ff_aac_spectral_bits
[
cb
-
1
][
curidx
],
ff_aac_spectral_codes
[
cb
-
1
][
curidx
]);
if
(
BT_UNSIGNED
)
for
(
j
=
0
;
j
<
dim
;
j
++
)
if
(
ff_aac_codebook_vectors
[
cb
-
1
][
curidx
*
dim
+
j
]
!=
0
.
0
f
)
put_bits
(
pb
,
1
,
in
[
i
+
j
]
<
0
.
0
f
);
if
(
BT_ESC
)
{
for
(
j
=
0
;
j
<
2
;
j
++
)
{
if
(
ff_aac_codebook_vectors
[
cb
-
1
][
curidx
*
2
+
j
]
==
64
.
0
f
)
{
int
coef
=
av_clip
(
quant
(
fabsf
(
in
[
i
+
j
]),
Q
),
0
,
8191
);
int
len
=
av_log2
(
coef
);
put_bits
(
pb
,
ff_aac_spectral_bits
[
cb
-
1
][
curidx
],
ff_aac_spectral_codes
[
cb
-
1
][
curidx
]);
if
(
BT_UNSIGNED
)
for
(
j
=
0
;
j
<
dim
;
j
++
)
if
(
ff_aac_codebook_vectors
[
cb
-
1
][
curidx
*
dim
+
j
]
!=
0
.
0
f
)
put_bits
(
pb
,
1
,
in
[
i
+
j
]
<
0
.
0
f
);
if
(
BT_ESC
)
{
for
(
j
=
0
;
j
<
2
;
j
++
)
{
if
(
ff_aac_codebook_vectors
[
cb
-
1
][
curidx
*
2
+
j
]
==
64
.
0
f
)
{
int
coef
=
av_clip
(
quant
(
fabsf
(
in
[
i
+
j
]),
Q
),
0
,
8191
);
int
len
=
av_log2
(
coef
);
put_bits
(
pb
,
len
-
4
+
1
,
(
1
<<
(
len
-
4
+
1
))
-
2
);
put_bits
(
pb
,
len
,
coef
&
((
1
<<
len
)
-
1
));
put_bits
(
pb
,
len
-
4
+
1
,
(
1
<<
(
len
-
4
+
1
))
-
2
);
put_bits
(
pb
,
len
,
coef
&
((
1
<<
len
)
-
1
));
}
}
}
}
}
}
if
(
bits
)
...
...
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