[FFmpeg-devel] [PATCH] Port x264 SSE2 deblocking code to H.264 decoder

Michael Niedermayer michaelni
Wed Dec 17 11:28:37 CET 2008


On Wed, Dec 17, 2008 at 05:00:45AM +0000, Loren Merritt wrote:
> On Wed, 17 Dec 2008, Michael Niedermayer wrote:
>
>>> @@ -275,10 +274,10 @@
>>>
>>>  %ifdef ARCH_X86_64
>>>  
>>> ;-----------------------------------------------------------------------------
>>> -; void x264_deblock_v_luma_sse2( uint8_t *pix, int stride, int alpha, 
>>> int beta, int8_t *tc0 )
>>> +; void h264_v_loop_filter_luma_sse2( uint8_t *pix, int stride, int 
>>> alpha, int beta, int8_t *tc0 )
>>>  
>>> ;-----------------------------------------------------------------------------
>>>  INIT_XMM
>>> -cglobal x264_deblock_v_luma_sse2
>>> +cglobal h264_v_loop_filter_luma_sse2
>>>      movd    m8, [r4] ; tc0
>>>      lea     r4, [r1*3]
>>>      dec     r2d        ; alpha-1
>>
>> would it be possible to use some kind of macro to give these functions
>> differnt prefixes so the .asm files could be identical?
>
> Like this? then it'll be ff_x264_deblock_v_luma_sse2

yes, this looks fine

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081217/75c75f1b/attachment.pgp>



More information about the ffmpeg-devel mailing list