Home
last modified time | relevance | path

Searched refs:alignment (Results 1 – 25 of 29) sorted by relevance

12

/CafeSDK-2.12.13/system/include/windows/
Dmem.h33 #define MEMAllocFromDefaultHeapEx(size, alignment) malloc(size) argument
35 #define MEMAllocFromExpHeapEx(heap, size, alignment) malloc(size) argument
37 #define MEMAllocFromFrmHeapEx(heap, size, alignment) malloc(size) argument
42 #define MEMGetAllocatableSizeForDefaultHeapEx(heap, alignment) 0x2000000 //32MB, not sure what t… argument
43 #define MEMGetAllocatableSizeForExpHeapEx(heap, alignment) 0x2000000 //32MB, not sure what to say argument
44 #define MEMGetAllocatableSizeForFrmHeapEx(heap, alignment) 0x2000000 //32MB, not sure what to say argument
51 #define MEMInitAllocatorForExpHeap(pAllocator, heap, alignment) argument
/CafeSDK-2.12.13/system/include/cafe/mem/
Dallocator.h74 int alignment );
79 int alignment );
85 … MEMInitAllocatorForBlockHeap ( MEMAllocator* pAllocator, MEMHeapHandle heap, int alignment);
DunitHeap.h84 int alignment,
100 int alignment );
Dblockheap.h80 void* MEMAllocFromBlockHeapEx( MEMHeapHandle heap, u32 size, int alignment );
90 u32 MEMGetAllocatableSizeForBlockHeapEx( MEMHeapHandle heap, int alignment );
DexpHeap.h81 u32 alignment : 23; // Alignment. member
157 int alignment );
168 u32 MEMGetAllocatableSizeForExpHeapEx( MEMHeapHandle heap, int alignment );
DframeHeap.h98 int alignment );
102 u32 MEMGetAllocatableSizeForFrmHeapEx( MEMHeapHandle heap, int alignment );
DdefaultHeap.h28 typedef void * (*pfMEMAllocFromDefaultHeapEx)(u32 size, int alignment);
/CafeSDK-2.12.13/system/include/cafe/
Dmem_res.h25 unsigned long int alignment; member
47 unsigned long int alignment; member
/CafeSDK-2.12.13/system/include/cafe/net/
Dnettest.h28 #define NETTEST_ROUNDUP( value, alignment ) \ argument
29 ((((u32)(value)) + ((alignment)-1)) & ~((alignment)-1))
/CafeSDK-2.12.13/system/src/tool/gfx/projects/gfd/
DgfdFileTexture.cpp48 u32 alignment; member
89 pTXout32->surface.alignment = pTXin64->surface.alignment; in GFDRepackTexture32Bit()
125 pTXout64->surface.alignment = pTXin32->surface.alignment; in GFDRepackTexture64Bit()
157 u32 alignment = pTexture->surface.alignment; in GFDWriteFileTextureBlock() local
181 padSize = (alignment - (currentSize % alignment)) % alignment; in GFDWriteFileTextureBlock()
204 padSize = (alignment - (currentSize % alignment)) % alignment; in GFDWriteFileTextureBlock()
/CafeSDK-2.12.13/system/src/lib/demo/
DdemoDRCCamera.c33 void* DEMODRCCameraMemAlloc(int size, int alignment) in DEMODRCCameraMemAlloc() argument
44 pMem = DEMOAllocEx(size, alignment); in DEMODRCCameraMemAlloc()
122 DEMODRCCameraSurface[0].alignment = CAMERA_YUV_BUFFER_ALIGNMENT; in DEMODRCCameraInit()
129 DEMODRCCameraSurface[1].alignment = CAMERA_YUV_BUFFER_ALIGNMENT; in DEMODRCCameraInit()
DdemoDRC.c193 DEMODRCColorBuffer.surface.alignment); in DEMODRCInit()
217 DEMODRCDepthBuffer.surface.alignment); in DEMODRCInit()
315 DEMODRCColorBuffer.surface.alignment); in DEMODRCAcquiredForeground()
333 DEMODRCDepthBuffer.surface.alignment); in DEMODRCAcquiredForeground()
DdemoGfx.c61 static void* DEMOGX2RAlloc(GX2RResourceFlags resourceFlags, u32 byteCount, u32 alignment) in DEMOGX2RAlloc() argument
66 return DEMOGfxAllocMEM1(byteCount, alignment); in DEMOGX2RAlloc()
70 return DEMOGfxAllocMEM2(byteCount, alignment); in DEMOGX2RAlloc()
432 DEMOColorBuffer.surface.alignment); in DEMOGfxInit()
456 DEMODepthBuffer.surface.alignment); in DEMOGfxInit()
608 DEMOColorBuffer.surface.alignment); in DEMOGfxAcquiredForeground()
626 DEMODepthBuffer.surface.alignment); in DEMOGfxAcquiredForeground()
DdemoCapture.c296 DEMOCaptureData.colorBuffer.surface.alignment); in DEMOCaptureInit()
385 tempSurf.alignment); in DEMOCaptureCopy()
/CafeSDK-2.12.13/system/src/lib/demo/headers/cafe/demo/
DdemoDRCCamera.h62 void* DEMODRCCameraMemAlloc(int size, int alignment);
DdemoSystem.h65 typedef void* (*DEMODefaultAllocateFunc)(u32 byteCount, int alignment);
/CafeSDK-2.12.13/system/include/cafe/demo/
DdemoDRCCamera.h62 void* DEMODRCCameraMemAlloc(int size, int alignment);
DdemoSystem.h65 typedef void* (*DEMODefaultAllocateFunc)(u32 byteCount, int alignment);
/CafeSDK-2.12.13/system/src/lib/gfd/
DgfdInterface.c790 …X_ALIGN: %x size: %d align: %d\n", pDataStruct, pBlockHeader->dataSize, pHeader.surface.alignment); in GFDGetTextureAlignmentSize()
791 return pHeader.surface.alignment; in GFDGetTextureAlignmentSize()
836 …HEADER: %x size: %d align: %d\n", pDataStruct, pBlockHeader->dataSize, pHeader->surface.alignment); in GFDGetTexture()
849 if( 0 != (((u32) pImage) & (pHeader->surface.alignment-1))) in GFDGetTexture()
851 … buffers are not aligned correctly. It needs %d byte align buffer.\n", pHeader->surface.alignment); in GFDGetTexture()
866 if( 0 != (((u32) pMipImage) & (pHeader->surface.alignment-1))) in GFDGetTexture()
868 … buffers are not aligned correctly. It needs %d byte align buffer.\n", pHeader->surface.alignment); in GFDGetTexture()
925 …HEADER: %x size: %d align: %d\n", pDataStruct, pBlockHeader->dataSize, pHeader->surface.alignment); in GFDGetGX2RTexture()
945 if( 0 != (((u32) pImage) & (pHeader->surface.alignment-1))) in GFDGetGX2RTexture()
948 … buffers are not aligned correctly. It needs %d byte align buffer.\n", pHeader->surface.alignment); in GFDGetGX2RTexture()
[all …]
/CafeSDK-2.12.13/system/include/cafe/gx2/
Dgx2Surface.h130 u32 alignment; member
629 ASSERT(colorBuffer->surface.alignment <= paddedSurf.alignment); in GX2InitColorBufferFTV()
631 colorBuffer->surface.alignment = paddedSurf.alignment; in GX2InitColorBufferFTV()
Dgx2Misc.h211 typedef void* (*GX2DefaultAllocateFunc)(u32 userArg, u32 byteCount, u32 alignment);
541 GX2_INLINE GX2Boolean GX2IsAligned(const void *p, u32 alignment) in GX2IsAligned() argument
543 return (GX2Boolean)((u32)p == GX2RoundUp((u32)p, alignment)); in GX2IsAligned()
Dgx2rResource.h175 typedef void* (*GX2RAllocateFunc)(GX2RResourceFlags resourceFlags, u32 byteCount, u32 alignment);
/CafeSDK-2.12.13/system/include/nn/ec/
Dec_Types.h173 typedef void* (*AllocateFunction)(size_t size, s32 alignment);
/CafeSDK-2.12.13/system/include/cafe/camera/
Dcamera.h223 int alignment; ///< alignment to use when allocating memory for the image member
/CafeSDK-2.12.13/system/src/tool/gfx/projects/SLConverter/DeferredTest/
DdeferredRendering.cpp372 … GeometryPass.myColorBuffer[0].surface.alignment); in GeometryPassInit()
382 … GeometryPass.myColorBuffer[1].surface.alignment); in GeometryPassInit()
392 … GeometryPass.myColorBuffer[2].surface.alignment); in GeometryPassInit()

12