Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/sv/1.0/default/
DSurroundView3dSession.cpp155 for (auto overlayMemDesc : overlaysData.overlaysMemoryDesc) { in VerifyOverlayData() local
156 memDescSize += kIdSize + kVertexSize * overlayMemDesc.verticesCount; in VerifyOverlayData()
179 for (auto overlayMemDesc : overlaysData.overlaysMemoryDesc) { in VerifyOverlayData() local
181 if (overlayIdSet.find(overlayMemDesc.id) != overlayIdSet.end()) { in VerifyOverlayData()
185 overlayIdSet.insert(overlayMemDesc.id); in VerifyOverlayData()
187 if(overlayMemDesc.verticesCount < 3) { in VerifyOverlayData()
192 if (overlayMemDesc.overlayPrimitive == OverlayPrimitive::TRIANGLES && in VerifyOverlayData()
193 overlayMemDesc.verticesCount % 3 != 0) { in VerifyOverlayData()
200 if (overlayId != overlayMemDesc.id) { in VerifyOverlayData()
201 ALOGE("Overlay id mismatch %d , %d", overlayId, overlayMemDesc.id); in VerifyOverlayData()
[all …]
/hardware/interfaces/automotive/sv/1.0/default/tests/fuzzer/
DAutomotiveSvV1_0Fuzzer.cpp403 OverlayMemoryDesc overlayMemDesc[mNumOverlays]; in initSampleOverlaysData() local
405 overlayMemDesc[i].id = i; in initSampleOverlaysData()
406 overlayMemDesc[i].verticesCount = in initSampleOverlaysData()
408 overlayMemDesc[i].overlayPrimitive = mFuzzedDataProvider.ConsumeBool() in initSampleOverlaysData()
411 mOverlaysdata.overlaysMemoryDesc[i] = overlayMemDesc[i]; in initSampleOverlaysData()
413 sharedMemBytesSize += kIdByteSize + kVertexByteSize * overlayMemDesc[i].verticesCount; in initSampleOverlaysData()
414 overlaysDescVector.push_back(overlayMemDesc[i]); in initSampleOverlaysData()
433 setIndexOfOverlaysMemory(overlaysDescVector, pIMemory, i, overlayMemDesc[i].id); in initSampleOverlaysData()