Home
last modified time | relevance | path

Searched refs:PVRTuint8 (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTDecompress.cpp37 PVRTuint8 red,green,blue,alpha;
69 colour.red = (PVRTuint8)((u32ColourData & 0x7c00) >> 10); // 5->5 bits in getColourA()
70 colour.green = (PVRTuint8)((u32ColourData & 0x3e0) >> 5); // 5->5 bits in getColourA()
71 colour.blue = (PVRTuint8)(u32ColourData & 0x1e) | ((u32ColourData & 0x1e) >> 4); // 4->5 bits in getColourA()
72 colour.alpha = (PVRTuint8)0xf;// 0->4 bits in getColourA()
77 …colour.red = (PVRTuint8)((u32ColourData & 0xf00) >> 7) | ((u32ColourData & 0xf00) >> 11); // 4-… in getColourA()
78 …colour.green = (PVRTuint8)((u32ColourData & 0xf0) >> 3) | ((u32ColourData & 0xf0) >> 7); // 4->… in getColourA()
79 …colour.blue = (PVRTuint8)((u32ColourData & 0xe) << 1) | ((u32ColourData & 0xe) >> 2); // 3->… in getColourA()
80 colour.alpha = (PVRTuint8)((u32ColourData & 0x7000) >> 11);// 3->4 bits - note 0 at right in getColourA()
99 colour.red = (PVRTuint8)((u32ColourData & 0x7c000000) >> 26); // 5->5 bits in getColourB()
[all …]
DPVRTUnicode.cpp45 const PVRTuint8 c_u8UTF8Lengths[256] =
110 EPVRTError PVRTUnicodeUTF8ToUTF32(const PVRTuint8* const pUTF8, CPVRTArray<PVRTuint32>& aUTF32) … in PVRTUnicodeUTF8ToUTF32()
116 const PVRTuint8* pC = pUTF8; in PVRTUnicodeUTF8ToUTF32()
227 unsigned int PVRTUnicodeUTF8Length(const PVRTuint8* const pUTF8) in PVRTUnicodeUTF8Length()
229 const PVRTuint8* pC = pUTF8; in PVRTUnicodeUTF8Length()
236 const PVRTuint8* pStart = pC; in PVRTUnicodeUTF8Length()
302 bool PVRTUnicodeValidUTF8(const PVRTuint8* const pUTF8) in PVRTUnicodeValidUTF8()
306 const PVRTuint8* pC = pUTF8; in PVRTUnicodeValidUTF8()
DPVRTUnicode.h28 EPVRTError PVRTUnicodeUTF8ToUTF32( const PVRTuint8* const pUTF8, CPVRTArray<PVRTuint32>& aUTF32);
46 unsigned int PVRTUnicodeUTF8Length(const PVRTuint8* const pUTF8);
63 bool PVRTUnicodeValidUTF8(const PVRTuint8* const pUTF8);
DPVRTPrint3D.h58 PVRTuint8 uVersion; /*!< Version of PVRFont. */
59 PVRTuint8 uSpaceWidth; /*!< The width of the 'Space' character. */
302 bool ReadMetaBlock(const PVRTuint8** pDataCursor);
495 bool APIUpLoadIcons(const PVRTuint8 * const pIMG, const PVRTuint8 * const pPowerVR);
506 …bool APIUpLoadTexture(const PVRTuint8* pSource, const PVRTextureHeaderV3* header, CPVRTMap<PVRTuin…
DPVRTTexture.h150PVRTuint8* Data; ///< Data array, can be absolutely anything, the loader needs to know how to ha…
166 Data = new PVRTuint8[u32DataSize]; in MetaDataBlock()
216 Data = new PVRTuint8[u32DataSize];
660 PVRTuint8 * const pDst,
663 const PVRTuint8 * const pSrc,
DPVRTTexture.cpp37 Data = new PVRTuint8[u32DataSize]; in ReadFromPtr()
58 PVRTuint8 * const pDst, in PVRTTextureLoadTiled()
61 const PVRTuint8 * const pSrc, in PVRTTextureLoadTiled()
206 PVRTuint8* PixelFormatChar=(PVRTuint8*)&u64PixelFormat; in PVRTGetBitsPerPixel()
356 for (PVRTuint8 uiCurrentMIP = 0; uiCurrentMIP<sTextureHeader.u32MIPMapCount; ++uiCurrentMIP) in PVRTGetTextureDataSize()
460 mbBumpData.Data=new PVRTuint8[8]; in PVRTConvertOldTextureHeaderToV3()
487 mbTexOrientation.Data=new PVRTuint8[3]; in PVRTConvertOldTextureHeaderToV3()
DPVRTGlobal.h154 typedef unsigned char PVRTuint8; typedef
179 PVRTSIZEASSERT(PVRTuint8, 1);
DPVRTPrint3D.cpp149 bool CPVRTPrint3D::ReadMetaBlock(const PVRTuint8** pDataCursor) in ReadMetaBlock()
458 … = APIUpLoadIcons(reinterpret_cast<const PVRTuint8* const>(PVRTPrint3DIMGLogo), reinterpret_cast<c… in SetTextures()
644 PVRTUnicodeUTF8ToUTF32((const PVRTuint8*)s_Text, m_CachedUTF32); in Print3D()
778 PVRTUnicodeUTF8ToUTF32((PVRTuint8*)pszUTF8, m_CachedUTF32); in MeasureText()
DPVRTModelPOD.h129PVRTuint8 *pData; /*!< Actual data (array of values); if mesh is interleaved, this is an OFFSET …
179 PVRTuint8 *pInterleaved; /*!< Interleaved vertex data */
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTTextureAPI.cpp273 PVRTuint8 *pMmSrc, *pMmDst; in PVRTTextureTile()
289 pMmDst = (PVRTuint8*)psTexHeaderNew + sizeof(*psTexHeaderNew); in PVRTTextureTile()
290 pMmSrc = (PVRTuint8*)pIn + sizeof(*pIn); in PVRTTextureTile()
359 PVRTuint8* pTextureData=NULL; in PVRTTextureLoadFromPointer()
372 pTextureData = texPtr? (PVRTuint8*)texPtr:(PVRTuint8*)pointer+*(PVRTuint32*)pointer; in PVRTTextureLoadFromPointer()
382 …pTextureData = texPtr? (PVRTuint8*)texPtr:(PVRTuint8*)pointer+PVRTEX3_HEADERSIZE+sTextureHeader.u3… 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()
414 currentMetaData.Data = new PVRTuint8[u32DataSize]; in PVRTTextureLoadFromPointer()
[all …]
DPVRTPrint3DAPI.cpp441 bool CPVRTPrint3D::APIUpLoadIcons(const PVRTuint8 * const pIMG, const PVRTuint8 * const pPowerVR) in APIUpLoadIcons()
465 bool CPVRTPrint3D::APIUpLoadTexture(const PVRTuint8* pSource, const PVRTextureHeaderV3* header, CPV… in APIUpLoadTexture()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/
DPVRTTextureAPI.cpp676 PVRTuint8 *pMmSrc, *pMmDst; in PVRTTextureTile()
692 pMmDst = (PVRTuint8*)psTexHeaderNew + sizeof(*psTexHeaderNew); in PVRTTextureTile()
693 pMmSrc = (PVRTuint8*)pIn + sizeof(*pIn); in PVRTTextureTile()
759 PVRTuint8* pTextureData=NULL; in PVRTTextureLoadFromPointer()
772 pTextureData = texPtr? (PVRTuint8*)texPtr:(PVRTuint8*)pointer+*(PVRTuint32*)pointer; in PVRTTextureLoadFromPointer()
782 …pTextureData = texPtr? (PVRTuint8*)texPtr:(PVRTuint8*)pointer+PVRTEX3_HEADERSIZE+sTextureHeader.u3… 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()
814 currentMetaData.Data = new PVRTuint8[u32DataSize]; in PVRTTextureLoadFromPointer()
[all …]