FACT++  1.0
Bool_t MVideo::ReadControl ( MVideoCtrl vctrl) const

Definition at line 270 of file MVideo.cc.

References MVideoCtrl::fId, MVideoCtrl::fValue, and Ioctl().

271 {
272  struct v4l2_control ctrl = { vctrl.fId, 0 };
273  if (Ioctl(VIDIOC_G_CTRL, &ctrl)==-1)
274  return kFALSE;
275 
276  vctrl.fValue = ctrl.value;
277 
278  return kTRUE;
279 }
int Ioctl(int req, void *opt, bool allowirq=true, bool force=false) const
Definition: MVideo.cc:108
UInt_t fId
Definition: MVideo.h:30
UInt_t fValue
Definition: MVideo.h:39

+ Here is the call graph for this function: