Lines Matching refs:destImage
612 VAImage destImage; in doActionCopy() local
613 vaStatus = vaDeriveImage(mVADisplay, mVASurface, &destImage); in doActionCopy()
615 vaStatus = vaMapBuffer(mVADisplay, destImage.buf, (void **)&pDestBuffer); in doActionCopy()
619 LOG_V("pitches[0] = %d\n", destImage.pitches[0]); in doActionCopy()
620 LOG_V("pitches[1] = %d\n", destImage.pitches[1]); in doActionCopy()
621 LOG_V("offsets[0] = %d\n", destImage.offsets[0]); in doActionCopy()
622 LOG_V("offsets[1] = %d\n", destImage.offsets[1]); in doActionCopy()
623 LOG_V("num_planes = %d\n", destImage.num_planes); in doActionCopy()
624 LOG_V("width = %d\n", destImage.width); in doActionCopy()
625 LOG_V("height = %d\n", destImage.height); in doActionCopy()
627 if (width > destImage.width || height > destImage.height) { in doActionCopy()
636 dstY = pDestBuffer + destImage.offsets[0]; in doActionCopy()
638 dstUV = pDestBuffer + destImage.offsets[1]; in doActionCopy()
643 dstY += destImage.pitches[0]; in doActionCopy()
649 dstUV += destImage.pitches[1]; in doActionCopy()
652 vaStatus = vaUnmapBuffer(mVADisplay, destImage.buf); in doActionCopy()
654 vaStatus = vaDestroyImage(mVADisplay, destImage.image_id); in doActionCopy()