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

Michael Niedermayer michaelni
Thu Feb 26 16:58:06 CET 2009


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090226/14ece39a/attachment.pgp>



More information about the ffmpeg-devel mailing list