diff options
author | Sebastien Zwickert <dilaroga@gmail.com> | 2015-07-11 13:23:21 +0200 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2015-08-03 10:12:10 +0200 |
commit | 11d923d41412223ed255f31489222321b11d0397 (patch) | |
tree | 79c8ec8438b9cfe8be952a2e6aba9e5e0797f669 /ffmpeg.h | |
parent | 127203ba5a0b9fab652a5095e52f3d247abc98e5 (diff) | |
download | ffmpeg-11d923d41412223ed255f31489222321b11d0397.tar.gz |
avcodec: add new Videotoolbox hwaccel.
Diffstat (limited to 'ffmpeg.h')
-rw-r--r-- | ffmpeg.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 */ |