Home
last modified time | relevance | path

Searched refs:imageSize (Results 1 – 24 of 24) sorted by relevance

/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/TexConv2/ddsReader/
DDDS.cpp196 int faceSize = pSurface->imageSize/6; in DDSConvertMipsToCubeFormat()
236 pTempImg = malloc( pSurface->imageSize ); in DDSSaveFile()
238 memcpy( pTempImg, pSurface->imagePtr, pSurface->imageSize ); in DDSSaveFile()
241 assert((pSurface->imageSize%6) == 0); in DDSSaveFile()
242 pTempData = (u8*)malloc( pSurface->imageSize + pSurface->mipSize ); in DDSSaveFile()
246 memcpy( pSurface->imagePtr, pTempData, pSurface->imageSize ); in DDSSaveFile()
247 memcpy( pSurface->mipPtr, pTempData + pSurface->imageSize, pSurface->mipSize ); in DDSSaveFile()
303 memcpy( pSurface->imagePtr, pTempImg, pSurface->imageSize ); in DDSSaveFile()
615 if(pSurface->imageSize > 0) in SaveDDS_RGB565()
618 for (u32 count = 0; count < (pSurface->imageSize / 2); count++) in SaveDDS_RGB565()
[all …]
DDDS_10.cpp386 if(pSurface->imageSize > 0) in SaveDDS10()
387 …fwrite(pSurface->imagePtr, GFD_ELEMENT_SIZE_32, (pSurface->imageSize + 3) / GFD_ELEMENT_SIZE_32, p… in SaveDDS10()
DDDS_Helpers.cpp371 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-1/system/src/lib/demo/
DdemoDRC.c192 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()
DdemoDRCCamera.c121 DEMODRCCameraSurface[0].imageSize = CAMERA_YUV_BUFFER_SIZE; in DEMODRCCameraInit()
128 DEMODRCCameraSurface[1].imageSize = CAMERA_YUV_BUFFER_SIZE; in DEMODRCCameraInit()
DdemoCapture.c295 = 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()
DdemoGfx.c446 ptr = DEMOGfxAllocMEM1(DEMOColorBuffer.surface.imageSize, in DEMOGfxInit()
449 GX2Invalidate(GX2_INVALIDATE_CPU, ptr, DEMOColorBuffer.surface.imageSize); in DEMOGfxInit()
470 ptr = DEMOGfxAllocMEM1(DEMODepthBuffer.surface.imageSize, in DEMOGfxInit()
473 GX2Invalidate(GX2_INVALIDATE_CPU, ptr, DEMODepthBuffer.surface.imageSize); in DEMOGfxInit()
634 ptr = DEMOGfxAllocMEM1(DEMOColorBuffer.surface.imageSize, in DEMOGfxAcquiredForeground()
636 GX2Invalidate(GX2_INVALIDATE_CPU, ptr, DEMOColorBuffer.surface.imageSize); in DEMOGfxAcquiredForeground()
652 ptr = DEMOGfxAllocMEM1(DEMODepthBuffer.surface.imageSize, in DEMOGfxAcquiredForeground()
654 GX2Invalidate(GX2_INVALIDATE_CPU, ptr, DEMODepthBuffer.surface.imageSize); in DEMOGfxAcquiredForeground()
DdemoGfd.c289 u32 imageSize; in DEMOGFDReadTexture() local
305 imageSize = GFDGetTextureImageSize(index, pData); in DEMOGFDReadTexture()
307 if(!headerSize || !imageSize) in DEMOGFDReadTexture()
DdemoFont.c519 DEMOGfxAllocMEM2(pFont->TexData.surface.imageSize, in InitFontTexture()
/CafeSDK-2.12.13-1/system/include/cafe/gx2/
Dgx2Surface.h110 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()
Dgx2Texture.h266 GX2Invalidate(GX2_INVALIDATE_CPU_TEXTURE, srcImagePtr, srcSurf.imageSize); in GX2TileTexture()
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/SLConverter/DeferredTest/
DdeferredRendering.cpp371 …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-1/system/src/tool/gfx/include/texUtils/
DTC_PluginAPI.h141 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-1/system/src/tool/gfx/projects/gfd/
DgfdFileTexture.cpp42 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-1/system/src/lib/gx2ut/
Dgx2utExpandDepth.cpp146 …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()
Dgx2utExpandColor.cpp169 …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()
Dgx2utConvertDepth.cpp209 …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()
Dgx2utResolve.cpp193 …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()
Dgx2ut.cpp169 size = pSurf->imageSize; in GX2UTGetSurfaceMipSize()
Dgx2utClear.cpp743 …lidate(GX2_INVALIDATE_COLOR_BUFFER, colorBuffer->surface.imagePtr, colorBuffer->surface.imageSize); in GX2UTClearRectOp()
751 …lidate(GX2_INVALIDATE_DEPTH_BUFFER, depthBuffer->surface.imagePtr, depthBuffer->surface.imageSize); in GX2UTClearRectOp()
931 …ASSERT(tmpBuf.surface.imageSize == ctileSize && "CMask Tile Size must match calculated image size!… in GX2UTSetupColorAuxBufferOp()
Dgx2utCopy.cpp633 …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-1/system/include/cafe/camera/
Dcamera.h218 int imageSize; ///< size of image in bytes member
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/TexConv2/tgaReader/
DtgaReader.cpp407 pSurface->imagePtr = malloc(pSurface->imageSize + pSurface->mipSize); in GenericLoadFunction()
412 pSurface->mipPtr = (void*)((u8*)pSurface->imagePtr + pSurface->imageSize); in GenericLoadFunction()
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/TexConv2/texConvert/
DTexConvert.cpp341 printf(" imageSize = %d\n", pGx2Textures->surface.imageSize); in PrintTextureSurfaceInfo()
676 for (count = 0; count < pInSurface->imageSize; count += 4) in SNORMToUNORM()