[FFmpeg-devel] [PATCH] Add REGISTER_HWACCEL
Gwenole Beauchesne
gbeauchesne
Wed Feb 25 18:06:06 CET 2009
Hi,
This patch adds REGISTER_HWACCEL macro and configury.
Sample usage:
REGISTER_HWACCEL (H264_VAAPI, h264_vaapi);
=> CONFIG_H264_VAAPI_HWACCEL is generated and an h264_vaapi_hwaccel struct
is expected.
[...]
#if CONFIG_H264_VAAPI_HWACCEL
AVHWAccel h264_vaapi_hwaccel = {
.name = "h264_vaapi",
.type = CODEC_TYPE_VIDEO,
.id = CODEC_ID_H264,
.pix_fmt = PIX_FMT_VAAPI_VLD,
.capabilities = 0,
.start_frame = vaapi_h264_start_frame,
.end_frame = vaapi_common_end_frame,
.decode_slice = vaapi_h264_decode_slice,
};
#endif
Regards,
Gwenole.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.hwaccel.register.patch
Type: text/x-diff
Size: 3130 bytes
Desc:
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090225/88962902/attachment.patch>
More information about the ffmpeg-devel
mailing list