Home
last modified time | relevance | path

Searched refs:ref_filename (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/test/testsupport/metrics/
Dvideo_metrics.cc84 const char* ref_filename, in CalculateMetrics() argument
90 assert(ref_filename != NULL); in CalculateMetrics()
95 FILE* ref_fp = fopen(ref_filename, "rb"); in CalculateMetrics()
98 fprintf(stderr, "Cannot open file %s\n", ref_filename); in CalculateMetrics()
153 "(reference file: %s test file: %s)\n", ref_filename, in CalculateMetrics()
165 int I420MetricsFromFiles(const char* ref_filename, in I420MetricsFromFiles() argument
173 return CalculateMetrics(kBoth, ref_filename, test_filename, width, height, in I420MetricsFromFiles()
177 int I420PSNRFromFiles(const char* ref_filename, in I420PSNRFromFiles() argument
183 return CalculateMetrics(kPSNR, ref_filename, test_filename, width, height, in I420PSNRFromFiles()
187 int I420SSIMFromFiles(const char* ref_filename, in I420SSIMFromFiles() argument
[all …]
Dvideo_metrics.h66 int I420MetricsFromFiles(const char* ref_filename,
91 int I420PSNRFromFiles(const char* ref_filename,
112 int I420SSIMFromFiles(const char* ref_filename,
/external/libdrm/intel/
Dtest_decode.c99 char *ref_filename; in compare_batch() local
101 ref_filename = malloc(strlen(batch_filename) + strlen(ref_suffix) + 1); in compare_batch()
102 sprintf(ref_filename, "%s%s", batch_filename, ref_suffix); in compare_batch()
106 read_file(ref_filename, &ref_ptr, &ref_size); in compare_batch()
127 ref_filename); in compare_batch()
134 free(ref_filename); in compare_batch()
/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_processing_unittest.cc1812 const std::string ref_filename = test::TempFilename( in VerifyDebugDumpTest() local
1817 ProcessDebugDump(in_filename, ref_filename, format); in VerifyDebugDumpTest()
1818 ProcessDebugDump(ref_filename, out_filename, format); in VerifyDebugDumpTest()
1820 FILE* ref_file = fopen(ref_filename.c_str(), "rb"); in VerifyDebugDumpTest()
1842 remove(ref_filename.c_str()); in VerifyDebugDumpTest()