[FFmpeg-devel] [PATCH] x86/me_cmp: port mmxext vsad functions to yasm

James Almer jamrial at gmail.com
Sat Sep 20 02:52:43 CEST 2014


On 19/09/14 8:24 PM, Michael Niedermayer wrote:
> On Fri, Sep 19, 2014 at 07:18:10PM -0300, James Almer wrote:
>> Also add mmxext versions of vsad8 and vsad_intra8, and sse2 versions of
>> vsad16 and vsad_intra16.
>> Since vsad8 and vsad16 are not bitexact, they are accordingly marked as
>> approximate.
>>
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>>  libavcodec/x86/me_cmp.asm    | 161 +++++++++++++++++++++++++++++++++++++++++++
>>  libavcodec/x86/me_cmp_init.c | 133 ++++++-----------------------------
>>  2 files changed, 181 insertions(+), 113 deletions(-)
> 
> should be ok if the new code produces the same values as the old

It does as far as i could test.
Pushed, thanks.


More information about the ffmpeg-devel mailing list