[FFmpeg-devel] [PATCH 0/5] x86: share constants

Christophe Gisquet christophe.gisquet at gmail.com
Wed Aug 6 09:43:38 CEST 2014


First patch is the biggest one, as it removes definitions that are
intermingled, not used or triplicated, eg as found in the vp9 dsp code.
A comment there mentions that sharing, but as it is as fast to do it
than write this comment, maybe I'm missing something?

Other patches are more contained.

Christophe Gisquet (5):
  x86: vpx/h264/hevc/mpeg2: share constants
  x86: better share ff_pw_2
  x86: dwt: better share constants
  x86: diracdsp: reuse constants
  x86: sbrdsp/fft: reuse ps_neg constant

 libavcodec/x86/constants.c              |  9 +++++++--
 libavcodec/x86/constants.h              | 11 +++++++++--
 libavcodec/x86/diracdsp_yasm.asm        | 11 ++++++-----
 libavcodec/x86/dwt_yasm.asm             |  9 +++++----
 libavcodec/x86/fft.asm                  |  7 ++++---
 libavcodec/x86/h264_intrapred_10bit.asm |  2 +-
 libavcodec/x86/hevc_deblock.asm         |  2 +-
 libavcodec/x86/hpeldsp.asm              |  3 ++-
 libavcodec/x86/inline_asm.h             |  2 +-
 libavcodec/x86/sbrdsp.asm               |  2 +-
 libavcodec/x86/vp8dsp.asm               |  2 +-
 libavcodec/x86/vp9intrapred.asm         |  8 ++++----
 libavcodec/x86/vp9itxfm.asm             |  9 +++++----
 libavcodec/x86/vp9lpf.asm               |  4 ++--
 libavcodec/x86/vp9mc.asm                |  3 +--
 15 files changed, 50 insertions(+), 34 deletions(-)

-- 
1.9.2.msysgit.0



More information about the ffmpeg-devel mailing list