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