Lines Matching refs:ts

153     ts->printf(ts->LOG, "reading image : %s\n", _name.c_str());  in ImageTest()
160 ts->set_failed_test_info(ts->FAIL_MISSING_TEST_DATA); in ImageTest()
190 ts->printf(ts->LOG, " full_name : %s\n", full_name.c_str()); in ImageTest()
197 ts->printf(ts->LOG, "Reading failed at fmt=%s\n", ext.c_str()); in ImageTest()
198 ts->set_failed_test_info(ts->FAIL_MISMATCH); in ImageTest()
206ts->printf(ts->LOG, "Reading image from file: too big difference (=%g) with fmt=%s\n", psnr, ext.c… in ImageTest()
207 ts->set_failed_test_info(ts->FAIL_BAD_ACCURACY); in ImageTest()
226 ts->printf(ts->LOG, "Encoding failed with fmt=%s\n", ext.c_str()); in ImageTest()
227 ts->set_failed_test_info(ts->FAIL_MISMATCH); in ImageTest()
235 ts->printf(ts->LOG, "Decoding failed with fmt=%s\n", ext.c_str()); in ImageTest()
236 ts->set_failed_test_info(ts->FAIL_MISMATCH); in ImageTest()
244ts->printf(ts->LOG, "Decoding image from memory: too small PSNR (=%gdb) with fmt=%s\n", psnr, ext.… in ImageTest()
245 ts->set_failed_test_info(ts->FAIL_MISMATCH); in ImageTest()
251 ts->printf(ts->LOG, "end test function : ImagesTest \n"); in ImageTest()
252 ts->set_failed_test_info(ts->OK); in ImageTest()
261ts->printf(ts->LOG, "reading video : %s and converting it to %s\n", src_file.c_str(), tmp_name.c_s… in VideoTest()
267 ts->set_failed_test_info(ts->FAIL_MISMATCH); in VideoTest()
288 ts->printf(ts->LOG, "can't create writer (with fourcc : %s)\n", in VideoTest()
291 ts->set_failed_test_info(ts->FAIL_MISMATCH); in VideoTest()
305 ts->set_failed_test_info(ts->FAIL_MISMATCH); in VideoTest()
324 ts->printf(ts->LOG, "Too low frame %d psnr = %gdb\n", i, psnr); in VideoTest()
325 ts->set_failed_test_info(ts->FAIL_MISMATCH); in VideoTest()
339 ts->printf(ts->LOG, "end test function : ImagesVideo \n"); in VideoTest()
354 ts->set_failed_test_info(ts->FAIL_MISSING_TEST_DATA); in SpecificImageTest()
363 ts->printf(ts->LOG, " full_name : %s\n", full_name.c_str()); in SpecificImageTest()
370 ts->printf(ts->LOG, "Reading failed at fmt=bmp\n"); in SpecificImageTest()
371 ts->set_failed_test_info(ts->FAIL_MISMATCH); in SpecificImageTest()
379ts->printf(ts->LOG, "Reading image from file: too big difference (=%g) with fmt=bmp\n", psnr); in SpecificImageTest()
380 ts->set_failed_test_info(ts->FAIL_BAD_ACCURACY); in SpecificImageTest()
399 ts->printf(ts->LOG, "Encoding failed with fmt=bmp\n"); in SpecificImageTest()
400 ts->set_failed_test_info(ts->FAIL_MISMATCH); in SpecificImageTest()
408 ts->printf(ts->LOG, "Decoding failed with fmt=bmp\n"); in SpecificImageTest()
409 ts->set_failed_test_info(ts->FAIL_MISMATCH); in SpecificImageTest()
417ts->printf(ts->LOG, "Decoding image from memory: too small PSNR (=%gdb) with fmt=bmp\n", psnr); in SpecificImageTest()
418 ts->set_failed_test_info(ts->FAIL_MISMATCH); in SpecificImageTest()
423 ts->printf(ts->LOG, "end test function : SpecificImageTest \n"); in SpecificImageTest()
424 ts->set_failed_test_info(ts->OK); in SpecificImageTest()
443 ts->printf(ts->LOG, "Creating a video in %s...\n", video_file.c_str()); in SpecificVideoTest()
444ts->printf(ts->LOG, "Cannot create VideoWriter object with codec %s.\n", fourcc_str.c_str()); in SpecificVideoTest()
445 ts->set_failed_test_info(ts->FAIL_MISMATCH); in SpecificVideoTest()
459 ts->printf(ts->LOG, "Creating a video in %s...\n", video_file.c_str()); in SpecificVideoTest()
460 ts->printf(ts->LOG, "Error: cannot read frame from %s.\n", file_path.c_str()); in SpecificVideoTest()
461 ts->printf(ts->LOG, "Continue creating the video file...\n"); in SpecificVideoTest()
462 ts->set_failed_test_info(ts->FAIL_INVALID_TEST_DATA); in SpecificVideoTest()
503ts->printf(ts->LOG, "\nFrame count checking for video_%s.%s...\n", fourcc_str.c_str(), ext.c_str()… in SpecificVideoTest()
504 ts->printf(ts->LOG, "Video codec: %s\n", fourcc_str.c_str()); in SpecificVideoTest()
506 ts->printf(ts->LOG, "Required frame count: %d-%d; Returned frame count: %d\n", in SpecificVideoTest()
509ts->printf(ts->LOG, "Required frame count: %d; Returned frame count: %d\n", IMAGE_COUNT, FRAME_COU… in SpecificVideoTest()
510 ts->printf(ts->LOG, "Error: Incorrect frame count in the video.\n"); in SpecificVideoTest()
511 ts->printf(ts->LOG, "Continue checking...\n"); in SpecificVideoTest()
512 ts->set_failed_test_info(ts->FAIL_BAD_ACCURACY); in SpecificVideoTest()
521 ts->printf(ts->LOG, "\nVideo file directory: %s\n", "."); in SpecificVideoTest()
522 ts->printf(ts->LOG, "File name: video_%s.%s\n", fourcc_str.c_str(), ext.c_str()); in SpecificVideoTest()
523 ts->printf(ts->LOG, "Video codec: %s\n", fourcc_str.c_str()); in SpecificVideoTest()
524 ts->printf(ts->LOG, "Error: cannot read the next frame with index %d.\n", i+1); in SpecificVideoTest()
525 ts->set_failed_test_info(ts->FAIL_MISSING_TEST_DATA); in SpecificVideoTest()
536ts->printf(ts->LOG, "\nReading frame from the file video_%s.%s...\n", fourcc_str.c_str(), ext.c_st… in SpecificVideoTest()
537 ts->printf(ts->LOG, "Frame index: %d\n", i+1); in SpecificVideoTest()
538 ts->printf(ts->LOG, "Difference between saved and original images: %g\n", psnr); in SpecificVideoTest()
539 ts->printf(ts->LOG, "Maximum allowed difference: %g\n", thresDbell); in SpecificVideoTest()
540 ts->printf(ts->LOG, "Error: too big difference between saved and original images.\n"); in SpecificVideoTest()
548 ImageTest(ts->get_data_path()); in run()
553 SpecificImageTest(ts->get_data_path()); in run()
563 VideoTest(ts->get_data_path(), fmt); in run()
574 SpecificVideoTest(ts->get_data_path(), fmt); in run()