Searched refs:AllocParams (Results 1 – 1 of 1) sorted by relevance
/frameworks/av/media/codec2/vndk/ |
D | C2Buffer.cpp | 539 union AllocParams { union in _C2BufferPoolAllocator 547 AllocParams() : data{ALLOC_NONE, {0, 0}, {0}} {} in AllocParams() function 548 AllocParams(C2MemoryUsage usage, uint32_t capacity) in AllocParams() function 550 AllocParams( in AllocParams() function 581 AllocParams c2Params; in allocate() 582 memcpy(&c2Params, params.data(), std::min(sizeof(AllocParams), params.size())); in allocate() 637 AllocParams newAlloc; in compatible() 638 AllocParams oldAlloc; in compatible() 639 memcpy(&newAlloc, newParams.data(), std::min(sizeof(AllocParams), newParams.size())); in compatible() 640 memcpy(&oldAlloc, oldParams.data(), std::min(sizeof(AllocParams), oldParams.size())); in compatible() [all …]
|