Home | History | Annotate | Download | only in src

Lines Matching refs:format

85     bool setFormat(int format);
89 int format; // 0-2, 7 ?
105 // stupid defines for mode, format, FPS
129 // given color, size, output format
154 // given format, mode, return COLOR
206 // return the opencv depth flag corresponding to the camera format
210 int format = cmucam->GetVideoFormat();
214 if( format==7 ) {
219 if( format > 1 )
220 format = 1;
222 if( CV_CAP_IEEE1394_COLOR[format][mode]==CV_CAP_IEEE1394_COLOR_MONO16 )
232 int format = cmucam->GetVideoFormat();
235 if( format==7 ){
241 if( format > 1 )
242 format = 1;
244 switch(CV_CAP_IEEE1394_COLOR[format][mode]){
323 // set initial format -- try to pick best frame rate first, then color, then size
331 int format = CV_CAP_IEEE1394_FORMAT[size][color];
333 if (format!=-1 && mode!=-1 &&
334 CMU_theCamera[_index].HasVideoFrameRate(format,mode,rate))
336 CMU_theCamera[_index].SetVideoFormat(format);
345 // try format 7
350 // no format found
453 int format;
457 format = cmucam->GetVideoFormat();
458 if( mode < 0 || mode > 7 || !cmucam->HasVideoMode(format, mode))
468 int format, mode;
473 format = cmucam->GetVideoFormat();
474 if( rate < 0 || rate > 5 || !cmucam->HasVideoFrameRate(format, mode, rate) )
482 bool CvCaptureCAM_CMU::setFormat(int format)
487 if( format < 0 || format > 2 || !cmucam->HasVideoFormat(format) )
490 cmucam->SetVideoFormat(format);