diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-31 17:10:10 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-19 22:14:13 +0200 |
commit | 9c8aeacf82a872e1703efdfd2822a4f2d6324c9a (patch) | |
tree | 5f738c9da8d7396e7b5213876e08cf0c44de583f /libavutil/frame.h | |
parent | 63139f62f35944b9abd42505bf13a740676978e9 (diff) | |
download | ffmpeg-9c8aeacf82a872e1703efdfd2822a4f2d6324c9a.tar.gz |
avutil: add av_get_colorspace_name()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/frame.h')
-rw-r--r-- | libavutil/frame.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h index 3313703f0c..f0a57037e8 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -509,6 +509,12 @@ enum AVColorRange av_frame_get_color_range(const AVFrame *frame); void av_frame_set_color_range(AVFrame *frame, enum AVColorRange val); /** + * Get the name of a colorspace. + * @return a static string identifying the colorspace; can be NULL. + */ +const char *av_get_colorspace_name(enum AVColorSpace val); + +/** * Allocate an AVFrame and set its fields to default values. The resulting * struct must be freed using av_frame_free(). * |