Searched refs:LegacyHeader (Results 1 – 4 of 4) sorted by relevance
31 IsAlignedForChannelMessage(sizeof(Channel::Message::LegacyHeader)),37 static_assert(sizeof(Channel::Message::LegacyHeader) == 8,40 static_assert(offsetof(Channel::Message::LegacyHeader, num_bytes) ==43 static_assert(offsetof(Channel::Message::LegacyHeader, message_type) ==92 is_legacy_message ? sizeof(LegacyHeader) : sizeof(Header); in Message()145 if (data_num_bytes < sizeof(LegacyHeader)) in Deserialize()148 const LegacyHeader* legacy_header = in Deserialize()149 reinterpret_cast<const LegacyHeader*>(data); in Deserialize()164 payload_size = data_num_bytes - sizeof(LegacyHeader); in Deserialize()165 payload = static_cast<const char*>(data) + sizeof(LegacyHeader); in Deserialize()[all …]
57 struct LegacyHeader { struct150 LegacyHeader* legacy_header() const;
410 void PVRTConvertOldTextureHeaderToV3(const PVR_Texture_Header* LegacyHeader, PVRTextureHeaderV3& Ne… in PVRTConvertOldTextureHeaderToV3() argument419 …PVRTMapLegacyTextureEnumToNewFormat((PVRTPixelType)(LegacyHeader->dwpfFlags&0xff),ptNew,cSpaceNew,… in PVRTConvertOldTextureHeaderToV3()422 bool isCubeMap = (LegacyHeader->dwpfFlags&PVRTEX_CUBEMAP)!=0; in PVRTConvertOldTextureHeaderToV3()430 NewHeader.u32Height=LegacyHeader->dwHeight; in PVRTConvertOldTextureHeaderToV3()432 …NewHeader.u32MIPMapCount=(LegacyHeader->dwpfFlags&PVRTEX_MIPMAP?LegacyHeader->dwMipMapCount+1:1); … in PVRTConvertOldTextureHeaderToV3()436 if (LegacyHeader->dwHeaderSize==sizeof(PVR_Texture_Header)) in PVRTConvertOldTextureHeaderToV3()437 NewHeader.u32NumSurfaces=(LegacyHeader->dwNumSurfs/(isCubeMap?6:1)); in PVRTConvertOldTextureHeaderToV3()442 NewHeader.u32Width=LegacyHeader->dwWidth; in PVRTConvertOldTextureHeaderToV3()451 if (LegacyHeader->dwpfFlags&PVRTEX_BUMPMAP && pMetaData) in PVRTConvertOldTextureHeaderToV3()480 if (LegacyHeader->dwpfFlags&PVRTEX_VERTICAL_FLIP && pMetaData) in PVRTConvertOldTextureHeaderToV3()
634 void PVRTConvertOldTextureHeaderToV3(const PVR_Texture_Header* LegacyHeader, PVRTextureHeaderV3& Ne…