From: Wim Taymans Date: Wed, 30 May 2012 07:21:46 +0000 (+0200) Subject: video: add support for premultiplied alpha X-Git-Tag: 1.19.3~511^2~6415 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a45bca53a1157ef1b669d87390995138432ac8a8;p=platform%2Fupstream%2Fgstreamer.git video: add support for premultiplied alpha --- diff --git a/gst-libs/gst/video/video.h b/gst-libs/gst/video/video.h index 6133521..687d269 100644 --- a/gst-libs/gst/video/video.h +++ b/gst-libs/gst/video/video.h @@ -390,13 +390,16 @@ typedef enum { * GstVideoFlags: * @GST_VIDEO_FLAG_NONE: no flags * @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 */ typedef enum { - GST_VIDEO_FLAG_NONE = 0, - GST_VIDEO_FLAG_VARIABLE_FPS = (1 << 0) + GST_VIDEO_FLAG_NONE = 0, + GST_VIDEO_FLAG_VARIABLE_FPS = (1 << 0), + GST_VIDEO_FLAG_PREMULTIPLIED_ALPHA = (1 << 1) } GstVideoFlags; /**