Home
last modified time | relevance | path

Searched refs:sTextureHeader (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTTextureAPI.cpp47 static const void PVRTGetOGLES2TextureFormat(const PVRTextureHeaderV3& sTextureHeader, PVRTuint32& … in PVRTGetOGLES2TextureFormat() argument
49 PVRTuint64 PixelFormat = sTextureHeader.u64PixelFormat; in PVRTGetOGLES2TextureFormat()
50 EPVRTVariableType ChannelType = (EPVRTVariableType)sTextureHeader.u32ChannelType; in PVRTGetOGLES2TextureFormat()
358 PVRTextureHeaderV3 sTextureHeader; in PVRTTextureLoadFromPointer() local
369 PVRTConvertOldTextureHeaderToV3((PVR_Texture_Header*)pointer,sTextureHeader,pMetaData); in PVRTTextureLoadFromPointer()
379 sTextureHeader=*(PVRTextureHeaderV3*)pointer; in PVRTTextureLoadFromPointer()
382 …pTextureData = texPtr? (PVRTuint8*)texPtr:(PVRTuint8*)pointer+PVRTEX3_HEADERSIZE+sTextureHeader.u3… in PVRTTextureLoadFromPointer()
388 while (metaDataSize<sTextureHeader.u32MetaDataSize) in PVRTTextureLoadFromPointer()
429 *(PVRTextureHeaderV3*)psTextureHeader=sTextureHeader; in PVRTTextureLoadFromPointer()
438 PVRTGetOGLES2TextureFormat(sTextureHeader,eTextureInternalFormat,eTextureFormat,eTextureType); in PVRTTextureLoadFromPointer()
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/
DPVRTTextureAPI.cpp46 static const void PVRTGetOGLES3TextureFormat(const PVRTextureHeaderV3& sTextureHeader, PVRTuint32& … in PVRTGetOGLES3TextureFormat() argument
48 PVRTuint64 PixelFormat = sTextureHeader.u64PixelFormat; in PVRTGetOGLES3TextureFormat()
49 EPVRTVariableType ChannelType = (EPVRTVariableType)sTextureHeader.u32ChannelType; in PVRTGetOGLES3TextureFormat()
50 EPVRTColourSpace ColourSpace = (EPVRTColourSpace)sTextureHeader.u32ColourSpace; in PVRTGetOGLES3TextureFormat()
758 PVRTextureHeaderV3 sTextureHeader; in PVRTTextureLoadFromPointer() local
769 PVRTConvertOldTextureHeaderToV3((PVR_Texture_Header*)pointer,sTextureHeader,pMetaData); in PVRTTextureLoadFromPointer()
779 sTextureHeader=*(PVRTextureHeaderV3*)pointer; in PVRTTextureLoadFromPointer()
782 …pTextureData = texPtr? (PVRTuint8*)texPtr:(PVRTuint8*)pointer+PVRTEX3_HEADERSIZE+sTextureHeader.u3… in PVRTTextureLoadFromPointer()
788 while (metaDataSize<sTextureHeader.u32MetaDataSize) in PVRTTextureLoadFromPointer()
829 *(PVRTextureHeaderV3*)psTextureHeader=sTextureHeader; in PVRTTextureLoadFromPointer()
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTTexture.cpp337 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()
[all …]
DPVRTTexture.h703 PVRTuint32 PVRTGetTextureDataSize(PVRTextureHeaderV3 sTextureHeader, PVRTint32 iMipLevel=PVRTEX_ALL…