Searched refs:nativeBuffer (Results 1 – 3 of 3) sorted by relevance
58 status_t CpuConsumer::lockNextBuffer(LockedBuffer *nativeBuffer) { in lockNextBuffer() argument61 if (!nativeBuffer) return BAD_VALUE; in lockNextBuffer()134 nativeBuffer->data = in lockNextBuffer()136 nativeBuffer->width = mSlots[buf].mGraphicBuffer->getWidth(); in lockNextBuffer()137 nativeBuffer->height = mSlots[buf].mGraphicBuffer->getHeight(); in lockNextBuffer()138 nativeBuffer->format = mSlots[buf].mGraphicBuffer->getPixelFormat(); in lockNextBuffer()139 nativeBuffer->stride = (ycbcr.y != NULL) ? in lockNextBuffer()143 nativeBuffer->crop = b.mCrop; in lockNextBuffer()144 nativeBuffer->transform = b.mTransform; in lockNextBuffer()145 nativeBuffer->scalingMode = b.mScalingMode; in lockNextBuffer()[all …]
85 status_t lockNextBuffer(LockedBuffer *nativeBuffer);91 status_t unlockBuffer(const LockedBuffer &nativeBuffer);
87 const sp<ANativeWindowBuffer>& nativeBuffer; member