Lines Matching refs:Camera

110     tCamera  Camera;  member in CvCaptureCAM_PvAPI
118 memset(&this->Camera, 0, sizeof(this->Camera)); in CvCaptureCAM_PvAPI()
138 PvCameraClose(Camera.Handle); in close()
164 Camera.UID = cameraList[index].UniqueId; in open()
166 if (!PvCameraInfo(Camera.UID,&camInfo) && !PvCameraIpSettingsGet(Camera.UID,&ipSettings)) in open()
185 if (PvCameraOpen(Camera.UID, ePvAccessMaster, &(Camera.Handle))==ePvErrSuccess) in open()
190 PvAttrUint32Get(Camera.Handle, "Width", &frameWidth); in open()
191 PvAttrUint32Get(Camera.Handle, "Height", &frameHeight); in open()
200 if (PvCaptureAdjustPacketSize(Camera.Handle,maxSize)!=ePvErrSuccess) in open()
216 return PvCaptureQueueFrame(Camera.Handle, &(Camera.Frame), NULL) == ePvErrSuccess; in grabFrame()
222 if (PvCaptureWaitForFrameDone(Camera.Handle, &(Camera.Frame), 1000) == ePvErrSuccess) in retrieveFrame()
236 PvAttrUint32Get(Camera.Handle, "Width", &nTemp); in getProperty()
239 PvAttrUint32Get(Camera.Handle, "Height", &nTemp); in getProperty()
242 PvAttrUint32Get(Camera.Handle,"ExposureValue",&nTemp); in getProperty()
246 PvAttrFloat32Get(Camera.Handle, "StatFrameRate", &nfTemp); in getProperty()
251 PvAttrEnumGet(Camera.Handle,"MulticastEnable",mEnable,sizeof(mEnable),NULL); in getProperty()
260 PvAttrStringGet(Camera.Handle, "MulticastIPAddress",mIp,sizeof(mIp),NULL); in getProperty()
265 PvAttrUint32Get(Camera.Handle, "GainValue", &nTemp); in getProperty()
269 PvAttrEnumGet(Camera.Handle, "FrameStartTriggerMode", triggerMode, 256, NULL); in getProperty()
283 PvAttrUint32Get(Camera.Handle, "DecimationHorizontal", &nTemp); in getProperty()
286 PvAttrUint32Get(Camera.Handle, "DecimationVertical", &nTemp); in getProperty()
289 PvAttrUint32Get(Camera.Handle,"BinningX",&nTemp); in getProperty()
292 PvAttrUint32Get(Camera.Handle,"BinningY",&nTemp); in getProperty()
296 PvAttrEnumGet(Camera.Handle, "PixelFormat", pixelFormat,256,NULL); in getProperty()
327 PvAttrUint32Get(Camera.Handle, "Height", &currHeight); in setProperty()
345 PvAttrUint32Get(Camera.Handle, "Width", &currWidth); in setProperty()
361 if ((PvAttrUint32Set(Camera.Handle,"ExposureValue",(tPvUint32)value)==ePvErrSuccess)) in setProperty()
368 if ((PvAttrEnumSet(Camera.Handle,"MulticastEnable", "Off")==ePvErrSuccess)) in setProperty()
376 if ((PvAttrEnumSet(Camera.Handle,"MulticastEnable", "On")==ePvErrSuccess) && in setProperty()
377 (PvAttrStringSet(Camera.Handle, "MulticastIPAddress", ip.c_str())==ePvErrSuccess)) in setProperty()
383 if (PvAttrUint32Set(Camera.Handle,"GainValue",(tPvUint32)value)!=ePvErrSuccess) in setProperty()
390 error = PvAttrEnumSet(Camera.Handle, "FrameStartTriggerMode", "Freerun"); in setProperty()
392 error = PvAttrEnumSet(Camera.Handle, "FrameStartTriggerMode", "SyncIn1"); in setProperty()
394 error = PvAttrEnumSet(Camera.Handle, "FrameStartTriggerMode", "SyncIn2"); in setProperty()
396 error = PvAttrEnumSet(Camera.Handle, "FrameStartTriggerMode", "FixedRate"); in setProperty()
398 error = PvAttrEnumSet(Camera.Handle, "FrameStartTriggerMode", "Software"); in setProperty()
407 error = PvAttrUint32Set(Camera.Handle, "DecimationHorizontal", value); in setProperty()
416 error = PvAttrUint32Set(Camera.Handle, "DecimationVertical", value); in setProperty()
424 error = PvAttrUint32Set(Camera.Handle, "BinningX", value); in setProperty()
430 error = PvAttrUint32Set(Camera.Handle, "BinningY", value); in setProperty()
458 if ((PvAttrEnumSet(Camera.Handle,"PixelFormat", pixelFormat.c_str())==ePvErrSuccess)) in setProperty()
463 PvAttrUint32Get(Camera.Handle, "Width", &currWidth); in setProperty()
464 PvAttrUint32Get(Camera.Handle, "Height", &currHeight); in setProperty()
488 PvCommandRun(Camera.Handle, "AcquisitionStop"); in stopCapture()
489 PvCaptureEnd(Camera.Handle); in stopCapture()
495 PvCaptureStart(Camera.Handle); in startCapture()
498 if(PvAttrEnumSet(Camera.Handle, "AcquisitionMode", "Continuous")!= ePvErrSuccess) in startCapture()
504 if(PvCommandRun(Camera.Handle, "AcquisitionStart")!= ePvErrSuccess) in startCapture()
510 if(PvAttrEnumSet(Camera.Handle, "FrameStartTriggerMode", "Freerun")!= ePvErrSuccess) in startCapture()
532 if (PvAttrUint32Get(Camera.Handle, "SensorWidth", &sensorWidth) != ePvErrSuccess) in resizeCaptureFrame()
537 if (PvAttrUint32Get(Camera.Handle, "SensorHeight", &sensorHeight) != ePvErrSuccess) in resizeCaptureFrame()
554 if (PvAttrUint32Set(Camera.Handle, "Height", frameHeight) != ePvErrSuccess) in resizeCaptureFrame()
559 if (PvAttrUint32Set(Camera.Handle, "Width", frameWidth) != ePvErrSuccess) in resizeCaptureFrame()
564 PvAttrEnumGet(Camera.Handle, "PixelFormat", pixelFormat,256,NULL); in resizeCaptureFrame()
565 PvAttrUint32Get(Camera.Handle, "TotalBytesPerFrame", &frameSize); in resizeCaptureFrame()
572 Camera.Frame.ImageBufferSize = frameSize; in resizeCaptureFrame()
573 Camera.Frame.ImageBuffer = frame->imageData; in resizeCaptureFrame()
579 Camera.Frame.ImageBufferSize = frameSize; in resizeCaptureFrame()
580 Camera.Frame.ImageBuffer = frame->imageData; in resizeCaptureFrame()
586 Camera.Frame.ImageBufferSize = frameSize; in resizeCaptureFrame()
587 Camera.Frame.ImageBuffer = frame->imageData; in resizeCaptureFrame()
593 Camera.Frame.ImageBufferSize = frameSize; in resizeCaptureFrame()
594 Camera.Frame.ImageBuffer = frame->imageData; in resizeCaptureFrame()