GstVideoOrientation

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

GstVideoOrientation

Opaque GstVideoOrientation data structure.


GstVideoOrientation

Opaque GstVideoOrientation data structure.


GstVideoOrientation

Opaque GstVideoOrientation data structure.


Methods

gst_video_orientation_get_hcenter

gboolean
gst_video_orientation_get_hcenter (GstVideoOrientation * video_orientation,
                                   gint * center)

Get the horizontal centering offset from the given object.

Parameters:

video_orientation

GstVideoOrientation interface of a GstElement

center ( [out] ) –

return location for the result

Returns

TRUE in case the element supports centering


GstVideo.VideoOrientation.prototype.get_hcenter

function GstVideo.VideoOrientation.prototype.get_hcenter(): {
    // javascript wrapper for 'gst_video_orientation_get_hcenter'
}

Get the horizontal centering offset from the given object.

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –

GstVideo.VideoOrientation interface of a Gst.Element

Returns a tuple made of:

( Number ) –

true in case the element supports centering

center ( Number ) –

true in case the element supports centering


GstVideo.VideoOrientation.get_hcenter

def GstVideo.VideoOrientation.get_hcenter (self):
    #python wrapper for 'gst_video_orientation_get_hcenter'

Get the horizontal centering offset from the given object.

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –

GstVideo.VideoOrientation interface of a Gst.Element

Returns a tuple made of:

( bool ) –

True in case the element supports centering

center ( int ) –

True in case the element supports centering


gst_video_orientation_get_hflip

gboolean
gst_video_orientation_get_hflip (GstVideoOrientation * video_orientation,
                                 gboolean * flip)

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

Parameters:

video_orientation

GstVideoOrientation interface of a GstElement

flip ( [out] ) –

return location for the result

Returns

TRUE in case the element supports flipping


GstVideo.VideoOrientation.prototype.get_hflip

function GstVideo.VideoOrientation.prototype.get_hflip(): {
    // javascript wrapper for 'gst_video_orientation_get_hflip'
}

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

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –

GstVideo.VideoOrientation interface of a Gst.Element

Returns a tuple made of:

( Number ) –

true in case the element supports flipping

flip ( Number ) –

true in case the element supports flipping


GstVideo.VideoOrientation.get_hflip

def GstVideo.VideoOrientation.get_hflip (self):
    #python wrapper for 'gst_video_orientation_get_hflip'

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

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –

GstVideo.VideoOrientation interface of a Gst.Element

Returns a tuple made of:

( bool ) –

True in case the element supports flipping

flip ( bool ) –

True in case the element supports flipping


gst_video_orientation_get_vcenter

gboolean
gst_video_orientation_get_vcenter (GstVideoOrientation * video_orientation,
                                   gint * center)

Get the vertical centering offset from the given object.

Parameters:

video_orientation

GstVideoOrientation interface of a GstElement

center ( [out] ) –

return location for the result

Returns

TRUE in case the element supports centering


GstVideo.VideoOrientation.prototype.get_vcenter

function GstVideo.VideoOrientation.prototype.get_vcenter(): {
    // javascript wrapper for 'gst_video_orientation_get_vcenter'
}

Get the vertical centering offset from the given object.

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –

GstVideo.VideoOrientation interface of a Gst.Element

Returns a tuple made of:

( Number ) –

true in case the element supports centering

center ( Number ) –

true in case the element supports centering


GstVideo.VideoOrientation.get_vcenter

def GstVideo.VideoOrientation.get_vcenter (self):
    #python wrapper for 'gst_video_orientation_get_vcenter'

Get the vertical centering offset from the given object.

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –

GstVideo.VideoOrientation interface of a Gst.Element

Returns a tuple made of:

( bool ) –

True in case the element supports centering

center ( int ) –

True in case the element supports centering


gst_video_orientation_get_vflip

gboolean
gst_video_orientation_get_vflip (GstVideoOrientation * video_orientation,
                                 gboolean * flip)

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

Parameters:

