[FFmpeg-devel] [PATCH 0/2] x86: hevc_mc: port to SSSE3

James Almer jamrial at gmail.com
Sat Aug 23 17:23:11 CEST 2014


On 23/08/14 12:15 PM, Christophe Gisquet wrote:
> Hi,
> 
> 2014-08-23 17:01 GMT+02:00 James Almer <jamrial at gmail.com>:
>>>> There's a PACK macro in lavfi/x86/yasm-16.asm that does this without
>>> intrinsics.
>>>
>>> You meant yadif-16, right?
>>>
>>> Timothy
>>
>> Oops, yes i meant that :P
> 
> I expect it to be needed for the weighted pred functions, so I'll
> split it from yadif-16 into x264util under a more explicit name
> (PACK_U32? PACK_U32_TO_16 ?)

PACKUSDW. Like other macros that emulate a single instruction (PALIGNR, PABSW, 
etc) you can use its name.

The yadif-16.asm macro seems to be for a single register. It will have to be 
changed to support two.


More information about the ffmpeg-devel mailing list