FACT++  1.0
void MVideo::Reset ( )
private

Definition at line 86 of file MVideo.cc.

References video_channel::channel, fAbil, fCaps, fChannel, fControls, fFileDesc, fInputs, fMapBuffer, fStandards, and video_tuner::tuner.

Referenced by Close(), and MVideo().

87 {
88  fInputs.clear();
89  fStandards.clear();
90 
91  memset(&fCaps, 0, sizeof(fCaps));
92  memset(&fChannel, 0, sizeof(fChannel));
93 // memset(&fBuffer, 0, sizeof(fBuffer));
94  memset(&fAbil, 0, sizeof(fAbil));
95 
96  fFileDesc = -1;
97  fMapBuffer = 0;
98  fChannel.channel = -1;
99  fAbil.tuner = -1;
100 
101  fControls.Delete();
102 }
int fFileDesc
Definition: MVideo.h:54
std::vector< v4l2_standard > fStandards
Definition: MVideo.h:68
struct video_capability fCaps
Definition: MVideo.h:59
TList fControls
Definition: MVideo.h:71
struct video_channel fChannel
Definition: MVideo.h:60
struct video_tuner fAbil
Definition: MVideo.h:63
int tuner
Definition: videodev.h:87
unsigned char * fMapBuffer
Definition: MVideo.h:56
std::vector< v4l2_input > fInputs
Definition: MVideo.h:67

+ Here is the caller graph for this function: