video multiview

## GstVideoMultiviewFlagsSet

    GstFlagSet
        ╰──GstVideoMultiviewFlagsSet

See GstVideoMultiviewFlags.

## GstVideo.VideoMultiviewFlagsSet

    Gst.FlagSet
        ╰──GstVideo.VideoMultiviewFlagsSet

See GstVideo.VideoMultiviewFlags.

## GstVideo.VideoMultiviewFlagsSet

    Gst.FlagSet
        ╰──GstVideo.VideoMultiviewFlagsSet

See GstVideo.VideoMultiviewFlags.

## Functions

### gst_video_multiview_get_doubled_height_modes

    const GValue *
    gst_video_multiview_get_doubled_height_modes ()

Returns –

A const GValue containing a list of stereo video modes

Utility function that returns a GValue with a GstList of packed stereo video modes with double the height of a single view for use in caps negotiations. Currently this is top-bottom and row-interleaved.

Since : 1.6

### GstVideo.prototype.video_multiview_get_doubled_height_modes

    function GstVideo.prototype.video_multiview_get_doubled_height_modes(): {
        // javascript wrapper for 'gst_video_multiview_get_doubled_height_modes'
    }

Returns (GObject.Value) –

A const GObject.Value containing a list of stereo video modes

Utility function that returns a GObject.Value with a GstList of packed stereo video modes with double the height of a single view for use in caps negotiations. Currently this is top-bottom and row-interleaved.

Since : 1.6

### GstVideo.video_multiview_get_doubled_height_modes

    def GstVideo.video_multiview_get_doubled_height_modes ():
        #python wrapper for 'gst_video_multiview_get_doubled_height_modes'

Returns (GObject.Value) –

A const GObject.Value containing a list of stereo video modes

Utility function that returns a GObject.Value with a GstList of packed stereo video modes with double the height of a single view for use in caps negotiations. Currently this is top-bottom and row-interleaved.

Since : 1.6

### gst_video_multiview_get_doubled_size_modes

    const GValue *
    gst_video_multiview_get_doubled_size_modes ()

Returns –

A const GValue containing a list of stereo video modes

Utility function that returns a GValue with a GstList of packed stereo video modes that have double the width/height of a single view for use in caps negotiation. Currently this is just 'checkerboard' layout.

Since : 1.6

### GstVideo.prototype.video_multiview_get_doubled_size_modes

    function GstVideo.prototype.video_multiview_get_doubled_size_modes(): {
        // javascript wrapper for 'gst_video_multiview_get_doubled_size_modes'
    }

Returns (GObject.Value) –

A const GObject.Value containing a list of stereo video modes

Utility function that returns a GObject.Value with a GstList of packed stereo video modes that have double the width/height of a single view for use in caps negotiation. Currently this is just 'checkerboard' layout.

Since : 1.6

### GstVideo.video_multiview_get_doubled_size_modes

    def GstVideo.video_multiview_get_doubled_size_modes ():
        #python wrapper for 'gst_video_multiview_get_doubled_size_modes'

Returns (GObject.Value) –

A const GObject.Value containing a list of stereo video modes

Utility function that returns a GObject.Value with a GstList of packed stereo video modes that have double the width/height of a single view for use in caps negotiation. Currently this is just 'checkerboard' layout.

Since : 1.6

### gst_video_multiview_get_doubled_width_modes

    const GValue *
    gst_video_multiview_get_doubled_width_modes ()

Returns –

A const GValue containing a list of stereo video modes

Utility function that returns a GValue with a GstList of packed stereo video modes with double the width of a single view for use in caps negotiations. Currently this is side-by-side, side-by-side-quincunx and column-interleaved.

Since : 1.6

### GstVideo.prototype.video_multiview_get_doubled_width_modes

    function GstVideo.prototype.video_multiview_get_doubled_width_modes(): {
        // javascript wrapper for 'gst_video_multiview_get_doubled_width_modes'
    }

Returns (GObject.Value) –

A const GObject.Value containing a list of stereo video modes

