Home
last modified time | relevance | path

Searched refs:id_t (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/av/media/codec2/vndk/include/
DC2PlatformStorePluginLoader.h36 typedef ::C2BlockPool* (*CreateBlockPoolFunc)(::C2Allocator::id_t, ::C2BlockPool::local_id_t);
46 typedef ::C2Allocator* (*CreateAllocatorFunc)(::C2Allocator::id_t, ::c2_status_t*);
65 ::C2Allocator::id_t allocatorId,
87 ::C2Allocator::id_t allocatorId,
DC2PlatformSupport.h38 enum : id_t {
136 C2PlatformAllocatorStore::id_t allocatorId,
153 C2PlatformAllocatorStore::id_t allocatorId,
192 C2PlatformAllocatorStore::id_t GetPreferredLinearAllocatorId(int poolMask);
DC2BufferPriv.h31 virtual C2Allocator::id_t getAllocatorId() const override { in getAllocatorId()
56 virtual C2Allocator::id_t getAllocatorId() const override { in getAllocatorId()
81 virtual C2Allocator::id_t getAllocatorId() const override { in getAllocatorId()
DC2AllocatorBlob.h29 virtual id_t getId() const override;
43 C2AllocatorBlob(id_t id);
DC2AllocatorGralloc.h68 virtual id_t getId() const override;
82 C2AllocatorGralloc(id_t id, bool bufferQueue = false);
DC2AllocatorIon.h40 virtual id_t getId() const override;
54 C2AllocatorIon(id_t id);
DC2DmaBufAllocator.h41 C2DmaBufAllocator(id_t id);
49 virtual id_t getId() const override;
DC2BqBufferPriv.h37 virtual C2Allocator::id_t getAllocatorId() const override { in getAllocatorId()
/frameworks/av/media/codec2/vndk/
DC2AllocatorIon.cpp102 virtual id_t getAllocatorId() const override;
106 …Ion(int ionFd, size_t size, size_t align, unsigned heapMask, unsigned flags, C2Allocator::id_t id);
107 C2AllocationIon(int ionFd, size_t size, int shareFd, C2Allocator::id_t id);
136 …Impl(int ionFd, size_t capacity, int bufferFd, ion_user_handle_t buffer, C2Allocator::id_t id, int… in Impl()
165 static Impl *Import(int ionFd, size_t capacity, int bufferFd, C2Allocator::id_t id);
179 …loc(int ionFd, size_t size, size_t align, unsigned heapMask, unsigned flags, C2Allocator::id_t id);
275 C2Allocator::id_t getAllocatorId() const { in getAllocatorId()
318 C2Allocator::id_t mId;
343 ImplV2(int ionFd, size_t capacity, int bufferFd, C2Allocator::id_t id, int err) in ImplV2()
373 C2Allocator::id_t id) { in Import()
[all …]
DC2DmaBufAllocator.cpp111 virtual id_t getAllocatorId() const override;
127 C2String heap_name, unsigned flags, C2Allocator::id_t id);
136 C2DmaBufAllocation(size_t size, int shareFd, C2Allocator::id_t id);
157 C2Allocator::id_t mId;
239 C2Allocator::id_t C2DmaBufAllocation::getAllocatorId() const { in getAllocatorId()
272 C2String heap_name, unsigned flags, C2Allocator::id_t id) in C2DmaBufAllocation()
288 C2DmaBufAllocation::C2DmaBufAllocation(size_t size, int shareFd, C2Allocator::id_t id) in C2DmaBufAllocation()
296 C2DmaBufAllocator::C2DmaBufAllocator(id_t id) : mInit(C2_OK) { in C2DmaBufAllocator()
303 C2Allocator::id_t C2DmaBufAllocator::getId() const { in getId()
DC2AllocatorBlob.cpp57 C2Allocator::id_t allocatorId);
63 id_t getAllocatorId() const override { return mAllocatorId; } in getAllocatorId()
71 const C2Allocator::id_t mAllocatorId;
80 C2Allocator::id_t allocatorId) in C2AllocationBlob()
154 C2AllocatorBlob::C2AllocatorBlob(id_t id) { in C2AllocatorBlob()
227 id_t C2AllocatorBlob::getId() const { in getId()
DC2PlatformStorePluginLoader.cpp61 ::C2Allocator::id_t allocatorId, ::C2BlockPool::local_id_t blockPoolId, in createBlockPool()
79 ::C2Allocator::id_t allocatorId, in createAllocator()
DC2AllocatorGralloc.cpp348 virtual C2Allocator::id_t getAllocatorId() const override { return mAllocatorId; } in getAllocatorId()
361 C2Allocator::id_t allocatorId);
377 C2Allocator::id_t mAllocatorId;
387 C2Allocator::id_t allocatorId) in C2AllocationGralloc()
918 Impl(id_t id, bool bufferQueue);
920 id_t getId() const { in getId()
956 C2AllocatorGralloc::Impl::Impl(id_t id, bool bufferQueue) in Impl()
1026 C2AllocatorGralloc::C2AllocatorGralloc(id_t id, bool bufferQueue) in C2AllocatorGralloc()
1031 C2Allocator::id_t C2AllocatorGralloc::getId() const { in getId()
DC2Store.cpp65 id_t id, std::shared_ptr<C2Allocator> *const allocator) override;
133 id_t id, std::shared_ptr<C2Allocator> *const allocator) { in fetchAllocator()
443 C2PlatformAllocatorStore::id_t GetPreferredLinearAllocatorId(int poolMask) { in GetPreferredLinearAllocatorId()
456 C2PlatformAllocatorStore::id_t allocatorId, in _createBlockPool()
547 C2PlatformAllocatorStore::id_t allocatorId, in createBlockPool()
635 C2PlatformAllocatorStore::id_t allocatorId, in CreateCodec2BlockPool()
644 C2PlatformAllocatorStore::id_t allocatorId, in CreateCodec2BlockPool()
DC2Buffer.cpp147 C2Allocator::id_t getAllocatorId() const { in getAllocatorId()
206 C2Allocator::id_t C2Block1D::getAllocatorId() const { in getAllocatorId()
835 C2Allocator::id_t getAllocatorId() const { in getAllocatorId()
996 C2Allocator::id_t C2Block2D::getAllocatorId() const { in getAllocatorId()
/frameworks/av/media/codec2/components/base/
DSimpleC2Interface.cpp104 C2Allocator::id_t rawAllocator = C2AllocatorStore::DEFAULT_LINEAR; in BaseParams()
108 C2Allocator::id_t preferredLinearId = GetPreferredLinearAllocatorId(poolMask); in BaseParams()
109 C2Allocator::id_t codedAllocator = preferredLinearId; in BaseParams()
163 C2Allocator::id_t inputAllocators[1] = { isEncoder ? rawAllocator : codedAllocator }; in BaseParams()
164 C2Allocator::id_t outputAllocators[1] = { isEncoder ? codedAllocator : rawAllocator }; in BaseParams()
/frameworks/av/media/codec2/core/include/
DC2Component.h718 typedef C2Allocator::id_t id_t; typedef
720 enum : C2Allocator::id_t {
768 virtual c2_status_t fetchAllocator(id_t id, std::shared_ptr<C2Allocator>* const allocator) = 0;
DC2Buffer.h567 typedef uint32_t id_t; typedef
568 enum : id_t {
588 id_t id; ///< allocator ID
612 virtual id_t getId() const = 0;
827 virtual C2Allocator::id_t getAllocatorId() const = 0;
895 virtual C2Allocator::id_t getAllocatorId() const = 0;
1142 C2Allocator::id_t getAllocatorId() const;
1918 virtual C2Allocator::id_t getAllocatorId() const = 0;
1960 C2Allocator::id_t getAllocatorId() const;
/frameworks/av/media/codec2/hidl/plugin/
DFilterWrapperStub.cpp45 C2PlatformAllocatorStore::id_t allocatorId, in createBlockPool()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.h325 C2Allocator::id_t inputAllocatorId;
327 C2Allocator::id_t outputAllocatorId;
DCCodec.cpp2780 std::set<C2Allocator::id_t> *ids) { in GetCommonAllocatorIds()
2782 C2PlatformAllocatorStore::id_t preferredLinearId = GetPreferredLinearAllocatorId(poolMask); in GetCommonAllocatorIds()
2783 C2Allocator::id_t defaultAllocatorId = in GetCommonAllocatorIds()
2918 std::set<C2Allocator::id_t> allocators; in CanFetchLinearBlock()
2933 static std::shared_ptr<C2BlockPool> GetPool(C2Allocator::id_t allocId) { in GetPool()
2935 static std::map<C2Allocator::id_t, std::shared_ptr<C2BlockPool>> sPools; in GetPool()
2955 std::set<C2Allocator::id_t> allocators; in FetchLinearBlock()
2970 for (C2Allocator::id_t allocId : allocators) { in FetchLinearBlock()
2990 std::set<C2Allocator::id_t> allocators; in CanFetchGraphicBlock()
3015 std::set<C2Allocator::id_t> allocators; in FetchGraphicBlock()
[all …]
/frameworks/av/media/codec2/hidl/plugin/internal/
DFilterWrapper.h88 C2PlatformAllocatorStore::id_t allocatorId,
/frameworks/av/media/codec2/hidl/1.1/utils/
DComponent.cpp399 static_cast<C2PlatformAllocatorStore::id_t>(allocatorId), in createBlockPool()
404 static_cast<C2PlatformAllocatorStore::id_t>(allocatorId), in createBlockPool()
/frameworks/av/media/codec2/hidl/1.0/utils/
DComponent.cpp399 static_cast<C2PlatformAllocatorStore::id_t>(allocatorId), in createBlockPool()
404 static_cast<C2PlatformAllocatorStore::id_t>(allocatorId), in createBlockPool()
/frameworks/av/media/codec2/hidl/1.2/utils/
DComponent.cpp399 static_cast<C2PlatformAllocatorStore::id_t>(allocatorId), in createBlockPool()
404 static_cast<C2PlatformAllocatorStore::id_t>(allocatorId), in createBlockPool()

12