Searched refs:y_size (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/media/cdm/ppapi/external_clear_key/
H A Dlibvpx_cdm_video_decoder.cc149 const int y_size = vpx_image_->stride[VPX_PLANE_Y] * vpx_image_->d_h; local
153 const int space_required = y_size + u_size + v_size;
165 y_size);
166 memcpy(cdm_video_frame->FrameBuffer()->Data() + y_size,
169 memcpy(cdm_video_frame->FrameBuffer()->Data() + y_size + u_size,
181 cdm_video_frame->SetPlaneOffset(cdm::VideoFrame::kUPlane, y_size);
183 y_size + u_size);
H A Dffmpeg_cdm_video_decoder.cc275 const int y_size = av_frame_->width * av_frame_->height; local
276 const int uv_size = y_size / 2;
277 const int space_required = y_size + (uv_size * 2);
301 cdm_video_frame->FrameBuffer()->Data() + y_size);
308 cdm_video_frame->FrameBuffer()->Data() + y_size + uv_size);
319 cdm_video_frame->SetPlaneOffset(cdm::VideoFrame::kUPlane, y_size);
321 y_size + uv_size);
/external/chromium_org/third_party/libyuv/util/
H A Dpsnr_main.cc238 const int y_size, const int uv_size, const size_t total_size,
243 const uint8* const u_org = ch_org + y_size + uv_offset;
244 const uint8* const u_rec = ch_rec + y_size;
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;
250 libyuv::ComputeSumSquareError(ch_org, ch_rec, y_size));
256 double y_err = ComputeSumSquareError(ch_org, ch_rec, y_size);
265 distorted_frame->y = ComputePSNR(y_err, static_cast<double>(y_size));
279 distorted_frame->y /= y_size;
348 const int y_size local
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
[all...]
H A Dconvert.cc224 const int y_size = Abs(image_width) * Abs(image_height); local
227 org_size = y_size + 2 * uv_size; // YUV original.
231 const int y_size = dst_width * dst_height; local
233 const size_t total_size = y_size + 2 * uv_size;
/external/chromium_org/third_party/libwebp/dec/
H A Dbuffer.c49 const uint64_t y_size = (uint64_t)y_stride * height; local
53 ok &= (y_size <= buf->y_size);
117 buf->y_size = (size_t)size;
H A Didec.c690 idec->output_.u.YUVA.y_size = luma_size;
H A Dwebp.c583 output.u.YUVA.y_size = luma_size;
/external/chromium_org/third_party/libwebp/enc/
H A Dpicture.c97 uint64_t y_size, uv_size, a_size, total_size; local
112 y_size = (uint64_t)y_stride * height;
116 total_size = y_size + a_size + 2 * uv_size;
137 mem += y_size;
/external/webp/src/dec/
H A Dbuffer.c49 const uint64_t y_size = (uint64_t)y_stride * height; local
53 ok &= (y_size <= buf->y_size);
117 buf->y_size = (size_t)size;
H A Didec.c690 idec->output_.u.YUVA.y_size = luma_size;
H A Dwebp.c595 output.u.YUVA.y_size = luma_size;
/external/webp/src/enc/
H A Dpicture.c97 uint64_t y_size, uv_size, a_size, total_size; local
112 y_size = (uint64_t)y_stride * height;
116 total_size = y_size + a_size + 2 * uv_size;
137 mem += y_size;
/external/chromium_org/third_party/libjingle/source/talk/session/media/
H A Dplanarfunctions_unittest.cc135 int y_size = height * width; local
150 v_size = u_size = y_size;
158 uint8* image_pointer = new uint8[y_size + u_size + v_size + kAlignment];
160 u_pointer = ALIGNP(&image_pointer[y_size], kAlignment);
161 v_pointer = ALIGNP(&image_pointer[y_size + u_size], kAlignment);
528 int y_size = kHeight * kWidth; local
540 uint8 *u_output_pointer = y_output_pointer + y_size;
565 int y_size = kHeight * kWidth; local
577 uint8 *u_output_pointer = y_output_pointer + y_size;
614 int y_size local
661 int y_size = kHeight * kWidth; local
705 int y_size = kHeight * kWidth; local
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
H A Dconvert_to_i420.cc73 int y_size = crop_width * abs_crop_height; local
75 rotate_buffer = (uint8*)malloc(y_size + uv_size * 2);
80 u = y + y_size;
/external/chromium_org/third_party/libyuv/source/
H A Dconvert_to_i420.cc73 int y_size = crop_width * abs_crop_height; local
75 rotate_buffer = (uint8*)malloc(y_size + uv_size * 2);
80 u = y + y_size;
/external/chromium_org/third_party/webrtc/modules/video_processing/main/source/
H A Ddeflickering.cc130 const uint32_t y_size = height * width; local
233 for (uint32_t i = 0; i < y_size; i++) {
/external/chromium_org/third_party/libwebp/webp/
H A Ddecode.h188 size_t y_size; // luma plane size member in struct:WebPYUVABuffer
/external/webp/include/webp/
H A Ddecode.h188 size_t y_size; // luma plane size member in struct:WebPYUVABuffer
/external/libyuv/files/source/
H A Dconvert.cc1755 int y_size = dst_width * abs_dst_height; local
1757 buf = new uint8[y_size + uv_size * 2];
1762 u = y + y_size;
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_rdopt.c2051 const BLOCK_SIZE y_size = get_plane_block_size(bsize, &xd->plane[0]); local
2059 var = cpi->fn_ptr[y_size].vf(x->plane[0].src.buf, x->plane[0].src.stride,
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_rdopt.c2927 const BLOCK_SIZE y_size = get_plane_block_size(bsize, &xd->plane[0]); local
2944 var = cpi->fn_ptr[y_size].vf(x->plane[0].src.buf, x->plane[0].src.stride,

Completed in 854 milliseconds