Lines Matching refs:image
1097 VAImage image; in mapSurface() local
1105 vaStatus = vaDeriveImage(mVADisplay, mSurfaces[i], &image); in mapSurface()
1107 vaStatus = vaMapBuffer(mVADisplay, image.buf, (void**)&userPtr); in mapSurface()
1116 mSurfaceBuffers[i].mappedData->fourcc = image.format.fourcc; in mapSurface()
1119 mSurfaceBuffers[i].mappedData->size = image.data_size; in mapSurface()
1121 mSurfaceBuffers[i].mappedData->pitch[pi] = image.pitches[pi]; in mapSurface()
1122 mSurfaceBuffers[i].mappedData->offset[pi] = image.offsets[pi]; in mapSurface()
1125 if (image.pitches[0] != image.pitches[1] || in mapSurface()
1126 image.width != mVideoFormatInfo.width || in mapSurface()
1127 image.height != mVideoFormatInfo.height || in mapSurface()
1128 image.offsets[0] != 0) { in mapSurface()
1129 …E("Unexpected VAImage format, w = %d, h = %d, offset = %d", image.width, image.height, image.offse… in mapSurface()
1134 vaStatus = vaDestroyImage(mVADisplay,image.image_id); in mapSurface()