[FFmpeg-devel] [PATCH] x86/hevc_idct: replace old and unused idct functions

Mickaël Raulet mraulet at gmail.com
Sat Jul 26 11:50:05 CEST 2014


Hi,

> 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 at gmail.com>
> ---
> libavcodec/hevcdsp.h          |   2 -
> libavcodec/x86/hevc_idct.asm  | 249 +++++++++++-------------------------------
> libavcodec/x86/hevcdsp.h      |  28 -----
> libavcodec/x86/hevcdsp_init.c |  95 +++++-----------
> libavutil/x86/x86util.asm     |   4 +-
> 5 files changed, 93 insertions(+), 285 deletions(-)
> 

patch ok. we are currently working in transform_add.

Mickaël



More information about the ffmpeg-devel mailing list