Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
22885960
F
Ffmpeg
项目概览
小白菜888
/
Ffmpeg
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
Ffmpeg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
22885960
编写于
6月 07, 2008
作者:
J
Justin Ruggles
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
cosmetics: vertical align
Originally committed as revision 13699 to
svn://svn.ffmpeg.org/ffmpeg/trunk
上级
2c4c2afa
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
34 addition
and
34 deletion
+34
-34
libavcodec/ac3dec.h
libavcodec/ac3dec.h
+34
-34
未找到文件。
libavcodec/ac3dec.h
浏览文件 @
22885960
...
...
@@ -64,21 +64,21 @@ typedef struct {
int
channel_in_cpl
[
AC3_MAX_CHANNELS
];
///< channel in coupling
int
phase_flags_in_use
;
///< phase flags in use
int
phase_flags
[
18
];
///< phase flags
int
num_cpl_subbands
;
///< number of coupling sub bands
int
num_cpl_bands
;
///< number of coupling bands
int
num_cpl_subbands
;
///< number of coupling sub bands
int
num_cpl_bands
;
///< number of coupling bands
int
cpl_band_struct
[
18
];
///< coupling band structure
int
cpl_coords
[
AC3_MAX_CHANNELS
][
18
];
///< coupling coordinates
int
cpl_coords
[
AC3_MAX_CHANNELS
][
18
];
///< coupling coordinates
///@}
///@defgroup channel channel
int
fbw_channels
;
///< number of full-bandwidth channels
int
channels
;
///< number of total channels
int
lfe_ch
;
///< index of LFE channel
int
fbw_channels
;
///< number of full-bandwidth channels
int
channels
;
///< number of total channels
int
lfe_ch
;
///< index of LFE channel
float
downmix_coeffs
[
AC3_MAX_CHANNELS
][
2
];
///< stereo downmix coefficients
float
downmix_coeff_adjust
[
2
];
///< adjustment needed for each output channel when downmixing
float
downmix_coeff_adjust
[
2
];
///< adjustment needed for each output channel when downmixing
int
downmixed
;
///< indicates if coeffs are currently downmixed
int
output_mode
;
///< output channel configuration
int
out_channels
;
///< number of output channels
int
output_mode
;
///< output channel configuration
int
out_channels
;
///< number of output channels
///@}
///@defgroup dynrng dynamic range
...
...
@@ -86,8 +86,8 @@ typedef struct {
///@}
///@defgroup bandwidth bandwidth
int
start_freq
[
AC3_MAX_CHANNELS
];
///< start frequency bin
int
end_freq
[
AC3_MAX_CHANNELS
];
///< end frequency bin
int
start_freq
[
AC3_MAX_CHANNELS
];
///< start frequency bin
int
end_freq
[
AC3_MAX_CHANNELS
];
///< end frequency bin
///@}
///@defgroup rematrixing rematrixing
...
...
@@ -97,23 +97,23 @@ typedef struct {
///@defgroup exponents exponents
int
num_exp_groups
[
AC3_MAX_CHANNELS
];
///< Number of exponent groups
int8_t
dexps
[
AC3_MAX_CHANNELS
][
256
];
///< decoded exponents
int8_t
dexps
[
AC3_MAX_CHANNELS
][
256
];
///< decoded exponents
int
exp_strategy
[
AC3_MAX_CHANNELS
];
///< exponent strategies
///@}
///@defgroup bitalloc bit allocation
AC3BitAllocParameters
bit_alloc_params
;
///< bit allocation parameters
int
snr_offset
[
AC3_MAX_CHANNELS
];
///< signal-to-noise ratio offsets
int
fast_gain
[
AC3_MAX_CHANNELS
];
///< fast gain values (signal-to-mask ratio)
uint8_t
bap
[
AC3_MAX_CHANNELS
][
256
];
///< bit allocation pointers
int16_t
psd
[
AC3_MAX_CHANNELS
][
256
];
///< scaled exponents
int16_t
band_psd
[
AC3_MAX_CHANNELS
][
50
];
///< interpolated exponents
int16_t
mask
[
AC3_MAX_CHANNELS
][
50
];
///< masking curve values
int
dba_mode
[
AC3_MAX_CHANNELS
];
///< delta bit allocation mode
int
dba_nsegs
[
AC3_MAX_CHANNELS
];
///< number of delta segments
uint8_t
dba_offsets
[
AC3_MAX_CHANNELS
][
8
];
///< delta segment offsets
uint8_t
dba_lengths
[
AC3_MAX_CHANNELS
][
8
];
///< delta segment lengths
uint8_t
dba_values
[
AC3_MAX_CHANNELS
][
8
];
///< delta values for each segment
AC3BitAllocParameters
bit_alloc_params
;
///< bit allocation parameters
int
snr_offset
[
AC3_MAX_CHANNELS
];
///< signal-to-noise ratio offsets
int
fast_gain
[
AC3_MAX_CHANNELS
];
///< fast gain values (signal-to-mask ratio)
uint8_t
bap
[
AC3_MAX_CHANNELS
][
256
];
///< bit allocation pointers
int16_t
psd
[
AC3_MAX_CHANNELS
][
256
];
///< scaled exponents
int16_t
band_psd
[
AC3_MAX_CHANNELS
][
50
];
///< interpolated exponents
int16_t
mask
[
AC3_MAX_CHANNELS
][
50
];
///< masking curve values
int
dba_mode
[
AC3_MAX_CHANNELS
];
///< delta bit allocation mode
int
dba_nsegs
[
AC3_MAX_CHANNELS
];
///< number of delta segments
uint8_t
dba_offsets
[
AC3_MAX_CHANNELS
][
8
];
///< delta segment offsets
uint8_t
dba_lengths
[
AC3_MAX_CHANNELS
][
8
];
///< delta segment lengths
uint8_t
dba_values
[
AC3_MAX_CHANNELS
][
8
];
///< delta values for each segment
///@}
///@defgroup dithering zero-mantissa dithering
...
...
@@ -129,21 +129,21 @@ typedef struct {
///@}
///@defgroup opt optimization
DSPContext
dsp
;
///< for optimization
float
add_bias
;
///< offset for float_to_int16 conversion
float
mul_bias
;
///< scaling for float_to_int16 conversion
DSPContext
dsp
;
///< for optimization
float
add_bias
;
///< offset for float_to_int16 conversion
float
mul_bias
;
///< scaling for float_to_int16 conversion
///@}
int
fixed_coeffs
[
AC3_MAX_CHANNELS
][
256
];
///> fixed-point transform coefficients
///@defgroup arrays aligned arrays
DECLARE_ALIGNED_16
(
float
,
transform_coeffs
[
AC3_MAX_CHANNELS
][
256
]);
///< transform coefficients
DECLARE_ALIGNED_16
(
float
,
delay
[
AC3_MAX_CHANNELS
][
256
]);
///< delay - added to the next block
DECLARE_ALIGNED_16
(
float
,
window
[
256
]);
///< window coefficients
DECLARE_ALIGNED_16
(
float
,
tmp_output
[
512
]);
///< temporary storage for output before windowing
DECLARE_ALIGNED_16
(
float
,
tmp_imdct
[
256
]);
///< temporary storage for imdct transform
DECLARE_ALIGNED_16
(
float
,
output
[
AC3_MAX_CHANNELS
][
256
]);
///< output after imdct transform and windowing
DECLARE_ALIGNED_16
(
short
,
int_output
[
AC3_MAX_CHANNELS
-
1
][
256
]);
///< final 16-bit integer output
DECLARE_ALIGNED_16
(
float
,
transform_coeffs
[
AC3_MAX_CHANNELS
][
256
]);
///< transform coefficients
DECLARE_ALIGNED_16
(
float
,
delay
[
AC3_MAX_CHANNELS
][
256
]);
///< delay - added to the next block
DECLARE_ALIGNED_16
(
float
,
window
[
256
]);
///< window coefficients
DECLARE_ALIGNED_16
(
float
,
tmp_output
[
512
]);
///< temporary storage for output before windowing
DECLARE_ALIGNED_16
(
float
,
tmp_imdct
[
256
]);
///< temporary storage for imdct transform
DECLARE_ALIGNED_16
(
float
,
output
[
AC3_MAX_CHANNELS
][
256
]);
///< output after imdct transform and windowing
DECLARE_ALIGNED_16
(
short
,
int_output
[
AC3_MAX_CHANNELS
-
1
][
256
]);
///< final 16-bit integer output
///@}
}
AC3DecodeContext
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录