Lines Matching refs:img
752 vpx_image_t *img = vpx_codec_get_frame(mCodecCtx, &iter); in outputBuffer() local
754 if (!img) return false; in outputBuffer()
756 if (img->d_w != mWidth || img->d_h != mHeight) { in outputBuffer()
757 mWidth = img->d_w; in outputBuffer()
758 mHeight = img->d_h; in outputBuffer()
775 CHECK(img->fmt == VPX_IMG_FMT_I420 || img->fmt == VPX_IMG_FMT_I42016); in outputBuffer()
779 if (img->fmt == VPX_IMG_FMT_I42016) { in outputBuffer()
805 block->width(), block->height(), mWidth, mHeight, (int)*(int64_t *)img->user_priv); in outputBuffer()
808 size_t srcYStride = img->stride[VPX_PLANE_Y]; in outputBuffer()
809 size_t srcUStride = img->stride[VPX_PLANE_U]; in outputBuffer()
810 size_t srcVStride = img->stride[VPX_PLANE_V]; in outputBuffer()
815 if (img->fmt == VPX_IMG_FMT_I42016) { in outputBuffer()
816 const uint16_t *srcY = (const uint16_t *)img->planes[VPX_PLANE_Y]; in outputBuffer()
817 const uint16_t *srcU = (const uint16_t *)img->planes[VPX_PLANE_U]; in outputBuffer()
818 const uint16_t *srcV = (const uint16_t *)img->planes[VPX_PLANE_V]; in outputBuffer()
852 const uint8_t *srcY = (const uint8_t *)img->planes[VPX_PLANE_Y]; in outputBuffer()
853 const uint8_t *srcU = (const uint8_t *)img->planes[VPX_PLANE_U]; in outputBuffer()
854 const uint8_t *srcV = (const uint8_t *)img->planes[VPX_PLANE_V]; in outputBuffer()
861 finishWork(*(int64_t *)img->user_priv, work, std::move(block)); in outputBuffer()