[FFmpeg-devel] [PATCH] mmx implementation of vc-1 inverse transformations

Victor Pollex victor.pollex
Fri Aug 1 18:40:08 CEST 2008


Michael Niedermayer schrieb:
> On Thu, Jul 31, 2008 at 02:50:44PM +0200, Victor Pollex wrote:
>   
>> Michael Niedermayer schrieb:
>>     

[...]

>>>> +void ff_vc1dsp_init_sse2(DSPContext* dsp, AVCodecContext *avctx) {
>>>> +    if(!(mm_flags & MM_SSE2))
>>>> +        return;
>>>> +
>>>> +    dsp->vc1_inv_trans_8x8 = vc1_inv_trans_8x8_sse2;
>>>> +    dsp->vc1_inv_trans_4x8 = vc1_inv_trans_4x8_sse2;
>>>> +    dsp->vc1_inv_trans_8x4 = vc1_inv_trans_8x4_sse2;
>>>> +}
>>>>     
>>>>         
>>> are all of the SSE2 variants faste than mmx?
>>>   
>>>       
>> For me the 8x8 sse2 variant is faster than the mmx one, but as I I #
>> metioned in an earlier post, the 4x8 isn't and the 8x4 is only a bit 
>> faster, that is why I asked if someone else could benchmark them, to see 
>> if they behave like that just for me.
>>     
>
> In the anbsense of anyone posting benchmark we only have yours that says
> that one isnt faster so it should be disabled, it could be kept in the file
> under #if 0 for others to test ...
>   

I put it under #if 0


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 00_vc1dsp.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080801/0d1863bb/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 01_constants.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080801/0d1863bb/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 02_dsputil_mmx.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080801/0d1863bb/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 03_vc1dsp_mmx.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080801/0d1863bb/attachment-0001.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 04_vc1dsp_sse2.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080801/0d1863bb/attachment-0002.txt>



More information about the ffmpeg-devel mailing list