Utility function that returns a GObject.Value with a GstList of packed stereo video modes with double the width of a single view for use in caps negotiations. Currently this is side-by-side, side-by-side-quincunx and column-interleaved.

Since : 1.6

### GstVideo.video_multiview_get_doubled_width_modes

    def GstVideo.video_multiview_get_doubled_width_modes ():
        #python wrapper for 'gst_video_multiview_get_doubled_width_modes'

Returns (GObject.Value) –

A const GObject.Value containing a list of stereo video modes

Utility function that returns a GObject.Value with a GstList of packed stereo video modes with double the width of a single view for use in caps negotiations. Currently this is side-by-side, side-by-side-quincunx and column-interleaved.

Since : 1.6

### gst_video_multiview_get_mono_modes

    const GValue *
    gst_video_multiview_get_mono_modes ()

Returns –

A const GValue containing a list of mono video modes

Utility function that returns a GValue with a GstList of mono video modes (mono/left/right) for use in caps negotiations.

Since : 1.6

### GstVideo.prototype.video_multiview_get_mono_modes

    function GstVideo.prototype.video_multiview_get_mono_modes(): {
        // javascript wrapper for 'gst_video_multiview_get_mono_modes'
    }

Returns (GObject.Value) –

A const GObject.Value containing a list of mono video modes

Utility function that returns a GObject.Value with a GstList of mono video modes (mono/left/right) for use in caps negotiations.

Since : 1.6

### GstVideo.video_multiview_get_mono_modes

    def GstVideo.video_multiview_get_mono_modes ():
        #python wrapper for 'gst_video_multiview_get_mono_modes'

Returns (GObject.Value) –

A const GObject.Value containing a list of mono video modes

Utility function that returns a GObject.Value with a GstList of mono video modes (mono/left/right) for use in caps negotiations.

Since : 1.6

### gst_video_multiview_get_unpacked_modes

    const GValue *
    gst_video_multiview_get_unpacked_modes ()

Returns –

A const GValue containing a list of 'unpacked' stereo video modes

Utility function that returns a GValue with a GstList of unpacked stereo video modes (separated/frame-by-frame/frame-by-frame-multiview) for use in caps negotiations.

Since : 1.6

### GstVideo.prototype.video_multiview_get_unpacked_modes

    function GstVideo.prototype.video_multiview_get_unpacked_modes(): {
        // javascript wrapper for 'gst_video_multiview_get_unpacked_modes'
    }

Returns (GObject.Value) –

A const GObject.Value containing a list of 'unpacked' stereo video modes

Utility function that returns a GObject.Value with a GstList of unpacked stereo video modes (separated/frame-by-frame/frame-by-frame-multiview) for use in caps negotiations.

Since : 1.6

### GstVideo.video_multiview_get_unpacked_modes

    def GstVideo.video_multiview_get_unpacked_modes ():
        #python wrapper for 'gst_video_multiview_get_unpacked_modes'

Returns (GObject.Value) –

A const GObject.Value containing a list of 'unpacked' stereo video modes

Utility function that returns a GObject.Value with a GstList of unpacked stereo video modes (separated/frame-by-frame/frame-by-frame-multiview) for use in caps negotiations.

Since : 1.6

### gst_video_multiview_guess_half_aspect

    gboolean
    gst_video_multiview_guess_half_aspect (GstVideoMultiviewMode mv_mode,
                                           guint width,
                                           guint height,
                                           guint par_n,
                                           guint par_d)

Parameters:

`mv_mode` –

A GstVideoMultiviewMode

`width` –

Video frame width in pixels

`height` –

Video frame height in pixels

`par_n` –

Numerator of the video pixel-aspect-ratio

`par_d` –

Denominator of the video pixel-aspect-ratio

Returns –

A boolean indicating whether the GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT flag should be set.

Utility function that heuristically guess whether a frame-packed stereoscopic video contains half width/height encoded views, or full-frame views by looking at the overall display aspect ratio.

Since : 1.6

