OSDN Git Service

x86/hevc_idct: replace old and unused idct functions
authorJames Almer <jamrial@gmail.com>
Sat, 26 Jul 2014 07:47:14 +0000 (04:47 -0300)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Jul 2014 16:00:11 +0000 (18:00 +0200)
commit1ace9573dce509e2b25165199c3b658667860ecf
tree9a50b2c470620bfe22f1541b6815f15bc1661b75
parent23480da0aa70b045b7b8dea7da8fedde0bcd7062
x86/hevc_idct: replace old and unused idct functions

Only 8-bit and 10-bit idct_dc() functions are included (adding others should be trivial).

Benchmarks on an Intel Core i5-4200U:

idct8x8_dc
       SSE2   MMXEXT  C
cycles 22     26      57

idct16x16_dc
       AVX2   SSE2    C
cycles 27     32      249

idct32x32_dc
       AVX2   SSE2    C
cycles 62     126     1375

Signed-off-by: James Almer <jamrial@gmail.com>
Reviewed-by: Mickaƫl Raulet <mraulet@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hevcdsp.h
libavcodec/x86/hevc_idct.asm
libavcodec/x86/hevcdsp.h
libavcodec/x86/hevcdsp_init.c
libavutil/x86/x86util.asm