[FFmpeg-devel] [PATCH] get_pixels_sse2

Baptiste Coudurier baptiste.coudurier
Thu Oct 9 20:37:11 CEST 2008


Michael Niedermayer wrote:
> On Thu, Oct 09, 2008 at 10:47:48AM -0700, Baptiste Coudurier wrote:
>> Hi Michael,
>>
>> Michael Niedermayer wrote:
>>> On Wed, Oct 08, 2008 at 06:48:30PM -0700, Baptiste Coudurier wrote:
> [...]
>>> [...]
>>>> @@ -1332,7 +1366,11 @@
>>>>              }
>>>>          }
>>>>  
>>>> -        c->get_pixels = get_pixels_mmx;
>>>> +        if(mm_flags & MM_SSE2)
>>>> +            c->get_pixels = get_pixels_sse2;
>>>> +        else
>>>> +            c->get_pixels = get_pixels_mmx;
>>>> +
>>>>          c->diff_pixels = diff_pixels_mmx;
>>>>          c->pix_sum = pix_sum16_mmx;
>>> there is a if(mm_flags & MM_SSE2) below, this could be used instead
>>> of adding a new if()
>> Ok, done.
>>
>> Updated patch attached.
> 
> ok

Applied my first asm/simd patch :>

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Smartjog USA Inc.                                http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA




More information about the ffmpeg-devel mailing list