Home
last modified time | relevance | path

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

/external/webrtc/test/testsupport/metrics/
Dvideo_metrics.cc81 const char* ref_filename, in CalculateMetrics() argument
87 assert(ref_filename != NULL); in CalculateMetrics()
92 FILE* ref_fp = fopen(ref_filename, "rb"); in CalculateMetrics()
95 fprintf(stderr, "Cannot open file %s\n", ref_filename); in CalculateMetrics()
140 "(reference file: %s test file: %s)\n", ref_filename, in CalculateMetrics()
154 int I420MetricsFromFiles(const char* ref_filename, in I420MetricsFromFiles() argument
162 return CalculateMetrics(kBoth, ref_filename, test_filename, width, height, in I420MetricsFromFiles()
166 int I420PSNRFromFiles(const char* ref_filename, in I420PSNRFromFiles() argument
172 return CalculateMetrics(kPSNR, ref_filename, test_filename, width, height, in I420PSNRFromFiles()
176 int I420SSIMFromFiles(const char* ref_filename, in I420SSIMFromFiles() argument
[all …]
Dvideo_metrics.h60 int I420MetricsFromFiles(const char* ref_filename,
82 int I420PSNRFromFiles(const char* ref_filename,
103 int I420SSIMFromFiles(const char* ref_filename,
/external/libdrm/intel/
Dtest_decode.c96 char *ref_filename; in compare_batch() local
98 ref_filename = malloc(strlen(batch_filename) + strlen(ref_suffix) + 1); in compare_batch()
99 sprintf(ref_filename, "%s%s", batch_filename, ref_suffix); in compare_batch()
103 read_file(ref_filename, &ref_ptr, &ref_size); in compare_batch()
124 ref_filename); in compare_batch()
131 free(ref_filename); in compare_batch()