Lines Matching refs:cur_rec
348 for (int cur_rec = 0; cur_rec < num_rec; ++cur_rec) { in main() local
349 file_rec[cur_rec] = fopen(argv[fileindex_rec + cur_rec], "rb"); in main()
350 if (file_rec[cur_rec] == NULL) { in main()
351 fprintf(stderr, "Cannot open %s\n", argv[fileindex_rec + cur_rec]); in main()
353 for (int i = 0; i < cur_rec; ++i) { in main()
372 for (int cur_rec = 0; cur_rec < num_rec; ++cur_rec) { in main() local
375 file_rec[cur_rec], in main()
379 fseek(file_rec[cur_rec], num_skip_rec * total_size, SEEK_SET); in main()
399 for (int cur_rec = 0; cur_rec < num_rec; ++cur_rec) { in main() local
400 metric* cur_distortion_psnr = &distortion_psnr[cur_rec]; in main()
414 distortion_ssim[cur_rec] = cur_distortion_psnr[cur_rec]; in main()
464 for (int cur_rec = 0; cur_rec < num_rec; ++cur_rec) { in main() local
466 fread(ch_rec, sizeof(uint8_t), total_size, file_rec[cur_rec]); in main()
493 metric* cur_distortion_psnr = &distortion_psnr[cur_rec]; in main()
507 metric* cur_distortion_ssim = &distortion_ssim[cur_rec]; in main()
521 printf("\t%s", argv[fileindex_rec + cur_rec]); in main()
529 for (int cur_rec = 0; cur_rec < num_rec; ++cur_rec) { in main() local
530 metric* cur_distortion_psnr = &distortion_psnr[cur_rec]; in main()
531 metric* cur_distortion_ssim = &distortion_ssim[cur_rec]; in main()
560 printf("\t%s", argv[fileindex_rec + cur_rec]); in main()
578 printf("\t%s", argv[fileindex_rec + cur_rec]); in main()
597 printf("\t%s", argv[fileindex_rec + cur_rec]); in main()
618 printf("\t%s", argv[fileindex_rec + cur_rec]); in main()
624 for (int cur_rec = 0; cur_rec < num_rec; ++cur_rec) { in main() local
625 fclose(file_rec[cur_rec]); in main()