Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp720 AllocParams oldAlloc; in compatible() local
722 memcpy(&oldAlloc, oldParams.data(), std::min(sizeof(AllocParams), oldParams.size())); in compatible()
725 if (newAlloc.data.allocType == oldAlloc.data.allocType && in compatible()
726 newAlloc.data.usage.expected == oldAlloc.data.usage.expected) { in compatible()
728 if (newAlloc.data.params[i] != oldAlloc.data.params[i]) { in compatible()
1031 AllocParams oldAlloc; in compatible() local
1033 memcpy(&oldAlloc, oldParams.data(), std::min(sizeof(AllocParams), oldParams.size())); in compatible()
1036 if (newAlloc.data.allocType == oldAlloc.data.allocType && in compatible()
1037 newAlloc.data.usage.expected == oldAlloc.data.usage.expected) { in compatible()
1039 if (newAlloc.data.params[i] != oldAlloc.data.params[i]) { in compatible()