Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp524 union AllocParams { union in _C2BufferPoolAllocator
532 AllocParams() : data{ALLOC_NONE, {0, 0}, {0}} {} in AllocParams() function
533 AllocParams(C2MemoryUsage usage, uint32_t capacity) in AllocParams() function
535 AllocParams( in AllocParams() function
566 AllocParams c2Params; in allocate()
567 memcpy(&c2Params, params.data(), std::min(sizeof(AllocParams), params.size())); in allocate()
622 AllocParams newAlloc; in compatible()
623 AllocParams oldAlloc; in compatible()
624 memcpy(&newAlloc, newParams.data(), std::min(sizeof(AllocParams), newParams.size())); in compatible()
625 memcpy(&oldAlloc, oldParams.data(), std::min(sizeof(AllocParams), oldParams.size())); in compatible()
[all …]