video: API: Add GST_VIDEO_CAPS_GRAY{8,16}

This commit is contained in:
Sebastian Dröge 2010-04-07 17:21:43 +02:00
parent 592f3ba4ab
commit bf8fff4e33
2 changed files with 19 additions and 0 deletions

View file

@ -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

View file

@ -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 */
/**