diff options
author | wm4 <nfxjfg@googlemail.com> | 2014-05-30 22:14:21 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-06-01 08:22:02 +0200 |
commit | 8c02adc62d71dfbb079a04753d8c16152c49de88 (patch) | |
tree | 666a2d9575899e5287766443f79a4711ca35a1df /libavutil/frame.h | |
parent | d2ef708c95ace2518deffe830a9c439aeb9edd5d (diff) | |
download | ffmpeg-8c02adc62d71dfbb079a04753d8c16152c49de88.tar.gz |
lavu: add all color-related enums to AVFrame
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavutil/frame.h')
-rw-r--r-- | libavutil/frame.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h index 958cd26975..b2159d3cc3 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -33,6 +33,7 @@ #include "dict.h" #include "rational.h" #include "samplefmt.h" +#include "pixfmt.h" #include "version.h" @@ -416,6 +417,18 @@ typedef struct AVFrame { * Frame flags, a combination of @ref lavu_frame_flags */ int flags; + +#if FF_API_AVFRAME_COLORSPACE + enum AVColorRange color_range; + + enum AVColorPrimaries color_primaries; + + enum AVColorTransferCharacteristic color_trc; + + enum AVColorSpace colorspace; + + enum AVChromaLocation chroma_location; +#endif } AVFrame; /** |