Home
last modified time | relevance | path

Searched refs:tmpBuffer (Results 1 – 10 of 10) sorted by relevance

/hardware/google/gchips/gralloc4/src/hidl_common/
DAllocator.cpp92 buffer_handle_t tmpBuffer = nullptr; in allocate() local
100 allocResult = fb_allocator(&bufferDescriptor, &tmpBuffer); in allocate()
105 …allocResult = mali_gralloc_buffer_allocate(grallocBufferDescriptor, 1, &tmpBuffer, nullptr, use_pl… in allocate()
112 auto hnd = const_cast<private_handle_t *>(reinterpret_cast<const private_handle_t *>(tmpBuffer)); in allocate()
195 mali_gralloc_buffer_free(tmpBuffer); in allocate()
201 grallocBuffers.emplace_back(hidl_handle(tmpBuffer)); in allocate()
/hardware/interfaces/graphics/allocator/2.0/utils/passthrough/include/allocator-passthrough/2.0/
DGralloc0Hal.h88 const native_handle_t* tmpBuffer; in allocateBuffers() local
90 error = allocateOneBuffer(descriptorInfo, &tmpBuffer, &tmpStride); in allocateBuffers()
95 buffers.push_back(tmpBuffer); in allocateBuffers()
DGralloc1Hal.h103 const native_handle_t* tmpBuffer; in allocateBuffers() local
105 error = allocateOneBuffer(desc, &tmpBuffer, &tmpStride); in allocateBuffers()
110 buffers.push_back(tmpBuffer); in allocateBuffers()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp138 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument
141 bufferHandle = static_cast<const native_handle_t*>(tmpBuffer); in importBuffer()
/hardware/libhardware/modules/camera/3_4/arc/
Dexif_utils.cpp399 void* tmpBuffer = exif_mem_alloc(mem, size); in AddVariableLengthEntry() local
400 if (!tmpBuffer) { in AddVariableLengthEntry()
406 entry->data = static_cast<unsigned char*>(tmpBuffer); in AddVariableLengthEntry()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp159 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument
162 bufferHandle = static_cast<const native_handle_t*>(tmpBuffer); in importBuffer()
/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/
Dvendor_graphicbuffer_meta.cpp386 get_mapper()->importBuffer(handle, [&](const auto& tmpError, const auto& tmpBuffer) { in import_buffer() argument
391 bufferHandle = static_cast<native_handle_t*>(tmpBuffer); in import_buffer()
/hardware/interfaces/graphics/mapper/4.0/utils/vts/
DMapperVts.cpp193 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument
198 bufferHandle = static_cast<const native_handle_t*>(tmpBuffer); in importBuffer()
/hardware/interfaces/camera/common/default/
DExif.cpp786 void* tmpBuffer = exif_mem_alloc(mem, size); in addVariableLengthEntry() local
787 if (!tmpBuffer) { in addVariableLengthEntry()
793 entry->data = static_cast<unsigned char*>(tmpBuffer); in addVariableLengthEntry()
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dtinyexr.h9265 std::vector<unsigned short> tmpBuffer(inSize / sizeof(unsigned short)); in CompressPiz()
9268 unsigned short *tmpBufferEnd = &tmpBuffer.at(0); in CompressPiz()
9305 bitmapFromData(&tmpBuffer.at(0), static_cast<int>(tmpBuffer.size()), in CompressPiz()
9310 applyLut(lut.data(), &tmpBuffer.at(0), static_cast<int>(tmpBuffer.size())); in CompressPiz()
9354 hufCompress(&tmpBuffer.at(0), static_cast<int>(tmpBuffer.size()), buf); in CompressPiz()
9427 std::vector<unsigned short> tmpBuffer(tmpBufSize); in DecompressPiz()
9428 hufUncompress(reinterpret_cast<const char *>(ptr), length, &tmpBuffer); in DecompressPiz()
9436 unsigned short *tmpBufferEnd = &tmpBuffer.at(0); in DecompressPiz()
9469 applyLut(lut.data(), &tmpBuffer.at(0), static_cast<int>(tmpBufSize)); in DecompressPiz()