Home
last modified time | relevance | path

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

/hardware/google/av/codec2/vndk/
DC2AllocatorIon.cpp136 …C2AllocationIon(int ionFd, size_t size, size_t align, unsigned heapMask, unsigned flags, C2Allocat…
137 C2AllocationIon(int ionFd, size_t size, int shareFd, C2Allocator::id_t id);
165 …Impl(int ionFd, size_t capacity, int bufferFd, ion_user_handle_t buffer, C2Allocator::id_t id, int… in Impl() argument
166 : mIonFd(ionFd), in Impl()
194 static Impl *Import(int ionFd, size_t capacity, int bufferFd, C2Allocator::id_t id) { in Import() argument
196 int ret = ion_import(ionFd, bufferFd, &buffer); in Import()
197 return new Impl(ionFd, capacity, bufferFd, buffer, id, ret); in Import()
212 …static Impl *Alloc(int ionFd, size_t size, size_t align, unsigned heapMask, unsigned flags, C2Allo… in Alloc() argument
216 int ret = ion_alloc(ionFd, alignedSize, align, heapMask, flags, &buffer); in Alloc()
219 ionFd, alignedSize, align, heapMask, flags, ret, buffer); in Alloc()
[all …]