Home
last modified time | relevance | path

Searched refs:nativeBuffer (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/gui/
DCpuConsumer.cpp58 status_t CpuConsumer::lockNextBuffer(LockedBuffer *nativeBuffer) { in lockNextBuffer() argument
61 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 …]
/frameworks/native/include/gui/
DCpuConsumer.h85 status_t lockNextBuffer(LockedBuffer *nativeBuffer);
91 status_t unlockBuffer(const LockedBuffer &nativeBuffer);
/frameworks/native/include/media/hardware/
DHardwareAPI.h87 const sp<ANativeWindowBuffer>& nativeBuffer; member