| /CafeSDK-2.12.13/system/src/tool/gfx/projects/TexConv2/ddsReader/ |
| D | DDS.cpp | 194 int faceSize = pSurface->imageSize/6; in DDSConvertMipsToCubeFormat() 234 pTempImg = malloc( pSurface->imageSize ); in DDSSaveFile() 236 memcpy( pTempImg, pSurface->imagePtr, pSurface->imageSize ); in DDSSaveFile() 239 assert((pSurface->imageSize%6) == 0); in DDSSaveFile() 240 pTempData = (u8*)malloc( pSurface->imageSize + pSurface->mipSize ); in DDSSaveFile() 244 memcpy( pSurface->imagePtr, pTempData, pSurface->imageSize ); in DDSSaveFile() 245 memcpy( pSurface->mipPtr, pTempData + pSurface->imageSize, pSurface->mipSize ); in DDSSaveFile() 301 memcpy( pSurface->imagePtr, pTempImg, pSurface->imageSize ); in DDSSaveFile() 613 if(pSurface->imageSize > 0) in SaveDDS_RGB565() 616 for (u32 count = 0; count < (pSurface->imageSize / 2); count++) in SaveDDS_RGB565() [all …]
|
| D | DDS_10.cpp | 386 if(pSurface->imageSize > 0) in SaveDDS10() 387 …fwrite(pSurface->imagePtr, GFD_ELEMENT_SIZE_32, (pSurface->imageSize + 3) / GFD_ELEMENT_SIZE_32, p… in SaveDDS10()
|
| D | DDS_Helpers.cpp | 371 pSurface->imagePtr = malloc(pSurface->imageSize + pSurface->mipSize); in GenericLoadFunction() 375 pSurface->mipPtr = (void*)((u8*)pSurface->imagePtr + pSurface->imageSize); in GenericLoadFunction() 1181 ddsd2.dwLinearSize = pSurface->imageSize + pSurface->mipSize; in SetupDDSD()
|
| /CafeSDK-2.12.13/system/src/lib/demo/ |
| D | demoDRC.c | 192 ptr = DEMOGfxAllocMEM1(DEMODRCColorBuffer.surface.imageSize, in DEMODRCInit() 195 GX2Invalidate(GX2_INVALIDATE_CPU, ptr, DEMODRCColorBuffer.surface.imageSize); in DEMODRCInit() 216 ptr = DEMOGfxAllocMEM1(DEMODRCDepthBuffer.surface.imageSize, in DEMODRCInit() 219 GX2Invalidate(GX2_INVALIDATE_CPU, ptr, DEMODRCDepthBuffer.surface.imageSize); in DEMODRCInit() 314 ptr = DEMOGfxAllocMEM1(DEMODRCColorBuffer.surface.imageSize, in DEMODRCAcquiredForeground() 316 GX2Invalidate(GX2_INVALIDATE_CPU, ptr, DEMODRCColorBuffer.surface.imageSize); in DEMODRCAcquiredForeground() 332 ptr = DEMOGfxAllocMEM1(DEMODRCDepthBuffer.surface.imageSize, in DEMODRCAcquiredForeground() 334 GX2Invalidate(GX2_INVALIDATE_CPU, ptr, DEMODRCDepthBuffer.surface.imageSize); in DEMODRCAcquiredForeground()
|
| D | demoDRCCamera.c | 121 DEMODRCCameraSurface[0].imageSize = CAMERA_YUV_BUFFER_SIZE; in DEMODRCCameraInit() 128 DEMODRCCameraSurface[1].imageSize = CAMERA_YUV_BUFFER_SIZE; in DEMODRCCameraInit()
|
| D | demoCapture.c | 295 = DEMOGfxAllocMEM2(DEMOCaptureData.colorBuffer.surface.imageSize, in DEMOCaptureInit() 300 DEMOCaptureData.colorBuffer.surface.imageSize); in DEMOCaptureInit() 370 DEMOCaptureData.colorBuffer.surface.imageSize); in DEMOCaptureCopy() 384 tempSurf.imagePtr = DEMOGfxAllocMEM2(tempSurf.imageSize, in DEMOCaptureCopy() 401 DEMOCaptureData.colorBuffer.surface.imageSize); in DEMOCaptureCopy() 409 DEMOCaptureData.colorBuffer.surface.imageSize); in DEMOCaptureCopy()
|
| D | demoGfx.c | 431 ptr = DEMOGfxAllocMEM1(DEMOColorBuffer.surface.imageSize, in DEMOGfxInit() 434 GX2Invalidate(GX2_INVALIDATE_CPU, ptr, DEMOColorBuffer.surface.imageSize); in DEMOGfxInit() 455 ptr = DEMOGfxAllocMEM1(DEMODepthBuffer.surface.imageSize, in DEMOGfxInit() 458 GX2Invalidate(GX2_INVALIDATE_CPU, ptr, DEMODepthBuffer.surface.imageSize); in DEMOGfxInit() 607 ptr = DEMOGfxAllocMEM1(DEMOColorBuffer.surface.imageSize, in DEMOGfxAcquiredForeground() 609 GX2Invalidate(GX2_INVALIDATE_CPU, ptr, DEMOColorBuffer.surface.imageSize); in DEMOGfxAcquiredForeground() 625 ptr = DEMOGfxAllocMEM1(DEMODepthBuffer.surface.imageSize, in DEMOGfxAcquiredForeground() 627 GX2Invalidate(GX2_INVALIDATE_CPU, ptr, DEMODepthBuffer.surface.imageSize); in DEMOGfxAcquiredForeground()
|
| D | demoGfd.c | 289 u32 imageSize; in DEMOGFDReadTexture() local 305 imageSize = GFDGetTextureImageSize(index, pData); in DEMOGFDReadTexture() 307 if(!headerSize || !imageSize) in DEMOGFDReadTexture()
|
| D | demoFont.c | 519 DEMOGfxAllocMEM2(pFont->TexData.surface.imageSize, in InitFontTexture()
|
| /CafeSDK-2.12.13/system/include/cafe/gx2/ |
| D | gx2Surface.h | 110 u32 imageSize; member 628 ASSERT(colorBuffer->surface.imageSize <= paddedSurf.imageSize); in GX2InitColorBufferFTV() 630 colorBuffer->surface.imageSize = paddedSurf.imageSize; in GX2InitColorBufferFTV() 1103 dstUVSurface->imageSize -= srcNV12Surface->mipOffset[0]; in GX2InitNV12UVSurface()
|
| D | gx2Texture.h | 266 GX2Invalidate(GX2_INVALIDATE_CPU_TEXTURE, srcImagePtr, srcSurf.imageSize); in GX2TileTexture()
|
| /CafeSDK-2.12.13/system/src/tool/gfx/projects/SLConverter/DeferredTest/ |
| D | deferredRendering.cpp | 371 …ometryPass.myColorBufferData[0] = DEMOGfxAllocMEM1(GeometryPass.myColorBuffer[0].surface.imageSize, in GeometryPassInit() 381 …ometryPass.myColorBufferData[1] = DEMOGfxAllocMEM1(GeometryPass.myColorBuffer[1].surface.imageSize, in GeometryPassInit() 391 …ometryPass.myColorBufferData[2] = DEMOGfxAllocMEM1(GeometryPass.myColorBuffer[2].surface.imageSize, in GeometryPassInit() 795 GeometryPass.myColorBuffer[0].surface.imageSize ); in GeometryPassDraw() 798 GeometryPass.myColorBuffer[1].surface.imageSize ); in GeometryPassDraw() 801 GeometryPass.myColorBuffer[2].surface.imageSize ); in GeometryPassDraw() 804 LightingPass.myTextureBuffer[0].surface.imageSize ); in GeometryPassDraw() 807 LightingPass.myTextureBuffer[1].surface.imageSize ); in GeometryPassDraw() 810 LightingPass.myTextureBuffer[2].surface.imageSize ); in GeometryPassDraw() 816 BuffersPass.myTextureBuffer[0].surface.imageSize ); in GeometryPassDraw() [all …]
|
| /CafeSDK-2.12.13/system/src/tool/gfx/include/texUtils/ |
| D | TC_PluginAPI.h | 141 return pSurface->imageSize / sliceCountThisLevel; 197 …pLevel->pData = (u8*)pSurface->imagePtr + ((pSurface->imageSize / sliceCountThisLevel) * nFaceOrSl… in GetMipLevel() 198 pLevel->byteSize = pSurface->imageSize / sliceCountThisLevel; in GetMipLevel()
|
| /CafeSDK-2.12.13/system/src/tool/gfx/projects/gfd/ |
| D | gfdFileTexture.cpp | 42 u32 imageSize; member 83 pTXout32->surface.imageSize = pTXin64->surface.imageSize; in GFDRepackTexture32Bit() 119 pTXout64->surface.imageSize = pTXin32->surface.imageSize; in GFDRepackTexture64Bit() 151 u32 nBytesTex = GFD_ROUND_UP(pTexture->surface.imageSize, sizeof(u32)); in GFDWriteFileTextureBlock()
|
| /CafeSDK-2.12.13/system/src/lib/gx2ut/ |
| D | gx2utExpandColor.cpp | 169 …lidate(GX2_INVALIDATE_COLOR_BUFFER, colorBuffer->surface.imagePtr, colorBuffer->surface.imageSize); in GX2UTExpandAAColorBufferOp() 197 …lidate(GX2_INVALIDATE_COLOR_BUFFER, colorBuffer->surface.imagePtr, colorBuffer->surface.imageSize); in GX2UTExpandAAColorBufferOp()
|
| D | gx2utExpandDepth.cpp | 146 …lidate(GX2_INVALIDATE_DEPTH_BUFFER, depthBuffer->surface.imagePtr, depthBuffer->surface.imageSize); in GX2UTExpandDepthBufferOp() 202 …lidate(GX2_INVALIDATE_DEPTH_BUFFER, depthBuffer->surface.imagePtr, depthBuffer->surface.imageSize); in GX2UTExpandDepthBufferOp()
|
| D | gx2utConvertDepth.cpp | 209 …lidate(GX2_INVALIDATE_DEPTH_BUFFER, depthBuffer->surface.imagePtr, depthBuffer->surface.imageSize); in GX2UTConvertDepthBufferToTextureSurfaceOp() 260 GX2Invalidate(GX2_INVALIDATE_DEPTH_BUFFER, cb.surface.imagePtr, cb.surface.imageSize); in GX2UTConvertDepthBufferToTextureSurfaceOp()
|
| D | gx2utResolve.cpp | 193 …lidate(GX2_INVALIDATE_COLOR_BUFFER, colorBuffer->surface.imagePtr, colorBuffer->surface.imageSize); in GX2UTResolveAAColorBufferRectOp() 230 GX2Invalidate(GX2_INVALIDATE_COLOR_BUFFER, dstSurface->imagePtr, dstSurface->imageSize); in GX2UTResolveAAColorBufferRectOp()
|
| D | gx2ut.cpp | 169 size = pSurf->imageSize; in GX2UTGetSurfaceMipSize()
|
| D | gx2utClear.cpp | 737 …lidate(GX2_INVALIDATE_COLOR_BUFFER, colorBuffer->surface.imagePtr, colorBuffer->surface.imageSize); in GX2UTClearRectOp() 745 …lidate(GX2_INVALIDATE_DEPTH_BUFFER, depthBuffer->surface.imagePtr, depthBuffer->surface.imageSize); in GX2UTClearRectOp() 925 …ASSERT(tmpBuf.surface.imageSize == ctileSize && "CMask Tile Size must match calculated image size!… in GX2UTSetupColorAuxBufferOp()
|
| D | gx2utCopy.cpp | 633 …ALIDATE_COLOR_BUFFER|GX2_INVALIDATE_TEXTURE), texture.surface.imagePtr, texture.surface.imageSize); in GX2UTCopySurfaceRectOp() 669 …validate(GX2_INVALIDATE_COLOR_BUFFER, colorBuffer.surface.imagePtr, colorBuffer.surface.imageSize); in GX2UTCopySurfaceRectOp()
|
| /CafeSDK-2.12.13/system/include/cafe/camera/ |
| D | camera.h | 218 int imageSize; ///< size of image in bytes member
|
| /CafeSDK-2.12.13/system/src/tool/gfx/projects/TexConv2/tgaReader/ |
| D | tgaReader.cpp | 407 pSurface->imagePtr = malloc(pSurface->imageSize + pSurface->mipSize); in GenericLoadFunction() 412 pSurface->mipPtr = (void*)((u8*)pSurface->imagePtr + pSurface->imageSize); in GenericLoadFunction()
|
| /CafeSDK-2.12.13/system/src/tool/gfx/projects/TexConv2/texConvert/ |
| D | TexConvert.cpp | 341 printf(" imageSize = %d\n", pGx2Textures->surface.imageSize); in PrintTextureSurfaceInfo() 676 for (count = 0; count < pInSurface->imageSize; count += 4) in SNORMToUNORM()
|