GstCudaConverter

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstCudaConverter

Members

parent (GstObject) –
No description available
context (GstCudaContext *) –
No description available

Since : 1.30


Class structure

GstCudaConverterClass

Fields
parent_class (GstObjectClass) –
No description available

Since : 1.30


GstCuda.CudaConverterClass

Attributes
parent_class (Gst.ObjectClass) –
No description available

Since : 1.30


GstCuda.CudaConverterClass

Attributes
parent_class (Gst.ObjectClass) –
No description available

Since : 1.30


GstCuda.CudaConverter

GObject.Object
    ╰──GObject.InitiallyUnowned
        ╰──Gst.Object
            ╰──GstCuda.CudaConverter

Members

parent (Gst.Object) –
No description available
context (GstCuda.CudaContext) –
No description available

Since : 1.30


GstCuda.CudaConverter

GObject.Object
    ╰──GObject.InitiallyUnowned
        ╰──Gst.Object
            ╰──GstCuda.CudaConverter

Members

parent (Gst.Object) –
No description available
context (GstCuda.CudaContext) –
No description available

Since : 1.30


Constructors

gst_cuda_converter_new

GstCudaConverter *
gst_cuda_converter_new (GstCudaContext * context,
                        const GstVideoInfo * in_info,
                        const GstVideoInfo * out_info,
                        GstStructure * config)

Creates a new converter instance

Parameters:

context

a GstCudaContext

in_info

a GstVideoInfo

out_info

a GstVideoInfo

config ( [transfer: full][nullable])

a GstStructure with configuration options

Returns ( [transfer: full][nullable])

a new GstCudaConverter instance or NULL if conversion is not supported

Since : 1.30


GstCuda.CudaConverter.prototype.new

function GstCuda.CudaConverter.prototype.new(context: GstCuda.CudaContext, in_info: GstVideo.VideoInfo, out_info: GstVideo.VideoInfo, config: Gst.Structure): {
    // javascript wrapper for 'gst_cuda_converter_new'
}

Creates a new converter instance

Parameters:

config (Gst.Structure)

a Gst.Structure with configuration options

Returns (GstCuda.CudaConverter)

a new GstCuda.CudaConverter instance or null if conversion is not supported

Since : 1.30


GstCuda.CudaConverter.new

def GstCuda.CudaConverter.new (context, in_info, out_info, config):
    #python wrapper for 'gst_cuda_converter_new'

Creates a new converter instance

Parameters:

config (Gst.Structure)

a Gst.Structure with configuration options

Returns (GstCuda.CudaConverter)

a new GstCuda.CudaConverter instance or None if conversion is not supported

Since : 1.30


Methods

gst_cuda_converter_convert_frame

gboolean
gst_cuda_converter_convert_frame (GstCudaConverter * converter,
                                  GstCudaStream * stream,
                                  GstVideoFrame * src_frame,
                                  GstVideoFrame * dst_frame)

Performs conversion operation

Parameters:

converter
No description available
stream ( [nullable])

a GstCudaStream

src_frame

a GstVideoFrame

dst_frame

a GstVideoFrame

Returns

TRUE if successful

Since : 1.30


GstCuda.CudaConverter.prototype.convert_frame

function GstCuda.CudaConverter.prototype.convert_frame(stream: GstCuda.CudaStream, src_frame: GstVideo.VideoFrame, dst_frame: GstVideo.VideoFrame): {
    // javascript wrapper for 'gst_cuda_converter_convert_frame'
}

Performs conversion operation

Parameters:

converter (GstCuda.CudaConverter)
No description available
Returns (Number)

true if successful

Since : 1.30


GstCuda.CudaConverter.convert_frame

def GstCuda.CudaConverter.convert_frame (self, stream, src_frame, dst_frame):
    #python wrapper for 'gst_cuda_converter_convert_frame'

Performs conversion operation

Parameters:

converter (GstCuda.CudaConverter)
No description available
Returns (bool)

True if successful

Since : 1.30


Properties

alpha

“alpha” gdouble

Flags : Read / Write


alpha

“alpha” Number

Flags : Read / Write


alpha

“self.props.alpha” float

Flags : Read / Write


blend

“blend” gboolean

Flags : Read / Write


blend

“blend” Number

Flags : Read / Write


blend

“self.props.blend” bool

Flags : Read / Write


dest-height

“dest-height” gint

Flags : Read / Write


dest-height

“dest-height” Number

Flags : Read / Write


dest_height

“self.props.dest_height” int

Flags : Read / Write


dest-width

“dest-width” gint

Flags : Read / Write


dest-width

“dest-width” Number

Flags : Read / Write


dest_width

“self.props.dest_width” int

Flags : Read / Write


dest-x

“dest-x” gint

Flags : Read / Write


dest-x

“dest-x” Number

Flags : Read / Write


dest_x

“self.props.dest_x” int

Flags : Read / Write


dest-y

“dest-y” gint

Flags : Read / Write


dest-y

“dest-y” Number

Flags : Read / Write


dest_y

“self.props.dest_y” int

Flags : Read / Write


fill-border

“fill-border” gboolean

Flags : Read / Write


fill-border

“fill-border” Number

Flags : Read / Write


fill_border

“self.props.fill_border” bool

Flags : Read / Write


src-height

“src-height” gint

Flags : Read / Write


src-height

“src-height” Number

Flags : Read / Write


src_height

“self.props.src_height” int

Flags : Read / Write


src-width

“src-width” gint

Flags : Read / Write


src-width

“src-width” Number

Flags : Read / Write


src_width

“self.props.src_width” int

Flags : Read / Write


src-x

“src-x” gint

Flags : Read / Write


src-x

“src-x” Number

Flags : Read / Write


src_x

“self.props.src_x” int

Flags : Read / Write


src-y

“src-y” gint

Flags : Read / Write


src-y

“src-y” Number

Flags : Read / Write


src_y

“self.props.src_y” int

Flags : Read / Write


video-direction

“video-direction” GstVideoOrientationMethod *

Flags : Read / Write


video-direction

“video-direction” GstVideo.VideoOrientationMethod

Flags : Read / Write


video_direction

“self.props.video_direction” GstVideo.VideoOrientationMethod

Flags : Read / Write


The results of the search are