Commit a45bca53 authored by Wim Taymans's avatar Wim Taymans
Browse files

video: add support for premultiplied alpha

parent 0290e116
...@@ -391,12 +391,15 @@ typedef enum { ...@@ -391,12 +391,15 @@ typedef enum {
* @GST_VIDEO_FLAG_NONE: no flags * @GST_VIDEO_FLAG_NONE: no flags
* @GST_VIDEO_FLAG_VARIABLE_FPS: a variable fps is selected, fps_n and fps_d * @GST_VIDEO_FLAG_VARIABLE_FPS: a variable fps is selected, fps_n and fps_d
* denote the maximum fps of the video * denote the maximum fps of the video
* @GST_VIDEO_FLAG_PREMULTIPLIED_ALPHA: Each color has been scaled by the alpha
* value.
* *
* Extra video flags * Extra video flags
*/ */
typedef enum { typedef enum {
GST_VIDEO_FLAG_NONE = 0, GST_VIDEO_FLAG_NONE = 0,
GST_VIDEO_FLAG_VARIABLE_FPS = (1 << 0) GST_VIDEO_FLAG_VARIABLE_FPS = (1 << 0),
GST_VIDEO_FLAG_PREMULTIPLIED_ALPHA = (1 << 1)
} GstVideoFlags; } GstVideoFlags;
/** /**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment