Searched refs:nativeBuffer (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/libs/gui/ |
D | CpuConsumer.cpp | 89 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/ |
D | TestWindowContext.cpp | 125 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/ |
D | CpuConsumer.h | 111 status_t lockNextBuffer(LockedBuffer *nativeBuffer); 117 status_t unlockBuffer(const LockedBuffer &nativeBuffer);
|
/frameworks/native/include/media/hardware/ |
D | HardwareAPI.h | 198 const sp<ANativeWindowBuffer>& nativeBuffer; member
|
/frameworks/rs/driver/runtime/ |
D | rs_structs.h | 49 void * nativeBuffer; member
|
/frameworks/rs/ |
D | rsAllocation.h | 74 ANativeWindowBuffer *nativeBuffer; member
|
D | rsGrallocConsumer.cpp | 150 mAlloc[idx]->mHal.state.nativeBuffer = mAcquiredBuffer[idx].mGraphicBuffer->getNativeBuffer(); in lockNextBuffer()
|
/frameworks/base/media/jni/ |
D | android_media_ImageWriter.cpp | 484 jlong nativeBuffer, jint imageFormat, jlong timestampNs, jint left, jint top, in ImageWriter_attachAndQueueImage() argument 511 BufferItem* opaqueBuffer = reinterpret_cast<BufferItem*>(nativeBuffer); in ImageWriter_attachAndQueueImage()
|