deviceNumber 597 modules/core/include/opencv2/core/ocl.hpp int deviceNumber() const; deviceNumber 118 modules/ts/src/ocl_test.cpp for (int j = 0; j < platform->deviceNumber(); j++) deviceNumber 503 modules/videoio/src/cap_dshow.cpp void setAutoReconnectOnFreeze(int deviceNumber, bool doReconnect, int numMissedFramesBeforeReconnect); deviceNumber 515 modules/videoio/src/cap_dshow.cpp bool setFourcc(int deviceNumber, int fourcc); deviceNumber 522 modules/videoio/src/cap_dshow.cpp bool setFormat(int deviceNumber, int format); deviceNumber 1148 modules/videoio/src/cap_dshow.cpp void videoInput::setIdealFramerate(int deviceNumber, int idealFramerate){ deviceNumber 1149 modules/videoio/src/cap_dshow.cpp if(deviceNumber >= VI_MAX_CAMERAS || VDList[deviceNumber]->readyToCapture) return; deviceNumber 1152 modules/videoio/src/cap_dshow.cpp VDList[deviceNumber]->requestedFrameTime = (unsigned long)(10000000 / idealFramerate); deviceNumber 1162 modules/videoio/src/cap_dshow.cpp void videoInput::setAutoReconnectOnFreeze(int deviceNumber, bool doReconnect, int numMissedFramesBeforeReconnect){ deviceNumber 1163 modules/videoio/src/cap_dshow.cpp if(deviceNumber >= VI_MAX_CAMERAS) return; deviceNumber 1165 modules/videoio/src/cap_dshow.cpp VDList[deviceNumber]->autoReconnect = doReconnect; deviceNumber 1166 modules/videoio/src/cap_dshow.cpp VDList[deviceNumber]->nFramesForReconnect = numMissedFramesBeforeReconnect; deviceNumber 1176 modules/videoio/src/cap_dshow.cpp bool videoInput::setupDevice(int deviceNumber){ deviceNumber 1177 modules/videoio/src/cap_dshow.cpp if(deviceNumber >= VI_MAX_CAMERAS || VDList[deviceNumber]->readyToCapture) return false; deviceNumber 1179 modules/videoio/src/cap_dshow.cpp if(setup(deviceNumber))return true; deviceNumber 1189 modules/videoio/src/cap_dshow.cpp bool videoInput::setupDevice(int deviceNumber, int _connection){ deviceNumber 1190 modules/videoio/src/cap_dshow.cpp if(deviceNumber >= VI_MAX_CAMERAS || VDList[deviceNumber]->readyToCapture) return false; deviceNumber 1192 modules/videoio/src/cap_dshow.cpp setPhyCon(deviceNumber, _connection); deviceNumber 1193 modules/videoio/src/cap_dshow.cpp if(setup(deviceNumber))return true; deviceNumber 1203 modules/videoio/src/cap_dshow.cpp bool videoInput::setupDevice(int deviceNumber, int w, int h){ deviceNumber 1204 modules/videoio/src/cap_dshow.cpp if(deviceNumber >= VI_MAX_CAMERAS || VDList[deviceNumber]->readyToCapture) return false; deviceNumber 1206 modules/videoio/src/cap_dshow.cpp setAttemptCaptureSize(deviceNumber,w,h); deviceNumber 1207 modules/videoio/src/cap_dshow.cpp if(setup(deviceNumber))return true; deviceNumber 1218 modules/videoio/src/cap_dshow.cpp bool videoInput::setupDeviceFourcc(int deviceNumber, int w, int h,int fourcc){ deviceNumber 1219 modules/videoio/src/cap_dshow.cpp if(deviceNumber >= VI_MAX_CAMERAS || VDList[deviceNumber]->readyToCapture) return false; deviceNumber 1224 modules/videoio/src/cap_dshow.cpp setAttemptCaptureSize(deviceNumber,w,h,*mediaType); deviceNumber 1227 modules/videoio/src/cap_dshow.cpp setAttemptCaptureSize(deviceNumber,w,h); deviceNumber 1229 modules/videoio/src/cap_dshow.cpp if(setup(deviceNumber))return true; deviceNumber 1239 modules/videoio/src/cap_dshow.cpp bool videoInput::setupDevice(int deviceNumber, int w, int h, int _connection){ deviceNumber 1240 modules/videoio/src/cap_dshow.cpp if(deviceNumber >= VI_MAX_CAMERAS || VDList[deviceNumber]->readyToCapture) return false; deviceNumber 1242 modules/videoio/src/cap_dshow.cpp setAttemptCaptureSize(deviceNumber,w,h); deviceNumber 1243 modules/videoio/src/cap_dshow.cpp setPhyCon(deviceNumber, _connection); deviceNumber 1244 modules/videoio/src/cap_dshow.cpp if(setup(deviceNumber))return true; deviceNumber 1256 modules/videoio/src/cap_dshow.cpp bool videoInput::setFormat(int deviceNumber, int format){ deviceNumber 1257 modules/videoio/src/cap_dshow.cpp if(deviceNumber >= VI_MAX_CAMERAS || !VDList[deviceNumber]->readyToCapture) return false; deviceNumber 1262 modules/videoio/src/cap_dshow.cpp VDList[deviceNumber]->formatType = formatTypes[format]; deviceNumber 1263 modules/videoio/src/cap_dshow.cpp VDList[deviceNumber]->specificFormat = true; deviceNumber 1265 modules/videoio/src/cap_dshow.cpp if(VDList[deviceNumber]->specificFormat){ deviceNumber 1267 modules/videoio/src/cap_dshow.cpp HRESULT hr = getDevice(&VDList[deviceNumber]->pVideoInputFilter, deviceNumber, VDList[deviceNumber]->wDeviceName, VDList[deviceNumber]->nDeviceName); deviceNumber 1273 modules/videoio/src/cap_dshow.cpp hr = VDList[deviceNumber]->pCaptureGraph->FindInterface(NULL, &MEDIATYPE_Video, VDList[deviceNumber]->pVideoInputFilter, IID_IAMAnalogVideoDecoder, (void **)&pVideoDec); deviceNumber 1277 modules/videoio/src/cap_dshow.cpp if(VDList[deviceNumber]->pVideoInputFilter)VDList[deviceNumber]->pVideoInputFilter->Release(); deviceNumber 1278 modules/videoio/src/cap_dshow.cpp if(VDList[deviceNumber]->pVideoInputFilter)VDList[deviceNumber]->pVideoInputFilter = NULL; deviceNumber 1285 modules/videoio/src/cap_dshow.cpp if( SUCCEEDED(hr) && (lValue & VDList[deviceNumber]->formatType) ) deviceNumber 1287 modules/videoio/src/cap_dshow.cpp hr = pVideoDec->put_TVFormat(VDList[deviceNumber]->formatType); deviceNumber 2089 modules/videoio/src/cap_dshow.cpp bool videoInput::setup(int deviceNumber){ deviceNumber 2092 modules/videoio/src/cap_dshow.cpp if(deviceNumber>devicesFound-1) deviceNumber 2094 modules/videoio/src/cap_dshow.cpp DebugPrintOut("SETUP: device[%i] not found - you have %i devices available\n", deviceNumber, devicesFound); deviceNumber 2099 modules/videoio/src/cap_dshow.cpp if(VDList[deviceNumber]->readyToCapture) deviceNumber 2101 modules/videoio/src/cap_dshow.cpp DebugPrintOut("SETUP: can't setup, device %i is currently being used\n",VDList[deviceNumber]->myID); deviceNumber 2105 modules/videoio/src/cap_dshow.cpp HRESULT hr = start(deviceNumber, VDList[deviceNumber]);