[FFmpeg-devel] [PATCH 0/5] Integer scalar product DSP functions

Christophe Gisquet christophe.gisquet at gmail.com
Wed May 8 16:51:46 CEST 2013


Those functions generally work in batch of 16 elements, but some cases
need batches of 8. The first 2 patches only matter for ra144, and alternate
patch ra144-pad-buffer-and-use-scalarproduct_int16.patch is probably a better
idea.

wma pro lossless also would need such a modification, but I have never found
any sample actually requiring it.

Christophe Gisquet (5):
  dsputil: modify scalarproduct_int16 to handle mod8 numbers of loops.
  ra144: use scalarproduct_int16
  dsputil: allow scalarproduct_and_madd_int16 to handle mod8 number of
    loops
  wma lossless: reuse scalarproduct_and_madd_int16
  wmaprolossless: switching back to C dsp function

 libavcodec/dsputil.c        |  4 ++--
 libavcodec/dsputil.h        |  7 ++++--
 libavcodec/ra144.c          | 11 ++++-----
 libavcodec/ra144.h          |  4 +++-
 libavcodec/ra144dec.c       |  1 +
 libavcodec/ra144enc.c       |  5 +++--
 libavcodec/wmalosslessdec.c | 55 +++++++++++++++++++++------------------------
 libavcodec/x86/dsputil.asm  | 46 +++++++++++++++++++++++++++++++++----
 8 files changed, 86 insertions(+), 47 deletions(-)

-- 
1.8.0.msysgit.0



More information about the ffmpeg-devel mailing list