]> git.sesse.net Git - ffmpeg/commitdiff
Merge commit '12004a9a7f20e44f4da2ee6c372d5e1794c8d6c5'
authorClément Bœsch <u@pkh.me>
Mon, 20 Mar 2017 21:28:38 +0000 (22:28 +0100)
committerClément Bœsch <u@pkh.me>
Mon, 20 Mar 2017 21:35:07 +0000 (22:35 +0100)
* commit '12004a9a7f20e44f4da2ee6c372d5e1794c8d6c5':
  audiodsp/x86: yasmify vector_clipf_sse
  audiodsp: reorder arguments for vector_clipf

Merged the version from Libav after a discussion with James Almer on
IRC:

19:22 <ubitux> jamrial: opinion on 12004a9a7f20e44f4da2ee6c372d5e1794c8d6c5?
19:23 <ubitux> it was apparently yasmified differently
19:23 <ubitux> (it depends on the previous commit arg shuffle)
19:24 <ubitux> i don't see the magic movsxdifnidn in your port btw
19:24 <ubitux> it's a port from 1d36defe94c7d7ebf995d4dbb4f878d06272f9c6
19:25 <jamrial> seems better thanks to said arg shuffle
19:25 <jamrial> the loop is the same, but init is simpler
19:25 <jamrial> probably worth merging
19:25 <ubitux> OK
19:25 <ubitux> thanks
19:26 <jamrial> curious they didn't make len ptrdiff_t after the previous bunch of commits, heh
19:26 <ubitux> yeah indeed

Both commits are merged at the same time to prevent a conflict with our
existing yasmified ff_vector_clipf_sse.

Merged-by: Clément Bœsch <u@pkh.me>
1  2 
libavcodec/ac3enc_float.c
libavcodec/arm/audiodsp_init_neon.c
libavcodec/arm/audiodsp_neon.S
libavcodec/audiodsp.c
libavcodec/audiodsp.h
libavcodec/cook.c
libavcodec/x86/audiodsp.asm
libavcodec/x86/audiodsp_init.c
tests/checkasm/audiodsp.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 8f9e604bb24e913294f0dc65d5ced2e2f409b359,23731158e5699640bebd0b865e1bb7b2f1558572..98e296c264ee57f42f7a6e81ecaab8a25aab1459
@@@ -37,8 -38,6 +37,8 @@@ void ff_vector_clip_int32_int_sse2(int3
                                     int32_t min, int32_t max, unsigned int len);
  void ff_vector_clip_int32_sse4(int32_t *dst, const int32_t *src,
                                 int32_t min, int32_t max, unsigned int len);
-                          float min, float max, int len);
 +void ff_vector_clipf_sse(float *dst, const float *src,
++                         int len, float min, float max);
  
  av_cold void ff_audiodsp_init_x86(AudioDSPContext *c)
  {
Simple merge