/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTTexture.h | 17 const PVRTuint32 PVRTEX3_IDENT = 0x03525650; // 'P''V''R'3 18 const PVRTuint32 PVRTEX3_IDENT_REV = 0x50565203; 22 const PVRTuint32 PVRTEX_CURR_IDENT = PVRTEX3_IDENT; 23 const PVRTuint32 PVRTEX_CURR_IDENT_REV = PVRTEX3_IDENT_REV; 26 const PVRTuint32 PVRTEX3_FILE_COMPRESSED = (1<<0); // Texture has been file compressed using PVRTe… 27 const PVRTuint32 PVRTEX3_PREMULTIPLIED = (1<<1); // Texture has been premultiplied by alpha value… 147 …PVRTuint32 DevFOURCC; ///< A 4cc descriptor of the data type's creator. Values equating to values… 148 PVRTuint32 u32Key; ///< A DWORD (enum value) identifying the data type, and thus how to read it. 149 PVRTuint32 u32DataSize; ///< Size of the Data member. 167 for (PVRTuint32 uiDataAmt=0; uiDataAmt<u32DataSize; ++uiDataAmt) in MetaDataBlock() [all …]
|
D | PVRTModelPOD.h | 127 PVRTuint32 n; /*!< Number of values per vertex */ 128 PVRTuint32 nStride; /*!< Distance in bytes from one array entry to the next */ 164 PVRTuint32 nNumVertex; /*!< Number of vertices in the mesh */ 165 PVRTuint32 nNumFaces; /*!< Number of triangles in the mesh */ 166 PVRTuint32 nNumUVW; /*!< Number of texture coordinate channels per vertex */ 168 PVRTuint32 *pnStripLength; /*!< If mesh is stripped: number of tris per strip. */ 169 …PVRTuint32 nNumStrips; /*!< If mesh is stripped: number of strips, length of pnStripLength arra… 199 PVRTuint32 nAnimFlags; /*!< Stores which animation arrays the POD Node contains */ 201 PVRTuint32 *pnAnimPositionIdx; 204 PVRTuint32 *pnAnimRotationIdx; [all …]
|
D | PVRTPrint3D.h | 40 const PVRTuint32 PVRTPRINT3D_HEADER = 0xFCFC0050; 41 const PVRTuint32 PVRTPRINT3D_CHARLIST = 0xFCFC0051; 42 const PVRTuint32 PVRTPRINT3D_RECTS = 0xFCFC0052; 43 const PVRTuint32 PVRTPRINT3D_METRICS = 0xFCFC0053; 44 const PVRTuint32 PVRTPRINT3D_YOFFSET = 0xFCFC0054; 45 const PVRTuint32 PVRTPRINT3D_KERNING = 0xFCFC0055; 47 const PVRTuint32 PVRTPRINT3D_VERSION = 1; 279 … YPos, const float fScale, const unsigned int Colour, const CPVRTArray<PVRTuint32>& Text, SPVRTPri… 294 …bool LoadFontData(const PVRTextureHeaderV3* texHeader, CPVRTMap<PVRTuint32, CPVRTMap<PVRTuint32, M… 311 PVRTuint32 FindCharacter(PVRTuint32 character) const; [all …]
|
D | PVRTPrint3D.cpp | 52 const PVRTuint32 PVRFONT_HEADER = 0xFCFC0050; 53 const PVRTuint32 PVRFONT_CHARLIST = 0xFCFC0051; 54 const PVRTuint32 PVRFONT_RECTS = 0xFCFC0052; 55 const PVRTuint32 PVRFONT_METRICS = 0xFCFC0053; 56 const PVRTuint32 PVRFONT_YOFFSET = 0xFCFC0054; 57 const PVRTuint32 PVRFONT_KERNING = 0xFCFC0055; 177 uiDataSize = sizeof(PVRTuint32) * m_uiNumCharacters; in ReadMetaBlock() 179 m_pszCharacterList = new PVRTuint32[m_uiNumCharacters]; in ReadMetaBlock() 221 …:LoadFontData( const PVRTextureHeaderV3* texHeader, CPVRTMap<PVRTuint32, CPVRTMap<PVRTuint32, Meta… in LoadFontData() argument 256 m_pszCharacterList = new PVRTuint32[m_uiNumCharacters]; in LoadFontData() [all …]
|
D | PVRTMap.h | 39 EPVRTError Reserve(const PVRTuint32 uiSize) in Reserve() 50 PVRTuint32 GetSize() const in GetSize() 63 PVRTuint32 GetIndexOf(const KeyType key) const in GetIndexOf() 66 for (PVRTuint32 i=0; i<m_uiSize; ++i) in GetIndexOf() 88 const DataType* GetDataAtIndex(const PVRTuint32 uiIndex) const in GetDataAtIndex() 106 PVRTuint32 uiIndex = GetIndexOf(key); 142 PVRTuint32 uiIndex=GetIndexOf(key); in Remove() 194 PVRTuint32 m_uiSize; /*!< The number of meaningful members in the map. */
|
D | PVRTDecompress.cpp | 47 PVRTuint32 u32ModulationData; 48 PVRTuint32 u32ColourData; 62 static Pixel32 getColourA(PVRTuint32 u32ColourData) in getColourA() 92 static Pixel32 getColourB(PVRTuint32 u32ColourData) in getColourB() 126 PVRTuint32 ui32WordWidth=4; in interpolateColours() 127 PVRTuint32 ui32WordHeight=4; in interpolateColours() 229 PVRTuint32 WordModMode = word.u32ColourData & 0x1; in unpackModulations() 230 PVRTuint32 ModulationBits = word.u32ModulationData; in unpackModulations() 367 …i32ModulationValues[16][8],PVRTint32 i32ModulationModes[16][8],PVRTuint32 xPos,PVRTuint32 yPos,PVR… in getModulationValues() 435 PVRTuint32 ui32WordWidth=4; in pvrtcGetDecompressedPixels() [all …]
|
D | PVRTUnicode.cpp | 23 const PVRTuint32 c_u32ReplChar = 0xFFFD; 69 const PVRTuint32 c_u32MinVals[4] = 83 static bool CheckGenericUnicode(PVRTuint32 c32) in CheckGenericUnicode() 110 EPVRTError PVRTUnicodeUTF8ToUTF32(const PVRTuint8* const pUTF8, CPVRTArray<PVRTuint32>& aUTF32) … in PVRTUnicodeUTF8ToUTF32() 114 PVRTuint32 c32; in PVRTUnicodeUTF8ToUTF32() 174 EPVRTError PVRTUnicodeUTF16ToUTF32(const PVRTuint16* const pUTF16, CPVRTArray<PVRTuint32>& aUTF32) in PVRTUnicodeUTF16ToUTF32() 188 PVRTuint32 c32; in PVRTUnicodeUTF16ToUTF32() 315 PVRTuint32 c32 = *pC++; in PVRTUnicodeValidUTF8()
|
D | PVRTTexture.cpp | 32 memcpy(&DevFOURCC, *pDataCursor, sizeof(PVRTuint32)); *pDataCursor += sizeof(PVRTuint32); in ReadFromPtr() 33 memcpy(&u32Key, *pDataCursor, sizeof(PVRTuint32)); *pDataCursor += sizeof(PVRTuint32); in ReadFromPtr() 34 memcpy(&u32DataSize, *pDataCursor, sizeof(PVRTuint32)); *pDataCursor += sizeof(PVRTuint32); in ReadFromPtr() 202 PVRTuint32 PVRTGetBitsPerPixel(PVRTuint64 u64PixelFormat) in PVRTGetBitsPerPixel() 259 void PVRTGetFormatMinDims(PVRTuint64 u64PixelFormat, PVRTuint32 &minX, PVRTuint32 &minY, PVRTuint32… in PVRTGetFormatMinDims() 337 PVRTuint32 PVRTGetTextureDataSize(PVRTextureHeaderV3 sTextureHeader, PVRTint32 iMipLevel, bool bAll… in PVRTGetTextureDataSize() 340 PVRTuint32 uiSmallestWidth=1; in PVRTGetTextureDataSize() 341 PVRTuint32 uiSmallestHeight=1; in PVRTGetTextureDataSize() 342 PVRTuint32 uiSmallestDepth=1; in PVRTGetTextureDataSize() 359 PVRTuint32 uiWidth = PVRT_MAX(1,sTextureHeader.u32Width>>uiCurrentMIP); in PVRTGetTextureDataSize() [all …]
|
D | PVRTPFXParser.h | 220 PVRTuint32 uiFormatFlags; // Surface Type. 262 const PVRTuint32 PVRPFXTEX_COLOUR = PVRTuint32(1<<30); 263 const PVRTuint32 PVRPFXTEX_DEPTH = PVRTuint32(1<<31);
|
D | PVRTUnicode.h | 28 EPVRTError PVRTUnicodeUTF8ToUTF32( const PVRTuint8* const pUTF8, CPVRTArray<PVRTuint32>& aUTF32); 38 EPVRTError PVRTUnicodeUTF16ToUTF32(const PVRTuint16* const pUTF16, CPVRTArray<PVRTuint32>& aUTF32);
|
D | PVRTModelPOD.cpp | 891 PVRTuint32 PVRTModelPODGetAnimArraySize(PVRTuint32 *pAnimDataIdx, PVRTuint32 ui32Frames, PVRTuint32… in PVRTModelPODGetAnimArraySize() 896 PVRTuint32 ui32Max = 0; in PVRTModelPODGetAnimArraySize() 1183 PVRTuint32 *p32Pointer=NULL; in ReadCPODData() 2998 PVRTuint32 PVRTModelPODDataTypeSize(const EPVRTDataType type) 3006 return static_cast<PVRTuint32>(sizeof(float)); 3009 return static_cast<PVRTuint32>(sizeof(int)); 3014 return static_cast<PVRTuint32>(sizeof(unsigned short)); 3016 return static_cast<PVRTuint32>(sizeof(unsigned int)); 3018 return static_cast<PVRTuint32>(sizeof(unsigned int)); 3020 return static_cast<PVRTuint32>(sizeof(unsigned int)); [all …]
|
D | PVRTGlobal.h | 156 typedef unsigned int PVRTuint32; typedef 183 PVRTSIZEASSERT(PVRTuint32, 4);
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/ |
D | PVRTTextureAPI.cpp | 47 …rmat(const PVRTextureHeaderV3& sTextureHeader, PVRTuint32& internalformat, PVRTuint32& format, PVR… in PVRTGetOGLES2TextureFormat() 366 if((*(PVRTuint32*)pointer)!=PVRTEX3_IDENT) in PVRTTextureLoadFromPointer() 372 pTextureData = texPtr? (PVRTuint8*)texPtr:(PVRTuint8*)pointer+*(PVRTuint32*)pointer; in PVRTTextureLoadFromPointer() 387 PVRTuint32 metaDataSize=0; in PVRTTextureLoadFromPointer() 391 PVRTuint32 DevFourCC=*(PVRTuint32*)((PVRTuint8*)pointer+PVRTEX3_HEADERSIZE+metaDataSize); in PVRTTextureLoadFromPointer() 395 PVRTuint32 u32Key=*(PVRTuint32*)((PVRTuint8*)pointer+PVRTEX3_HEADERSIZE+metaDataSize); in PVRTTextureLoadFromPointer() 399 PVRTuint32 u32DataSize = *(PVRTuint32*)((PVRTuint8*)pointer+PVRTEX3_HEADERSIZE+metaDataSize); in PVRTTextureLoadFromPointer() 501 PVRTuint32 uiMIPWidth = sTextureHeaderDecomp.u32Width>>nLoadFromLevel; in PVRTTextureLoadFromPointer() 502 PVRTuint32 uiMIPHeight = sTextureHeaderDecomp.u32Height>>nLoadFromLevel; in PVRTTextureLoadFromPointer() 511 for (PVRTuint32 uiFace=0;uiFace<sTextureHeader.u32NumFaces;++uiFace) in PVRTTextureLoadFromPointer() [all …]
|
D | PVRTBackgroundShaders.h | 16 #define A32BIT PVRTuint32 56 #define A32BIT PVRTuint32
|
D | PVRTPrint3DAPI.cpp | 465 …RTuint8* pSource, const PVRTextureHeaderV3* header, CPVRTMap<PVRTuint32, CPVRTMap<PVRTuint32, Meta… in APIUpLoadTexture() argument
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/ |
D | PVRTTextureAPI.cpp | 46 …at(const PVRTextureHeaderV3& sTextureHeader, PVRTuint32& glInternalFormat, PVRTuint32& glFormat, P… in PVRTGetOGLES3TextureFormat() 766 if((*(PVRTuint32*)pointer)!=PVRTEX3_IDENT) in PVRTTextureLoadFromPointer() 772 pTextureData = texPtr? (PVRTuint8*)texPtr:(PVRTuint8*)pointer+*(PVRTuint32*)pointer; in PVRTTextureLoadFromPointer() 787 PVRTuint32 metaDataSize=0; in PVRTTextureLoadFromPointer() 791 PVRTuint32 DevFourCC=*(PVRTuint32*)((PVRTuint8*)pointer+PVRTEX3_HEADERSIZE+metaDataSize); in PVRTTextureLoadFromPointer() 795 PVRTuint32 u32Key=*(PVRTuint32*)((PVRTuint8*)pointer+PVRTEX3_HEADERSIZE+metaDataSize); in PVRTTextureLoadFromPointer() 799 PVRTuint32 u32DataSize = *(PVRTuint32*)((PVRTuint8*)pointer+PVRTEX3_HEADERSIZE+metaDataSize); in PVRTTextureLoadFromPointer() 896 PVRTuint32 uiMIPWidth = sTextureHeaderDecomp.u32Width>>nLoadFromLevel; in PVRTTextureLoadFromPointer() 897 PVRTuint32 uiMIPHeight = sTextureHeaderDecomp.u32Height>>nLoadFromLevel; in PVRTTextureLoadFromPointer() 906 for (PVRTuint32 uiFace=0;uiFace<sTextureHeader.u32NumFaces;++uiFace) in PVRTTextureLoadFromPointer() [all …]
|