Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/
DC2AllocatorBlob.cpp75 uint8_t *mMappedAddr; member in android::C2AllocationBlob
84 mMappedAddr(nullptr) {} in C2AllocationBlob()
87 if (mMappedAddr) { in ~C2AllocationBlob()
89 mGraphicAllocation->unmap(&mMappedAddr, rect, nullptr); in ~C2AllocationBlob()
102 if (mMappedAddr) { in map()
103 *addr = mMappedAddr + offset; in map()
111 c2_status_t err = mGraphicAllocation->map(rect, usage, fence, &layout, &mMappedAddr); in map()
115 mMappedAddr = nullptr; in map()
118 *addr = mMappedAddr + offset; in map()
128 if (u8Addr < mMappedAddr || mMappedAddr + capacity() < u8Addr + size) { in unmap()
[all …]