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

Michael Niedermayer michaelni at gmx.at
Sat Jul 26 18:24:28 CEST 2014


On Sat, Jul 26, 2014 at 11:50:05AM +0200, Mickaël Raulet wrote:
> 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.

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140726/4b5eb0ad/attachment.asc>


More information about the ffmpeg-devel mailing list