# gleffects

GL Shading Language effects

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseTransform
                        ╰──GstGLBaseFilter
                            ╰──GstGLFilter
                                ╰──GstGLEffects
                                    ╰──gleffects

## Factory details

Authors: – Filippo Argiolas

Classification: – `Filter/Effect/Video`

Rank – none

Plugin – opengl

Package – GStreamer Base Plug-ins

## Pad Templates

### `sink`

    video/x-raw(ANY):
             format: RGBA
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]
     texture-target: 2D

    video/x-raw(memory:GLMemory):
             format: RGBA
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]
     texture-target: 2D

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw(memory:GLMemory):
             format: RGBA
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]
     texture-target: 2D

    video/x-raw(ANY):
             format: RGBA
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]
     texture-target: 2D

Presence – always

Direction – src

Object type – GstPad

## Properties

### effect

    “effect” Gleffects-effect *

Select which effect apply to GL video texture

Flags : Read / Write

Default value : identity (0)

### hswap

    “hswap” gboolean

Switch video texture left to right, useful with webcams

Flags : Read / Write

Default value : false

### invert

    “invert” gboolean

Invert colors to get dark edges on bright background when using sobel effect

Flags : Read / Write

Default value : false

## Named constants

### Gleffects-effect

#### Members

`identity` (0) – Do nothing Effect
`mirror` (1) – Mirror Effect
`squeeze` (2) – Squeeze Effect
`stretch` (3) – Stretch Effect
`tunnel` (4) – Light Tunnel Effect
`fisheye` (5) – FishEye Effect
`twirl` (6) – Twirl Effect
`bulge` (7) – Bulge Effect
`square` (8) – Square Effect
`heat` (9) – Heat Signature Effect
`sepia` (10) – Sepia Toning Effect
`xpro` (11) – Cross Processing Effect
`lumaxpro` (12) – Luma Cross Processing Effect
`xray` (13) – Glowing negative effect
`sin` (14) – All Grey but Red Effect
`glow` (15) – Glow Lighting Effect
`sobel` (16) – Sobel edge detection Effect
`blur` (17) – Blur with 9x9 separable convolution Effect
`laplacian` (18) – Laplacian Convolution Demo Effect

The results of the search are