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 | 64 size_t requiredAlignment) { in createAllocationStrided() argument 86 …al.funcs.allocation.initStrided(rsc, a, type->getElement()->getHasReferences(), requiredAlignment); in createAllocationStrided() 793 size_t requiredAlignment) { in rsi_AllocationCreateStrided() argument 795 (void*)ptr, requiredAlignment); in rsi_AllocationCreateStrided()
|
D | rs_hal.h | 309 …ol (*initStrided)(const Context *rsc, Allocation *alloc, bool forceZero, size_t requiredAlignment);
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 306 … const Type *type, uint8_t *ptr, size_t requiredAlignment) { in AllocationBuildPointerTable() argument 313 alloc->mHal.drvState.lod[0].stride = rsRound(stride, requiredAlignment); in AllocationBuildPointerTable() 337 rsRound(tx * type->getElementSizeBytes(), requiredAlignment); in AllocationBuildPointerTable() 366 static uint8_t* allocAlignedMemory(size_t allocSize, bool forceZero, size_t requiredAlignment) { in allocAlignedMemory() argument 368 uint8_t* ptr = (uint8_t *)memalign(requiredAlignment, allocSize); in allocAlignedMemory() 378 …ationInitStrided(const Context *rsc, Allocation *alloc, bool forceZero, size_t requiredAlignment) { in rsdAllocationInitStrided() argument 386 …if ((requiredAlignment & (requiredAlignment-1)) != 0 || requiredAlignment < Allocation::kMinimumRS… in rsdAllocationInitStrided() 391 … allocSize = AllocationBuildPointerTable(rsc, alloc, alloc->getType(), nullptr, requiredAlignment); in rsdAllocationInitStrided() 428 …getType()->getDimX() * alloc->getType()->getElement()->getSizeBytes()) % requiredAlignment) != 0) { in rsdAllocationInitStrided() 432 ptr = allocAlignedMemory(allocSize, forceZero, requiredAlignment); in rsdAllocationInitStrided() [all …]
|
D | rsdAllocation.h | 90 bool forceZero, size_t requiredAlignment);
|
/frameworks/support/v8/renderscript/jni/ |
D | android_renderscript_RenderScript.cpp | 2225 size_t requiredAlignment = 16; in nIncAllocationCreateTyped() local 2227 while (requiredAlignment <= minRequiredAlignment) { in nIncAllocationCreateTyped() 2228 requiredAlignment <<= 1; in nIncAllocationCreateTyped() 2233 (uintptr_t)pIn, requiredAlignment); in nIncAllocationCreateTyped()
|