gstvideo.video_orientation_mixin
Module for [VideoOrientation] interface mixin
Templates 2
tmplVideoOrientationT()
The interface allows unified access to control flipping and autocenter operation of video-sources or operators.
Functions
bool getHcenter(out int center)
Get the horizontal centering offset from the given object.
Parameters
center | return location for the result |
Returns
true in case the element supports centering
bool getHflip(out bool flip)
Get the horizontal flipping state (true for flipped) from the given object.
Parameters
flip | return location for the result |
Returns
true in case the element supports flipping
bool getVcenter(out int center)
Get the vertical centering offset from the given object.
Parameters
center | return location for the result |
Returns
true in case the element supports centering
bool getVflip(out bool flip)
Get the vertical flipping state (true for flipped) from the given object.
Parameters
flip | return location for the result |
Returns
true in case the element supports flipping
bool setHcenter(int center)
Set the horizontal centering offset for the given object.
Parameters
center | centering offset |
Returns
true in case the element supports centering
bool setHflip(bool flip)
Set the horizontal flipping state (true for flipped) for the given object.
Parameters
flip | use flipping |
Returns
true in case the element supports flipping
bool setVcenter(int center)
Set the vertical centering offset for the given object.
Parameters
center | centering offset |
Returns
true in case the element supports centering
bool setVflip(bool flip)
Set the vertical flipping state (true for flipped) for the given object.
Parameters
flip | use flipping |
Returns
true in case the element supports flipping
tmplVideoOrientationGidBuilderT()