summaryrefslogtreecommitdiff
path: root/libavutil/frame.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-31 17:10:10 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-19 22:14:13 +0200
commit9c8aeacf82a872e1703efdfd2822a4f2d6324c9a (patch)
tree5f738c9da8d7396e7b5213876e08cf0c44de583f /libavutil/frame.h
parent63139f62f35944b9abd42505bf13a740676978e9 (diff)
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.h6
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().
*