[FFmpeg-devel] [PATCH] mpeg12.c: add HW acceleration hooks (take 3)

Benoit Fouet benoit.fouet
Fri Feb 27 09:20:51 CET 2009


On 02/26/2009 04:58 PM, Michael Niedermayer wrote:
> On Thu, Feb 26, 2009 at 03:38:54PM +0100, Gwenole Beauchesne wrote:
>   
>> On Thu, 26 Feb 2009, Michael Niedermayer wrote:
>>
>>     
>>>>> why is the call to mpeg_decode_slice a few lines latr in the else
>>>>> not enough?
>>>>>           
>>>> emms_c() would be superfluous,
>>>>         
>>> doesnt hurt, its fast in respect to decoding a slice.
>>>       
>> OK, here is a new patch with additional changes:
>>
>> commit 4c2fab896bedc93d06cbda2377260ec413d92b88
>> Author: Gwenole Beauchesne <gbeauchesne at splitted-desktop.com>
>> Date:   Thu Feb 26 14:25:01 2009 +0000
>>
>>     Add ff_hwaccel_pixfmt_list_420[] for HW accelerated formats.
>>
>> commit 66bff821e3a13d160e6b4a3455a5f23eabe6d168
>> Author: Gwenole Beauchesne <gbeauchesne at splitted-desktop.com>
>> Date:   Thu Feb 26 12:52:44 2009 +0000
>>
>>     Remove superfluous call to mpeg_decode_slice() for hwaccel, this 
>> function already contains the needed code.
>>
>> depends on the approved ffmpeg.hwaccel.no_er_add_slice.patch to be applied 
>> first I'd guess, though there is no hwaccel implementation committed yet, 
>> so that will still work.
>>     
>
> looks ok
>
> [...]
>   
>   

applied

Ben





More information about the ffmpeg-devel mailing list