camerabingeneral

Common helper functions for GstCameraBin.

GstCameraBinPreviewPipelineData

Members

pipeline (GstElement *) –
No description available
appsrc (GstElement *) –
No description available
filter (GstElement *) –
No description available
appsink (GstElement *) –
No description available
vscale (GstElement *) –
No description available
element (GstElement *) –
No description available
pending_preview_caps (GstCaps *) –
No description available
processing (guint) –
No description available
processing_lock (GMutex) –
No description available
processing_cond (GCond) –
No description available

GstBadBaseCameraBin.CameraBinPreviewPipelineData

Members

pipeline (Gst.Element) –
No description available
appsrc (Gst.Element) –
No description available
filter (Gst.Element) –
No description available
appsink (Gst.Element) –
No description available
vscale (Gst.Element) –
No description available
element (Gst.Element) –
No description available
pending_preview_caps (Gst.Caps) –
No description available
processing (Number) –
No description available
processing_lock (GLib.Mutex) –
No description available
processing_cond (GLib.Cond) –
No description available

GstBadBaseCameraBin.CameraBinPreviewPipelineData

Members

pipeline (Gst.Element) –
No description available
appsrc (Gst.Element) –
No description available
filter (Gst.Element) –
No description available
appsink (Gst.Element) –
No description available
vscale (Gst.Element) –
No description available
element (Gst.Element) –
No description available
pending_preview_caps (Gst.Caps) –
No description available
processing (int) –
No description available
processing_lock (GLib.Mutex) –
No description available
processing_cond (GLib.Cond) –
No description available

Functions

gst_camerabin_create_preview_pipeline

GstCameraBinPreviewPipelineData *
gst_camerabin_create_preview_pipeline (GstElement * element,
                                       GstElement * filter)

Creates a new previewing pipeline that can receive buffers to be posted as camerabin preview messages for element

Parameters:

element

Owner of this pipeline

filter

Custom filter to process preview data (an extra ref is taken)

Returns

The newly created GstCameraBinPreviewPipelineData


gst_camerabin_destroy_preview_pipeline

gst_camerabin_destroy_preview_pipeline (GstCameraBinPreviewPipelineData * preview)

Frees a GstCameraBinPreviewPipelineData

Parameters:


GstBadBaseCameraBin.prototype.camerabin_destroy_preview_pipeline

function GstBadBaseCameraBin.prototype.camerabin_destroy_preview_pipeline(preview: GstBadBaseCameraBin.CameraBinPreviewPipelineData): {
    // javascript wrapper for 'gst_camerabin_destroy_preview_pipeline'
}

Frees a GstBadBaseCameraBin.CameraBinPreviewPipelineData


GstBadBaseCameraBin.camerabin_destroy_preview_pipeline

def GstBadBaseCameraBin.camerabin_destroy_preview_pipeline (preview):
    #python wrapper for 'gst_camerabin_destroy_preview_pipeline'

Frees a GstBadBaseCameraBin.CameraBinPreviewPipelineData


gst_camerabin_preview_pipeline_post

gboolean
gst_camerabin_preview_pipeline_post (GstCameraBinPreviewPipelineData * preview,
                                     GstSample * sample)

Converts the sample to the desired format and posts the preview message to the bus.

Parameters:

sample

the sample to be posted as a preview

Returns

TRUE on success


GstBadBaseCameraBin.prototype.camerabin_preview_pipeline_post

function GstBadBaseCameraBin.prototype.camerabin_preview_pipeline_post(preview: GstBadBaseCameraBin.CameraBinPreviewPipelineData, sample: Gst.Sample): {
    // javascript wrapper for 'gst_camerabin_preview_pipeline_post'
}

Converts the sample to the desired format and posts the preview message to the bus.

Parameters:

sample ( Gst.Sample ) –

the sample to be posted as a preview

Returns ( Number ) –

true on success


GstBadBaseCameraBin.camerabin_preview_pipeline_post

def GstBadBaseCameraBin.camerabin_preview_pipeline_post (preview, sample):
    #python wrapper for 'gst_camerabin_preview_pipeline_post'

Converts the sample to the desired format and posts the preview message to the bus.

Parameters:

sample ( Gst.Sample ) –

the sample to be posted as a preview

Returns ( bool ) –

True on success


gst_camerabin_preview_set_caps

gst_camerabin_preview_set_caps (GstCameraBinPreviewPipelineData * preview,
                                GstCaps * caps)

The caps that preview buffers should have when posted on the bus

Parameters:

caps

the GstCaps to be set (a new ref will be taken)


GstBadBaseCameraBin.prototype.camerabin_preview_set_caps

function GstBadBaseCameraBin.prototype.camerabin_preview_set_caps(preview: GstBadBaseCameraBin.CameraBinPreviewPipelineData, caps: Gst.Caps): {
    // javascript wrapper for 'gst_camerabin_preview_set_caps'
}

The caps that preview buffers should have when posted on the bus

Parameters:

caps ( Gst.Caps ) –

the Gst.Caps to be set (a new ref will be taken)


GstBadBaseCameraBin.camerabin_preview_set_caps

def GstBadBaseCameraBin.camerabin_preview_set_caps (preview, caps):
    #python wrapper for 'gst_camerabin_preview_set_caps'

The caps that preview buffers should have when posted on the bus

Parameters:

caps ( Gst.Caps ) –

the Gst.Caps to be set (a new ref will be taken)


gst_camerabin_preview_set_filter

gboolean
gst_camerabin_preview_set_filter (GstCameraBinPreviewPipelineData * preview,
                                  GstElement * filter)

Set the filter element into preview pipeline.

Parameters:

filter

Custom filter to process preview data (an extra ref is taken)

Returns

TRUE on success


GstBadBaseCameraBin.prototype.camerabin_preview_set_filter

function GstBadBaseCameraBin.prototype.camerabin_preview_set_filter(preview: GstBadBaseCameraBin.CameraBinPreviewPipelineData, filter: Gst.Element): {
    // javascript wrapper for 'gst_camerabin_preview_set_filter'
}

Set the filter element into preview pipeline.

Parameters:

filter ( Gst.Element ) –

Custom filter to process preview data (an extra ref is taken)

Returns ( Number ) –

true on success


GstBadBaseCameraBin.camerabin_preview_set_filter

def GstBadBaseCameraBin.camerabin_preview_set_filter (preview, filter):
    #python wrapper for 'gst_camerabin_preview_set_filter'

Set the filter element into preview pipeline.

Parameters:

filter ( Gst.Element ) –

Custom filter to process preview data (an extra ref is taken)

Returns ( bool ) –

True on success


The results of the search are