diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-05-19 15:59:25 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-05-25 14:11:58 +0200 |
commit | a853a5d294c3847fccc22ba0655335f64f13ce16 (patch) | |
tree | 114db66219fbb5a38c439e50a9fd300b5032088a /libavutil/hwcontext_internal.h | |
parent | 3ea7af7557ce63c9223d094f4c8c9df7dd022954 (diff) |
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); |