[FFmpeg-devel] [PATCH] mpeg12.c: add HW acceleration hooks (take 3)
Gwenole Beauchesne
gbeauchesne
Thu Feb 26 15:38:54 CET 2009
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.hwaccel.mpeg12.3.patch
Type: text/x-diff
Size: 1767 bytes
Desc:
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090226/e306ffcb/attachment.patch>
More information about the ffmpeg-devel
mailing list