Lines Matching defs:vpx_image
382 const vpx_image_t* vpx_image = vpx_codec_get_frame(vpx_codec_, &iter);
383 if (!vpx_image) {
388 if (vpx_image->user_priv != reinterpret_cast<void*>(×tamp)) {
430 CopyVpxImageTo(vpx_image, vpx_image_alpha, video_frame);
435 void VpxVideoDecoder::CopyVpxImageTo(const vpx_image* vpx_image,
436 const struct vpx_image* vpx_image_alpha,
438 CHECK(vpx_image);
439 CHECK(vpx_image->fmt == VPX_IMG_FMT_I420 ||
440 vpx_image->fmt == VPX_IMG_FMT_YV12 ||
441 vpx_image->fmt == VPX_IMG_FMT_I444);
444 int uv_rows = (vpx_image->d_h + 1) / 2;
446 if (vpx_image->fmt == VPX_IMG_FMT_I444) {
449 uv_rows = vpx_image->d_h;
454 gfx::Size size(vpx_image->d_w, vpx_image->d_h);
460 vpx_image->stride[VPX_PLANE_Y],
461 vpx_image->stride[VPX_PLANE_U],
462 vpx_image->stride[VPX_PLANE_V],
463 vpx_image->planes[VPX_PLANE_Y],
464 vpx_image->planes[VPX_PLANE_U],
465 vpx_image->planes[VPX_PLANE_V],
467 memory_pool_->CreateFrameCallback(vpx_image->fb_priv));
478 CopyYPlane(vpx_image->planes[VPX_PLANE_Y],
479 vpx_image->stride[VPX_PLANE_Y],
480 vpx_image->d_h,
482 CopyUPlane(vpx_image->planes[VPX_PLANE_U],
483 vpx_image->stride[VPX_PLANE_U],
486 CopyVPlane(vpx_image->planes[VPX_PLANE_V],
487 vpx_image->stride[VPX_PLANE_V],
494 vpx_image->stride[VPX_PLANE_Y], vpx_image->d_h, video_frame->get());
498 vpx_image->stride[VPX_PLANE_Y],
499 vpx_image->d_h,