1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
// DO NOT EDIT

use crate::ffi;
use glib::GStr;

/// An option that can be activated on bufferpools to request OpenGL
/// synchronization metadata on buffers from the pool.
#[doc(alias = "GST_BUFFER_POOL_OPTION_GL_SYNC_META")]
pub static BUFFER_POOL_OPTION_GL_SYNC_META: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_BUFFER_POOL_OPTION_GL_SYNC_META) };
/// String used for [`GLTextureTarget::_2d`][crate::GLTextureTarget::_2d] as a [`gst::BufferPool`][crate::gst::BufferPool] pool option
#[doc(alias = "GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D")]
pub static BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_2D) };
/// String used for [`GLTextureTarget::ExternalOes`][crate::GLTextureTarget::ExternalOes] as a [`gst::BufferPool`][crate::gst::BufferPool] pool option
#[doc(alias = "GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES")]
pub static BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES: &GStr = unsafe {
    GStr::from_utf8_with_nul_unchecked(ffi::GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_EXTERNAL_OES)
};
/// String used for [`GLTextureTarget::Rectangle`][crate::GLTextureTarget::Rectangle] as a [`gst::BufferPool`][crate::gst::BufferPool] pool option
#[doc(alias = "GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE")]
pub static BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE: &GStr = unsafe {
    GStr::from_utf8_with_nul_unchecked(ffi::GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE)
};
/// Name of the caps feature indicating the use of GL buffers
#[doc(alias = "GST_CAPS_FEATURE_MEMORY_GL_BUFFER")]
pub static CAPS_FEATURE_MEMORY_GL_BUFFER: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_CAPS_FEATURE_MEMORY_GL_BUFFER) };
/// Name of the caps feature for indicating the use of [`GLMemory`][crate::GLMemory]
#[doc(alias = "GST_CAPS_FEATURE_MEMORY_GL_MEMORY")]
pub static CAPS_FEATURE_MEMORY_GL_MEMORY: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_CAPS_FEATURE_MEMORY_GL_MEMORY) };
/// The name for [`GLAPI::GLES1`][crate::GLAPI::GLES1] used in various places
#[doc(alias = "GST_GL_API_GLES1_NAME")]
pub static GL_API_GLES1_NAME: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_API_GLES1_NAME) };
/// The name for [`GLAPI::GLES2`][crate::GLAPI::GLES2] used in various places
#[doc(alias = "GST_GL_API_GLES2_NAME")]
pub static GL_API_GLES2_NAME: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_API_GLES2_NAME) };
/// The name for [`GLAPI::OPENGL3`][crate::GLAPI::OPENGL3] used in various places
#[doc(alias = "GST_GL_API_OPENGL3_NAME")]
pub static GL_API_OPENGL3_NAME: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_API_OPENGL3_NAME) };
/// The name for [`GLAPI::OPENGL`][crate::GLAPI::OPENGL] used in various places
#[doc(alias = "GST_GL_API_OPENGL_NAME")]
pub static GL_API_OPENGL_NAME: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_API_OPENGL_NAME) };
/// The name of the GL buffer allocator
#[doc(alias = "GST_GL_BASE_MEMORY_ALLOCATOR_NAME")]
pub static GL_BASE_MEMORY_ALLOCATOR_NAME: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_BASE_MEMORY_ALLOCATOR_NAME) };
/// The name of the GL buffer allocator
#[doc(alias = "GST_GL_BUFFER_ALLOCATOR_NAME")]
pub static GL_BUFFER_ALLOCATOR_NAME: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_BUFFER_ALLOCATOR_NAME) };
/// The currently supported [`gst::Caps`][crate::gst::Caps] that can be converted
#[doc(alias = "GST_GL_COLOR_CONVERT_VIDEO_CAPS")]
pub static GL_COLOR_CONVERT_VIDEO_CAPS: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_COLOR_CONVERT_VIDEO_CAPS) };
/// The canonical name of a [`gst::Structure`][crate::gst::Structure] that contains a configuration for a
/// [`GLContext`][crate::GLContext].
#[cfg(feature = "v1_20")]
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
#[doc(alias = "GST_GL_CONFIG_STRUCTURE_NAME")]
pub static GL_CONFIG_STRUCTURE_NAME: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_CONFIG_STRUCTURE_NAME) };
#[doc(alias = "GST_GL_CONTEXT_TYPE_CGL")]
pub static GL_CONTEXT_TYPE_CGL: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_CONTEXT_TYPE_CGL) };
#[doc(alias = "GST_GL_CONTEXT_TYPE_EAGL")]
pub static GL_CONTEXT_TYPE_EAGL: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_CONTEXT_TYPE_EAGL) };
#[doc(alias = "GST_GL_CONTEXT_TYPE_EGL")]
pub static GL_CONTEXT_TYPE_EGL: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_CONTEXT_TYPE_EGL) };
#[doc(alias = "GST_GL_CONTEXT_TYPE_GLX")]
pub static GL_CONTEXT_TYPE_GLX: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_CONTEXT_TYPE_GLX) };
#[doc(alias = "GST_GL_CONTEXT_TYPE_WGL")]
pub static GL_CONTEXT_TYPE_WGL: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_CONTEXT_TYPE_WGL) };
/// The name used in [`gst::Context`][crate::gst::Context] queries for requesting a [`GLDisplay`][crate::GLDisplay]
#[doc(alias = "GST_GL_DISPLAY_CONTEXT_TYPE")]
pub static GL_DISPLAY_CONTEXT_TYPE: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_DISPLAY_CONTEXT_TYPE) };
/// The name of the GL memory allocator
#[doc(alias = "GST_GL_MEMORY_ALLOCATOR_NAME")]
pub static GL_MEMORY_ALLOCATOR_NAME: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_MEMORY_ALLOCATOR_NAME) };
/// The name of the GL Memory PBO allocator
#[doc(alias = "GST_GL_MEMORY_PBO_ALLOCATOR_NAME")]
pub static GL_MEMORY_PBO_ALLOCATOR_NAME: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_MEMORY_PBO_ALLOCATOR_NAME) };
/// The name of the GL renderbuffer allocator
#[doc(alias = "GST_GL_RENDERBUFFER_ALLOCATOR_NAME")]
pub static GL_RENDERBUFFER_ALLOCATOR_NAME: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_RENDERBUFFER_ALLOCATOR_NAME) };
/// String used for [`GLTextureTarget::_2d`][crate::GLTextureTarget::_2d] in things like caps values
#[doc(alias = "GST_GL_TEXTURE_TARGET_2D_STR")]
pub static GL_TEXTURE_TARGET_2D_STR: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_TEXTURE_TARGET_2D_STR) };
/// String used for [`GLTextureTarget::ExternalOes`][crate::GLTextureTarget::ExternalOes] in things like caps values
#[doc(alias = "GST_GL_TEXTURE_TARGET_EXTERNAL_OES_STR")]
pub static GL_TEXTURE_TARGET_EXTERNAL_OES_STR: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_TEXTURE_TARGET_EXTERNAL_OES_STR) };
/// String used for [`GLTextureTarget::Rectangle`][crate::GLTextureTarget::Rectangle] in things like caps values
#[doc(alias = "GST_GL_TEXTURE_TARGET_RECTANGLE_STR")]
pub static GL_TEXTURE_TARGET_RECTANGLE_STR: &GStr =
    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::GST_GL_TEXTURE_TARGET_RECTANGLE_STR) };