[FFmpeg-devel] AVX assembly for ffmpeg

Daniel Kang daniel.d.kang
Wed Feb 16 14:00:44 CET 2011


On Tue, Feb 15, 2011 at 7:21 PM, Daniel Kang <daniel.d.kang at gmail.com>wrote:

> 2011/2/15 M?ns Rullg?rd <mans at mansr.com>
>
>  "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.
>
>
> I will send a patch with a sample AVX function implemented for comments
> soon.
>

What numeric value should AV_CPU_FLAG_AVX be?



More information about the ffmpeg-devel mailing list