1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

lavc/apv: AVX2 transquant for x86-64

Typical checkasm result on Alder Lake:

decode_transquant_8_c:                                 464.2 ( 1.00x)
decode_transquant_8_avx2:                               86.2 ( 5.38x)
decode_transquant_10_c:                                481.6 ( 1.00x)
decode_transquant_10_avx2:                              83.5 ( 5.77x)
This commit is contained in:
Mark Thompson
2025-04-19 19:15:54 +01:00
parent 483cadf8d7
commit d03c99441d
10 changed files with 475 additions and 0 deletions

View File

@ -133,4 +133,8 @@ static void apv_decode_transquant_c(void *output,
av_cold void ff_apv_dsp_init(APVDSPContext *dsp)
{
dsp->decode_transquant = apv_decode_transquant_c;
#if ARCH_X86_64
ff_apv_dsp_init_x86_64(dsp);
#endif
}