VideoOrientation

The interface allows unified access to control flipping and autocenter operation of video-sources or operators.

Members

Functions

getHcenter
bool getHcenter(int center)

Get the horizontal centering offset from the given object.

getHflip
bool getHflip(bool flip)

Get the horizontal flipping state (true for flipped) from the given object.

getVcenter
bool getVcenter(int center)

Get the vertical centering offset from the given object.

getVflip
bool getVflip(bool flip)

Get the vertical flipping state (true for flipped) from the given object.

setHcenter
bool setHcenter(int center)

Set the horizontal centering offset for the given object.

setHflip
bool setHflip(bool flip)

Set the horizontal flipping state (true for flipped) for the given object.

setVcenter
bool setVcenter(int center)

Set the vertical centering offset for the given object.

setVflip
bool setVflip(bool flip)

Set the vertical flipping state (true for flipped) for the given object.

Static functions

fromTag
bool fromTag(gst.tag_list.TagList taglist, gstvideo.types.VideoOrientationMethod method)

Parses the "image-orientation" tag and transforms it into the #GstVideoOrientationMethod enum.