mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/ac3dsp: Remove unused parameter
Forgotten in fd98594a88
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
8089fe072e
commit
76d8f0dd14
@ -236,7 +236,7 @@ static av_cold int ac3_decode_init(AVCodecContext *avctx)
|
|||||||
if (!s->fdsp)
|
if (!s->fdsp)
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
|
|
||||||
ff_ac3dsp_init(&s->ac3dsp, avctx->flags & AV_CODEC_FLAG_BITEXACT);
|
ff_ac3dsp_init(&s->ac3dsp);
|
||||||
av_lfg_init(&s->dith_state, 0);
|
av_lfg_init(&s->dith_state, 0);
|
||||||
|
|
||||||
if (USE_FIXED)
|
if (USE_FIXED)
|
||||||
|
@ -374,7 +374,7 @@ void ff_ac3dsp_downmix(AC3DSPContext *c, float **samples, float **matrix,
|
|||||||
ac3_downmix_c(samples, matrix, out_ch, in_ch, len);
|
ac3_downmix_c(samples, matrix, out_ch, in_ch, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
av_cold void ff_ac3dsp_init(AC3DSPContext *c, int bit_exact)
|
av_cold void ff_ac3dsp_init(AC3DSPContext *c)
|
||||||
{
|
{
|
||||||
c->ac3_exponent_min = ac3_exponent_min_c;
|
c->ac3_exponent_min = ac3_exponent_min_c;
|
||||||
c->float_to_fixed24 = float_to_fixed24_c;
|
c->float_to_fixed24 = float_to_fixed24_c;
|
||||||
@ -390,10 +390,10 @@ av_cold void ff_ac3dsp_init(AC3DSPContext *c, int bit_exact)
|
|||||||
c->downmix_fixed = NULL;
|
c->downmix_fixed = NULL;
|
||||||
|
|
||||||
#if ARCH_ARM
|
#if ARCH_ARM
|
||||||
ff_ac3dsp_init_arm(c, bit_exact);
|
ff_ac3dsp_init_arm(c);
|
||||||
#elif ARCH_X86
|
#elif ARCH_X86
|
||||||
ff_ac3dsp_init_x86(c, bit_exact);
|
ff_ac3dsp_init_x86(c);
|
||||||
#elif ARCH_MIPS
|
#elif ARCH_MIPS
|
||||||
ff_ac3dsp_init_mips(c, bit_exact);
|
ff_ac3dsp_init_mips(c);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -105,10 +105,10 @@ typedef struct AC3DSPContext {
|
|||||||
void (*downmix_fixed)(int32_t **samples, int16_t **matrix, int len);
|
void (*downmix_fixed)(int32_t **samples, int16_t **matrix, int len);
|
||||||
} AC3DSPContext;
|
} AC3DSPContext;
|
||||||
|
|
||||||
void ff_ac3dsp_init (AC3DSPContext *c, int bit_exact);
|
void ff_ac3dsp_init (AC3DSPContext *c);
|
||||||
void ff_ac3dsp_init_arm(AC3DSPContext *c, int bit_exact);
|
void ff_ac3dsp_init_arm(AC3DSPContext *c);
|
||||||
void ff_ac3dsp_init_x86(AC3DSPContext *c, int bit_exact);
|
void ff_ac3dsp_init_x86(AC3DSPContext *c);
|
||||||
void ff_ac3dsp_init_mips(AC3DSPContext *c, int bit_exact);
|
void ff_ac3dsp_init_mips(AC3DSPContext *c);
|
||||||
|
|
||||||
void ff_ac3dsp_downmix(AC3DSPContext *c, float **samples, float **matrix,
|
void ff_ac3dsp_downmix(AC3DSPContext *c, float **samples, float **matrix,
|
||||||
int out_ch, int in_ch, int len);
|
int out_ch, int in_ch, int len);
|
||||||
|
@ -2613,7 +2613,7 @@ av_cold int ff_ac3_encode_init(AVCodecContext *avctx)
|
|||||||
|
|
||||||
ff_audiodsp_init(&s->adsp);
|
ff_audiodsp_init(&s->adsp);
|
||||||
ff_me_cmp_init(&s->mecc, avctx);
|
ff_me_cmp_init(&s->mecc, avctx);
|
||||||
ff_ac3dsp_init(&s->ac3dsp, avctx->flags & AV_CODEC_FLAG_BITEXACT);
|
ff_ac3dsp_init(&s->ac3dsp);
|
||||||
|
|
||||||
dprint_options(s);
|
dprint_options(s);
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ void ff_ac3_bit_alloc_calc_bap_armv6(int16_t *mask, int16_t *psd,
|
|||||||
|
|
||||||
void ff_ac3_update_bap_counts_arm(uint16_t mant_cnt[16], uint8_t *bap, int len);
|
void ff_ac3_update_bap_counts_arm(uint16_t mant_cnt[16], uint8_t *bap, int len);
|
||||||
|
|
||||||
av_cold void ff_ac3dsp_init_arm(AC3DSPContext *c, int bit_exact)
|
av_cold void ff_ac3dsp_init_arm(AC3DSPContext *c)
|
||||||
{
|
{
|
||||||
int cpu_flags = av_get_cpu_flags();
|
int cpu_flags = av_get_cpu_flags();
|
||||||
|
|
||||||
|
@ -401,7 +401,8 @@ static void ac3_downmix_mips(float **samples, float (*matrix)[2],
|
|||||||
#endif /* HAVE_MIPSFPU */
|
#endif /* HAVE_MIPSFPU */
|
||||||
#endif /* HAVE_INLINE_ASM */
|
#endif /* HAVE_INLINE_ASM */
|
||||||
|
|
||||||
void ff_ac3dsp_init_mips(AC3DSPContext *c, int bit_exact) {
|
void ff_ac3dsp_init_mips(AC3DSPContext *c)
|
||||||
|
{
|
||||||
#if HAVE_INLINE_ASM
|
#if HAVE_INLINE_ASM
|
||||||
#if HAVE_MIPSDSP
|
#if HAVE_MIPSDSP
|
||||||
c->bit_alloc_calc_bap = ac3_bit_alloc_calc_bap_mips;
|
c->bit_alloc_calc_bap = ac3_bit_alloc_calc_bap_mips;
|
||||||
|
@ -33,7 +33,7 @@ int ff_ac3_compute_mantissa_size_sse2(uint16_t mant_cnt[6][16]);
|
|||||||
void ff_ac3_extract_exponents_sse2 (uint8_t *exp, int32_t *coef, int nb_coefs);
|
void ff_ac3_extract_exponents_sse2 (uint8_t *exp, int32_t *coef, int nb_coefs);
|
||||||
void ff_ac3_extract_exponents_ssse3(uint8_t *exp, int32_t *coef, int nb_coefs);
|
void ff_ac3_extract_exponents_ssse3(uint8_t *exp, int32_t *coef, int nb_coefs);
|
||||||
|
|
||||||
av_cold void ff_ac3dsp_init_x86(AC3DSPContext *c, int bit_exact)
|
av_cold void ff_ac3dsp_init_x86(AC3DSPContext *c)
|
||||||
{
|
{
|
||||||
int cpu_flags = av_get_cpu_flags();
|
int cpu_flags = av_get_cpu_flags();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user