Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DCpuConsumer.cpp89 status_t CpuConsumer::lockNextBuffer(LockedBuffer *nativeBuffer) { in lockNextBuffer() argument
92 if (!nativeBuffer) return BAD_VALUE; in lockNextBuffer()
180 nativeBuffer->data = in lockNextBuffer()
182 nativeBuffer->width = mSlots[slot].mGraphicBuffer->getWidth(); in lockNextBuffer()
183 nativeBuffer->height = mSlots[slot].mGraphicBuffer->getHeight(); in lockNextBuffer()
184 nativeBuffer->format = format; in lockNextBuffer()
185 nativeBuffer->flexFormat = flexFormat; in lockNextBuffer()
186 nativeBuffer->stride = (ycbcr.y != NULL) ? in lockNextBuffer()
190 nativeBuffer->crop = b.mCrop; in lockNextBuffer()
191 nativeBuffer->transform = b.mTransform; in lockNextBuffer()
[all …]
/frameworks/base/libs/hwui/utils/
DTestWindowContext.cpp125 android::CpuConsumer::LockedBuffer nativeBuffer; in capturePixels() local
126 android::status_t retval = mCpuConsumer->lockNextBuffer(&nativeBuffer); in capturePixels()
141 LOG_ALWAYS_FATAL_IF(nativeBuffer.format != android::PIXEL_FORMAT_RGBA_8888, in capturePixels()
144 SkImageInfo::Make(nativeBuffer.width, nativeBuffer.height, in capturePixels()
150 nativeWrapper.installPixels(nativeConfig, nativeBuffer.data, nativeBuffer.stride * 4); in capturePixels()
165 mCpuConsumer->unlockBuffer(nativeBuffer); in capturePixels()
/frameworks/native/include/gui/
DCpuConsumer.h111 status_t lockNextBuffer(LockedBuffer *nativeBuffer);
117 status_t unlockBuffer(const LockedBuffer &nativeBuffer);
/frameworks/native/include/media/hardware/
DHardwareAPI.h198 const sp<ANativeWindowBuffer>& nativeBuffer; member
/frameworks/rs/driver/runtime/
Drs_structs.h49 void * nativeBuffer; member
/frameworks/rs/
DrsAllocation.h74 ANativeWindowBuffer *nativeBuffer; member
DrsGrallocConsumer.cpp150 mAlloc[idx]->mHal.state.nativeBuffer = mAcquiredBuffer[idx].mGraphicBuffer->getNativeBuffer(); in lockNextBuffer()
/frameworks/base/media/jni/
Dandroid_media_ImageWriter.cpp484 jlong nativeBuffer, jint imageFormat, jlong timestampNs, jint left, jint top, in ImageWriter_attachAndQueueImage() argument
511 BufferItem* opaqueBuffer = reinterpret_cast<BufferItem*>(nativeBuffer); in ImageWriter_attachAndQueueImage()