Lines Matching refs:sTextureHeader
337 PVRTuint32 PVRTGetTextureDataSize(PVRTextureHeaderV3 sTextureHeader, PVRTint32 iMipLevel, bool bAll… in PVRTGetTextureDataSize() argument
344 PVRTuint64 PixelFormatPartHigh = sTextureHeader.u64PixelFormat&PVRTEX_PFHIGHMASK; in PVRTGetTextureDataSize()
349 …PVRTGetFormatMinDims((EPVRTPixelFormat)sTextureHeader.u64PixelFormat, uiSmallestWidth, uiSmallestH… in PVRTGetTextureDataSize()
356 for (PVRTuint8 uiCurrentMIP = 0; uiCurrentMIP<sTextureHeader.u32MIPMapCount; ++uiCurrentMIP) in PVRTGetTextureDataSize()
359 PVRTuint32 uiWidth = PVRT_MAX(1,sTextureHeader.u32Width>>uiCurrentMIP); in PVRTGetTextureDataSize()
360 PVRTuint32 uiHeight = PVRT_MAX(1,sTextureHeader.u32Height>>uiCurrentMIP); in PVRTGetTextureDataSize()
361 PVRTuint32 uiDepth = PVRT_MAX(1,sTextureHeader.u32Depth>>uiCurrentMIP); in PVRTGetTextureDataSize()
372 …uiDataSize+=(PVRTuint64)PVRTGetBitsPerPixel(sTextureHeader.u64PixelFormat)*(PVRTuint64)uiWidth*(PV… in PVRTGetTextureDataSize()
378 PVRTuint32 uiWidth = PVRT_MAX(1,sTextureHeader.u32Width>>iMipLevel); in PVRTGetTextureDataSize()
379 PVRTuint32 uiHeight = PVRT_MAX(1,sTextureHeader.u32Height>>iMipLevel); in PVRTGetTextureDataSize()
380 PVRTuint32 uiDepth = PVRT_MAX(1,sTextureHeader.u32Depth>>iMipLevel); in PVRTGetTextureDataSize()
391 uiDataSize=PVRTGetBitsPerPixel(sTextureHeader.u64PixelFormat)*uiWidth*uiHeight*uiDepth; in PVRTGetTextureDataSize()
395 PVRTuint32 numfaces = ((bAllFaces)?(sTextureHeader.u32NumFaces):(1)); in PVRTGetTextureDataSize()
396 PVRTuint32 numsurfs = ((bAllSurfaces)?(sTextureHeader.u32NumSurfaces):(1)); in PVRTGetTextureDataSize()