gamma

Performs gamma correction on a video stream.

Example launch line

 gst-launch-1.0 videotestsrc ! gamma gamma=2.0 ! videoconvert ! ximagesink

This pipeline will make the image "brighter".

 gst-launch-1.0 videotestsrc ! gamma gamma=0.5 ! videoconvert ! ximagesink

This pipeline will make the image "darker".

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseTransform
                    ╰──GstVideoFilter
                        ╰──gamma

Factory details

Authors: – Arwed v. Merkatz

Classification:Filter/Effect/Video

Rank – none

Plugin – gstvideofilter

Package – GStreamer Good Plug-ins git

Pad Templates

sink

video/x-raw:
         format: { AYUV, ARGB, BGRA, ABGR, RGBA, Y444, xRGB, RGBx, xBGR, BGRx, RGB, BGR, Y42B, NV12, NV21, YUY2, UYVY, YVYU, I420, YV12, IYUV, Y41B }
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]

Presencealways

Directionsink


src

video/x-raw:
         format: { AYUV, ARGB, BGRA, ABGR, RGBA, Y444, xRGB, RGBx, xBGR, BGRx, RGB, BGR, Y42B, NV12, NV21, YUY2, UYVY, YVYU, I420, YV12, IYUV, Y41B }
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]

Presencealways

Directionsrc


Properties

gamma

“gamma” gdouble *

gamma

Flags : Read / Write

Default value : 1


name

“name” gchararray *

The name of the object

Flags : Read / Write / Construct

Default value : NULL


parent

“parent” GstObject *

The parent of the object

Flags : Read / Write


qos

“qos” gboolean *

Handle Quality-of-Service events

Flags : Read / Write

Default value : true


The results of the search are