dicetv

dicetv — 'Dices' the screen up into many small squares

Synopsis

                    GstDiceTV;

Object Hierarchy

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

Properties

  "square-bits"              gint                  : Read / Write

Signals

  "reset"                                          : Run Last / Action

Description

DiceTV 'dices' the screen up into many small squares, each defaulting to a size of 16 pixels by 16 pixels.. Each square is rotated randomly in one of four directions: up (no change), down (180 degrees, or upside down), right (90 degrees clockwise), or left (90 degrees counterclockwise). The direction of each square normally remains consistent between each frame.

Example launch line

1
gst-launch-1.0 -v videotestsrc ! dicetv ! videoconvert ! autovideosink
This pipeline shows the effect of dicetv on a test stream.

Details

GstDiceTV

typedef struct _GstDiceTV GstDiceTV;

Property Details

The "square-bits" property

  "square-bits"              gint                  : Read / Write

The size of the Squares.

Allowed values: [0,5]

Default value: 4

Signal Details

The "reset" signal

void                user_function                      (GstDiceTV *gstdicetv,
                                                        gpointer   user_data)      : Run Last / Action

gstdicetv :

the object which received the signal.

user_data :

user data set when the signal handler was connected.