Searched defs:requiredAlignment (Results 1 - 4 of 4) sorted by relevance
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 297 const Type *type, uint8_t *ptr, size_t requiredAlignment) { 302 // Stride needs to be aligned to a boundary defined by requiredAlignment! 304 alloc->mHal.drvState.lod[0].stride = rsRound(stride, requiredAlignment); 328 rsRound(tx * type->getElementSizeBytes(), requiredAlignment); 357 static uint8_t* allocAlignedMemory(size_t allocSize, bool forceZero, size_t requiredAlignment) { argument 358 // We align all allocations to a boundary defined by requiredAlignment. 359 uint8_t* ptr = (uint8_t *)memalign(requiredAlignment, allocSize); 369 bool rsdAllocationInitStrided(const Context *rsc, Allocation *alloc, bool forceZero, size_t requiredAlignment) { argument 376 // Check if requiredAlignment is power of 2, also requiredAlignment shoul 296 AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, const Type *type, uint8_t *ptr, size_t requiredAlignment) argument [all...] |
/frameworks/rs/rsov/driver/ |
H A D | rsovAllocation.cpp | 84 size_t requiredAlignment) { 89 // Stride needs to be aligned to a boundary defined by requiredAlignment! 92 alloc->mHal.drvState.lod[0].stride = rsRound(stride, requiredAlignment); 117 rsRound(tx * type->getElementSizeBytes(), requiredAlignment); 82 AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, const Type *type, uint8_t *ptr, size_t requiredAlignment) argument
|
/frameworks/rs/ |
H A D | rsAllocation.cpp | 63 size_t requiredAlignment) { 85 success = rsc->mHal.funcs.allocation.initStrided(rsc, a, type->getElement()->getHasReferences(), requiredAlignment); 753 size_t requiredAlignment) { 755 (void*)ptr, requiredAlignment); 61 createAllocationStrided(Context *rsc, const Type *type, uint32_t usages, RsAllocationMipmapControl mc, void * ptr, size_t requiredAlignment) argument 750 rsi_AllocationCreateStrided(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr, size_t requiredAlignment) argument
|
/frameworks/rs/support/jni/ |
H A D | android_renderscript_RenderScript.cpp | 2215 * By definition stride is a roundup of xBytesSize with requiredAlignment, so requiredAlignment must 2218 * We can prove that as long as requiredAlignment satisfies the following two conditions, the 2225 size_t requiredAlignment = 16; local 2227 while (requiredAlignment <= minRequiredAlignment) { 2228 requiredAlignment <<= 1; 2233 (uintptr_t)pIn, requiredAlignment);
|
Completed in 2472 milliseconds