video_orientation

GstVideoOrientation interface of a GstElement

flip ( [out] ) –

return location for the result

Returns

TRUE in case the element supports flipping


GstVideo.VideoOrientation.prototype.get_vflip

function GstVideo.VideoOrientation.prototype.get_vflip(): {
    // javascript wrapper for 'gst_video_orientation_get_vflip'
}

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

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –

GstVideo.VideoOrientation interface of a Gst.Element

Returns a tuple made of:

( Number ) –

true in case the element supports flipping

flip ( Number ) –

true in case the element supports flipping


GstVideo.VideoOrientation.get_vflip

def GstVideo.VideoOrientation.get_vflip (self):
    #python wrapper for 'gst_video_orientation_get_vflip'

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

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –

GstVideo.VideoOrientation interface of a Gst.Element

Returns a tuple made of:

( bool ) –

True in case the element supports flipping

flip ( bool ) –

True in case the element supports flipping


gst_video_orientation_set_hcenter

gboolean
gst_video_orientation_set_hcenter (GstVideoOrientation * video_orientation,
                                   gint center)

Set the horizontal centering offset for the given object.

Parameters:

video_orientation

GstVideoOrientation interface of a GstElement

center

centering offset

Returns

TRUE in case the element supports centering


GstVideo.VideoOrientation.prototype.set_hcenter

function GstVideo.VideoOrientation.prototype.set_hcenter(center: Number): {
    // javascript wrapper for 'gst_video_orientation_set_hcenter'
}

Set the horizontal centering offset for the given object.

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –

GstVideo.VideoOrientation interface of a Gst.Element

center ( Number ) –

centering offset

Returns ( Number ) –

true in case the element supports centering


GstVideo.VideoOrientation.set_hcenter

def GstVideo.VideoOrientation.set_hcenter (self, center):
    #python wrapper for 'gst_video_orientation_set_hcenter'

Set the horizontal centering offset for the given object.

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –

GstVideo.VideoOrientation interface of a Gst.Element

center ( int ) –

centering offset

Returns ( bool ) –

True in case the element supports centering


gst_video_orientation_set_hflip

gboolean
gst_video_orientation_set_hflip (GstVideoOrientation * video_orientation,
                                 gboolean flip)

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

Parameters:

video_orientation

GstVideoOrientation interface of a GstElement

flip

use flipping

Returns

TRUE in case the element supports flipping


GstVideo.VideoOrientation.prototype.set_hflip

function GstVideo.VideoOrientation.prototype.set_hflip(flip: Number): {
    // javascript wrapper for 'gst_video_orientation_set_hflip'
}

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

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –

GstVideo.VideoOrientation interface of a Gst.Element

flip ( Number ) –

use flipping

Returns ( Number ) –

true in case the element supports flipping


GstVideo.VideoOrientation.set_hflip

def GstVideo.VideoOrientation.set_hflip (self, flip):
    #python wrapper for 'gst_video_orientation_set_hflip'

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

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –

GstVideo.VideoOrientation interface of a Gst.Element

flip ( bool ) –

use flipping

Returns ( bool ) –

True in case the element supports flipping


gst_video_orientation_set_vcenter

gboolean
gst_video_orientation_set_vcenter (GstVideoOrientation * video_orientation,
                                   gint center)

Set the vertical centering offset for the given object.

Parameters:

video_orientation

GstVideoOrientation interface of a GstElement

center

centering offset

Returns

TRUE in case the element supports centering


GstVideo.VideoOrientation.prototype.set_vcenter

function GstVideo.VideoOrientation.prototype.set_vcenter(center: Number): {
    // javascript wrapper for 'gst_video_orientation_set_vcenter'
}

Set the vertical centering offset for the given object.

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –

GstVideo.VideoOrientation interface of a Gst.Element

center ( Number ) –

centering offset

Returns ( Number ) –

true in case the element supports centering


GstVideo.VideoOrientation.set_vcenter

def GstVideo.VideoOrientation.set_vcenter (self, center):
    #python wrapper for 'gst_video_orientation_set_vcenter'

Set the vertical centering offset for the given object.

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –

GstVideo.VideoOrientation interface of a Gst.Element

center ( int ) –

centering offset

Returns ( bool ) –

True in case the element supports centering


gst_video_orientation_set_vflip

gboolean
gst_video_orientation_set_vflip (GstVideoOrientation * video_orientation,
                                 gboolean flip)

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

Parameters:

video_orientation

GstVideoOrientation interface of a GstElement

flip

use flipping

Returns

TRUE in case the element supports flipping


GstVideo.VideoOrientation.prototype.set_vflip

function GstVideo.VideoOrientation.prototype.set_vflip(flip: Number): {
    // javascript wrapper for 'gst_video_orientation_set_vflip'
}

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

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –

GstVideo.VideoOrientation interface of a Gst.Element

flip ( Number ) –

use flipping

Returns ( Number ) –

true in case the element supports flipping


GstVideo.VideoOrientation.set_vflip

def GstVideo.VideoOrientation.set_vflip (self, flip):
    #python wrapper for 'gst_video_orientation_set_vflip'

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

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –

GstVideo.VideoOrientation interface of a Gst.Element

flip ( bool ) –

use flipping

Returns ( bool ) –

True in case the element supports flipping


Virtual Methods

get_hcenter

gboolean
get_hcenter (GstVideoOrientation * video_orientation,
             gint * center)

virtual method to get horizontal centering state

Parameters:

video_orientation
No description available
center
No description available
Returns
No description available

get_hcenter

function get_hcenter(video_orientation: GstVideo.VideoOrientation): {
    // javascript implementation of the 'get_hcenter' virtual method
}

virtual method to get horizontal centering state

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –
No description available

Returns a tuple made of:

( Number ) –
No description available
center ( Number ) –
No description available

get_hcenter

def get_hcenter (video_orientation):
    #python implementation of the 'get_hcenter' virtual method

virtual method to get horizontal centering state

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –
No description available

Returns a tuple made of:

( bool ) –
No description available
center ( int ) –
No description available

get_hflip

gboolean
get_hflip (GstVideoOrientation * video_orientation,
           gboolean * flip)

virtual method to get horizontal flipping state

Parameters:

video_orientation
No description available
flip
No description available
Returns
No description available

get_hflip

function get_hflip(video_orientation: GstVideo.VideoOrientation): {
    // javascript implementation of the 'get_hflip' virtual method
}

virtual method to get horizontal flipping state

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –
No description available

Returns a tuple made of:

( Number ) –
No description available
flip ( Number ) –
No description available

get_hflip

def get_hflip (video_orientation):
    #python implementation of the 'get_hflip' virtual method

virtual method to get horizontal flipping state

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –
No description available

Returns a tuple made of:

( bool ) –
No description available
flip ( bool ) –
No description available

get_vcenter

gboolean
get_vcenter (GstVideoOrientation * video_orientation,
             gint * center)

virtual method to get vertical centering state

Parameters:

video_orientation
No description available
center
No description available
Returns
No description available

get_vcenter

function get_vcenter(video_orientation: GstVideo.VideoOrientation): {
    // javascript implementation of the 'get_vcenter' virtual method
}

virtual method to get vertical centering state

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –
No description available

Returns a tuple made of:

( Number ) –
No description available
center ( Number ) –
No description available

get_vcenter

def get_vcenter (video_orientation):
    #python implementation of the 'get_vcenter' virtual method

virtual method to get vertical centering state

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –
No description available

Returns a tuple made of:

( bool ) –
No description available
center ( int ) –
No description available

get_vflip

gboolean
get_vflip (GstVideoOrientation * video_orientation,
           gboolean * flip)

virtual method to get vertical flipping state

Parameters:

video_orientation
No description available
flip
No description available
Returns
No description available

get_vflip

function get_vflip(video_orientation: GstVideo.VideoOrientation): {
    // javascript implementation of the 'get_vflip' virtual method
}

