Lines Matching refs:frameWidth
100 bool resizeCaptureFrame (int frameWidth, int frameHeight);
187 tPvUint32 frameWidth, frameHeight; in open() local
190 PvAttrUint32Get(Camera.Handle, "Width", &frameWidth); in open()
203 resizeCaptureFrame(frameWidth, frameHeight); in open()
519 bool CvCaptureCAM_PvAPI::resizeCaptureFrame (int frameWidth, int frameHeight) in resizeCaptureFrame() argument
543 if ((frameWidth < 0) || ((tPvUint32)frameWidth > sensorWidth)) in resizeCaptureFrame()
545 frameWidth = sensorWidth; in resizeCaptureFrame()
559 if (PvAttrUint32Set(Camera.Handle, "Width", frameWidth) != ePvErrSuccess) in resizeCaptureFrame()
570 frame = cvCreateImage(cvSize((int)frameWidth, (int)frameHeight), IPL_DEPTH_8U, 1); in resizeCaptureFrame()
571 frame->widthStep = (int)frameWidth; in resizeCaptureFrame()
577 frame = cvCreateImage(cvSize((int)frameWidth, (int)frameHeight), IPL_DEPTH_16U, 1); in resizeCaptureFrame()
578 frame->widthStep = (int)frameWidth*2; in resizeCaptureFrame()
584 frame = cvCreateImage(cvSize((int)frameWidth, (int)frameHeight), IPL_DEPTH_8U, 3); in resizeCaptureFrame()
585 frame->widthStep = (int)frameWidth*3; in resizeCaptureFrame()
591 frame = cvCreateImage(cvSize((int)frameWidth, (int)frameHeight), IPL_DEPTH_8U, 4); in resizeCaptureFrame()
592 frame->widthStep = (int)frameWidth*4; in resizeCaptureFrame()