Home
last modified time | relevance | path

Searched refs:u32DataSize (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTTexture.h149 PVRTuint32 u32DataSize; ///< Size of the Data member. member
156 MetaDataBlock() : DevFOURCC(0), u32Key(0), u32DataSize(0), Data(NULL) in MetaDataBlock()
163 …t MetaDataBlock& rhs) : DevFOURCC(rhs.DevFOURCC), u32Key(rhs.u32Key), u32DataSize(rhs.u32DataSize) in MetaDataBlock()
166 Data = new PVRTuint8[u32DataSize]; in MetaDataBlock()
167 for (PVRTuint32 uiDataAmt=0; uiDataAmt<u32DataSize; ++uiDataAmt) in MetaDataBlock()
191 return sizeof(DevFOURCC)+sizeof(u32Key)+sizeof(u32DataSize)+u32DataSize; in SizeOfBlock()
211 u32DataSize=rhs.u32DataSize;
216 Data = new PVRTuint8[u32DataSize];
217 for (PVRTuint32 uiDataAmt=0; uiDataAmt<u32DataSize; ++uiDataAmt)
DPVRTPrint3D.cpp178 _ASSERT(block.u32DataSize == uiDataSize); in ReadMetaBlock()
184 _ASSERT(block.u32DataSize == uiDataSize); in ReadMetaBlock()
190 _ASSERT(block.u32DataSize == uiDataSize); in ReadMetaBlock()
196 _ASSERT(block.u32DataSize == uiDataSize); in ReadMetaBlock()
202 _ASSERT(block.u32DataSize == uiDataSize); in ReadMetaBlock()
257 …p[PVRTEX3_IDENT][PVRFONT_CHARLIST].Data, MetaDataMap[PVRTEX3_IDENT][PVRFONT_CHARLIST].u32DataSize); in LoadFontData()
260 …Map[PVRTEX3_IDENT][PVRFONT_YOFFSET].Data, MetaDataMap[PVRTEX3_IDENT][PVRFONT_YOFFSET].u32DataSize); in LoadFontData()
263 …Map[PVRTEX3_IDENT][PVRFONT_METRICS].Data, MetaDataMap[PVRTEX3_IDENT][PVRFONT_METRICS].u32DataSize); in LoadFontData()
266 …Map[PVRTEX3_IDENT][PVRFONT_KERNING].Data, MetaDataMap[PVRTEX3_IDENT][PVRFONT_KERNING].u32DataSize); in LoadFontData()
269 …DataMap[PVRTEX3_IDENT][PVRFONT_RECTS].Data, MetaDataMap[PVRTEX3_IDENT][PVRFONT_RECTS].u32DataSize); in LoadFontData()
DPVRTTexture.cpp34 memcpy(&u32DataSize, *pDataCursor, sizeof(PVRTuint32)); *pDataCursor += sizeof(PVRTuint32); in ReadFromPtr()
35 if(u32DataSize > 0) in ReadFromPtr()
37 Data = new PVRTuint8[u32DataSize]; in ReadFromPtr()
38 memcpy(Data, *pDataCursor, u32DataSize); in ReadFromPtr()
39 *pDataCursor += u32DataSize; in ReadFromPtr()
459 mbBumpData.u32DataSize=8; in PVRTConvertOldTextureHeaderToV3()
476 NewHeader.u32MetaDataSize+=(12+mbBumpData.u32DataSize); in PVRTConvertOldTextureHeaderToV3()
486 mbTexOrientation.u32DataSize=3; in PVRTConvertOldTextureHeaderToV3()
498 NewHeader.u32MetaDataSize+=(12+mbTexOrientation.u32DataSize); in PVRTConvertOldTextureHeaderToV3()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTTextureAPI.cpp399 PVRTuint32 u32DataSize = *(PVRTuint32*)((PVRTuint8*)pointer+PVRTEX3_HEADERSIZE+metaDataSize); in PVRTTextureLoadFromPointer() local
400 metaDataSize+=sizeof(u32DataSize); in PVRTTextureLoadFromPointer()
408 currentMetaData.u32DataSize=u32DataSize; in PVRTTextureLoadFromPointer()
411 if(u32DataSize > 0) in PVRTTextureLoadFromPointer()
414 currentMetaData.Data = new PVRTuint8[u32DataSize]; in PVRTTextureLoadFromPointer()
417 … memcpy(currentMetaData.Data, ((PVRTuint8*)pointer+PVRTEX3_HEADERSIZE+metaDataSize), u32DataSize); in PVRTTextureLoadFromPointer()
420 metaDataSize+=u32DataSize; in PVRTTextureLoadFromPointer()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/
DPVRTTextureAPI.cpp799 PVRTuint32 u32DataSize = *(PVRTuint32*)((PVRTuint8*)pointer+PVRTEX3_HEADERSIZE+metaDataSize); in PVRTTextureLoadFromPointer() local
800 metaDataSize+=sizeof(u32DataSize); in PVRTTextureLoadFromPointer()
808 currentMetaData.u32DataSize=u32DataSize; in PVRTTextureLoadFromPointer()
811 if(u32DataSize > 0) in PVRTTextureLoadFromPointer()
814 currentMetaData.Data = new PVRTuint8[u32DataSize]; in PVRTTextureLoadFromPointer()
817 … memcpy(currentMetaData.Data, ((PVRTuint8*)pointer+PVRTEX3_HEADERSIZE+metaDataSize), u32DataSize); in PVRTTextureLoadFromPointer()
820 metaDataSize+=u32DataSize; in PVRTTextureLoadFromPointer()