Searched refs:ch_rec (Results 1 – 2 of 2) sorted by relevance
/external/libyuv/files/util/ |
D | psnr_main.cc | 244 uint8_t* ch_rec, in UpdateMetrics() argument 254 const uint8_t* const u_rec = ch_rec + y_size; in UpdateMetrics() 256 const uint8_t* const v_rec = ch_rec + y_size + uv_size; in UpdateMetrics() 260 libyuv::ComputeSumSquareError(ch_org, ch_rec, y_size)); in UpdateMetrics() 266 double y_err = ComputeSumSquareError(ch_org, ch_rec, y_size); in UpdateMetrics() 281 distorted_frame->y = CalcSSIM(ch_org, ch_rec, image_width, image_height); in UpdateMetrics() 384 uint8_t* const ch_rec = new uint8_t[total_size]; in main() local 385 if (ch_org == NULL || ch_rec == NULL) { in main() 392 delete[] ch_rec; in main() 466 fread(ch_rec, sizeof(uint8_t), total_size, file_rec[cur_rec]); in main() [all …]
|
D | yuvconvert.cc | 248 uint8_t* const ch_rec = new uint8_t[total_size]; in main() local 249 if (ch_org == NULL || ch_rec == NULL) { in main() 257 delete[] ch_rec; in main() 302 half_src_width, image_width, image_height, ch_rec, dst_width, in main() 303 ch_rec + dst_width * dst_height, half_dst_width, in main() 304 ch_rec + dst_width * dst_height + half_dst_width * half_dst_height, in main() 326 ch_dst, dst_width * 4, ch_rec, dst_width, in main() 327 ch_rec + dst_width * dst_height, half_width, in main() 328 ch_rec + dst_width * dst_height + half_width * half_height, in main() 335 fwrite(ch_rec, sizeof(uint8_t), static_cast<size_t>(total_size), in main() [all …]
|