### GstVideo.prototype.video_multiview_guess_half_aspect

    function GstVideo.prototype.video_multiview_guess_half_aspect(mv_mode: GstVideo.VideoMultiviewMode, width: Number, height: Number, par_n: Number, par_d: Number): {
        // javascript wrapper for 'gst_video_multiview_guess_half_aspect'
    }

Parameters:

`mv_mode` (GstVideo.VideoMultiviewMode) –

A GstVideo.VideoMultiviewMode

`width` (Number) –

Video frame width in pixels

`height` (Number) –

Video frame height in pixels

`par_n` (Number) –

Numerator of the video pixel-aspect-ratio

`par_d` (Number) –

Denominator of the video pixel-aspect-ratio

Returns (Number) –

A boolean indicating whether the GstVideo.VideoMultiviewFlags.HALF_ASPECT flag should be set.

Utility function that heuristically guess whether a frame-packed stereoscopic video contains half width/height encoded views, or full-frame views by looking at the overall display aspect ratio.

Since : 1.6

### GstVideo.video_multiview_guess_half_aspect

    def GstVideo.video_multiview_guess_half_aspect (mv_mode, width, height, par_n, par_d):
        #python wrapper for 'gst_video_multiview_guess_half_aspect'

Parameters:

`mv_mode` (GstVideo.VideoMultiviewMode) –

A GstVideo.VideoMultiviewMode

`width` (int) –

Video frame width in pixels

`height` (int) –

Video frame height in pixels

`par_n` (int) –

Numerator of the video pixel-aspect-ratio

`par_d` (int) –

Denominator of the video pixel-aspect-ratio

Returns (bool) –

A boolean indicating whether the GstVideo.VideoMultiviewFlags.HALF_ASPECT flag should be set.

Utility function that heuristically guess whether a frame-packed stereoscopic video contains half width/height encoded views, or full-frame views by looking at the overall display aspect ratio.

Since : 1.6

### gst_video_multiview_mode_from_caps_string

    GstVideoMultiviewMode
    gst_video_multiview_mode_from_caps_string (const gchar* caps_mview_mode)

Parameters:

`caps_mview_mode` –

multiview-mode field string from caps

Returns –

The GstVideoMultiviewMode value

Given a string from a caps multiview-mode field, output the corresponding GstVideoMultiviewMode or GST_VIDEO_MULTIVIEW_MODE_NONE

Since : 1.6

### GstVideo.prototype.video_multiview_mode_from_caps_string

    function GstVideo.prototype.video_multiview_mode_from_caps_string(caps_mview_mode: String): {
        // javascript wrapper for 'gst_video_multiview_mode_from_caps_string'
    }

Parameters:

`caps_mview_mode` (String) –

multiview-mode field string from caps

Returns (GstVideo.VideoMultiviewMode) –

The GstVideo.VideoMultiviewMode value

Given a string from a caps multiview-mode field, output the corresponding GstVideo.VideoMultiviewMode or GstVideo.VideoMultiviewMode.NONE

Since : 1.6

### GstVideo.video_multiview_mode_from_caps_string

    def GstVideo.video_multiview_mode_from_caps_string (caps_mview_mode):
        #python wrapper for 'gst_video_multiview_mode_from_caps_string'

Parameters:

`caps_mview_mode` (str) –

multiview-mode field string from caps

Returns (GstVideo.VideoMultiviewMode) –

The GstVideo.VideoMultiviewMode value

Given a string from a caps multiview-mode field, output the corresponding GstVideo.VideoMultiviewMode or GstVideo.VideoMultiviewMode.NONE

Since : 1.6

### gst_video_multiview_mode_to_caps_string

    const gchar*
    gst_video_multiview_mode_to_caps_string (GstVideoMultiviewMode mview_mode)

Given a GstVideoMultiviewMode returns the multiview-mode caps string for insertion into a caps structure

Parameters:

`mview_mode` –

A GstVideoMultiviewMode value

Returns ( [nullable]) –

The caps string representation of the mode, or NULL if invalid.

Since : 1.6

