Searched refs:requiredAlignment (Results 1 – 6 of 6) sorted by relevance
/frameworks/rs/ |
D | rs_compat.spec | 7 param size_t requiredAlignment
|
D | rsAllocation.cpp | 63 size_t requiredAlignment) { in createAllocationStrided() argument 85 …al.funcs.allocation.initStrided(rsc, a, type->getElement()->getHasReferences(), requiredAlignment); in createAllocationStrided() 753 size_t requiredAlignment) { in rsi_AllocationCreateStrided() argument 755 (void*)ptr, requiredAlignment); in rsi_AllocationCreateStrided()
|
D | rs_hal.h | 312 …ol (*initStrided)(const Context *rsc, Allocation *alloc, bool forceZero, size_t requiredAlignment);
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 300 … const Type *type, uint8_t *ptr, size_t requiredAlignment) { in AllocationBuildPointerTable() argument 307 alloc->mHal.drvState.lod[0].stride = rsRound(stride, requiredAlignment); in AllocationBuildPointerTable() 331 rsRound(tx * type->getElementSizeBytes(), requiredAlignment); in AllocationBuildPointerTable() 360 static uint8_t* allocAlignedMemory(size_t allocSize, bool forceZero, size_t requiredAlignment) { in allocAlignedMemory() argument 362 uint8_t* ptr = (uint8_t *)memalign(requiredAlignment, allocSize); in allocAlignedMemory() 372 …ationInitStrided(const Context *rsc, Allocation *alloc, bool forceZero, size_t requiredAlignment) { in rsdAllocationInitStrided() argument 380 …if ((requiredAlignment & (requiredAlignment-1)) != 0 || requiredAlignment < Allocation::kMinimumRS… in rsdAllocationInitStrided() 385 … allocSize = AllocationBuildPointerTable(rsc, alloc, alloc->getType(), nullptr, requiredAlignment); in rsdAllocationInitStrided() 422 …getType()->getDimX() * alloc->getType()->getElement()->getSizeBytes()) % requiredAlignment) != 0) { in rsdAllocationInitStrided() 426 ptr = allocAlignedMemory(allocSize, forceZero, requiredAlignment); in rsdAllocationInitStrided() [all …]
|
D | rsdAllocation.h | 88 bool forceZero, size_t requiredAlignment);
|
/frameworks/rs/support/jni/ |
D | android_renderscript_RenderScript.cpp | 2227 size_t requiredAlignment = 16; in nIncAllocationCreateTyped() local 2229 while (requiredAlignment <= minRequiredAlignment) { in nIncAllocationCreateTyped() 2230 requiredAlignment <<= 1; in nIncAllocationCreateTyped() 2235 (uintptr_t)pIn, requiredAlignment); in nIncAllocationCreateTyped()
|