예제 #1
0
void cv::gpu::detail::CuvidVideoSource::stop()
{
    cuSafeCall( cuvidSetVideoSourceState(videoSource_, cudaVideoState_Stopped) );
}
예제 #2
0
	void
		VideoSource::stop()
	{
		CUresult oResult = cuvidSetVideoSourceState(hVideoSource_, cudaVideoState_Stopped);
		assert(CUDA_SUCCESS == oResult);
	}