Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PVideoInputDevice_1394DC::Stop (  )  [virtual]

Stop the video device I/O capture.

Implements PVideoDevice.

Definition at line 528 of file video4dc1394.cxx.

References IsCapturing().

Referenced by Close(), SetChannel(), and SetFrameSize().

{
  if (IsCapturing()) {
    dc1394_stop_iso_transmission(handle,camera.node);
    if (UseDMA) {
    dc1394_dma_unlisten(handle, &camera);
    dc1394_dma_release_camera(handle,&camera);
    } else
      dc1394_release_camera(handle,&camera);
    is_capturing = FALSE;
    return TRUE;
  } else
    return FALSE;
}


Generated by  Doxygen 1.6.0   Back to index