open 285 3rdparty/libjasper/jas_stream.c if ((obj->fd = open(filename, openflags, JAS_STREAM_PERMS)) < 0) { open 374 3rdparty/libjasper/jas_stream.c if ((obj->fd = open(obj->pathname, O_CREAT | O_EXCL | O_RDWR | O_TRUNC | O_BINARY | O_TEMPORARY | _O_SHORT_LIVED, open 187 3rdparty/libtiff/tif_unix.c fd = open(name, m, 0666); open 124 3rdparty/libwebp/cpu-features/cpu-features.c fd = open(pathname, O_RDONLY); open 157 3rdparty/libwebp/cpu-features/cpu-features.c fd = open(pathname, O_RDONLY); open 442 3rdparty/libwebp/cpu-features/cpu-features.c int fd = open(filepath, O_RDONLY); open 245 3rdparty/zlib/gzlib.c open((const char *)path, oflag, 0666)); open 533 apps/traincascade/cascadeclassifier.cpp fs.open( cascadeDirName + buf + ".xml", FileStorage::READ ); open 433 modules/calib3d/test/test_stereomatching.cpp resFS.open( fullResultFilename, FileStorage::WRITE ); open 360 modules/core/include/opencv2/core/persistence.hpp CV_WRAP virtual bool open(const String& filename, int flags, const String& encoding=String()); open 5140 modules/core/src/persistence.cpp open( filename, flags, encoding ); open 325 modules/core/src/system.cpp int cpufile = open("/proc/self/auxv", O_RDONLY); open 193 modules/core/test/test_io.cpp if(!fs.open(mem ? content : filename, FileStorage::READ + (mem ? FileStorage::MEMORY : 0))) open 473 modules/core/test/test_io.cpp fs.open(fname, FileStorage::READ); open 519 modules/core/test/test_mat.cpp fs.open( "PCA_store.yml", FileStorage::READ ); open 151 modules/cudacodec/perf/perf_video.cpp writer.open(outputFile, CV_FOURCC('X', 'V', 'I', 'D'), FPS, frame.size()); open 109 modules/cudacodec/test/test_video.cpp reader.open(outputFile); open 101 modules/cudaimgproc/test/test_mean_shift.cpp fs.open(std::string(cvtest::TS::ptr()->get_data_path()) + "meanshift/spmap.yaml", cv::FileStorage::READ); open 103 modules/cudaimgproc/test/test_mean_shift.cpp fs.open(std::string(cvtest::TS::ptr()->get_data_path()) + "meanshift/spmap_CC1X.yaml", cv::FileStorage::READ); open 190 modules/cudalegacy/perf/perf_bgsegm.cpp cap.open(inputFile); open 222 modules/cudalegacy/perf/perf_bgsegm.cpp cap.open(inputFile); open 160 modules/cudaobjdetect/test/test_objdetect.cpp f.open((std::string(cvtest::TS::ptr()->get_data_path()) + "hog/expected_output.bin").c_str(), std::ios_base::binary); open 100 modules/features2d/test/test_agast.cpp fs.open(xml, FileStorage::WRITE); open 109 modules/features2d/test/test_agast.cpp fs.open(xml, FileStorage::READ); open 255 modules/features2d/test/test_descriptors_regression.cpp fs.open( string(ts->get_data_path()) + FEATURES2D_DIR + "/keypoints.xml.gz", FileStorage::WRITE ); open 213 modules/features2d/test/test_detectors_regression.cpp fs.open( resFilename, FileStorage::WRITE ); open 100 modules/features2d/test/test_fast.cpp fs.open(xml, FileStorage::WRITE); open 109 modules/features2d/test/test_fast.cpp fs.open(xml, FileStorage::READ); open 1290 modules/highgui/src/window_QT.cpp if (qss.open(QFile::ReadOnly)) open 69 modules/imgcodecs/src/bitstrm.hpp virtual bool open( const String& filename ); open 70 modules/imgcodecs/src/bitstrm.hpp virtual bool open( const Mat& buf ); open 126 modules/imgcodecs/src/bitstrm.hpp virtual bool open( const String& filename ); open 127 modules/imgcodecs/src/bitstrm.hpp virtual bool open( std::vector<uchar>& buf ); open 83 modules/imgcodecs/src/grfmt_bmp.cpp if( !m_strm.open( m_buf ) ) open 86 modules/imgcodecs/src/grfmt_bmp.cpp else if( !m_strm.open( m_filename )) open 511 modules/imgcodecs/src/grfmt_bmp.cpp if( !strm.open( *m_buf ) ) open 514 modules/imgcodecs/src/grfmt_bmp.cpp else if( !strm.open( m_filename )) open 134 modules/imgcodecs/src/grfmt_pxm.cpp if( !m_strm.open(m_buf) ) open 137 modules/imgcodecs/src/grfmt_pxm.cpp else if( !m_strm.open( m_filename )) open 388 modules/imgcodecs/src/grfmt_pxm.cpp if( !strm.open(*m_buf) ) open 395 modules/imgcodecs/src/grfmt_pxm.cpp else if( !strm.open(m_filename) ) open 79 modules/imgcodecs/src/grfmt_sunras.cpp if( !m_strm.open( m_filename )) return false; open 405 modules/imgcodecs/src/grfmt_sunras.cpp if( strm.open(m_filename) ) open 704 modules/imgcodecs/src/grfmt_tiff.cpp if( !strm.open(*m_buf) ) open 712 modules/imgcodecs/src/grfmt_tiff.cpp if( !strm.open(m_filename) ) open 174 modules/imgproc/test/test_houghLines.cpp fs.open(xml, FileStorage::APPEND); open 178 modules/imgproc/test/test_houghLines.cpp fs.open(xml, FileStorage::READ); open 76 modules/java/generator/src/java/android+JavaCameraView.java mCamera = Camera.open(); open 87 modules/java/generator/src/java/android+JavaCameraView.java mCamera = Camera.open(camIdx); open 126 modules/java/generator/src/java/android+JavaCameraView.java mCamera = Camera.open(localCameraIndex); open 251 modules/ml/test/test_mltests2.cpp validationFS.open( filename, FileStorage::READ ); open 156 modules/objdetect/test/test_cascadeandhog.cpp write_results = !validationFS.open( vs_filename, FileStorage::READ ); open 178 modules/objdetect/test/test_cascadeandhog.cpp validationFS.open( vs_filename, FileStorage::WRITE ); open 536 modules/objdetect/test/test_cascadeandhog.cpp fs.open(tempfilename, FileStorage::READ); open 152 modules/superres/src/frame_source.cpp vc_.open(fileName_); open 175 modules/superres/src/frame_source.cpp vc_.open(deviceId_); open 7544 modules/ts/src/ts_gtest.cpp const int cwd_fd = open(".", O_RDONLY); open 8362 modules/ts/src/ts_gtest.cpp const int fd = open("/proc/self/as", O_RDONLY); open 213 modules/ts/src/ts_perf.cpp if (storageIn.open(storageInPath, cv::FileStorage::READ)) open 252 modules/ts/src/ts_perf.cpp storageOut.open(storageOutPath, mode); open 414 modules/videoio/include/opencv2/videoio.hpp CV_WRAP virtual bool open(const String& filename); open 419 modules/videoio/include/opencv2/videoio.hpp CV_WRAP virtual bool open(int device); open 583 modules/videoio/include/opencv2/videoio.hpp CV_WRAP virtual bool open(const String& filename, int fourcc, double fps, open 34 modules/videoio/perf/perf_input.cpp TEST_CYCLE() cap.open(filename); open 620 modules/videoio/src/cap.cpp open(filename); open 625 modules/videoio/src/cap.cpp open(device); open 757 modules/videoio/src/cap.cpp open(filename, _fourcc, fps, frameSize, isColor); open 69 modules/videoio/src/cap_cmu.cpp virtual bool open(int cameraId); open 544 modules/videoio/src/cap_cmu.cpp if( capture->open(index) ) open 1049 modules/videoio/src/cap_dc1394.cpp virtual bool open( int index ); open 1106 modules/videoio/src/cap_dc1394.cpp if( capture->open( index )) open 207 modules/videoio/src/cap_dc1394_v2.cpp virtual bool open(int index); open 936 modules/videoio/src/cap_dc1394_v2.cpp if (capture->open(index)) open 3145 modules/videoio/src/cap_dshow.cpp open(index); open 37 modules/videoio/src/cap_dshow.hpp void open(int index); open 221 modules/videoio/src/cap_ffmpeg.cpp if( result->open( filename )) open 271 modules/videoio/src/cap_ffmpeg.cpp if( result->open( filename, fourcc, fps, frameSize, isColor != 0 )) open 227 modules/videoio/src/cap_ffmpeg_impl.hpp bool open( const char* filename ); open 999 modules/videoio/src/cap_ffmpeg_impl.hpp bool open( const char* filename, int fourcc, open 1839 modules/videoio/src/cap_ffmpeg_impl.hpp if( capture->open( filename )) open 1883 modules/videoio/src/cap_ffmpeg_impl.hpp if( writer->open( filename, fourcc, fps, width, height, isColor != 0 )) open 1916 modules/videoio/src/cap_ffmpeg_impl.hpp bool open(const char* fileName, int width, int height, double fps); open 2180 modules/videoio/src/cap_ffmpeg_impl.hpp if (stream->open(fileName, width, height, fps)) open 2234 modules/videoio/src/cap_ffmpeg_impl.hpp bool open(const char* fileName, int* codec, int* chroma_format, int* width, int* height); open 2404 modules/videoio/src/cap_ffmpeg_impl.hpp if (stream && stream->open(fileName, codec, chroma_format, width, height)) open 295 modules/videoio/src/cap_giganetix.cpp virtual bool open( int index ); open 755 modules/videoio/src/cap_giganetix.cpp if (!(capture->open( index ))) open 152 modules/videoio/src/cap_gphoto2.cpp bool open(int index); open 365 modules/videoio/src/cap_gphoto2.cpp open(index); open 377 modules/videoio/src/cap_gphoto2.cpp open(index); open 123 modules/videoio/src/cap_gstreamer.cpp virtual bool open( int type, const char* filename ); open 1022 modules/videoio/src/cap_gstreamer.cpp if( capture->open( type, filename )) open 1040 modules/videoio/src/cap_gstreamer.cpp virtual bool open( const char* filename, int fourcc, open 1568 modules/videoio/src/cap_gstreamer.cpp if( wrt->open(filename, fourcc, fps,frameSize, isColor)) open 81 modules/videoio/src/cap_images.cpp virtual bool open(const char* _filename); open 291 modules/videoio/src/cap_images.cpp if( capture->open(filename) ) open 313 modules/videoio/src/cap_images.cpp virtual bool open( const char* _filename ); open 371 modules/videoio/src/cap_images.cpp if( writer->open( filename )) open 403 modules/videoio/src/cap_libv4l.cpp deviceHandle = open(deviceName, O_RDONLY); open 1862 modules/videoio/src/cap_libv4l.cpp virtual bool open( int index ); open 1914 modules/videoio/src/cap_libv4l.cpp if( capture->open( index )) open 168 modules/videoio/src/cap_mjpeg_decoder.cpp bool open(const String& filename); open 183 modules/videoio/src/cap_mjpeg_decoder.cpp open(filename); open 700 modules/videoio/src/cap_mjpeg_decoder.cpp bool open(const String&); open 842 modules/videoio/src/cap_mjpeg_decoder.cpp open(filename); open 860 modules/videoio/src/cap_mjpeg_decoder.cpp m_file_stream.open(filename); open 360 modules/videoio/src/cap_mjpeg_encoder.cpp open(filename, fps, size, iscolor); open 394 modules/videoio/src/cap_mjpeg_encoder.cpp bool ok = strm.open(filename); open 3586 modules/videoio/src/cap_msmf.cpp virtual bool open( int index ); open 3778 modules/videoio/src/cap_msmf.cpp virtual bool open( const char* filename ); open 4032 modules/videoio/src/cap_msmf.cpp if( capture->open( index )) open 4049 modules/videoio/src/cap_msmf.cpp if( capture->open(filename) ) open 4075 modules/videoio/src/cap_msmf.cpp virtual bool open(const char* filename, int fourcc, open 4427 modules/videoio/src/cap_msmf.cpp if( writer->open( filename, fourcc, fps, frameSize, isColor != 0 )) open 234 modules/videoio/src/cap_openni2.cpp status = device.open(deviceURI); open 336 modules/videoio/src/cap_openni2.cpp status = device.open(filename); open 82 modules/videoio/src/cap_pvapi.cpp virtual bool open( int index ); open 606 modules/videoio/src/cap_pvapi.cpp if ( capture->open( index )) open 1441 modules/videoio/src/cap_qt.cpp virtual bool open( const char* filename ); open 1494 modules/videoio/src/cap_qt.cpp if( capture->open( filename )) open 1510 modules/videoio/src/cap_qt.cpp virtual bool open( int index ); open 1563 modules/videoio/src/cap_qt.cpp if( capture->open( index )) open 1578 modules/videoio/src/cap_qt.cpp virtual bool open( const char* filename, int fourcc, open 1615 modules/videoio/src/cap_qt.cpp if( writer->open( filename, fourcc, fps, frameSize, isColor != 0 )) open 62 modules/videoio/src/cap_unicap.cpp virtual bool open( int index ); open 328 modules/videoio/src/cap_unicap.cpp if( cap->open(index) ) open 381 modules/videoio/src/cap_v4l.cpp deviceHandle = open(deviceName, O_RDONLY); open 456 modules/videoio/src/cap_v4l.cpp capture->deviceHandle = open(deviceName, O_RDWR); open 498 modules/videoio/src/cap_v4l.cpp capture->deviceHandle = open (deviceName, O_RDWR /* required */ | O_NONBLOCK, 0); open 2879 modules/videoio/src/cap_v4l.cpp virtual bool open( int index ); open 2931 modules/videoio/src/cap_v4l.cpp if( capture->open( index )) open 99 modules/videoio/src/cap_vfw.cpp virtual bool open( const char* filename ); open 303 modules/videoio/src/cap_vfw.cpp if( capture->open(filename) ) open 318 modules/videoio/src/cap_vfw.cpp virtual bool open( int index ); open 654 modules/videoio/src/cap_vfw.cpp if( capture->open( index )) open 670 modules/videoio/src/cap_vfw.cpp virtual bool open( const char* filename, int fourcc, open 838 modules/videoio/src/cap_vfw.cpp if( writer->open( filename, fourcc, fps, frameSize, isColor != 0 )) open 17 modules/videoio/src/cap_ximea.cpp virtual bool open( int index ); open 44 modules/videoio/src/cap_ximea.cpp if( capture->open( index )) open 786 modules/videoio/src/cap_xine.cpp virtual bool open( const char* filename ); open 838 modules/videoio/src/cap_xine.cpp if( capture->open(filename)) open 69 modules/videostab/src/frame_source.cpp vc.open(path_); open 662 modules/videostab/src/global_motion.cpp file_.open(path.c_str()); open 682 modules/videostab/src/global_motion.cpp file_.open(path.c_str()); open 301 samples/cpp/3calibration.cpp fs.open(outputFilename, FileStorage::WRITE); open 350 samples/cpp/autofocus.cpp videoWriter.open(GlobalArgs.output, fourCC, GlobalArgs.fps, S, true); open 43 samples/cpp/bgfg_segm.cpp cap.open(0); open 45 samples/cpp/bgfg_segm.cpp cap.open(file.c_str()); open 421 samples/cpp/calibration.cpp capture.open(inputFilename); open 424 samples/cpp/calibration.cpp capture.open(cameraId); open 84 samples/cpp/camshiftdemo.cpp cap.open(camNum); open 17 samples/cpp/example_cmake/example.cpp capture.open(0); open 292 samples/cpp/intelperc_capture.cpp capture.open(CAP_INTELPERC); open 32 samples/cpp/laplace.cpp cap.open(argc == 2 ? argv[1][0] - '0' : 0); open 35 samples/cpp/laplace.cpp cap.open(argv[1]); open 51 samples/cpp/lkdemo.cpp cap.open(argc == 2 ? argv[1][0] - '0' : 0); open 53 samples/cpp/lkdemo.cpp cap.open(argv[1]); open 98 samples/cpp/logistic_regression.cpp if(f.open(filename, FileStorage::READ)) open 193 samples/cpp/openni_capture.cpp capture.open( filename ); open 196 samples/cpp/openni_capture.cpp capture.open( CAP_OPENNI2 ); open 198 samples/cpp/openni_capture.cpp capture.open( CAP_OPENNI ); open 69 samples/cpp/segment_objects.cpp cap.open(0); open 71 samples/cpp/segment_objects.cpp cap.open(std::string(argv[1])); open 475 samples/cpp/select3dobj.cpp !capture.open(inputName)) open 482 samples/cpp/select3dobj.cpp capture.open(cameraId); open 82 samples/cpp/starter_video.cpp capture.open(atoi(arg.c_str())); open 233 samples/cpp/stereo_calib.cpp fs.open("extrinsics.yml", FileStorage::WRITE); open 207 samples/cpp/stereo_match.cpp fs.open(extrinsic_filename, FileStorage::READ); open 80 samples/cpp/train_HOG.cpp file.open( (prefix+filename).c_str() ); open 373 samples/cpp/train_HOG.cpp video.open(0); open 54 samples/cpp/tutorial_code/HighGUI/video-write/video-write.cpp outputVideo.open(NAME, ex=-1, inputVideo.get(CAP_PROP_FPS), S, true); open 56 samples/cpp/tutorial_code/HighGUI/video-write/video-write.cpp outputVideo.open(NAME, ex, inputVideo.get(CAP_PROP_FPS), S, true); open 117 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp inputCapture.open(cameraID); open 119 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp inputCapture.open(input); open 5 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvReader.cpp _file.open(path.c_str(), ifstream::in); open 4 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.cpp _file.open(path.c_str(), ofstream::out); open 160 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp cap.open(video_read_path); // open a recorded video open 102 samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp fs.open(filename, FileStorage::READ); open 69 samples/cpp/tutorial_code/core/ippasync/ippasync_sample.cpp cap.open(0); open 74 samples/cpp/tutorial_code/core/ippasync/ippasync_sample.cpp cap.open(file.c_str()); open 33 samples/cpp/tutorial_code/objectDetection/objectDetection.cpp capture.open( -1 ); open 39 samples/cpp/tutorial_code/objectDetection/objectDetection2.cpp capture.open( -1 ); open 108 samples/cpp/ufacedetect.cpp if(!capture.open(c)) open 118 samples/cpp/ufacedetect.cpp if(!capture.open( inputName )) open 52 samples/cpp/videostab.cpp writer.open(outputPath, VideoWriter::fourcc('X','V','I','D'), open 156 samples/directx/d3dsample.hpp cap.open(0); open 158 samples/directx/d3dsample.hpp cap.open(file.c_str()); open 59 samples/gpu/bgfg_segm.cpp cap.open(0); open 61 samples/gpu/bgfg_segm.cpp cap.open(file); open 194 samples/gpu/cascadeclassifier.cpp capture.open(inputName); open 199 samples/gpu/cascadeclassifier.cpp capture.open(atoi(inputName.c_str())); open 186 samples/gpu/cascadeclassifier_nvidia_api.cpp if (!capture.open(inputName)) open 194 samples/gpu/cascadeclassifier_nvidia_api.cpp ncvAssertPrintReturn(capture.open(camid) != 0, "Can't open source", -1); open 271 samples/gpu/hog.cpp vc.open(args.src.c_str()); open 278 samples/gpu/hog.cpp vc.open(args.camera_id); open 357 samples/gpu/hog.cpp video_writer.open(args.dst_video, VideoWriter::fourcc('x','v','i','d'), args.dst_video_fps, open 1219 samples/gpu/performance/tests.cpp cap.open(inputFile); open 1275 samples/gpu/performance/tests.cpp cap.open(inputFile); open 157 samples/gpu/super_resolution.cpp writer.open(outputVideoName, VideoWriter::fourcc('X', 'V', 'I', 'D'), 25.0, result.size()); open 64 samples/gpu/video_writer.cpp if (!writer.open("output_cpu.avi", cv::VideoWriter::fourcc('X', 'V', 'I', 'D'), FPS, frame.size())) open 48 samples/tapi/bgfg_segm.cpp cap.open(0); open 50 samples/tapi/bgfg_segm.cpp cap.open(file); open 81 samples/tapi/camshift.cpp cap.open(camNum); open 76 samples/tapi/clahe.cpp capture.open(camid); open 167 samples/tapi/hog.cpp vc.open(vdo_source.c_str()); open 174 samples/tapi/hog.cpp vc.open(camera_id); open 247 samples/tapi/hog.cpp video_writer.open(output, VideoWriter::fourcc('x','v','i','d'), 24, open 127 samples/tapi/pyrlk_optical_flow.cpp capture.open( inputName ); open 129 samples/tapi/pyrlk_optical_flow.cpp capture.open(vdofile.c_str()); open 131 samples/tapi/tvl1_optical_flow.cpp capture.open( inputName ); open 133 samples/tapi/tvl1_optical_flow.cpp capture.open(vdofile.c_str()); open 65 samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/main.cpp cam.open(0);