mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
video: API: Add GST_VIDEO_CAPS_GRAY{8,16}
This commit is contained in:
parent
592f3ba4ab
commit
bf8fff4e33
2 changed files with 19 additions and 0 deletions
|
@ -1816,6 +1816,8 @@ GST_VIDEO_CAPS_YUV
|
|||
GST_VIDEO_CAPS_xBGR
|
||||
GST_VIDEO_CAPS_xRGB
|
||||
GST_VIDEO_CAPS_xRGB_HOST_ENDIAN
|
||||
GST_VIDEO_CAPS_GRAY8
|
||||
GST_VIDEO_CAPS_GRAY16
|
||||
GST_VIDEO_FPS_RANGE
|
||||
GST_VIDEO_GREEN_MASK_15
|
||||
GST_VIDEO_GREEN_MASK_15_INT
|
||||
|
|
|
@ -247,6 +247,23 @@ typedef enum {
|
|||
"height = " GST_VIDEO_SIZE_RANGE ", " \
|
||||
"framerate = " GST_VIDEO_FPS_RANGE
|
||||
|
||||
#define GST_VIDEO_CAPS_GRAY8 \
|
||||
"video/x-raw-gray, " \
|
||||
"bpp = (int) 8, " \
|
||||
"depth = (int) 8, " \
|
||||
"width = " GST_VIDEO_SIZE_RANGE ", " \
|
||||
"height = " GST_VIDEO_SIZE_RANGE ", " \
|
||||
"framerate = " GST_VIDEO_FPS_RANGE
|
||||
|
||||
#define GST_VIDEO_CAPS_GRAY16(endianness) \
|
||||
"video/x-raw-gray, " \
|
||||
"bpp = (int) 16, " \
|
||||
"depth = (int) 16, " \
|
||||
"endianness = (int) " endianness ", " \
|
||||
"width = " GST_VIDEO_SIZE_RANGE ", " \
|
||||
"height = " GST_VIDEO_SIZE_RANGE ", " \
|
||||
"framerate = " GST_VIDEO_FPS_RANGE
|
||||
|
||||
/* buffer flags */
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue