Doxygen Book
_GstTensorConverter Struct Reference

Internal data structure for tensor_converter instances. More...

#include <gsttensor_converter.h>

Collaboration diagram for _GstTensorConverter:

Public Attributes

GstElement element
 
GstPad * sinkpad
 
GstPad * srcpad
 
gboolean silent
 
gboolean set_timestamp
 
guint frames_per_tensor
 
GstTensorsInfo tensors_info
 
GHashTable * adapter_table
 
media_type in_media_type
 
const NNStreamerExternalConverterexternalConverter
 
gsize frame_size
 
gboolean remove_padding
 
gboolean tensors_configured
 
GstTensorsConfig tensors_config
 
gboolean have_segment
 
gboolean need_segment
 
GstSegment segment
 
GstClockTime old_timestamp
 
tensor_converter_mode mode
 
gchar * mode_option
 
gchar * ext_fw
 
converter_custom_cb_s custom
 
gboolean do_not_append_header
 
void * priv_data
 

Detailed Description

Internal data structure for tensor_converter instances.

Definition at line 75 of file gsttensor_converter.h.

Member Data Documentation

◆ adapter_table

GHashTable* _GstTensorConverter::adapter_table

adapt incoming media stream

Definition at line 87 of file gsttensor_converter.h.

◆ custom

converter_custom_cb_s _GstTensorConverter::custom

Definition at line 106 of file gsttensor_converter.h.

◆ do_not_append_header

gboolean _GstTensorConverter::do_not_append_header

Definition at line 107 of file gsttensor_converter.h.

◆ element

GstElement _GstTensorConverter::element

parent object

Definition at line 77 of file gsttensor_converter.h.

◆ ext_fw

gchar* _GstTensorConverter::ext_fw

tensor converter custom mode framework

Definition at line 105 of file gsttensor_converter.h.

◆ externalConverter

const NNStreamerExternalConverter* _GstTensorConverter::externalConverter

ExternalConverter is used if in_media_type == _NNS_MEDIA_PLUGINS

Definition at line 91 of file gsttensor_converter.h.

◆ frame_size

gsize _GstTensorConverter::frame_size

size of one frame

Definition at line 93 of file gsttensor_converter.h.

◆ frames_per_tensor

guint _GstTensorConverter::frames_per_tensor

number of frames in output tensor

Definition at line 84 of file gsttensor_converter.h.

◆ have_segment

gboolean _GstTensorConverter::have_segment

True if received segment

Definition at line 98 of file gsttensor_converter.h.

◆ in_media_type

media_type _GstTensorConverter::in_media_type

incoming media type

Definition at line 89 of file gsttensor_converter.h.

◆ mode

tensor_converter_mode _GstTensorConverter::mode

tensor converter operating mode

Definition at line 103 of file gsttensor_converter.h.

◆ mode_option

gchar* _GstTensorConverter::mode_option

tensor converter mode option

Definition at line 104 of file gsttensor_converter.h.

◆ need_segment

gboolean _GstTensorConverter::need_segment

True to handle seg event

Definition at line 99 of file gsttensor_converter.h.

◆ old_timestamp

GstClockTime _GstTensorConverter::old_timestamp

timestamp at prev buffer

Definition at line 101 of file gsttensor_converter.h.

◆ priv_data

void* _GstTensorConverter::priv_data

plugin's private data

Definition at line 109 of file gsttensor_converter.h.

◆ remove_padding

gboolean _GstTensorConverter::remove_padding

If true, zero-padding must be removed

Definition at line 94 of file gsttensor_converter.h.

◆ segment

GstSegment _GstTensorConverter::segment

Segment, supposed time format

Definition at line 100 of file gsttensor_converter.h.

◆ set_timestamp

gboolean _GstTensorConverter::set_timestamp

true to set timestamp when received a buffer with invalid timestamp

Definition at line 83 of file gsttensor_converter.h.

◆ silent

gboolean _GstTensorConverter::silent

true to print minimized log

Definition at line 82 of file gsttensor_converter.h.

◆ sinkpad

GstPad* _GstTensorConverter::sinkpad

sink pad

Definition at line 79 of file gsttensor_converter.h.

◆ srcpad

GstPad* _GstTensorConverter::srcpad

src pad

Definition at line 80 of file gsttensor_converter.h.

◆ tensors_config

GstTensorsConfig _GstTensorConverter::tensors_config

output tensors info

Definition at line 96 of file gsttensor_converter.h.

◆ tensors_configured

gboolean _GstTensorConverter::tensors_configured

True if already successfully configured tensors metadata

Definition at line 95 of file gsttensor_converter.h.

◆ tensors_info

GstTensorsInfo _GstTensorConverter::tensors_info

data structure to get/set tensor info

Definition at line 85 of file gsttensor_converter.h.


The documentation for this struct was generated from the following file: