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
9a0a3bbe
Commit
9a0a3bbe
authored
Jan 07, 2016
by
foo86
Committed by
Hendrik Leppkes
Jan 31, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/dca: add more tables
parent
64f6d17b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
641 additions
and
5 deletions
+641
-5
dcadata.c
libavcodec/dcadata.c
+620
-2
dcadata.h
libavcodec/dcadata.h
+21
-3
No files found.
libavcodec/dcadata.c
View file @
9a0a3bbe
This diff is collapsed.
Click to expand it.
libavcodec/dcadata.h
View file @
9a0a3bbe
...
@@ -27,13 +27,21 @@ extern const uint32_t ff_dca_bit_rates[32];
...
@@ -27,13 +27,21 @@ extern const uint32_t ff_dca_bit_rates[32];
extern
const
uint8_t
ff_dca_channels
[
16
];
extern
const
uint8_t
ff_dca_channels
[
16
];
extern
const
uint8_t
ff_dca_bits_per_sample
[
7
];
extern
const
uint8_t
ff_dca_bits_per_sample
[
8
];
extern
const
uint8_t
ff_dca_dmix_primary_nch
[
8
];
extern
const
int16_t
ff_dca_adpcm_vb
[
4096
][
4
];
extern
const
int16_t
ff_dca_adpcm_vb
[
4096
][
4
];
extern
const
uint32_t
ff_dca_scale_factor_quant6
[
64
];
extern
const
uint32_t
ff_dca_scale_factor_quant6
[
64
];
extern
const
uint32_t
ff_dca_scale_factor_quant7
[
128
];
extern
const
uint32_t
ff_dca_scale_factor_quant7
[
128
];
extern
const
uint32_t
ff_dca_joint_scale_factors
[
129
];
extern
const
uint32_t
ff_dca_scale_factor_adj
[
4
];
extern
const
uint32_t
ff_dca_quant_levels
[
32
];
extern
const
uint32_t
ff_dca_lossy_quant
[
32
];
extern
const
uint32_t
ff_dca_lossy_quant
[
32
];
extern
const
uint32_t
ff_dca_lossless_quant
[
32
];
extern
const
uint32_t
ff_dca_lossless_quant
[
32
];
...
@@ -47,12 +55,22 @@ extern const float ff_dca_lfe_fir_64[256];
...
@@ -47,12 +55,22 @@ extern const float ff_dca_lfe_fir_64[256];
extern
const
float
ff_dca_lfe_fir_128
[
256
];
extern
const
float
ff_dca_lfe_fir_128
[
256
];
extern
const
float
ff_dca_fir_64bands
[
1024
];
extern
const
float
ff_dca_fir_64bands
[
1024
];
#define FF_DCA_DMIXTABLE_SIZE 242
extern
const
int32_t
ff_dca_fir_32bands_perfect_fixed
[
512
];
#define FF_DCA_INV_DMIXTABLE_SIZE 201
extern
const
int32_t
ff_dca_fir_32bands_nonperfect_fixed
[
512
];
extern
const
int32_t
ff_dca_lfe_fir_64_fixed
[
256
];
extern
const
int32_t
ff_dca_fir_64bands_fixed
[
1024
];
#define FF_DCA_DMIXTABLE_SIZE 242U
#define FF_DCA_INV_DMIXTABLE_SIZE 201U
#define FF_DCA_DMIXTABLE_OFFSET (FF_DCA_DMIXTABLE_SIZE - FF_DCA_INV_DMIXTABLE_SIZE)
extern
const
uint16_t
ff_dca_dmixtable
[
FF_DCA_DMIXTABLE_SIZE
];
extern
const
uint16_t
ff_dca_dmixtable
[
FF_DCA_DMIXTABLE_SIZE
];
extern
const
uint32_t
ff_dca_inv_dmixtable
[
FF_DCA_INV_DMIXTABLE_SIZE
];
extern
const
uint32_t
ff_dca_inv_dmixtable
[
FF_DCA_INV_DMIXTABLE_SIZE
];
extern
const
uint16_t
ff_dca_xll_refl_coeff
[
128
];
extern
const
int32_t
ff_dca_xll_band_coeff
[
20
];
extern
const
int32_t
ff_dca_sampling_freqs
[
16
];
extern
const
int32_t
ff_dca_sampling_freqs
[
16
];
extern
const
int8_t
ff_dca_lfe_index
[
16
];
extern
const
int8_t
ff_dca_lfe_index
[
16
];
...
...
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