Searched refs:yuv_frame (Results 1 – 2 of 2) sorted by relevance
81 int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame) { in read_yuv_frame() argument89 const int w = (plane ? (1 + yuv_frame->d_w) / 2 : yuv_frame->d_w); in read_yuv_frame()90 const int h = (plane ? (1 + yuv_frame->d_h) / 2 : yuv_frame->d_h); in read_yuv_frame()99 ptr = yuv_frame->planes[ in read_yuv_frame()100 yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_V : VPX_PLANE_U]; in read_yuv_frame()103 ptr = yuv_frame->planes[ in read_yuv_frame()104 yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_U : VPX_PLANE_V]; in read_yuv_frame()107 ptr = yuv_frame->planes[plane]; in read_yuv_frame()125 ptr += yuv_frame->stride[plane]; in read_yuv_frame()
123 int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame);