mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
21faad5eca
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> |
||
---|---|---|
.. | ||
gst-devtools | ||
gst-docs | ||
gst-editing-services | ||
gst-examples | ||
gst-integration-testsuites | ||
gst-libav | ||
gst-plugins-bad | ||
gst-plugins-base | ||
gst-plugins-good | ||
gst-plugins-ugly | ||
gst-python | ||
gst-rtsp-server | ||
gstreamer | ||
gstreamer-sharp | ||
gstreamer-vaapi | ||
macos-bison-binary | ||
packagefiles | ||
win-flex-bison-binaries | ||
win-nasm | ||
win-pkgconfig | ||
avtp.wrap | ||
bindinator.wrap | ||
cairo.wrap | ||
dav1d.wrap | ||
dssim.wrap | ||
dv.wrap | ||
expat.wrap | ||
fdk-aac.wrap | ||
FFmpeg.wrap | ||
fontconfig.wrap | ||
freetype2.wrap | ||
fribidi.wrap | ||
gl-headers.wrap | ||
glib-networking.wrap | ||
glib.wrap | ||
gobject-introspection.wrap | ||
graphene.wrap | ||
gst-plugins-rs.wrap | ||
gtk-sharp.wrap | ||
gtk.wrap | ||
harfbuzz.wrap | ||
json-glib.wrap | ||
lame.wrap | ||
libdrm.wrap | ||
libffi.wrap | ||
libgudev.wrap | ||
libjpeg-turbo.wrap | ||
liblc3.wrap | ||
libmicrodns.wrap | ||
libnice.wrap | ||
libopenjp2.wrap | ||
libpng.wrap | ||
libpsl.wrap | ||
libsoup.wrap | ||
libsrtp2.wrap | ||
libva.wrap | ||
libwpe.wrap | ||
libxml2.wrap | ||
ogg.wrap | ||
openh264.wrap | ||
opus.wrap | ||
orc.wrap | ||
pango.wrap | ||
pcre2.wrap | ||
pixman.wrap | ||
proxy-libintl.wrap | ||
pycairo.wrap | ||
pygobject.wrap | ||
sqlite3.wrap | ||
vorbis.wrap | ||
webrtc-audio-processing.wrap | ||
wpebackend-fdo.wrap | ||
x264.wrap | ||
zlib.wrap |