### GstVideo.prototype.video_multiview_mode_to_caps_string

    function GstVideo.prototype.video_multiview_mode_to_caps_string(mview_mode: GstVideo.VideoMultiviewMode): {
        // javascript wrapper for 'gst_video_multiview_mode_to_caps_string'
    }

Given a GstVideo.VideoMultiviewMode returns the multiview-mode caps string for insertion into a caps structure

Parameters:

`mview_mode` (GstVideo.VideoMultiviewMode) –

A GstVideo.VideoMultiviewMode value

Returns (String) –

The caps string representation of the mode, or NULL if invalid.

Since : 1.6

### GstVideo.video_multiview_mode_to_caps_string

    def GstVideo.video_multiview_mode_to_caps_string (mview_mode):
        #python wrapper for 'gst_video_multiview_mode_to_caps_string'

Given a GstVideo.VideoMultiviewMode returns the multiview-mode caps string for insertion into a caps structure

Parameters:

`mview_mode` (GstVideo.VideoMultiviewMode) –

A GstVideo.VideoMultiviewMode value

Returns (str) –

The caps string representation of the mode, or NULL if invalid.

Since : 1.6

### gst_video_multiview_video_info_change_mode

    gst_video_multiview_video_info_change_mode (GstVideoInfo * info,
                                                GstVideoMultiviewMode out_mview_mode,
                                                GstVideoMultiviewFlags out_mview_flags)

Utility function that transforms the width/height/PAR and multiview mode and flags of a GstVideoInfo into the requested mode.

Parameters:

`info` –

A GstVideoInfo structure to operate on

`out_mview_mode` –

A GstVideoMultiviewMode value

`out_mview_flags` –

A set of GstVideoMultiviewFlags

Since : 1.6

### GstVideo.prototype.video_multiview_video_info_change_mode

    function GstVideo.prototype.video_multiview_video_info_change_mode(info: GstVideo.VideoInfo, out_mview_mode: GstVideo.VideoMultiviewMode, out_mview_flags: GstVideo.VideoMultiviewFlags): {
        // javascript wrapper for 'gst_video_multiview_video_info_change_mode'
    }

Utility function that transforms the width/height/PAR and multiview mode and flags of a GstVideo.VideoInfo into the requested mode.

Parameters:

`info` (GstVideo.VideoInfo) –

A GstVideo.VideoInfo structure to operate on

`out_mview_mode` (GstVideo.VideoMultiviewMode) –

A GstVideo.VideoMultiviewMode value

`out_mview_flags` (GstVideo.VideoMultiviewFlags) –

A set of GstVideo.VideoMultiviewFlags

Since : 1.6

### GstVideo.video_multiview_video_info_change_mode

    def GstVideo.video_multiview_video_info_change_mode (info, out_mview_mode, out_mview_flags):
        #python wrapper for 'gst_video_multiview_video_info_change_mode'

Utility function that transforms the width/height/PAR and multiview mode and flags of a GstVideo.VideoInfo into the requested mode.

Parameters:

`info` (GstVideo.VideoInfo) –

A GstVideo.VideoInfo structure to operate on

`out_mview_mode` (GstVideo.VideoMultiviewMode) –

A GstVideo.VideoMultiviewMode value

`out_mview_flags` (GstVideo.VideoMultiviewFlags) –

A set of GstVideo.VideoMultiviewFlags

Since : 1.6

## Function Macros

### gst_buffer_get_video_multiview_meta

    #define gst_buffer_get_video_multiview_meta(b) ((GstVideoMultiviewMeta *)gst_buffer_get_meta((b),GST_VIDEO_MULTIVIEW_META_API_TYPE))

## Constants

### GST_VIDEO_MULTIVIEW_META_API_TYPE

    #define GST_VIDEO_MULTIVIEW_META_API_TYPE (gst_video_multiview_meta_api_get_type())

### GST_VIDEO_MULTIVIEW_META_INFO

    #define GST_VIDEO_MULTIVIEW_META_INFO  (gst_video_multiview_meta_get_info())

The results of the search are