Holds information about the batch of frames to be inferred.
Definition at line 178 of file gstdsexample_optimized.h.
Data Fields | |
std::vector< GstDsExampleFrame > | frames |
Vector of frames in the batch. More... | |
GstBuffer * | inbuf = nullptr |
Pointer to the input GstBuffer. More... | |
gulong | inbuf_batch_num = 0 |
Batch number of the input batch. More... | |
gboolean | push_buffer = FALSE |
Boolean indicating that the output thread should only push the buffer to downstream element. More... | |
gboolean | event_marker = FALSE |
Boolean marking this batch as an event marker. More... | |
NvBufSurface * | inter_buf |
nvtxRangeId_t | nvtx_complete_buf_range = 0 |
gboolean GstDsExampleBatch::event_marker = FALSE |
Boolean marking this batch as an event marker.
This is only used for synchronization. The output loop does not process on the batch.
Definition at line 194 of file gstdsexample_optimized.h.
std::vector< GstDsExampleFrame > GstDsExampleBatch::frames |
Vector of frames in the batch.
Definition at line 181 of file gstdsexample_optimized.h.
GstBuffer* GstDsExampleBatch::inbuf = nullptr |
Pointer to the input GstBuffer.
Definition at line 183 of file gstdsexample_optimized.h.
gulong GstDsExampleBatch::inbuf_batch_num = 0 |
Batch number of the input batch.
Definition at line 185 of file gstdsexample_optimized.h.
NvBufSurface* GstDsExampleBatch::inter_buf |
Definition at line 200 of file gstdsexample_optimized.h.
nvtxRangeId_t GstDsExampleBatch::nvtx_complete_buf_range = 0 |
Definition at line 203 of file gstdsexample_optimized.h.
gboolean GstDsExampleBatch::push_buffer = FALSE |
Boolean indicating that the output thread should only push the buffer to downstream element.
If set to true, a corresponding batch has not been queued at the input of NvDsExampleContext and hence dequeuing of output is not required.
Definition at line 190 of file gstdsexample_optimized.h.