[FFmpeg-devel] AVX assembly for ffmpeg

Måns Rullgård mans
Tue Feb 15 22:43:47 CET 2011


"Ronald S. Bultje" <rsbultje at gmail.com> writes:

> Hi,
>
> On Tue, Feb 15, 2011 at 3:27 PM, Reimar D?ffinger
> <Reimar.Doeffinger at gmx.de> wrote:
>> On Tue, Feb 15, 2011 at 08:12:13PM +0000, M?ns Rullg?rd wrote:
>>> Daniel Kang <daniel.d.kang at gmail.com> writes:
>>>
>>> > I have been asked to write AVX assembly for ffmpeg. This will require
>>> > porting x264's x86inc.asm file with the AVX abstraction layer. Ideally, I
>>> > would like to bump the yasm version, as it is already checked for pextrd
>>> > (SSE4). However, is this is not permissible, I can see if the AVX compile
>>> > flag can be set conditionally, based on the yasm version.
>>>
>>> How recent a yasm version is required, and how hard is it to make it
>>> conditional?
>>
>> Note that I promised to not burden other people with it, but I'd appreciate
>> it if you could also look into/try not to break nasm :-)
>
> HAVE_AVX isn't that difficult to implement now that we have
> config.asm.

That part is trivial, I was thinking of the asm code itself.

> Let's go the conditional route, at least for now.

Sure, that way nobody has cause for complaints.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list