/frameworks/native/libs/ui/ |
D | GraphicBufferMapper.cpp | 55 mMapper = std::make_unique<const Gralloc4Mapper>(); in GraphicBufferMapper() 56 if (mMapper->isLoaded()) { in GraphicBufferMapper() 60 mMapper = std::make_unique<const Gralloc3Mapper>(); in GraphicBufferMapper() 61 if (mMapper->isLoaded()) { in GraphicBufferMapper() 65 mMapper = std::make_unique<const Gralloc2Mapper>(); in GraphicBufferMapper() 66 if (mMapper->isLoaded()) { in GraphicBufferMapper() 76 result.append(mMapper->dumpBuffer(bufferHandle, less)); in dumpBuffer() 93 status_t error = mMapper->importBuffer(hardware::hidl_handle(rawHandle), &bufferHandle); in importBuffer() 99 error = mMapper->validateBufferSize(bufferHandle, width, height, format, layerCount, usage, in importBuffer() 115 mMapper->getTransportSize(handle, outTransportNumFds, outTransportNumInts); in getTransportSize() [all …]
|
D | Gralloc3.cpp | 81 mMapper = IMapper::getService(); in Gralloc3Mapper() 82 if (mMapper == nullptr) { in Gralloc3Mapper() 86 if (mMapper->isRemote()) { in Gralloc3Mapper() 92 return mMapper != nullptr; in isLoaded() 127 hardware::Return<void> ret = mMapper->createDescriptor(*descriptorInfo, hidl_cb); in createDescriptor() 135 auto ret = mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() 148 auto ret = mMapper->freeBuffer(buffer); in freeBuffer() 162 auto ret = mMapper->validateBufferSize(buffer, descriptorInfo, stride); in validateBufferSize() 174 auto ret = mMapper->getTransportSize(buffer, in getTransportSize() 207 auto ret = mMapper->lock(buffer, usage, accessRegion, acquireFenceHandle, in lock() [all …]
|
D | Gralloc2.cpp | 84 mMapper = hardware::graphics::mapper::V2_0::IMapper::getService(); in Gralloc2Mapper() 85 if (mMapper == nullptr) { in Gralloc2Mapper() 89 if (mMapper->isRemote()) { in Gralloc2Mapper() 94 mMapperV2_1 = IMapper::castFrom(mMapper); in Gralloc2Mapper() 98 return mMapper != nullptr; in isLoaded() 149 ret = mMapper->createDescriptor(info, hidl_cb); in createDescriptor() 158 auto ret = mMapper->importBuffer(rawHandle, in importBuffer() 174 auto ret = mMapper->freeBuffer(buffer); in freeBuffer() 252 auto ret = mMapper->lock(buffer, usage, accessRegion, acquireFenceHandle, in lock() 292 auto ret = mMapper->lockYCbCr(buffer, usage, accessRegion, in lock() [all …]
|
D | Gralloc4.cpp | 90 mMapper = IMapper::getService(); in Gralloc4Mapper() 91 if (mMapper == nullptr) { in Gralloc4Mapper() 95 if (mMapper->isRemote()) { in Gralloc4Mapper() 101 return mMapper != nullptr; in isLoaded() 136 hardware::Return<void> ret = mMapper->createDescriptor(*descriptorInfo, hidl_cb); in createDescriptor() 144 auto ret = mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() 157 auto ret = mMapper->freeBuffer(buffer); in freeBuffer() 172 auto ret = mMapper->validateBufferSize(buffer, descriptorInfo, stride); in validateBufferSize() 184 auto ret = mMapper->getTransportSize(buffer, in getTransportSize() 249 auto ret = mMapper->lock(buffer, usage, accessRegion, acquireFenceHandle, in lock() [all …]
|
D | GraphicBufferAllocator.cpp | 50 GraphicBufferAllocator::GraphicBufferAllocator() : mMapper(GraphicBufferMapper::getInstance()) { in GraphicBufferAllocator() 52 reinterpret_cast<const Gralloc4Mapper&>(mMapper.getGrallocMapper())); in GraphicBufferAllocator() 57 reinterpret_cast<const Gralloc3Mapper&>(mMapper.getGrallocMapper())); in GraphicBufferAllocator() 62 reinterpret_cast<const Gralloc2Mapper&>(mMapper.getGrallocMapper())); in GraphicBufferAllocator() 209 mMapper.freeBuffer(handle); in free()
|
/frameworks/native/libs/ui/include/ui/ |
D | Gralloc2.h | 69 sp<hardware::graphics::mapper::V2_0::IMapper> mMapper; variable 89 const Gralloc2Mapper& mMapper;
|
D | Gralloc3.h | 71 sp<hardware::graphics::mapper::V3_0::IMapper> mMapper; variable 90 const Gralloc3Mapper& mMapper;
|
D | GraphicBufferAllocator.h | 103 GraphicBufferMapper& mMapper; variable
|
D | GraphicBufferMapper.h | 173 return reinterpret_cast<const GrallocMapper&>(*mMapper); in getGrallocMapper() 183 std::unique_ptr<const GrallocMapper> mMapper; variable
|
D | Gralloc4.h | 184 sp<hardware::graphics::mapper::V4_0::IMapper> mMapper; variable 203 const Gralloc4Mapper& mMapper;
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicBufferAllocator.h | 103 GraphicBufferMapper& mMapper; variable
|
D | GraphicBufferMapper.h | 173 return reinterpret_cast<const GrallocMapper&>(*mMapper); in getGrallocMapper() 183 std::unique_ptr<const GrallocMapper> mMapper; variable
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecConfig.cpp | 98 C2_CHECK(!mMapper); in withMapper() 100 mMapper = mapper; in withMapper() 106 C2_CHECK(!mMapper); in withMappers() 108 mMapper = mapper; in withMappers() 116 C2_CHECK(!mMapper); in withC2Mappers() 118 mMapper = [](C2Value v) -> C2Value { in withC2Mappers() 154 if (value.type() != C2Value::NO_INIT && mMapper) { in mapFromMessage() 155 value = mMapper(value); in mapFromMessage() 173 Mapper mapper() const { return mMapper; } in mapper() 181 Mapper mMapper; ///< optional SDK => Codec 2.0 value mapper member
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | RequestThreadManager.java | 687 private final LegacyResultMapper mMapper = new LegacyResultMapper(); 922 CameraMetadataNative result = mMapper.cachedConvertResultMetadata(
|