gstreamer/gst-libs/gst/gl
Nicolas Dufresne 8492c045a4 glupload: Add dmabuf upload method.
This upload method detect and optimize uploads of DMABuf memory. This is
done by creating and caching EGLImages wrapper around DMABuf. The
EGLImages are then binded to a texture which get converter using
standard shader.

Example pipeline:

GST_GL_PLATFORM=egl \
gst-launch-1.0 v4l2src device=/dev/video1 io-mode=4 ! \
               video/x-raw,format=NV12 ! glimagesink

https://bugzilla.gnome.org/show_bug.cgi?id=743345
2017-12-09 19:32:13 +00:00
..
android gl: be consistent in gobject boilerpate 2017-12-09 19:32:09 +00:00
cocoa libgstgl: gstglcontext_cocoa: kCGLPFAStereo has been deprecated in 10.11 2017-12-09 19:32:12 +00:00
dispmanx gl: be consistent in gobject boilerpate 2017-12-09 19:32:09 +00:00
eagl gl: be consistent in gobject boilerpate 2017-12-09 19:32:09 +00:00
egl eglimagememory: Also import BGR16, ABGR, xBGR, AYUV, GRAY16_LE/BE and Y444 2017-12-09 19:32:13 +00:00
glprototypes glproto: include function definitions for GL_APPLE_sync 2017-12-09 19:32:11 +00:00
utils glcontext/wgl: implement gl3 core profile context selection 2017-12-09 19:32:07 +00:00
wayland gl: be consistent in gobject boilerpate 2017-12-09 19:32:09 +00:00
win32 gl: be consistent in gobject boilerpate 2017-12-09 19:32:09 +00:00
x11 Remove unnecessary NULL checks before g_free() 2017-12-09 19:32:11 +00:00
.gitignore [644/906] update .gitignore for some new files 2017-12-09 19:31:27 +00:00
gl.h glbasebuffer: remove unsed memory subclass 2017-12-09 19:32:12 +00:00
gstgl_enums.h gl: forward declare some enums 2017-12-09 19:32:10 +00:00
gstgl_fwd.h bad: Add g_autoptr() support to all types 2017-12-09 19:32:12 +00:00
gstglapi.c Revert "gl: add GstGLContextGPUProcess backend" 2017-12-09 19:32:04 +00:00
gstglapi.h gl: Allow using non-system mesa with both GL and GLES 2017-12-09 19:32:12 +00:00
gstglbasefilter.c gl: chain up to the parent class for GstElement::set_context 2017-12-09 19:32:08 +00:00
gstglbasefilter.h gl: add a new glbasefilter class below glfilter 2017-12-09 19:31:56 +00:00
gstglbasememory.c glbasememory: don't unconditionally add the alignment bytes to the size 2017-12-09 19:32:13 +00:00
gstglbasememory.h glbasememory: don't unconditionally add the alignment bytes to the size 2017-12-09 19:32:13 +00:00
gstglbuffer.c glbuffer: add a name to the allocator 2017-12-09 19:32:13 +00:00
gstglbuffer.h glbuffer: implements GstGLBaseMemory::alloc 2017-12-09 19:32:12 +00:00
gstglbufferpool.c glmemory: add gst_gl_memory_allocator_get_default 2017-12-09 19:32:13 +00:00
gstglbufferpool.h glbufferpool: use gst_gl_base_memory_alloc as a generic GL allocation framework 2017-12-09 19:32:12 +00:00
gstglcolorconvert.c glmemorypbo: remove our own alloc()/wrapped()/etc functions 2017-12-09 19:32:13 +00:00
gstglcolorconvert.h glcolorconvert: use the correct oes target string in the template caps 2017-12-09 19:32:10 +00:00
gstglcontext.c gl: fix usage of string.h and stdio.h functions without including the headers 2017-12-09 19:32:09 +00:00
gstglcontext.h gl: be consistent in gobject boilerpate 2017-12-09 19:32:09 +00:00
gstgldebug.c gl: fix leak in gst_gl_insert_debug_marker() 2017-12-09 19:32:09 +00:00
gstgldebug.h gl: move debugging related functions to their own file 2017-12-09 19:32:09 +00:00
gstgldisplay.c glbasebuffer: remove unsed memory subclass 2017-12-09 19:32:12 +00:00
gstgldisplay.h gldisplay: add gst_gl_display_create_context 2017-12-09 19:32:04 +00:00
gstglfeature.c Remove unnecessary NULL checks before g_free() 2017-12-09 19:32:11 +00:00
gstglfeature.h glfeature: remove GST_GL_API_GLES3 2017-12-09 19:31:42 +00:00
gstglfilter.c glmemory: add support for rectangle textures 2017-12-09 19:32:10 +00:00
gstglfilter.h glfilter: Don't cache buffer pool 2017-12-09 19:32:05 +00:00
gstglformat.c glformat: add compatibility definitions for OES/rectangle textures 2017-12-09 19:32:12 +00:00
gstglformat.h glmemory: base classify and add the pbo memory on top 2017-12-09 19:32:12 +00:00
gstglframebuffer.c gl: initialize output params to 0 before calling gl functions 2017-12-09 19:32:05 +00:00
gstglframebuffer.h bad: Add g_autoptr() support to all types 2017-12-09 19:32:12 +00:00
gstglmemory.c glmemory: add gst_gl_memory_allocator_get_default 2017-12-09 19:32:13 +00:00
gstglmemory.h glmemory: add gst_gl_memory_allocator_get_default 2017-12-09 19:32:13 +00:00
gstglmemorypbo.c gl*memory*: reverse the parameter order of user_data and destroy notify 2017-12-09 19:32:13 +00:00
gstglmemorypbo.h glmemorypbo: remove our own alloc()/wrapped()/etc functions 2017-12-09 19:32:13 +00:00
gstgloverlaycompositor.c glmemory: add gst_gl_memory_allocator_get_default 2017-12-09 19:32:13 +00:00
gstgloverlaycompositor.h gloverlaycompositor: Hide GstCompsitionOverlay object 2017-12-09 19:32:06 +00:00
gstglshader.c glshader: don't read invalid list pointers (use after free) 2017-12-09 19:32:11 +00:00
gstglshader.h gl: be consistent in gobject boilerpate 2017-12-09 19:32:09 +00:00
gstglshaderstrings.c glshaderstrings: fixup the external-oes fragment shader 2017-12-09 19:32:10 +00:00
gstglshaderstrings.h glslstage: expose the default shader strings as public 2017-12-09 19:32:10 +00:00
gstglsl.c glsl: fix possible string overrun in gst_glsl_version_profile_from_string 2017-12-09 19:32:11 +00:00
gstglsl.h gl: add some GLSL utility functions 2017-12-09 19:32:09 +00:00
gstglsl_private.h gl: add some GLSL utility functions 2017-12-09 19:32:09 +00:00
gstglslstage.c Remove unnecessary NULL checks before g_free() 2017-12-09 19:32:11 +00:00
gstglslstage.h glslstage: remove typedefs from the header 2017-12-09 19:32:10 +00:00
gstglsyncmeta.c glsyncmeta: Actually return the newly created meta from gst_buffer_add_gl_sync_meta() 2017-12-09 19:32:11 +00:00
gstglsyncmeta.h glsyncmeta: add vfuncs for all operations 2017-12-09 19:32:11 +00:00
gstglupload.c glupload: Add dmabuf upload method. 2017-12-09 19:32:13 +00:00
gstglupload.h glupload: remove useless release_buffer 2017-12-09 19:32:09 +00:00
gstglutils.c gl: add convenience function for the start of a video frame 2017-12-09 19:32:12 +00:00
gstglutils.h gl: add convenience function for the start of a video frame 2017-12-09 19:32:12 +00:00
gstglviewconvert.c glmemory: add gst_gl_memory_allocator_get_default 2017-12-09 19:32:13 +00:00
gstglviewconvert.h glviewconvert: add support rectangle/external-oes textures 2017-12-09 19:32:11 +00:00
gstglwindow.c gl: be consistent in gobject boilerpate 2017-12-09 19:32:09 +00:00
gstglwindow.h gl: be consistent in gobject boilerpate 2017-12-09 19:32:09 +00:00
Makefile.am build: Add dmabuf build condition. 2017-12-09 19:32:13 +00:00