/external/chromium_org/media/cdm/ppapi/external_clear_key/ |
H A D | ffmpeg_cdm_video_decoder.cc | 276 const int uv_size = y_size / 2; local 277 const int space_required = y_size + (uv_size * 2); 308 cdm_video_frame->FrameBuffer()->Data() + y_size + uv_size); 321 y_size + uv_size);
|
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/ |
H A D | convert_to_i420.cc | 74 int uv_size = ((crop_width + 1) / 2) * ((abs_crop_height + 1) / 2); local 75 rotate_buffer = (uint8*)malloc(y_size + uv_size * 2); 81 v = u + uv_size;
|
/external/chromium_org/third_party/libwebp/dec/ |
H A D | buffer.c | 90 uint64_t uv_size = 0, a_size = 0, total_size; local 98 uv_size = (uint64_t)uv_stride * ((h + 1) / 2); 104 total_size = size + 2 * uv_size + a_size; 120 buf->u_size = (size_t)uv_size; 121 buf->v = output + size + uv_size; 123 buf->v_size = (size_t)uv_size; 125 buf->a = output + size + 2 * uv_size;
|
/external/chromium_org/third_party/libwebp/enc/ |
H A D | picture.c | 97 uint64_t y_size, uv_size, a_size, total_size; local 113 uv_size = (uint64_t)uv_stride * uv_height; 116 total_size = y_size + a_size + 2 * uv_size; 140 mem += uv_size; 142 mem += uv_size;
|
/external/chromium_org/third_party/libyuv/source/ |
H A D | convert_to_i420.cc | 74 int uv_size = ((crop_width + 1) / 2) * ((abs_crop_height + 1) / 2); local 75 rotate_buffer = (uint8*)malloc(y_size + uv_size * 2); 81 v = u + uv_size;
|
/external/webp/src/dec/ |
H A D | buffer.c | 90 uint64_t uv_size = 0, a_size = 0, total_size; local 98 uv_size = (uint64_t)uv_stride * ((h + 1) / 2); 104 total_size = size + 2 * uv_size + a_size; 120 buf->u_size = (size_t)uv_size; 121 buf->v = output + size + uv_size; 123 buf->v_size = (size_t)uv_size; 125 buf->a = output + size + 2 * uv_size;
|
/external/webp/src/enc/ |
H A D | picture.c | 97 uint64_t y_size, uv_size, a_size, total_size; local 113 uv_size = (uint64_t)uv_stride * uv_height; 116 total_size = y_size + a_size + 2 * uv_size; 140 mem += uv_size; 142 mem += uv_size;
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
H A D | webrtcvideoframe.cc | 187 int uv_size = static_cast<int>(GetChromaSize()); local 188 buffer += frame()->Width() * frame()->Height() + uv_size; 209 int uv_size = static_cast<int>(GetChromaSize()); local 210 buffer += frame()->Width() * frame()->Height() + uv_size;
|
/external/chromium_org/third_party/libyuv/util/ |
H A D | 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;
|
H A D | 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)); 237 UpdateMetrics(uint8* ch_org, uint8* ch_rec, const int y_size, const int uv_size, const size_t total_size, int number_of_frames, metric* cur_distortion_psnr, metric* distorted_frame, bool do_psnr) argument 349 const int uv_size = ((image_width + 1) / 2) * ((image_height + 1) / 2); local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
H A D | planarfunctions_unittest.cc | 529 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); local 541 uint8 *v_output_pointer = u_output_pointer + uv_size; 566 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); local 578 uint8 *v_output_pointer = u_output_pointer + uv_size; 615 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); local 627 uint8 *v_output_pointer = u_output_pointer + uv_size; 662 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); local 672 uint8 *v_output_pointer = u_output_pointer + uv_size; 706 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); local 717 uint8 *v_output_pointer = u_output_pointer + uv_size; 853 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); local 899 int uv_size = ((kHeight + 1) >> 1) * ((kWidth + 1) >> 1); local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
H A D | vp9_pickmode.c | 282 const BLOCK_SIZE uv_size = get_plane_block_size(bsize, &xd->plane[1]); local 324 var_u = cpi->fn_ptr[uv_size].vf(x->plane[1].src.buf, 331 var_v = cpi->fn_ptr[uv_size].vf(x->plane[2].src.buf,
|
H A D | vp9_rdopt.c | 2052 const BLOCK_SIZE uv_size = get_plane_block_size(bsize, &xd->plane[1]); local 2092 var_u = cpi->fn_ptr[uv_size].vf(x->plane[1].src.buf, 2100 var_v = cpi->fn_ptr[uv_size].vf(x->plane[2].src.buf,
|
/external/libyuv/files/source/ |
H A D | convert.cc | 1756 int uv_size = ((dst_width + 1) / 2) * ((abs_dst_height + 1) / 2); local 1757 buf = new uint8[y_size + uv_size * 2]; 1763 v = u + uv_size;
|
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_rdopt.c | 2928 const BLOCK_SIZE uv_size = get_plane_block_size(bsize, &xd->plane[1]); local 2964 var_u = cpi->fn_ptr[uv_size].vf(x->plane[1].src.buf, 2972 var_v = cpi->fn_ptr[uv_size].vf(x->plane[2].src.buf,
|