# 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 <v.merkatz@gmx.net></v.merkatz@gmx.net>

Classification: – `Filter/Effect/Video`

Rank – none

Plugin – videofilter

Package – GStreamer Good Plug-ins

## 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 ]

Presence – always

Direction – sink

Object type – GstPad

### `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 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### gamma

    “gamma” gdouble

gamma

Flags : Read / Write

Default value : 1

The results of the search are