diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-05-19 15:59:25 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-05-26 15:40:32 +0200 |
commit | 1c9e8616c535ef496e7ee8a5cbc5e9e972a6977d (patch) | |
tree | 74ffeb8565c23be6646efe416bf7bbd79a020fcc /libavutil/hwcontext_internal.h | |
parent | 24b5cff01bbac4e08acfd6d19c499e880988f520 (diff) | |
download | ffmpeg-1c9e8616c535ef496e7ee8a5cbc5e9e972a6977d.tar.gz |
hwcontext: add a function for opening devices
Diffstat (limited to 'libavutil/hwcontext_internal.h')
-rw-r--r-- | libavutil/hwcontext_internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/hwcontext_internal.h b/libavutil/hwcontext_internal.h index 281eae892b..2e1daaeeeb 100644 --- a/libavutil/hwcontext_internal.h +++ b/libavutil/hwcontext_internal.h @@ -64,6 +64,9 @@ typedef struct HWContextType { */ size_t frames_priv_size; + int (*device_create)(AVHWDeviceContext *ctx, const char *device, + AVDictionary *opts, int flags); + int (*device_init)(AVHWDeviceContext *ctx); void (*device_uninit)(AVHWDeviceContext *ctx); |