Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
ddsheader.h File Reference

(8a62fb36a8c456fb4e1229cca8bfca88f6e57890)

#include <QtCore/QDataStream>
+ Include dependency graph for ddsheader.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DDSPixelFormat
 
struct  DDSHeader
 
struct  DDSHeaderDX10
 

Enumerations

enum  Format {
  FormatUnknown = 0 , FormatR8G8B8 = 20 , FormatA8R8G8B8 = 21 , FormatX8R8G8B8 = 22 ,
  FormatR5G6B5 = 23 , FormatX1R5G5B5 = 24 , FormatA1R5G5B5 = 25 , FormatA4R4G4B4 = 26 ,
  FormatR3G3B2 = 27 , FormatA8 = 28 , FormatA8R3G3B2 = 29 , FormatX4R4G4B4 = 30 ,
  FormatA2B10G10R10 = 31 , FormatA8B8G8R8 = 32 , FormatX8B8G8R8 = 33 , FormatG16R16 = 34 ,
  FormatA2R10G10B10 = 35 , FormatA16B16G16R16 = 36 , FormatA8P8 = 40 , FormatP8 = 41 ,
  FormatL8 = 50 , FormatA8L8 = 51 , FormatA4L4 = 52 , FormatV8U8 = 60 ,
  FormatL6V5U5 = 61 , FormatX8L8V8U8 = 62 , FormatQ8W8V8U8 = 63 , FormatV16U16 = 64 ,
  FormatA2W10V10U10 = 67 , FormatUYVY = 0x59565955 , FormatR8G8B8G8 = 0x47424752 , FormatYUY2 = 0x32595559 ,
  FormatG8R8G8B8 = 0x42475247 , FormatDXT1 = 0x31545844 , FormatDXT2 = 0x32545844 , FormatDXT3 = 0x33545844 ,
  FormatDXT4 = 0x34545844 , FormatDXT5 = 0x35545844 , FormatRXGB = 0x42475852 , FormatATI2 = 0x32495441 ,
  FormatD16Lockable = 70 , FormatD32 = 71 , FormatD15S1 = 73 , FormatD24S8 = 75 ,
  FormatD24X8 = 77 , FormatD24X4S4 = 79 , FormatD16 = 80 , FormatD32FLockable = 82 ,
  FormatD24FS8 = 83 , FormatD32Lockable = 84 , FormatS8Lockable = 85 , FormatL16 = 81 ,
  FormatVertexData =100 , FormatIndex16 =101 , FormatIndex32 =102 , FormatQ16W16V16U16 = 110 ,
  FormatMulti2ARGB8 = 0x3154454d , FormatR16F = 111 , FormatG16R16F = 112 , FormatA16B16G16R16F = 113 ,
  FormatR32F = 114 , FormatG32R32F = 115 , FormatA32B32G32R32F = 116 , FormatCxV8U8 = 117 ,
  FormatA1 = 118 , FormatA2B10G10R10_XR_BIAS = 119 , FormatBinaryBuffer = 199 , FormatP4 ,
  FormatA4P4 , FormatLast = 0x7fffffff
}
 

Functions

QDataStreamoperator>> (QDataStream &s, DDSPixelFormat &pixelFormat)
 
QDataStreamoperator<< (QDataStream &s, const DDSPixelFormat &pixelFormat)
 
QDataStreamoperator>> (QDataStream &s, DDSHeader &header)
 
QDataStreamoperator<< (QDataStream &s, const DDSHeader &header)
 
QDataStreamoperator>> (QDataStream &s, DDSHeaderDX10 &header)
 
QDataStreamoperator<< (QDataStream &s, const DDSHeaderDX10 &header)
 

Enumeration Type Documentation

◆ Format

enum Format
Enumerator
FormatUnknown 
FormatR8G8B8 
FormatA8R8G8B8 
FormatX8R8G8B8 
FormatR5G6B5 
FormatX1R5G5B5 
FormatA1R5G5B5 
FormatA4R4G4B4 
FormatR3G3B2 
FormatA8 
FormatA8R3G3B2 
FormatX4R4G4B4 
FormatA2B10G10R10 
FormatA8B8G8R8 
FormatX8B8G8R8 
FormatG16R16 
FormatA2R10G10B10 
FormatA16B16G16R16 
FormatA8P8 
FormatP8 
FormatL8 
FormatA8L8 
FormatA4L4 
FormatV8U8 
FormatL6V5U5 
FormatX8L8V8U8 
FormatQ8W8V8U8 
FormatV16U16 
FormatA2W10V10U10 
FormatUYVY 
FormatR8G8B8G8 
FormatYUY2 
FormatG8R8G8B8 
FormatDXT1 
FormatDXT2 
FormatDXT3 
FormatDXT4 
FormatDXT5 
FormatRXGB 
FormatATI2 
FormatD16Lockable 
FormatD32 
FormatD15S1 
FormatD24S8 
FormatD24X8 
FormatD24X4S4 
FormatD16 
FormatD32FLockable 
FormatD24FS8 
FormatD32Lockable 
FormatS8Lockable 
FormatL16 
FormatVertexData 
FormatIndex16 
FormatIndex32 
FormatQ16W16V16U16 
FormatMulti2ARGB8 
FormatR16F 
FormatG16R16F 
FormatA16B16G16R16F 
FormatR32F 
FormatG32R32F 
FormatA32B32G32R32F 
FormatCxV8U8 
FormatA1 
FormatA2B10G10R10_XR_BIAS 
FormatBinaryBuffer 
FormatP4 
FormatA4P4 
FormatLast 

Definition at line 14 of file ddsheader.h.

Function Documentation

◆ operator<<() [1/3]

QDataStream & operator<< ( QDataStream & s,
const DDSHeader & header )

Definition at line 58 of file ddsheader.cpp.

References header(), i, and DDSHeader::ReservedCount.

+ Here is the call graph for this function:

◆ operator<<() [2/3]

QDataStream & operator<< ( QDataStream & s,
const DDSHeaderDX10 & header )

Definition at line 89 of file ddsheader.cpp.

References header().

+ Here is the call graph for this function:

◆ operator<<() [3/3]

◆ operator>>() [1/3]

QDataStream & operator>> ( QDataStream & s,
DDSHeader & header )

Definition at line 37 of file ddsheader.cpp.

References header(), i, and DDSHeader::ReservedCount.

+ Here is the call graph for this function:

◆ operator>>() [2/3]

QDataStream & operator>> ( QDataStream & s,
DDSHeaderDX10 & header )

Definition at line 79 of file ddsheader.cpp.

References header().

+ Here is the call graph for this function:

◆ operator>>() [3/3]