mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
x86/ac3dsp: add ff_float_to_fixed24_avx()
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
d8b1a34433
commit
e40ea9f34b
4 changed files with 32 additions and 4 deletions
|
|
@ -27,6 +27,7 @@
|
|||
void ff_ac3_exponent_min_sse2 (uint8_t *exp, int num_reuse_blocks, int nb_coefs);
|
||||
|
||||
void ff_float_to_fixed24_sse2 (int32_t *dst, const float *src, size_t len);
|
||||
void ff_float_to_fixed24_avx (int32_t *dst, const float *src, size_t len);
|
||||
|
||||
int ff_ac3_compute_mantissa_size_sse2(uint16_t mant_cnt[6][16]);
|
||||
|
||||
|
|
@ -48,6 +49,9 @@ av_cold void ff_ac3dsp_init_x86(AC3DSPContext *c)
|
|||
if (!(cpu_flags & AV_CPU_FLAG_ATOM))
|
||||
c->extract_exponents = ff_ac3_extract_exponents_ssse3;
|
||||
}
|
||||
if (EXTERNAL_AVX_FAST(cpu_flags)) {
|
||||
c->float_to_fixed24 = ff_float_to_fixed24_avx;
|
||||
}
|
||||
}
|
||||
|
||||
#define DOWNMIX_FUNC_OPT(ch, opt) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue