Searched defs:requiredAlignment (Results 1 - 3 of 3) sorted by relevance
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 306 const Type *type, uint8_t *ptr, size_t requiredAlignment) { 311 // Stride needs to be aligned to a boundary defined by requiredAlignment! 313 alloc->mHal.drvState.lod[0].stride = rsRound(stride, requiredAlignment); 337 rsRound(tx * type->getElementSizeBytes(), requiredAlignment); 366 static uint8_t* allocAlignedMemory(size_t allocSize, bool forceZero, size_t requiredAlignment) { argument 367 // We align all allocations to a boundary defined by requiredAlignment. 368 uint8_t* ptr = (uint8_t *)memalign(requiredAlignment, allocSize); 378 bool rsdAllocationInitStrided(const Context *rsc, Allocation *alloc, bool forceZero, size_t requiredAlignment) { argument 385 // Check if requiredAlignment is power of 2, also requiredAlignment shoul 305 AllocationBuildPointerTable(const Context *rsc, const Allocation *alloc, const Type *type, uint8_t *ptr, size_t requiredAlignment) argument [all...] |
/frameworks/rs/ |
H A D | rsAllocation.cpp | 64 size_t requiredAlignment) { 86 success = rsc->mHal.funcs.allocation.initStrided(rsc, a, type->getElement()->getHasReferences(), requiredAlignment); 793 size_t requiredAlignment) { 795 (void*)ptr, requiredAlignment); 62 createAllocationStrided(Context *rsc, const Type *type, uint32_t usages, RsAllocationMipmapControl mc, void * ptr, size_t requiredAlignment) argument 790 rsi_AllocationCreateStrided(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr, size_t requiredAlignment) argument
|
/frameworks/support/v8/renderscript/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 255 milliseconds