Lines Matching refs:img
68 vpx_image_t img; member
430 vpx_img_wrap(&ctx->img, VPX_IMG_FMT_I420, in vp8_decode()
435 vpx_img_set_rect(&ctx->img, in vp8_decode()
438 ctx->img.user_priv = user_priv; in vp8_decode()
450 vpx_image_t *img = NULL; in vp8_get_frame() local
459 img = &ctx->img; in vp8_get_frame()
460 *iter = img; in vp8_get_frame()
464 return img; in vp8_get_frame()
550 static vpx_codec_err_t image2yuvconfig(const vpx_image_t *img, in image2yuvconfig() argument
554 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig()
555 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig()
556 yv12->v_buffer = img->planes[VPX_PLANE_V]; in image2yuvconfig()
558 yv12->y_width = img->d_w; in image2yuvconfig()
559 yv12->y_height = img->d_h; in image2yuvconfig()
563 yv12->y_stride = img->stride[VPX_PLANE_Y]; in image2yuvconfig()
564 yv12->uv_stride = img->stride[VPX_PLANE_U]; in image2yuvconfig()
566 yv12->border = (img->stride[VPX_PLANE_Y] - img->d_w) / 2; in image2yuvconfig()
567 yv12->clrtype = (img->fmt == VPX_IMG_FMT_VPXI420 || img->fmt == VPX_IMG_FMT_VPXYV12); in image2yuvconfig()
585 image2yuvconfig(&frame->img, &sd); in vp8_set_reference()
607 image2yuvconfig(&frame->img, &sd); in vp8_get_reference()