From fb472e1a11a4e0caed2c3c91da01ea8e35d9e3f8 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 13 Oct 2015 14:11:35 +0200 Subject: avconv: add support for Intel QSV-accelerated transcoding Signed-off-by: Luca Barbato --- avconv.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'avconv.h') diff --git a/avconv.h b/avconv.h index 5a7cf0991c..f0a948f145 100644 --- a/avconv.h +++ b/avconv.h @@ -54,6 +54,7 @@ enum HWAccelID { HWACCEL_VDPAU, HWACCEL_DXVA2, HWACCEL_VDA, + HWACCEL_QSV, }; typedef struct HWAccel { @@ -331,6 +332,8 @@ typedef struct OutputStream { int64_t max_frames; AVFrame *filtered_frame; + void *hwaccel_ctx; + /* video only */ AVRational frame_rate; int force_fps; @@ -443,5 +446,7 @@ int avconv_parse_options(int argc, char **argv); int vdpau_init(AVCodecContext *s); int dxva2_init(AVCodecContext *s); int vda_init(AVCodecContext *s); +int qsv_init(AVCodecContext *s); +int qsv_transcode_init(OutputStream *ost); #endif /* AVCONV_H */ -- cgit v1.2.3