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
12dffc45
Commit
12dffc45
authored
Mar 04, 2011
by
Justin Ruggles
Committed by
Michael Niedermayer
Mar 05, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ac3: define AC3_MAX_CPL_BANDS and use it in ac3dec.h
(cherry picked from commit
b35743ff
)
parent
384c9c2f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
ac3.h
libavcodec/ac3.h
+1
-0
ac3dec.h
libavcodec/ac3dec.h
+3
-3
No files found.
libavcodec/ac3.h
View file @
12dffc45
...
...
@@ -36,6 +36,7 @@
#define AC3_FRAME_SIZE (AC3_MAX_BLOCKS * 256)
#define AC3_WINDOW_SIZE (AC3_BLOCK_SIZE * 2)
#define AC3_CRITICAL_BANDS 50
#define AC3_MAX_CPL_BANDS 18
#include "ac3tab.h"
...
...
libavcodec/ac3dec.h
View file @
12dffc45
...
...
@@ -103,12 +103,12 @@ typedef struct {
int
cpl_strategy_exists
[
AC3_MAX_BLOCKS
];
///< coupling strategy exists (cplstre)
int
channel_in_cpl
[
AC3_MAX_CHANNELS
];
///< channel in coupling (chincpl)
int
phase_flags_in_use
;
///< phase flags in use (phsflginu)
int
phase_flags
[
18
];
///< phase flags (phsflg)
int
phase_flags
[
AC3_MAX_CPL_BANDS
];
///< phase flags (phsflg)
int
num_cpl_bands
;
///< number of coupling bands (ncplbnd)
uint8_t
cpl_band_sizes
[
18
];
///< number of coeffs in each coupling band
uint8_t
cpl_band_sizes
[
AC3_MAX_CPL_BANDS
];
///< number of coeffs in each coupling band
int
firstchincpl
;
///< first channel in coupling
int
first_cpl_coords
[
AC3_MAX_CHANNELS
];
///< first coupling coordinates states (firstcplcos)
int
cpl_coords
[
AC3_MAX_CHANNELS
][
18
];
///< coupling coordinates
(cplco)
int
cpl_coords
[
AC3_MAX_CHANNELS
][
AC3_MAX_CPL_BANDS
];
///< coupling coordinates
(cplco)
///@}
///@defgroup spx spectral extension
...
...
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