Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/
DC2AllocatorIon.cpp136 …Impl(int ionFd, size_t capacity, int bufferFd, ion_user_handle_t buffer, C2Allocator::id_t id, int… in Impl() argument
138 mHandle(bufferFd, capacity), in Impl()
165 static Impl *Import(int ionFd, size_t capacity, int bufferFd, C2Allocator::id_t id);
238 mHandle.bufferFd()); in unmap()
344 ImplV2(int ionFd, size_t capacity, int bufferFd, C2Allocator::id_t id, int err) in ImplV2() argument
345 : Impl(ionFd, capacity, bufferFd, -1 /*buffer*/, id, err) { in ImplV2()
351 return mHandle.bufferFd(); in ionHandle()
358 *base = mmap(nullptr, mapSize, prot, flags, mHandle.bufferFd(), mapOffset); in mapInternal()
361 mapSize, prot, flags, mHandle.bufferFd(), mapOffset, errno); in mapInternal()
373 C2AllocationIon::Impl *C2AllocationIon::Impl::Import(int ionFd, size_t capacity, int bufferFd, in Import() argument
[all …]
DC2DmaBufAllocator.cpp56 C2HandleBuf(int bufferFd, size_t size) in C2HandleBuf()
58 mFds{bufferFd}, in C2HandleBuf()
63 int bufferFd() const { return mFds.mBuffer; } in bufferFd() function
144 *base = mmap(nullptr, mapSize, prot, flags, mHandle.bufferFd(), mapOffset); in mapInternal()
147 mapSize, prot, flags, mHandle.bufferFd(), mapOffset, errno); in mapInternal()
229 ALOGV("successfully unmapped: %d", mHandle.bufferFd()); in unmap()
251 return mHandle.bufferFd() == otherAsBuf->mHandle.bufferFd(); in equals()
275 int bufferFd = -1; in C2DmaBufAllocation() local
278 bufferFd = alloc.Alloc(heap_name, allocSize, flags); in C2DmaBufAllocation()
279 if (bufferFd < 0) { in C2DmaBufAllocation()
[all …]
/frameworks/av/media/codec2/vndk/internal/
DC2HandleIonInternal.h26 C2HandleIon(int bufferFd, size_t size) in C2HandleIon()
28 mFds{ bufferFd }, in C2HandleIon()
36 int bufferFd() const { return mFds.mBuffer; } in bufferFd() function