/drivers/hdf_core/interfaces/inner_api/hdi/base/ |
D | native_buffer.h | 56 class NativeBuffer : public Parcelable { 58 NativeBuffer(); 59 virtual ~NativeBuffer(); 60 explicit NativeBuffer(const BufferHandle *handle); 62 NativeBuffer(const NativeBuffer &other); 63 NativeBuffer(NativeBuffer &&other) noexcept; 65 NativeBuffer &operator=(const NativeBuffer &other); 66 NativeBuffer &operator=(NativeBuffer &&other) noexcept; 86 static sptr<NativeBuffer> Unmarshalling(Parcel &parcel);
|
/drivers/hdf_core/adapter/uhdf2/hdi/src/ |
D | native_buffer.cpp | 26 NativeBuffer::NativeBuffer() : handle_(nullptr), isOwner_(true), bufferDestructor_(nullptr) {} in NativeBuffer() function in OHOS::HDI::Base::NativeBuffer 28 NativeBuffer::~NativeBuffer() in ~NativeBuffer() 33 NativeBuffer::NativeBuffer(const BufferHandle *handle) : NativeBuffer() in NativeBuffer() function in OHOS::HDI::Base::NativeBuffer 38 NativeBuffer::NativeBuffer(const NativeBuffer &other) : NativeBuffer() in NativeBuffer() function in OHOS::HDI::Base::NativeBuffer 46 NativeBuffer::NativeBuffer(NativeBuffer &&other) noexcept : NativeBuffer() in NativeBuffer() function in OHOS::HDI::Base::NativeBuffer 54 NativeBuffer &NativeBuffer::operator=(const NativeBuffer &other) in operator =() 64 NativeBuffer &NativeBuffer::operator=(NativeBuffer &&other) noexcept in operator =() 76 bool NativeBuffer::Marshalling(Parcel &parcel) const in Marshalling() 115 sptr<NativeBuffer> NativeBuffer::Unmarshalling(Parcel &parcel) in Unmarshalling() 117 sptr<NativeBuffer> newParcelable = new NativeBuffer(); in Unmarshalling() [all …]
|
/drivers/hdf_core/adapter/uhdf2/hdi/test/buffer_handle/ |
D | native_buffer_test.cpp | 28 using OHOS::HDI::Base::NativeBuffer; 63 sptr<NativeBuffer> srcBuffer = new NativeBuffer(nullptr); 68 sptr<NativeBuffer> destBuffer = data.ReadStrongParcelable<NativeBuffer>(); 83 sptr<NativeBuffer> srcBuffer = new NativeBuffer(srcHandle); 88 sptr<NativeBuffer> destBuffer = data.ReadStrongParcelable<NativeBuffer>(); 102 NativeBuffer srcBuffer; 103 NativeBuffer destBuffer(srcBuffer); 115 NativeBuffer srcBuffer(srcHandle); 119 NativeBuffer destBuffer(srcBuffer); 132 NativeBuffer srcBuffer(srcHandle); [all …]
|
/drivers/peripheral/display/buffer/hdi_service/include/ |
D | mapper_service.h | 33 int32_t FreeMem(const sptr<NativeBuffer>& handle) override; 34 int32_t Mmap(const sptr<NativeBuffer>& handle) override; 35 int32_t Unmap(const sptr<NativeBuffer>& handle) override; 36 int32_t FlushCache(const sptr<NativeBuffer>& handle) override; 37 int32_t InvalidateCache(const sptr<NativeBuffer>& handle) override;
|
D | allocator_service.h | 32 int32_t AllocMem(const AllocInfo& info, sptr<NativeBuffer>& handle) override;
|
/drivers/interface/display/buffer/v1_0/hdi_impl/ |
D | display_buffer_hdi_impl.cpp | 133 sptr<NativeBuffer> hdiBuffer; in AllocMem() 148 sptr<NativeBuffer> hdiBuffer = new NativeBuffer(); in FreeMem() 157 sptr<NativeBuffer> hdiBuffer = new NativeBuffer(); in Mmap() 168 sptr<NativeBuffer> hdiBuffer = new NativeBuffer(); in Unmap() 178 sptr<NativeBuffer> hdiBuffer = new NativeBuffer(); in FlushCache() 188 sptr<NativeBuffer> hdiBuffer = new NativeBuffer(); in InvalidateCache()
|
/drivers/interface/display/buffer/v1_0/ |
D | IMapper.idl | 21 FreeMem([in] NativeBuffer handle); 22 Mmap([in] NativeBuffer handle); 23 Unmap([in] NativeBuffer handle); 24 FlushCache([in] NativeBuffer handle); 25 InvalidateCache([in] NativeBuffer handle);
|
D | IAllocator.idl | 21 AllocMem([in] struct AllocInfo info, [out] NativeBuffer handle);
|
/drivers/interface/display/composer/v1_0/cache_manager/ |
D | buffer_cache_utils.h | 36 …ferHandle* NativeBufferCache(const std::shared_ptr<CacheManager<uint32_t, NativeBuffer>>& cacheMgr, in NativeBufferCache() 42 NativeBuffer* nativeBuffer = cacheMgr->SearchCache(seqNo); in NativeBufferCache() 54 NativeBuffer* nativeBuffer = new NativeBuffer(); in NativeBufferCache()
|
D | device_cache.cpp | 58 clientBufferCaches_.reset(new CacheManager<uint32_t, NativeBuffer>()); in Init() 62 outputBufferCaches_.reset(new CacheManager<uint32_t, NativeBuffer>()); in Init() 139 clientBufferCaches_->TravelCaches([this](int32_t id, const NativeBuffer& buffer)->void { in Dump() 143 outputBufferCaches_->TravelCaches([this](int32_t id, const NativeBuffer& buffer)->void { in Dump()
|
D | device_cache.h | 58 std::shared_ptr<CacheManager<uint32_t, NativeBuffer>> clientBufferCaches_; 59 std::shared_ptr<CacheManager<uint32_t, NativeBuffer>> outputBufferCaches_;
|
D | layer_cache.cpp | 54 bufferCaches_.reset(new CacheManager<uint32_t, NativeBuffer>()); in Init() 90 bufferCaches_->TravelCaches([this](const int32_t id, const NativeBuffer& buffer)->void { in Dump()
|
D | layer_cache.h | 45 std::shared_ptr<CacheManager<uint32_t, NativeBuffer>> bufferCaches_;
|
/drivers/peripheral/display/buffer/hdi_service/src/ |
D | mapper_service.cpp | 95 int32_t MapperService::FreeMem(const sptr<NativeBuffer>& handle) in FreeMem() 103 int32_t MapperService::Mmap(const sptr<NativeBuffer>& handle) in Mmap() 112 int32_t MapperService::Unmap(const sptr<NativeBuffer>& handle) in Unmap() 121 int32_t MapperService::FlushCache(const sptr<NativeBuffer>& handle) in FlushCache() 130 int32_t MapperService::InvalidateCache(const sptr<NativeBuffer>& handle) in InvalidateCache()
|
D | allocator_service.cpp | 94 int32_t AllocatorService::AllocMem(const AllocInfo& info, sptr<NativeBuffer>& handle) in AllocMem() 105 handle = new NativeBuffer(); in AllocMem()
|
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameraacquirebuffer_fuzzer/ |
D | dcameraacquirebuffer_fuzzer.cpp | 41 buffer.bufferHandle_ = new NativeBuffer(); in DcameraAcquireBufferFuzzTest()
|
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcamerashutterbuffer_fuzzer/ |
D | dcamerashutterbuffer_fuzzer.cpp | 41 buffer.bufferHandle_ = new NativeBuffer(); in DcameraShutterBufferFuzzTest()
|
/drivers/interface/distributed_camera/v1_0/ |
D | DCameraTypes.idl | 267 * Native buffer, see {@link NativeBuffer}. 269 NativeBuffer bufferHandle_;
|
/drivers/peripheral/codec/image/jpeg/src/ |
D | codec_jpeg_dec.cpp | 95 inBuffer.buffer = new NativeBuffer(bufferHandle); in AllocateInBuffer()
|
/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/ |
D | dbuffer_manager.cpp | 156 buffer.bufferHandle_ = new NativeBuffer(); in DImageBufferToDCameraBuffer()
|
/drivers/interface/codec/image/v1_0/ |
D | CodecImageType.idl | 66 NativeBuffer buffer; /**< Buffer handle used for encoding or decoding. For details, 67 see {@link NativeBuffer}. */
|
/drivers/peripheral/display/composer/hdi_service/include/ |
D | display_composer_service.h | 54 … uint32_t devId, const sptr<NativeBuffer>& buffer, const sptr<HdifdParcelable>& fence) override;
|
/drivers/peripheral/codec/test/unittest/idl_omx/ |
D | codec_hdi_omx_dec_test.cpp | 27 using OHOS::HDI::Base::NativeBuffer;
|
/drivers/peripheral/codec/test/unittest/hdi_image/ |
D | codec_hdi_jpeg_test.cpp | 54 outBuffer.buffer = new NativeBuffer(bufferHandle); in InitOutBuffer()
|
/drivers/peripheral/codec/test/demo/jpeg/src/ |
D | jpeg_decoder.cpp | 194 outBuffer_.buffer = new NativeBuffer(handle); in AllocBuffer()
|