[FFmpeg-devel] [PATCH] HWAccel infrastructure (take 7.1)

Gwenole Beauchesne gbeauchesne
Tue Feb 24 17:25:44 CET 2009


On Tue, 24 Feb 2009, Michael Niedermayer wrote:

>>> and not all accelerators implement all profiles, we already insistent on
>>> removing profiles from the pix_fmts, i dont see why codecs should be
>>> handled differently.
>>
>> And how would you look up the HWAccel then if you no longer have the codec
>> info in the pix_fmt name?
>
> by passing pix_fmt & codec_id to the function doing the lookup like i
> suggested earlier

Sure, but I have great difficulty to accept the ff_pixfmt_to_hwaccel() 
name in this case, this is terribly disturbing. Hence, I renamed it to 
ff_find_hwaccel().




More information about the ffmpeg-devel mailing list