NVIDIA DeepStream SDK API Reference

5.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvDsSRContext Struct Reference

Detailed Description

Holds information about smart record instance.

Definition at line 95 of file gst-nvdssr.h.

Collaboration diagram for NvDsSRContext:

Data Fields

GstElement * recordbin
 parent bin element. More...
GstElement * recordQue
 queue element to cache the content. More...
GstElement * encodebin
 child bin to save the content to file. More...
GstElement * filesink
 filesink element More...
gboolean gotKeyFrame
 flag to check the key frame. More...
gboolean recordOn
 flag to check if recording is on More...
gboolean resetDone
 flag to check if encodebin is reset More...
gboolean isPlaying
 flag to check if encodebin is in playing state. More...
NvDsSRInitParams initParams
 initialization parameters More...
GMutex flowLock
 mutex to control the flow More...
GThread * resetThread
 thread to reset the encodebin More...
gpointer uData
 pointer to user provided data More...
gpointer privData
 pointer to private data More...

Field Documentation

GstElement* NvDsSRContext::encodebin

child bin to save the content to file.

Definition at line 102 of file gst-nvdssr.h.

GstElement* NvDsSRContext::filesink

filesink element

Definition at line 104 of file gst-nvdssr.h.

GMutex NvDsSRContext::flowLock

mutex to control the flow

Definition at line 116 of file gst-nvdssr.h.

gboolean NvDsSRContext::gotKeyFrame

flag to check the key frame.

Definition at line 106 of file gst-nvdssr.h.

NvDsSRInitParams NvDsSRContext::initParams

initialization parameters

Definition at line 114 of file gst-nvdssr.h.

gboolean NvDsSRContext::isPlaying

flag to check if encodebin is in playing state.

Definition at line 112 of file gst-nvdssr.h.

gpointer NvDsSRContext::privData

pointer to private data

Definition at line 122 of file gst-nvdssr.h.

GstElement* NvDsSRContext::recordbin

parent bin element.

Definition at line 98 of file gst-nvdssr.h.

gboolean NvDsSRContext::recordOn

flag to check if recording is on

Definition at line 108 of file gst-nvdssr.h.

GstElement* NvDsSRContext::recordQue

queue element to cache the content.

Definition at line 100 of file gst-nvdssr.h.

gboolean NvDsSRContext::resetDone

flag to check if encodebin is reset

Definition at line 110 of file gst-nvdssr.h.

GThread* NvDsSRContext::resetThread

thread to reset the encodebin

Definition at line 118 of file gst-nvdssr.h.

gpointer NvDsSRContext::uData

pointer to user provided data

Definition at line 120 of file gst-nvdssr.h.

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