/external/libyuv/files/util/ |
D | psnr_main.cc | 243 const int uv_size, in UpdateMetrics() argument 249 const int uv_offset = (do_swap_uv ? uv_size : 0); in UpdateMetrics() 252 const uint8* const v_org = ch_org + y_size + (uv_size - uv_offset); in UpdateMetrics() 253 const uint8* const v_rec = ch_rec + y_size + uv_size; in UpdateMetrics() 259 libyuv::ComputeSumSquareError(u_org, u_rec, uv_size)); in UpdateMetrics() 261 libyuv::ComputeSumSquareError(v_org, v_rec, uv_size)); in UpdateMetrics() 264 double u_err = ComputeSumSquareError(u_org, u_rec, uv_size); in UpdateMetrics() 265 double v_err = ComputeSumSquareError(v_org, v_rec, uv_size); in UpdateMetrics() 273 distorted_frame->u = ComputePSNR(u_err, static_cast<double>(uv_size)); in UpdateMetrics() 274 distorted_frame->v = ComputePSNR(v_err, static_cast<double>(uv_size)); in UpdateMetrics() [all …]
|
D | yuvconvert.cc | 228 const int uv_size = in main() local 230 org_size = y_size + 2 * uv_size; // YUV original. in main() 235 const int uv_size = ((dst_width + 1) / 2) * ((dst_height + 1) / 2); in main() local 236 const size_t total_size = y_size + 2 * uv_size; in main()
|
/external/webrtc/webrtc/test/ |
D | frame_generator_unittest.cc | 52 memset(plane_buffer.get(), u, uv_size); in WriteYuvFile() 53 fwrite(plane_buffer.get(), 1, uv_size, file); in WriteYuvFile() 54 memset(plane_buffer.get(), v, uv_size); in WriteYuvFile() 55 fwrite(plane_buffer.get(), 1, uv_size, file); in WriteYuvFile() 66 ASSERT_EQ(uv_size, frame->allocated_size(PlaneType::kUPlane)); in CheckFrameAndMutate() 68 for (int i = 0; i < uv_size; ++i) in CheckFrameAndMutate() 70 ASSERT_EQ(uv_size, frame->allocated_size(PlaneType::kVPlane)); in CheckFrameAndMutate() 72 for (int i = 0; i < uv_size; ++i) in CheckFrameAndMutate() 87 const int uv_size = ((kFrameHeight + 1) / 2) * ((kFrameWidth + 1) / 2); member in webrtc::test::FrameGeneratorTest
|
/external/webrtc/talk/session/media/ |
D | planarfunctions_unittest.cc | 505 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); in TEST_F() local 516 uint8_t* v_output_pointer = u_output_pointer + uv_size; in TEST_F() 543 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); in TEST_F() local 554 uint8_t* v_output_pointer = u_output_pointer + uv_size; in TEST_F() 591 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); in TEST_P() local 602 uint8_t* v_output_pointer = u_output_pointer + uv_size; in TEST_P() 637 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); in TEST_P() local 648 uint8_t* v_output_pointer = u_output_pointer + uv_size; in TEST_P() 685 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); \ 696 uint8_t* v_output_pointer = u_output_pointer + uv_size; \ [all …]
|
/external/webp/src/dec/ |
D | buffer_dec.c | 99 uint64_t uv_size = 0, a_size = 0, total_size; in AllocateBuffer() local 112 uv_size = (uint64_t)uv_stride * ((h + 1) / 2); in AllocateBuffer() 118 total_size = size + 2 * uv_size + a_size; in AllocateBuffer() 134 buf->u_size = (size_t)uv_size; in AllocateBuffer() 135 buf->v = output + size + uv_size; in AllocateBuffer() 137 buf->v_size = (size_t)uv_size; in AllocateBuffer() 139 buf->a = output + size + 2 * uv_size; in AllocateBuffer()
|
/external/webp/src/enc/ |
D | picture_enc.c | 98 uint64_t y_size, uv_size, a_size, total_size; in WebPPictureAllocYUVA() local 114 uv_size = (uint64_t)uv_stride * uv_height; in WebPPictureAllocYUVA() 117 total_size = y_size + a_size + 2 * uv_size; in WebPPictureAllocYUVA() 141 mem += uv_size; in WebPPictureAllocYUVA() 143 mem += uv_size; in WebPPictureAllocYUVA()
|
/external/libxcam/modules/soft/ |
D | soft_copy_task.cpp | 48 uint32_t uv_size = in_uv->get_width () * in_uv->pixel_size (); in work_range() local 55 copy_line<Uchar2Image> (in_uv, out_uv, uv_y, uv_size); in work_range()
|
/external/libyuv/files/source/ |
D | convert_to_i420.cc | 78 int uv_size = ((crop_width + 1) / 2) * ((abs_crop_height + 1) / 2); in ConvertToI420() local 79 rotate_buffer = (uint8*)malloc(y_size + uv_size * 2); /* NOLINT */ in ConvertToI420() 85 v = u + uv_size; in ConvertToI420()
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | convert_to_i420.cc | 78 int uv_size = ((crop_width + 1) / 2) * ((abs_crop_height + 1) / 2); in ConvertToI420() local 79 rotate_buffer = (uint8_t*)malloc(y_size + uv_size * 2); /* NOLINT */ in ConvertToI420() 85 dst_v = dst_u + uv_size; in ConvertToI420()
|
/external/libaom/libaom/third_party/libyuv/source/ |
D | convert_to_i420.cc | 73 int uv_size = ((crop_width + 1) / 2) * ((abs_crop_height + 1) / 2); in ConvertToI420() local 74 rotate_buffer = (uint8*)malloc(y_size + uv_size * 2); in ConvertToI420() 80 v = u + uv_size; in ConvertToI420()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_pickmode.c | 894 const BLOCK_SIZE uv_size = get_plane_block_size(bsize, &xd->plane[1]); in encode_breakout_test() local 959 var_u = cpi->fn_ptr[uv_size].vf(x->plane[1].src.buf, x->plane[1].src.stride, in encode_breakout_test() 965 var_v = cpi->fn_ptr[uv_size].vf( in encode_breakout_test()
|