Go to the documentation of this file.
16 #ifndef __GST_TENSOR_CONVERTER_MEDIA_INFO_VIDEO_H__
17 #define __GST_TENSOR_CONVERTER_MEDIA_INFO_VIDEO_H__
20 #error This header is not supported if NO_VIDEO is defined
23 #include <gst/video/video-info.h>
28 #if GST_CHECK_VERSION(1, 20, 0)
29 #define NNS_VIDEO_FORMAT "{ RGB, BGR, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, GRAY8, GRAY16_BE, GRAY16_LE, RGBP, BGRP }"
31 #define NNS_VIDEO_FORMAT "{ RGB, BGR, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, GRAY8, GRAY16_BE, GRAY16_LE }"
34 #define VIDEO_CAPS_STR \
35 GST_VIDEO_CAPS_MAKE (NNS_VIDEO_FORMAT) \
36 ", interlace-mode = (string) progressive"
38 #define append_video_caps_template(caps) \
39 gst_caps_append (caps, gst_caps_from_string (VIDEO_CAPS_STR))
41 #define is_video_supported(...) TRUE