/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 | 91 mMapper = IMapper::getService(); in Gralloc4Mapper() 92 if (mMapper == nullptr) { in Gralloc4Mapper() 96 if (mMapper->isRemote()) { in Gralloc4Mapper() 102 return mMapper != nullptr; in isLoaded() 137 hardware::Return<void> ret = mMapper->createDescriptor(*descriptorInfo, hidl_cb); in createDescriptor() 145 auto ret = mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() 158 auto ret = mMapper->freeBuffer(buffer); in freeBuffer() 173 auto ret = mMapper->validateBufferSize(buffer, descriptorInfo, stride); in validateBufferSize() 185 auto ret = mMapper->getTransportSize(buffer, in getTransportSize() 250 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() 207 mMapper.freeBuffer(handle); in free()
|
/frameworks/native/libs/ui/include/ui/ |
D | Gralloc3.h | 71 sp<hardware::graphics::mapper::V3_0::IMapper> mMapper; variable 90 const Gralloc3Mapper& mMapper;
|
D | Gralloc2.h | 69 sp<hardware::graphics::mapper::V2_0::IMapper> mMapper; variable 89 const Gralloc2Mapper& 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 | 100 C2_CHECK(!mMapper); in withMapper() 102 mMapper = mapper; in withMapper() 108 C2_CHECK(!mMapper); in withMappers() 110 mMapper = mapper; in withMappers() 118 C2_CHECK(!mMapper); in withC2Mappers() 120 mMapper = [](C2Value v) -> C2Value { in withC2Mappers() 156 if (value.type() != C2Value::NO_INIT && mMapper) { in mapFromMessage() 157 value = mMapper(value); in mapFromMessage() 175 Mapper mapper() const { return mMapper; } in mapper() 183 Mapper mMapper; ///< optional SDK => Codec 2.0 value mapper member
|