diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-10-13 14:11:35 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-10-16 20:01:37 +0200 |
commit | fb472e1a11a4e0caed2c3c91da01ea8e35d9e3f8 (patch) | |
tree | 5ddb316f55a9f62ffd64357c0db583a7fe8398a2 /avconv.h | |
parent | dc923bc23b3efd949d0bf67ff1abdb95059e5843 (diff) | |
download | ffmpeg-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 */ |