Home | History | Annotate | Download | only in vp8

Lines Matching full:img

211                                     const vpx_image_t    *img)
213 switch (img->fmt)
224 if ((img->d_w != ctx->cfg.g_w) || (img->d_h != ctx->cfg.g_h))
536 static vpx_codec_err_t image2yuvconfig(const vpx_image_t *img,
540 yv12->y_buffer = img->planes[VPX_PLANE_Y];
541 yv12->u_buffer = img->planes[VPX_PLANE_U];
542 yv12->v_buffer = img->planes[VPX_PLANE_V];
544 yv12->y_width = img->d_w;
545 yv12->y_height = img->d_h;
549 yv12->y_stride = img->stride[VPX_PLANE_Y];
550 yv12->uv_stride = img->stride[VPX_PLANE_U];
552 yv12->border = (img->stride[VPX_PLANE_Y] - img->w) / 2;
553 yv12->clrtype = (img->fmt == VPX_IMG_FMT_VPXI420 || img->fmt == VPX_IMG_FMT_VPXYV12); //REG_YUV = 0
615 const vpx_image_t *img,
623 if (img)
624 res = validate_img(ctx, img);
708 if (img != NULL)
710 res = image2yuvconfig(img, &sd);
728 && -1 != vp8_get_compressed_data(ctx->cpi, &lib_flags, &size, cx_data, &dst_time_stamp, &dst_end_time_stamp, !img))
796 image2yuvconfig(&frame->img, &sd);
817 image2yuvconfig(&frame->img, &sd);
1147 const vpx_image_t *img,
1158 img,