[FFmpeg-devel] [PATCH][VAAPI][3/6] Add MPEG-2 bitstream decoding (take 5)
Gwenole Beauchesne
gbeauchesne
Sun Mar 22 02:44:35 CET 2009
On Wed, 18 Mar 2009, Gwenole Beauchesne wrote:
> 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.
New patch attached to cope with recent changes in (committed) common
parts. Also add missing hunk for allcodecs.c to register the new HW
accelerator.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.hwaccel.vaapi.mpeg2.5.patch
Type: text/x-diff
Size: 8875 bytes
Desc:
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090322/a51d9f5f/attachment.patch>
More information about the ffmpeg-devel
mailing list