GstAnalytics.TensorMeta
Since : 1.26
GstAnalytics.TensorMeta
Since : 1.26
Methods
const GstTensor *
gst_tensor_meta_get (GstTensorMeta * tmeta,
gsize index)
Retrieves a tensor from the GstTensorMeta, the index must be
smaller than num_tensors
Return: (transfer none): a GstTensor
Parameters:
index
–
The number of the tensor to get
Returns
–
No description available
Since : 1.26
GstAnalytics.TensorMeta.prototype.get
function GstAnalytics.TensorMeta.prototype.get(index: Number): {
}
Retrieves a tensor from the GstAnalytics.TensorMeta, the index must be
smaller than num_tensors
Return: (transfer none): a GstTensor
Parameters:
The number of the tensor to get
Since : 1.26
GstAnalytics.TensorMeta.get
def GstAnalytics.TensorMeta.get (self, index):
Retrieves a tensor from the GstAnalytics.TensorMeta, the index must be
smaller than num_tensors
Return: (transfer none): a GstTensor
Parameters:
The number of the tensor to get
Since : 1.26
gint
gst_tensor_meta_get_index_from_id (GstTensorMeta * meta,
GQuark id)
Finds the first tensor with the requsted ID in the meta
Return: The index of the tensor inthe meta, or -1 if
its not found.
Parameters:
id
–
The tensor id to look for
Returns
–
No description available
Since : 1.26
GstAnalytics.TensorMeta.prototype.get_index_from_id
function GstAnalytics.TensorMeta.prototype.get_index_from_id(id: GLib.Quark): {
}
Finds the first tensor with the requsted ID in the meta
Return: The index of the tensor inthe meta, or -1 if
its not found.
Parameters:
The tensor id to look for
Since : 1.26
GstAnalytics.TensorMeta.get_index_from_id
def GstAnalytics.TensorMeta.get_index_from_id (self, id):
Finds the first tensor with the requsted ID in the meta
Return: The index of the tensor inthe meta, or -1 if
its not found.
Parameters:
The tensor id to look for
Since : 1.26
gst_tensor_meta_set (GstTensorMeta * tmeta,
guint num_tensors,
GstTensor ** tensors)
Sets tensors into the GstTensorMeta
Parameters:
num_tensors
–
The number of tensors in the tensors array
tensors
(
[in][arraylength=num_tensors][transfer: full])
–
An array of poiners to GstTensor
Since : 1.26
GstAnalytics.TensorMeta.prototype.set
function GstAnalytics.TensorMeta.prototype.set(num_tensors: Number, tensors: [ GstAnalytics.Tensor ]): {
}
Sets tensors into the GstAnalytics.TensorMeta
Parameters:
The number of tensors in the tensors array
Since : 1.26
GstAnalytics.TensorMeta.set
def GstAnalytics.TensorMeta.set (self, num_tensors, tensors):
Sets tensors into the GstAnalytics.TensorMeta
Parameters:
The number of tensors in the tensors array
Since : 1.26
Functions
const GstMetaInfo *
gst_tensor_meta_get_info ()
Returns
–
No description available
Since : 1.26
Functions
GstAnalytics.prototype.buffer_add_tensor_meta
function GstAnalytics.prototype.buffer_add_tensor_meta(buffer: Gst.Buffer): {
}
Adds a GstAnalytics.TensorMeta to a buffer or returns the existing one
Since : 1.26
GstAnalytics.buffer_add_tensor_meta
def GstAnalytics.buffer_add_tensor_meta (buffer):
Adds a GstAnalytics.TensorMeta to a buffer or returns the existing one
Since : 1.26
GstAnalytics.prototype.buffer_get_tensor_meta
function GstAnalytics.prototype.buffer_get_tensor_meta(buffer: Gst.Buffer): {
}
Gets the GstAnalytics.TensorMeta from a buffer
Since : 1.26
GstAnalytics.buffer_get_tensor_meta
def GstAnalytics.buffer_get_tensor_meta (buffer):
Gets the GstAnalytics.TensorMeta from a buffer
Since : 1.26
GType
gst_tensor_meta_api_get_type ()
Returns
–
No description available
Since : 1.26
Constants
#define GST_TENSOR_META_API_TYPE \
(gst_tensor_meta_api_get_type())
The Tensor Meta API type
Since : 1.26
#define GST_TENSOR_META_INFO \
(gst_tensor_meta_get_info())
The Tensor Meta API Info
Since : 1.26
The results of the search are