Lines Matching refs:image_width
56 int image_width = 0, image_height = 0; variable
176 image_width = atoi(argv[++c]); // NOLINT in ParseOptions()
210 if (image_width == 0 || image_height == 0) { in ParseOptions()
220 image_width = org_width; in ParseOptions()
227 image_width = org_width; in ParseOptions()
231 image_width = rec_width; in ParseOptions()
278 distorted_frame->y = CalcSSIM(ch_org, ch_rec, image_width, image_height); in UpdateMetrics()
280 CalcSSIM(u_org, u_rec, (image_width + 1) / 2, (image_height + 1) / 2); in UpdateMetrics()
282 CalcSSIM(v_org, v_rec, (image_width + 1) / 2, (image_height + 1) / 2); in UpdateMetrics()
355 const int y_size = image_width * image_height; in main()
356 const int uv_size = ((image_width + 1) / 2) * ((image_height + 1) / 2); in main()
412 printf("Size: %dx%d\n", image_width, image_height); in main()
443 if (0 != libyuv::MJPGToI420(ch_jpeg, bytes_org, ch_org, image_width, in main()
444 ch_org + y_size, (image_width + 1) / 2, in main()
446 (image_width + 1) / 2, image_width, in main()
447 image_height, image_width, image_height)) { in main()
467 if (0 != libyuv::MJPGToI420(ch_jpeg, bytes_rec, ch_rec, image_width, in main()
468 ch_rec + y_size, (image_width + 1) / 2, in main()
470 (image_width + 1) / 2, image_width, in main()
471 image_height, image_width, image_height)) { in main()