aboutsummaryrefslogtreecommitdiffstats
path: root/avconv.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-10-13 14:11:35 +0200
committerAnton Khirnov <anton@khirnov.net>2015-10-16 20:01:37 +0200
commitfb472e1a11a4e0caed2c3c91da01ea8e35d9e3f8 (patch)
tree5ddb316f55a9f62ffd64357c0db583a7fe8398a2 /avconv.h
parentdc923bc23b3efd949d0bf67ff1abdb95059e5843 (diff)
downloadffmpeg-fb472e1a11a4e0caed2c3c91da01ea8e35d9e3f8.tar.gz
avconv: add support for Intel QSV-accelerated transcoding
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'avconv.h')
-rw-r--r--avconv.h5
1 files changed, 5 insertions, 0 deletions
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 */