diff --git a/gst-libs/gst/video/video.h b/gst-libs/gst/video/video.h index 72fbdd915f..94ed28edb7 100644 --- a/gst-libs/gst/video/video.h +++ b/gst-libs/gst/video/video.h @@ -137,6 +137,24 @@ typedef enum { #define GST_VIDEO_COMP2_MASK_15_INT 0x03e0 #define GST_VIDEO_COMP3_MASK_15_INT 0x001f +#ifndef GST_DISABLE_DEPRECATED +#define GST_VIDEO_RED_MASK_16 GST_VIDEO_COMP1_MASK_16 +#define GST_VIDEO_GREEN_MASK_16 GST_VIDEO_COMP2_MASK_16 +#define GST_VIDEO_BLUE_MASK_16 GST_VIDEO_COMP3_MASK_16 + +#define GST_VIDEO_RED_MASK_15 GST_VIDEO_COMP1_MASK_15 +#define GST_VIDEO_GREEN_MASK_15 GST_VIDEO_COMP2_MASK_15 +#define GST_VIDEO_BLUE_MASK_15 GST_VIDEO_COMP3_MASK_15 + +#define GST_VIDEO_RED_MASK_16_INT GST_VIDEO_COMP1_MASK_16_INT +#define GST_VIDEO_GREEN_MASK_16_INT GST_VIDEO_COMP2_MASK_16_INT +#define GST_VIDEO_BLUE_MASK_16_INT GST_VIDEO_COMP3_MASK_16_INT + +#define GST_VIDEO_RED_MASK_15_INT GST_VIDEO_COMP1_MASK_15_INT +#define GST_VIDEO_GREEN_MASK_15_INT GST_VIDEO_COMP2_MASK_15_INT +#define GST_VIDEO_BLUE_MASK_15_INT GST_VIDEO_COMP3_MASK_15_INT +#endif + #define GST_VIDEO_SIZE_RANGE "(int) [ 1, max ]" #define GST_VIDEO_FPS_RANGE "(fraction) [ 0, max ]"