diff options
author | Akemi <der.richter@gmx.de> | 2019-04-13 17:36:01 +0300 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2019-09-04 20:51:20 +0300 |
commit | 2a9d461abcc88ab74f2143aada1e366a0961830c (patch) | |
tree | d341c55f70bf1a79f5737cdd7b233d965d5e54f4 /libavutil/hwcontext_videotoolbox.h | |
parent | 787c56b9e9e5f9a1b82d2b47f26e8b0924781599 (diff) |
avcodec/videotoolbox: add support for full range pixel formats
Signed-off-by: Aman Gupta <aman@tmm1.net>
Diffstat (limited to 'libavutil/hwcontext_videotoolbox.h')
-rw-r--r-- | libavutil/hwcontext_videotoolbox.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/hwcontext_videotoolbox.h b/libavutil/hwcontext_videotoolbox.h index 380918d92e..5074d79e68 100644 --- a/libavutil/hwcontext_videotoolbox.h +++ b/libavutil/hwcontext_videotoolbox.h @@ -51,4 +51,10 @@ enum AVPixelFormat av_map_videotoolbox_format_to_pixfmt(uint32_t cv_fmt); */ uint32_t av_map_videotoolbox_format_from_pixfmt(enum AVPixelFormat pix_fmt); +/** + * Same as av_map_videotoolbox_format_from_pixfmt function, but can map and + * return full range pixel formats via a flag. + */ +uint32_t av_map_videotoolbox_format_from_pixfmt2(enum AVPixelFormat pix_fmt, bool full_range); + #endif /* AVUTIL_HWCONTEXT_VIDEOTOOLBOX_H */ |