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
dc80e250
Commit
dc80e250
authored
Oct 02, 2013
by
Maxim Poliakovski
Committed by
Michael Niedermayer
Oct 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atrac3: Rename GainInfo to AtracGainInfo
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
746cb9bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
atrac3.c
libavcodec/atrac3.c
+6
-6
No files found.
libavcodec/atrac3.c
View file @
dc80e250
...
...
@@ -55,14 +55,14 @@
#define SAMPLES_PER_FRAME 1024
#define MDCT_SIZE 512
typedef
struct
GainInfo
{
typedef
struct
Atrac
GainInfo
{
int
num_gain_data
;
int
lev_code
[
8
];
int
loc_code
[
8
];
}
GainInfo
;
}
Atrac
GainInfo
;
typedef
struct
GainBlock
{
GainInfo
g_block
[
4
];
Atrac
GainInfo
g_block
[
4
];
}
GainBlock
;
typedef
struct
TonalComponent
{
...
...
@@ -421,7 +421,7 @@ static int decode_gain_control(GetBitContext *gb, GainBlock *block,
int
i
,
cf
,
num_data
;
int
*
level
,
*
loc
;
GainInfo
*
gain
=
block
->
g_block
;
Atrac
GainInfo
*
gain
=
block
->
g_block
;
for
(
i
=
0
;
i
<=
num_bands
;
i
++
)
{
num_data
=
get_bits
(
gb
,
3
);
...
...
@@ -454,8 +454,8 @@ static int decode_gain_control(GetBitContext *gb, GainBlock *block,
* @param gain2 next band gain info
*/
static
void
gain_compensate_and_overlap
(
float
*
input
,
float
*
prev
,
float
*
output
,
GainInfo
*
gain1
,
GainInfo
*
gain2
)
float
*
output
,
Atrac
GainInfo
*
gain1
,
Atrac
GainInfo
*
gain2
)
{
float
g1
,
g2
,
gain_inc
;
int
i
,
j
,
num_data
,
start_loc
,
end_loc
;
...
...
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