1// Take a look at the license at the top of the repository in the LICENSE file.
2
3use glib::once_cell::sync::Lazy;
4use gst::CapsFeatures;
5
6#[cfg(feature = "v1_16")]
7#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
8pub static CAPS_FEATURE_FORMAT_INTERLACED: &glib::GStr =
9 unsafe { glib::GStr::from_utf8_with_nul_unchecked(ffi::GST_CAPS_FEATURE_FORMAT_INTERLACED) };
10#[cfg(feature = "v1_16")]
11#[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
12pub static CAPS_FEATURES_FORMAT_INTERLACED: Lazy<CapsFeatures> =
13 Lazy::new(|| CapsFeatures::new([CAPS_FEATURE_FORMAT_INTERLACED]));
14
15pub static CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META: &glib::GStr = unsafe {
16 glib::GStr::from_utf8_with_nul_unchecked(
17 bytes:ffi::GST_CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META,
18 )
19};
20pub static CAPS_FEATURES_META_GST_VIDEO_AFFINE_TRANSFORMATION_META: Lazy<CapsFeatures> =
21 Lazy::new(|| CapsFeatures::new([CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META]));
22
23pub static CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META: &glib::GStr = unsafe {
24 glib::GStr::from_utf8_with_nul_unchecked(
25 bytes:ffi::GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META,
26 )
27};
28pub static CAPS_FEATURES_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META: Lazy<CapsFeatures> =
29 Lazy::new(|| CapsFeatures::new([CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META]));
30
31pub static CAPS_FEATURE_META_GST_VIDEO_META: &glib::GStr =
32 unsafe { glib::GStr::from_utf8_with_nul_unchecked(bytes:ffi::GST_CAPS_FEATURE_META_GST_VIDEO_META) };
33pub static CAPS_FEATURES_META_GST_VIDEO_META: Lazy<CapsFeatures> =
34 Lazy::new(|| CapsFeatures::new([CAPS_FEATURE_META_GST_VIDEO_META]));
35
36pub static CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION: &glib::GStr = unsafe {
37 glib::GStr::from_utf8_with_nul_unchecked(
38 bytes:ffi::GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION,
39 )
40};
41pub static CAPS_FEATURES_META_GST_VIDEO_OVERLAY_COMPOSITION: Lazy<CapsFeatures> =
42 Lazy::new(|| CapsFeatures::new([CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION]));
43