Lines Matching refs:fourcc
52 string fourccToString(int fourcc) in fourccToString() argument
54 …return format("%c%c%c%c", fourcc & 255, (fourcc >> 8) & 255, (fourcc >> 16) & 255, (fourcc >> 24) … in fourccToString()
88 VideoFormat("avi", VideoWriter::fourcc('X', 'V', 'I', 'D')),
89 VideoFormat("avi", VideoWriter::fourcc('M', 'P', 'E', 'G')),
90 VideoFormat("avi", VideoWriter::fourcc('M', 'J', 'P', 'G')),
92 VideoFormat("mkv", VideoWriter::fourcc('X', 'V', 'I', 'D')),
93 VideoFormat("mkv", VideoWriter::fourcc('M', 'P', 'E', 'G')),
94 VideoFormat("mkv", VideoWriter::fourcc('M', 'J', 'P', 'G')),
96 VideoFormat("mov", VideoWriter::fourcc('m', 'p', '4', 'v')),
259 string tmp_name = cv::tempfile((cvtest::fourccToString(fmt.fourcc) + "." + fmt.ext).c_str()); in VideoTest()
285 writer = cvCreateVideoWriter(tmp_name.c_str(), fmt.fourcc, 24, cvGetSize(img)); in VideoTest()
289 cvtest::fourccToString(fmt.fourcc).c_str()); in VideoTest()
431 int fourcc = fmt.fourcc; in SpecificVideoTest() local
433 string fourcc_str = cvtest::fourccToString(fourcc); in SpecificVideoTest()
437 VideoWriter writer(video_file, fourcc, 25, frame_size, true); in SpecificVideoTest()
442 VideoWriter writer2(video_file, fourcc, 25, frame_size, true); in SpecificVideoTest()
492 if (fourcc == VideoWriter::fourcc('M', 'P', 'E', 'G') && ext == "mkv") in SpecificVideoTest()