gldifferencematte

gldifferencematte

Properties

gchar * location Read / Write

Types and Values

Description

Synopsis

Element Information

plugin

opengl

author

Filippo Argiolas <filippo.argiolas@gmail.com>

class

Filter/Effect/Video

Element Pads

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

Functions

Types and Values

struct GstGLDifferenceMatte

struct GstGLDifferenceMatte {
  GstGLFilter filter;

  GstGLShader *identity_shader;
  GstGLShader *shader[4];

  gchar *location;
  gboolean bg_has_changed;

  guchar *pixbuf;
  gint pbuf_width, pbuf_height;
  GstGLMemory *savedbgtexture;
  GstGLMemory *newbgtexture;
  GstGLMemory *midtexture[4];
  GstGLMemory *intexture;
  float kernel[7];
};

Property Details

The “location” property

  “location”                 gchar *

Background image location.

Flags: Read / Write

Default value: NULL