virtual method to get vertical flipping state

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –
No description available

Returns a tuple made of:

( Number ) –
No description available
flip ( Number ) –
No description available

get_vflip

def get_vflip (video_orientation):
    #python implementation of the 'get_vflip' virtual method

virtual method to get vertical flipping state

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –
No description available

Returns a tuple made of:

( bool ) –
No description available
flip ( bool ) –
No description available

set_hcenter

gboolean
set_hcenter (GstVideoOrientation * video_orientation,
             gint center)

virtual method to set horizontal centering state

Parameters:

video_orientation
No description available
center
No description available
Returns
No description available

set_hcenter

function set_hcenter(video_orientation: GstVideo.VideoOrientation, center: Number): {
    // javascript implementation of the 'set_hcenter' virtual method
}

virtual method to set horizontal centering state

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –
No description available
center ( Number ) –
No description available
Returns ( Number ) –
No description available

set_hcenter

def set_hcenter (video_orientation, center):
    #python implementation of the 'set_hcenter' virtual method

virtual method to set horizontal centering state

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –
No description available
center ( int ) –
No description available
Returns ( bool ) –
No description available

set_hflip

gboolean
set_hflip (GstVideoOrientation * video_orientation,
           gboolean flip)

virtual method to set horizontal flipping state

Parameters:

video_orientation
No description available
flip
No description available
Returns
No description available

set_hflip

function set_hflip(video_orientation: GstVideo.VideoOrientation, flip: Number): {
    // javascript implementation of the 'set_hflip' virtual method
}

virtual method to set horizontal flipping state

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –
No description available
flip ( Number ) –
No description available
Returns ( Number ) –
No description available

set_hflip

def set_hflip (video_orientation, flip):
    #python implementation of the 'set_hflip' virtual method

virtual method to set horizontal flipping state

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –
No description available
flip ( bool ) –
No description available
Returns ( bool ) –
No description available

set_vcenter

gboolean
set_vcenter (GstVideoOrientation * video_orientation,
             gint center)

virtual method to set vertical centering state

Parameters:

video_orientation
No description available
center
No description available
Returns
No description available

set_vcenter

function set_vcenter(video_orientation: GstVideo.VideoOrientation, center: Number): {
    // javascript implementation of the 'set_vcenter' virtual method
}

virtual method to set vertical centering state

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –
No description available
center ( Number ) –
No description available
Returns ( Number ) –
No description available

set_vcenter

def set_vcenter (video_orientation, center):
    #python implementation of the 'set_vcenter' virtual method

virtual method to set vertical centering state

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –
No description available
center ( int ) –
No description available
Returns ( bool ) –
No description available

set_vflip

gboolean
set_vflip (GstVideoOrientation * video_orientation,
           gboolean flip)

virtual method to set vertical flipping state

Parameters:

video_orientation
No description available
flip
No description available
Returns
No description available

set_vflip

function set_vflip(video_orientation: GstVideo.VideoOrientation, flip: Number): {
    // javascript implementation of the 'set_vflip' virtual method
}

virtual method to set vertical flipping state

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –
No description available
flip ( Number ) –
No description available
Returns ( Number ) –
No description available

set_vflip

def set_vflip (video_orientation, flip):
    #python implementation of the 'set_vflip' virtual method

virtual method to set vertical flipping state

Parameters:

video_orientation ( GstVideo.VideoOrientation ) –
No description available
flip ( bool ) –
No description available
Returns ( bool ) –
No description available

Function Macros

GST_VIDEO_ORIENTATION_GET_INTERFACE

#define GST_VIDEO_ORIENTATION_GET_INTERFACE(inst) \
  (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GST_TYPE_VIDEO_ORIENTATION, GstVideoOrientationInterface))

Constants

GST_TYPE_VIDEO_ORIENTATION

#define GST_TYPE_VIDEO_ORIENTATION \
  (gst_video_orientation_get_type ())

The results of the search are