Commit graph

28 commits

Author SHA1 Message Date
Thibault Saunier
b7d9115a05 Move files from gst-omx into the "subprojects/gst-omx/" subdir 2021-09-24 16:15:01 -03:00
Stéphane Cerveau
0ee03f2b1d meson: update glib minimum version to 2.56
In order to support the symbol g_enum_to_string in various
project using GStreamer ( gst-validate etc.), the glib minimum
version should be 2.56.0.

Remove compat code as glib requirement
is now > 2.56

Version used by Ubuntu 18.04 LTS

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-omx/-/merge_requests/74>
2020-10-16 12:45:09 +02:00
Guillaume Desmottes
9b68aaeeb5 testelg: include eglext.h
Neded for the declaration of eglSaneChooseConfigBRCM().
2019-04-12 14:29:19 +05:30
Guillaume Desmottes
7a964087d0 testegl: move up pi specific macros
We need to define __VCCOREVER__ and disable redundant-decls before
including the egl.h from the pi.
2019-04-12 14:29:19 +05:30
Ashish Kumar
fdf3b39dd4 TestEgl: Removed redundant/unused code
https://bugzilla.gnome.org/show_bug.cgi?id=788550
2018-01-19 10:16:36 +00:00
Julien Isorce
71ddf32df9 example: port testegl.c to desktop
Will be easier to maintain.

Also uniformize autotool build with meson build which is
already retrieving the gl libs.

https://bugzilla.gnome.org/show_bug.cgi?id=781606
2017-12-11 16:59:01 +00:00
Matthew Waters
b4f3e4094b examples/testegl: update for libgstgl changes 2017-01-18 15:23:41 +11:00
Gwang Yoon Hwang
27d2cdd45d omxvideodec : Use gstglmemoryegl for the RPi
Modified to use gstglmemoryegl to avoid texture creation/copy operations
at the glupload.

[Matthew Waters]: gst-indent the sources and port testegl to GstGLMemoryEGL

https://bugzilla.gnome.org/show_bug.cgi?id=760918
2016-05-04 13:42:23 +10:00
Matthew Waters
705d7722fb examples: update egl example for gstgl API changes
https://bugzilla.gnome.org/show_bug.cgi?id=762053
https://bugzilla.gnome.org/show_bug.cgi?id=753917
2016-02-17 20:59:58 +11:00
Vineeth TM
fb95ce9bfc gst-omx: Fix memory leaks when context parse fails
When g_option_context_parse fails, context and error variables are not getting free'd
which results in memory leaks. Free'ing the same.

And replacing g_error_free with g_clear_error, which checks if the error being passed
is not NULL and sets the variable to NULL on free'ing.

https://bugzilla.gnome.org/show_bug.cgi?id=753865
2015-08-20 11:33:58 +03:00
Sebastian Dröge
4d61049041 examples: #define GST_USE_UNSTABLE_API for libgstgl 2014-06-30 15:00:54 +02:00
Julien Isorce
3d0b891e42 testegl: do matrix mutlplication in the shader
See https://bugzilla.gnome.org/show_bug.cgi?id=728940
2014-06-25 10:50:54 +01:00
Julien Isorce
91c6e34217 testegl: add a comment for the parse command
See https://bugzilla.gnome.org/show_bug.cgi?id=728940
2014-06-25 10:50:54 +01:00
Julien Isorce
31cd1fd77b testegl: convert code from GLESv1 to GLESv2
See https://bugzilla.gnome.org/show_bug.cgi?id=728940
2014-06-25 10:50:54 +01:00
Julien Isorce
f1c76ef921 testegl: port to gstgl API
- append a glfilter just before fakesink
  So that we get gltexture or eglimages

- propagate our EGLDisplay to the pipeline
  see GST_QUERY_CONTEXT

- share our EGLContext with the iternal gl context
  of the pipeline, see GST_QUERY_ALLOCATION

- use GstVideoGLTextureUploadMeta to upload
  the incoming gltexture or eglimage to our gl texture

TODO: convert from GLESv1 to GLESv2

See https://bugzilla.gnome.org/show_bug.cgi?id=728940
2014-06-25 10:50:54 +01:00
Josep Torra
718fd1bb93 omxvideodec: Implement pipeline draining to support adaptive scenarios
When draining due a format change also drain
the pipeline to reclaim back all buffers.

https://bugzilla.gnome.org/show_bug.cgi?id=726107
2014-03-28 11:40:20 +00:00
Josep Torra
5724df7523 examples: fix several memory leaks in the testegl example
Ensure to call to image_data_free in order to release GPU resources.
Also ensure to destroy EGLImage and GLTexture from proper
thread/context.

https://bugzilla.gnome.org/show_bug.cgi?id=726107
2014-03-28 11:40:20 +00:00
Julien Isorce
6995b4d5b3 examples: keep a ref on the buffer instead of the memory
Like in eglglessink

https://bugzilla.gnome.org/show_bug.cgi?id=726107
2014-03-28 11:40:20 +00:00
Josep Torra
6962aa5d4c examples: avoid a clashing name with the recently added GstEGLImagePool
Fixes build with current master.
2014-03-05 21:18:43 +01:00
Josep Torra
244320fe48 examples: simplify the thread synchronization code
Make everithing more simple and fix the races conditions remaining in
the previous approaches.
2013-09-28 14:14:54 +02:00
Josep Torra
a628153260 examples: fix another race condition
Fix a race condition that caused randome deadlocks on EOS.
2013-09-24 18:54:23 +02:00
Josep Torra
aa21522afb examples: fix a race condition when seeking
Fixes a race condition that caused pipeline deadlock during seeks.
2013-09-20 18:50:26 +02:00
Josep Torra
995e3af89a examples: display QoS statistics 2013-09-20 18:22:43 +02:00
Josep Torra
e6633182f3 examples: use dedicated thread for rendering the scene
Produces smother animation and prevents dropping frames due busy
mainloop.
2013-09-20 18:17:34 +02:00
Josep Torra
78dc6235d4 examples: don't force an specific audio sink
Let playbin2 choose the audiosink available in the system.
2013-09-20 17:52:45 +02:00
Ilya Smelykh
75ee954ea2 examples: enable audio in testegl example 2013-07-01 12:59:35 +02:00
Ilya Smelykh
4593918ea4 examples: testegl example port to 1.x
https://bugzilla.gnome.org/show_bug.cgi?id=701706
2013-06-11 13:49:59 +02:00
Josep Torra
c10031f371 examples: add an example aplication based OpenGL ES + EGL
Application that shows how to integrate playbin with an OpenGL ES
scene through EGL. Renders a video on the surfaces of an animated cube.

The code is not ported to 1.x so it's not built by default.
2013-05-10 13:35:48 +02:00