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