/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 | 238 const int y_size, const int uv_size, const size_t total_size, 242 const int uv_offset = (do_swap_uv ? uv_size : 0); 245 const uint8* const v_org = ch_org + y_size + (uv_size - uv_offset); 246 const uint8* const v_rec = ch_rec + y_size + uv_size; 252 libyuv::ComputeSumSquareError(u_org, u_rec, uv_size)); 254 libyuv::ComputeSumSquareError(v_org, v_rec, uv_size)); 257 double u_err = ComputeSumSquareError(u_org, u_rec, uv_size); 258 double v_err = ComputeSumSquareError(v_org, v_rec, uv_size); 266 distorted_frame->u = ComputePSNR(u_err, static_cast<double>(uv_size)); 267 distorted_frame->v = ComputePSNR(v_err, static_cast<double>(uv_size)); 349 const int uv_size = ((image_width + 1) \/ 2) * ((image_height + 1) \/ 2); local [all...] |
convert.cc | 225 const int uv_size = ((Abs(image_width) + 1) / 2) * local 227 org_size = y_size + 2 * uv_size; // YUV original. 232 const int uv_size = ((dst_width + 1) / 2) * ((dst_height + 1) / 2); local 233 const size_t total_size = y_size + 2 * uv_size;
|
/external/opencv3/3rdparty/libwebp/dec/ |
buffer.c | 89 uint64_t uv_size = 0, a_size = 0, total_size; local 97 uv_size = (uint64_t)uv_stride * ((h + 1) / 2); 103 total_size = size + 2 * uv_size + a_size; 119 buf->u_size = (size_t)uv_size; 120 buf->v = output + size + uv_size; 122 buf->v_size = (size_t)uv_size; 124 buf->a = output + size + 2 * uv_size;
|
/external/webp/src/dec/ |
buffer.c | 98 uint64_t uv_size = 0, a_size = 0, total_size; local 106 uv_size = (uint64_t)uv_stride * ((h + 1) / 2); 112 total_size = size + 2 * uv_size + a_size; 128 buf->u_size = (size_t)uv_size; 129 buf->v = output + size + uv_size; 131 buf->v_size = (size_t)uv_size; 133 buf->a = output + size + 2 * uv_size;
|
/external/webp/src/enc/ |
picture.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/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...] |
/hardware/intel/common/libva/test/encode/ |
h264encode.c | 1756 int uv_size = 2 * (frame_width\/2) * (frame_height\/2); local 1761 int uv_size = (frame_width\/2) * (frame_height\/2); local 1776 int uv_size = 2 * (frame_width\/2) * (frame_height\/2); local 1781 int uv_size = (frame_width\/2) * (frame_height\/2); local [all...] |
/external/libvpx/libvpx/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/libyuv/files/source/ |
convert_to_i420.cc | 72 int uv_size = ((crop_width + 1) / 2) * ((abs_crop_height + 1) / 2); local 73 rotate_buffer = (uint8*)malloc(y_size + uv_size * 2); 79 v = u + uv_size;
|
/external/opencv3/3rdparty/libwebp/enc/ |
picture.c | 55 uint64_t y_size, uv_size, uv0_size, a_size, total_size; local 81 uv_size = (uint64_t)uv_stride * uv_height; 84 total_size = y_size + a_size + 2 * uv_size + 2 * uv0_size; 107 mem += uv_size; 109 mem += uv_size; [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_pickmode.c | 783 const BLOCK_SIZE uv_size = get_plane_block_size(bsize, &xd->plane[1]); local 838 var_u = cpi->fn_ptr[uv_size].vf(x->plane[1].src.buf, 845 var_v = cpi->fn_ptr[uv_size].vf(x->plane[2].src.buf, [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_rdopt.c | 2928 const BLOCK_SIZE uv_size = get_plane_block_size(bsize, &xd->plane[1]); local [all...] |