GstDataRepoSrc data structure. More...
#include <gstdatareposrc.h>
GstDataRepoSrc data structure.
Definition at line 41 of file gstdatareposrc.h.
guint _GstDataRepoSrc::array_index |
element index of shuffled_index_array
Definition at line 73 of file gstdatareposrc.h.
GstCaps* _GstDataRepoSrc::caps |
optional property, datareposrc should get data format from JSON file caps field
Definition at line 78 of file gstdatareposrc.h.
GstTensorsConfig _GstDataRepoSrc::config |
tensors information from current caps
Definition at line 81 of file gstdatareposrc.h.
gint _GstDataRepoSrc::current_sample_index |
current index of sample or file to read
Definition at line 56 of file gstdatareposrc.h.
GstDataRepoDataType _GstDataRepoSrc::data_type |
media type
Definition at line 61 of file gstdatareposrc.h.
guint _GstDataRepoSrc::epochs |
repetition of range of files or samples to read
Definition at line 69 of file gstdatareposrc.h.
gint _GstDataRepoSrc::fd |
open file descriptor
Definition at line 48 of file gstdatareposrc.h.
guint64 _GstDataRepoSrc::fd_offset |
offset of fd
Definition at line 51 of file gstdatareposrc.h.
gint _GstDataRepoSrc::file_size |
file size, in bytes
Definition at line 49 of file gstdatareposrc.h.
gchar* _GstDataRepoSrc::filename |
filename
Definition at line 64 of file gstdatareposrc.h.
gboolean _GstDataRepoSrc::first_epoch_is_done |
Definition at line 57 of file gstdatareposrc.h.
gboolean _GstDataRepoSrc::is_shuffle |
shuffle the sample index
Definition at line 70 of file gstdatareposrc.h.
gboolean _GstDataRepoSrc::is_start |
check if datareposrc is started
Definition at line 46 of file gstdatareposrc.h.
gchar* _GstDataRepoSrc::json_filename |
json filename containing meta information of the filename
Definition at line 65 of file gstdatareposrc.h.
guint64 _GstDataRepoSrc::last_offset |
last offset to read
Definition at line 53 of file gstdatareposrc.h.
guint64 _GstDataRepoSrc::n_frame |
Definition at line 92 of file gstdatareposrc.h.
gboolean _GstDataRepoSrc::need_changed_caps |
When tensors-sequence changes, caps need to be changed
Definition at line 77 of file gstdatareposrc.h.
guint _GstDataRepoSrc::num_samples |
The number of samples to be used out of the total samples in the file
Definition at line 59 of file gstdatareposrc.h.
GstPushSrc _GstDataRepoSrc::parent |
parent object
Definition at line 43 of file gstdatareposrc.h.
JsonParser* _GstDataRepoSrc::parser |
Keep JSON data after parsing JSON file
Definition at line 85 of file gstdatareposrc.h.
gint _GstDataRepoSrc::rate_d |
Definition at line 91 of file gstdatareposrc.h.
gint _GstDataRepoSrc::rate_n |
Definition at line 91 of file gstdatareposrc.h.
guint64 _GstDataRepoSrc::read_position |
position of fd
Definition at line 50 of file gstdatareposrc.h.
GstClockTime _GstDataRepoSrc::running_time |
one frame running time
Definition at line 90 of file gstdatareposrc.h.
JsonArray* _GstDataRepoSrc::sample_offset_array |
offset array of sample
Definition at line 82 of file gstdatareposrc.h.
guint _GstDataRepoSrc::sample_offset_array_len |
Definition at line 86 of file gstdatareposrc.h.
gsize _GstDataRepoSrc::sample_size |
size of one sample
Definition at line 60 of file gstdatareposrc.h.
GArray* _GstDataRepoSrc::shuffled_index_array |
shuffled sample index array
Definition at line 72 of file gstdatareposrc.h.
GstPad* _GstDataRepoSrc::src_pad |
Definition at line 44 of file gstdatareposrc.h.
guint64 _GstDataRepoSrc::start_offset |
start offset to read
Definition at line 52 of file gstdatareposrc.h.
guint _GstDataRepoSrc::start_sample_index |
start index of sample to read, in case of image, the starting index of the numbered files
Definition at line 67 of file gstdatareposrc.h.
guint _GstDataRepoSrc::stop_sample_index |
stop index of sample to read, in case of image, the stoppting index of the numbered files
Definition at line 68 of file gstdatareposrc.h.
gboolean _GstDataRepoSrc::successful_read |
used for checking EOS when reading more than one images(multi-files) from a path
Definition at line 47 of file gstdatareposrc.h.
JsonArray* _GstDataRepoSrc::tensor_count_array |
array for the number of cumulative tensors
Definition at line 84 of file gstdatareposrc.h.
guint _GstDataRepoSrc::tensor_count_array_len |
Definition at line 88 of file gstdatareposrc.h.
JsonArray* _GstDataRepoSrc::tensor_size_array |
size array of flexible tensor to be stored in a Gstbuffer
Definition at line 83 of file gstdatareposrc.h.
guint _GstDataRepoSrc::tensor_size_array_len |
Definition at line 87 of file gstdatareposrc.h.
gsize _GstDataRepoSrc::tensors_offset[NNS_TENSOR_SIZE_LIMIT] |
each tensors offset in a sample
Definition at line 55 of file gstdatareposrc.h.
guint _GstDataRepoSrc::tensors_seq[NNS_TENSOR_SIZE_LIMIT] |
tensors sequence in a sample that will be read into gstbuffer
Definition at line 75 of file gstdatareposrc.h.
guint _GstDataRepoSrc::tensors_seq_cnt |
Definition at line 76 of file gstdatareposrc.h.
gchar* _GstDataRepoSrc::tensors_seq_str |
tensors in a sample are read into gstBuffer according to tensors_sequence
Definition at line 66 of file gstdatareposrc.h.
gsize _GstDataRepoSrc::tensors_size[NNS_TENSOR_SIZE_LIMIT] |
each tensors size in a sample
Definition at line 54 of file gstdatareposrc.h.
guint _GstDataRepoSrc::total_samples |
The number of total samples
Definition at line 58 of file gstdatareposrc.h.