gamma

gamma — Adjusts gamma on a video stream

Synopsis

                    GstGamma;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstElement
                     +----GstBaseTransform
                           +----GstVideoFilter
                                 +----GstGamma

Properties

  "gamma"                    gdouble               : Read / Write

Description

Performs gamma correction on a video stream.

Example launch line

1
gst-launch-1.0 videotestsrc ! gamma gamma=2.0 ! videoconvert ! ximagesink
This pipeline will make the image "brighter".
1
gst-launch-1.0 videotestsrc ! gamma gamma=0.5 ! videoconvert ! ximagesink
This pipeline will make the image "darker".

Last reviewed on 2010-04-18 (0.10.22)

Details

GstGamma

typedef struct _GstGamma GstGamma;

Opaque data structure.

Property Details

The "gamma" property

  "gamma"                    gdouble               : Read / Write

gamma.

Allowed values: [0.01,10]

Default value: 1