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
be764150
Commit
be764150
authored
Oct 10, 2013
by
Maxim Poliakovski
Committed by
Diego Biurrun
Oct 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atrac3: Remove unused gain compensation tables
Signed-off-by:
Diego Biurrun
<
diego@biurrun.de
>
parent
2df7f771
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
atrac3.c
libavcodec/atrac3.c
+0
-10
No files found.
libavcodec/atrac3.c
View file @
be764150
...
...
@@ -114,9 +114,6 @@ typedef struct ATRAC3Context {
static
DECLARE_ALIGNED
(
32
,
float
,
mdct_window
)[
MDCT_SIZE
];
static
VLC_TYPE
atrac3_vlc_table
[
4096
][
2
];
static
VLC
spectral_coeff_tab
[
7
];
static
float
gain_tab1
[
16
];
static
float
gain_tab2
[
31
];
/**
* Regular 512 points IMDCT without overlapping, with the exception of the
...
...
@@ -792,13 +789,6 @@ static av_cold void atrac3_init_static_data(AVCodec *codec)
huff_bits
[
i
],
1
,
1
,
huff_codes
[
i
],
1
,
1
,
INIT_VLC_USE_NEW_STATIC
);
}
/* Generate gain tables */
for
(
i
=
0
;
i
<
16
;
i
++
)
gain_tab1
[
i
]
=
powf
(
2
.
0
,
(
4
-
i
));
for
(
i
=
-
15
;
i
<
16
;
i
++
)
gain_tab2
[
i
+
15
]
=
powf
(
2
.
0
,
i
*
-
0
.
125
);
}
static
av_cold
int
atrac3_decode_init
(
AVCodecContext
*
avctx
)
...
...
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