[FFmpeg-devel] [PATCH][VAAPI][3/6] Add MPEG-2 bitstream decoding (take 4)
Gwenole Beauchesne
gbeauchesne
Wed Mar 18 15:38:08 CET 2009
On Wed, 11 Mar 2009, Gwenole Beauchesne wrote:
> On Fri, 6 Mar 2009, Gwenole Beauchesne wrote:
>
>> On Wed, 4 Mar 2009, Aurelien Jacobs wrote:
>>
>>>> +#if CONFIG_MPEG2_VAAPI_HWACCEL
>>>> +AVHWAccel mpeg2_vaapi_hwaccel = {
>>>> + .name = "mpeg2_vaapi",
>>>> + .type = CODEC_TYPE_VIDEO,
>>>> + .id = CODEC_ID_MPEG2VIDEO,
>>>> + .pix_fmt = PIX_FMT_VAAPI_VLD,
>>>> + .capabilities = 0,
>>>> + .start_frame = vaapi_mpeg2_start_frame,
>>>> + .end_frame = ff_vaapi_common_end_frame,
>>>> + .decode_slice = vaapi_mpeg2_decode_slice,
>>>> + .priv_data_size = sizeof(struct vaapi_render_state_private),
>>>> + .close = ff_vaapi_destroy_picture,
>>>> +};
>>>> +#endif
>>>
>>> This file won't ever be compiled without CONFIG_MPEG2_VAAPI_HWACCEL
>>> so the #if is useless.
>>>
>>> I guess those remarks also apply to every codec specific vaapi_*.c files.
>>
>> vaapi_{mpeg4,vc1}.c contain several hwaccels, but I will drop it for
>> vaapi_{mpeg2,h264}.c.
>
> New patch attached.
Ping. New patch attached to cope with recent changes of common parts + mix
decoders and HW accelerators in Makefile per Diego's advise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.hwaccel.vaapi.mpeg2.4.patch
Type: text/x-diff
Size: 7992 bytes
Desc:
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090318/6fe09419/attachment.patch>
More information about the ffmpeg-devel
mailing list