summaryrefslogtreecommitdiffstats
path: root/ffmpeg.h
diff options
context:
space:
mode:
authorSebastien Zwickert <dilaroga@gmail.com>2015-07-11 13:23:21 +0200
committerClément Bœsch <clement@stupeflix.com>2015-08-03 10:12:10 +0200
commit11d923d41412223ed255f31489222321b11d0397 (patch)
tree79c8ec8438b9cfe8be952a2e6aba9e5e0797f669 /ffmpeg.h
parent127203ba5a0b9fab652a5095e52f3d247abc98e5 (diff)
downloadffmpeg-streaming-11d923d41412223ed255f31489222321b11d0397.zip
ffmpeg-streaming-11d923d41412223ed255f31489222321b11d0397.tar.gz
avcodec: add new Videotoolbox hwaccel.
Diffstat (limited to 'ffmpeg.h')
-rw-r--r--ffmpeg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffmpeg.h b/ffmpeg.h
index 7467b16..03ba2d0 100644
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -63,6 +63,7 @@ enum HWAccelID {
HWACCEL_VDPAU,
HWACCEL_DXVA2,
HWACCEL_VDA,
+ HWACCEL_VIDEOTOOLBOX,
};
typedef struct HWAccel {
@@ -520,6 +521,7 @@ extern int frame_bits_per_raw_sample;
extern AVIOContext *progress_avio;
extern float max_error_rate;
extern int vdpau_api_ver;
+extern char *videotoolbox_pixfmt;
extern const AVIOInterruptCB int_cb;
@@ -554,5 +556,6 @@ int ffmpeg_parse_options(int argc, char **argv);
int vdpau_init(AVCodecContext *s);
int dxva2_init(AVCodecContext *s);
int vda_init(AVCodecContext *s);
+int videotoolbox_init(AVCodecContext *s);
#endif /* FFMPEG_H */
OpenPOWER on IntegriCloud