gstreamer/subprojects/gst-plugins-base/gst-libs/gst
He Junyan 21faad5eca glupload: enable drm kind caps in glupload plugin for DMA buf
Most of the time, the RGB kind formats are OpenGL native supported
format which has only one plane. They can be imported at one shot
using no matter DIRECT or INDIRECT mode.
While YUV kind formats which have multi planes have two ways to import.
They can be DIRECT imported, which requires GL_OES_EGL_image_external
extension. The output format should be RGBA and TARGET should be set
as OES after imported. The other way, they can be INDIRECT imported,
which makes each plane as a texture. In this mode, the imported textures
have different fourcc from the original format. For example, the NV12
format can be imported as a R8 texture for the first plane and RG88
texture for the second plane. The output TARGET should be sets as 2D
in this mode.

When converting sink caps to src caps, we first filter the feature of
"video/x-raw(memory:DMABuf)" and system memory. Then Based on the
external_only flag (INDIRECT mode does not care while DIRECT mode cares),
we transform the drm-format into the gst video format.

When converting src caps into sink caps, we first filter the correct
TARGET(INDIRECT mode contains 2D only while DIRECT mode contains 2D,
OES or both of them) gstructure. Then Based on the include_external flag
(INDIRECT mode always true while DIRECT mode depends on TARGET), we
transform the gst video format into drm-format.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3524>
2023-08-03 20:58:23 +00:00
..
allocators gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
app appsink: add missing make_writable call 2023-07-11 07:08:38 +00:00
audio dsd: Fix documentation parameters 2023-07-11 05:17:55 +00:00
fft gst-plugins-base: re-indent with GNU indent 2.2.12 2023-03-17 03:18:53 +00:00
gl glupload: enable drm kind caps in glupload plugin for DMA buf 2023-08-03 20:58:23 +00:00
pbutils discoverer: Only call handle_current_async if still processing 2023-06-30 08:52:38 +03:00
riff riff: add more h265 fourcc formats 2023-07-17 13:17:20 +00:00
rtp gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
rtsp gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
sdp sdp: Add API to remove media from a SDP message 2023-05-20 09:23:17 +01:00
tag tags: Don't allow image tags with G_MAXUINT32 length 2023-06-20 10:02:19 +00:00
video video: dma: let gst_video_info_dma_drm_to_caps() return caps with DMABuf feature 2023-07-26 20:49:02 +00:00
glib-compat-private.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
meson.build sdp: Handle level-asymmetry-allowed for H264 streams 2021-12-12 10:59:00 -03:00