Lines Matching refs:img
560 vpx_image_t *img = vpx_codec_get_frame(mCodecCtx, &iter); in outputBuffer() local
562 if (!img) return false; in outputBuffer()
564 if (img->d_w != mWidth || img->d_h != mHeight) { in outputBuffer()
565 mWidth = img->d_w; in outputBuffer()
566 mHeight = img->d_h; in outputBuffer()
583 CHECK(img->fmt == VPX_IMG_FMT_I420 || img->fmt == VPX_IMG_FMT_I42016); in outputBuffer()
585 if (img->fmt == VPX_IMG_FMT_I42016) { in outputBuffer()
607 block->width(), block->height(), mWidth, mHeight, (int)*(int64_t *)img->user_priv); in outputBuffer()
610 size_t srcYStride = img->stride[VPX_PLANE_Y]; in outputBuffer()
611 size_t srcUStride = img->stride[VPX_PLANE_U]; in outputBuffer()
612 size_t srcVStride = img->stride[VPX_PLANE_V]; in outputBuffer()
613 const uint8_t *srcY = (const uint8_t *)img->planes[VPX_PLANE_Y]; in outputBuffer()
614 const uint8_t *srcU = (const uint8_t *)img->planes[VPX_PLANE_U]; in outputBuffer()
615 const uint8_t *srcV = (const uint8_t *)img->planes[VPX_PLANE_V]; in outputBuffer()
619 finishWork(*(int64_t *)img->user_priv, work, std::move(block)); in outputBuffer()