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

centerreturn 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

flipreturn 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

centerreturn 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

flipreturn 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

centercentering 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

flipuse flipping

Returns

true in case the element supports flipping
bool setVcenter(int center)

Set the vertical centering offset for the given object.

Parameters

centercentering 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

flipuse flipping

Returns

true in case the element supports flipping
tmplVideoOrientationGidBuilderT()