Home
last modified time | relevance | path

Searched refs:ch_org (Results 1 – 2 of 2) sorted by relevance

/external/libyuv/files/util/
Dpsnr_main.cc93 uint8_t* const ch_org = new uint8_t[total_size]; in ExtractResolutionFromFilename() local
94 memset(ch_org, 0, total_size); in ExtractResolutionFromFilename()
95 size_t bytes_org = fread(ch_org, sizeof(uint8_t), total_size, file_org); in ExtractResolutionFromFilename()
98 if (0 == libyuv::MJPGSize(ch_org, total_size, width_ptr, height_ptr)) { in ExtractResolutionFromFilename()
99 delete[] ch_org; in ExtractResolutionFromFilename()
103 delete[] ch_org; in ExtractResolutionFromFilename()
243 bool UpdateMetrics(uint8_t* ch_org, in UpdateMetrics() argument
253 const uint8_t* const u_org = ch_org + y_size + uv_offset; in UpdateMetrics()
255 const uint8_t* const v_org = ch_org + y_size + (uv_size - uv_offset); in UpdateMetrics()
260 libyuv::ComputeSumSquareError(ch_org, ch_rec, y_size)); in UpdateMetrics()
[all …]
Dyuvconvert.cc246 uint8_t* const ch_org = new uint8_t[org_size]; in main() local
249 if (ch_org == NULL || ch_rec == NULL) { in main()
255 delete[] ch_org; in main()
275 fread(ch_org, sizeof(uint8_t), static_cast<size_t>(org_size), file_org); in main()
283 libyuv::ARGBAttenuate(ch_org, 0, ch_org, 0, org_size / 4, 1); in main()
287 libyuv::ARGBUnattenuate(ch_org, 0, ch_org, 0, org_size / 4, 1); in main()
300 ch_org, src_width, ch_org + src_width * src_height, half_src_width, in main()
301 ch_org + src_width * src_height + half_src_width * half_src_height, in main()
308 TileARGBScale(ch_org, Abs(image_width) * 4, image_width, image_height, in main()
362 delete[] ch_org; in main()