Top | ![]() |
![]() |
![]() |
![]() |
gpointer | client-data | Write |
gpointer | client-draw-callback | Write |
gpointer | client-reshape-callback | Write |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBaseTransform ╰── GstGLBaseFilter ╰── GstGLFilter ╰── GstGLFilterApp
The resize and redraw callbacks can be set from a client code.
The graphic scene can be written from a client code through the two glfilterapp properties.
plugin |
opengl |
author |
Julien Isorce <julien.isorce@gmail.com> |
class |
Filter/Effect |
name |
sink |
direction |
sink |
presence |
always |
details |
video/x-raw(ANY), format=(string)RGBA, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], texture-target=(string)2D |
video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], texture-target=(string)2D |
name |
src |
direction |
source |
presence |
always |
details |
video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], texture-target=(string)2D |
video/x-raw(ANY), format=(string)RGBA, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], texture-target=(string)2D |
“client-data”
property“client-data” gpointer
Pass data to the draw and reshape callbacks.
Flags: Write
“client-draw-callback”
property“client-draw-callback” gpointer
Define a custom draw callback in a client code.
Flags: Write
“client-reshape-callback”
property“client-reshape-callback” gpointer
Define a custom reshape callback in a client code.
Flags: Write
“client-draw”
signalgboolean user_function (GstGLFilterApp *object, guint texture, guint width, guint height, gpointer user_data)
Will be emitted before to draw the texture. The client should
redraw the surface/contents with the texture
, width
and height
.
object |
the GstGLImageSink |
|
texture |
the guint id of the texture. |
|
width |
the guint width of the texture. |
|
height |
the guint height of the texture. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last