mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
video: add support for premultiplied alpha
This commit is contained in:
parent
0290e116eb
commit
a45bca53a1
1 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue