diff --git a/docs/libs/gst-plugins-base-libs-sections.txt b/docs/libs/gst-plugins-base-libs-sections.txt index 5b0007740d..71ddfe911f 100644 --- a/docs/libs/gst-plugins-base-libs-sections.txt +++ b/docs/libs/gst-plugins-base-libs-sections.txt @@ -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 diff --git a/gst-libs/gst/video/video.h b/gst-libs/gst/video/video.h index 070e6181a9..e92a0f15fb 100644 --- a/gst-libs/gst/video/video.h +++ b/gst-libs/gst/video/video.h @@ -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 */ /**