Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSSGExrReader::Private Class Reference
Collaboration diagram for QSSGExrReader::Private:

Classes

struct  ChunkScratch

Public Member Functions

bool setError (const QString &messagemessage)
bool parseHeaderAttributes (ByteCursor &cursor)
bool validate ()
bool readOffsetTable (ByteCursor &cursor)
bool decodeChunk (QByteArrayView payload, qint64 expected, qint64 tw, qint64 th, ChunkScratch *ss, QByteArrayView *decoded, QString *err)
bool decodeScanlineChunk (qsizetype i, const ChannelMap &map, Flags flagsflags, RowSink sinksink, ChunkScratch *ss, QString *err)
void scatter (QByteArrayView chunk, qint64 rr, qint64 tw, qint64 rowStride, const ChannelMap &map, float *rowrow)
bool decodeScanlines (const ChannelMap &map, Flags flagsflags, RowSink sinksink)
bool decodeTiles (const ChannelMap &map, Flags flagsflags, RowSink sinksink)
qint64 destinationRow (qint64 imageRow, Flags flagsflags) const
bool setError (const QString &messagemessage)
bool parseHeaderAttributes (ByteCursor &cursor)
bool validate ()
bool readOffsetTable (ByteCursor &cursor)
bool decodeChunk (QByteArrayView payload, qint64 expected, qint64 tw, qint64 th, ChunkScratch *ss, QByteArrayView *decoded, QString *err)
bool decodeScanlineChunk (qsizetype i, const ChannelMap &map, Flags flagsflags, RowSink sinksink, ChunkScratch *ss, QString *err)
void scatter (QByteArrayView chunk, qint64 rr, qint64 tw, qint64 rowStride, const ChannelMap &map, float *rowrow)
bool decodeScanlines (const ChannelMap &map, Flags flagsflags, RowSink sinksink)
bool decodeTiles (const ChannelMap &map, Flags flagsflags, RowSink sinksink)
qint64 destinationRow (qint64 imageRow, Flags flagsflags) const

Public Attributes

QByteArray data
QString error
Limits limits
bool valid = false
quint32 versionFlags = 0
bool tiled = false
bool longNames = false
QRect dataWindow
QRect displayWindow
Compression compression = Compression::None
LineOrder lineOrder = LineOrder::IncreasingY
QList< Channel > channels
qint32 tileWidth = 0
qint32 tileHeight = 0
LevelMode levelMode = LevelMode::OneLevel
bool roundUp = false
qint64 width = 0
qint64 height = 0
qint64 bytesPerPixel = 0
QVarLengthArray< qint64, 8 > channelByteOffset
QList< QSSGExr::PizChannel > pizChannels
QList< quint64 > offsets
qint64 tilesX = 0
qint64 tilesY = 0
std::vector< float > band

Detailed Description

Definition at line 241 of file qssgexrreader.cpp.

Member Function Documentation

◆ decodeChunk() [1/2]

bool QSSGExrReader::Private::decodeChunk ( QByteArrayView payload,
qint64 expected,
qint64 tw,
qint64 th,
ChunkScratch * s,
QByteArrayView * decoded,
QString * err )

Definition at line 570 of file qssgexrreader.cpp.

◆ decodeChunk() [2/2]

bool QSSGExrReader::Private::decodeChunk ( QByteArrayView payload,
qint64 expected,
qint64 tw,
qint64 th,
ChunkScratch * s,
QByteArrayView * decoded,
QString * err )

◆ decodeScanlineChunk() [1/2]

bool QSSGExrReader::Private::decodeScanlineChunk ( qsizetype i,
const ChannelMap & map,
Flags flags,
RowSink sink,
ChunkScratch * s,
QString * err )

Definition at line 656 of file qssgexrreader.cpp.

◆ decodeScanlineChunk() [2/2]

bool QSSGExrReader::Private::decodeScanlineChunk ( qsizetype i,
const ChannelMap & map,
Flags flags,
RowSink sink,
ChunkScratch * s,
QString * err )

◆ decodeScanlines() [1/2]

bool QSSGExrReader::Private::decodeScanlines ( const ChannelMap & map,
Flags flags,
RowSink sink )

Definition at line 709 of file qssgexrreader.cpp.

◆ decodeScanlines() [2/2]

bool QSSGExrReader::Private::decodeScanlines ( const ChannelMap & map,
Flags flags,
RowSink sink )

◆ decodeTiles() [1/2]

bool QSSGExrReader::Private::decodeTiles ( const ChannelMap & map,
Flags flags,
RowSink sink )

Definition at line 799 of file qssgexrreader.cpp.

◆ decodeTiles() [2/2]

bool QSSGExrReader::Private::decodeTiles ( const ChannelMap & map,
Flags flags,
RowSink sink )

◆ destinationRow() [1/2]

qint64 QSSGExrReader::Private::destinationRow ( qint64 imageRow,
Flags flags ) const
inline

Definition at line 302 of file qssgexrreader.cpp.

◆ destinationRow() [2/2]

qint64 QSSGExrReader::Private::destinationRow ( qint64 imageRow,
Flags flags ) const
inline

Definition at line 302 of file qssgexrreader.cpp.

◆ parseHeaderAttributes() [1/2]

bool QSSGExrReader::Private::parseHeaderAttributes ( ByteCursor & cursor)

Definition at line 308 of file qssgexrreader.cpp.

◆ parseHeaderAttributes() [2/2]

bool QSSGExrReader::Private::parseHeaderAttributes ( ByteCursor & cursor)

◆ readOffsetTable() [1/2]

bool QSSGExrReader::Private::readOffsetTable ( ByteCursor & cursor)

Definition at line 503 of file qssgexrreader.cpp.

◆ readOffsetTable() [2/2]

bool QSSGExrReader::Private::readOffsetTable ( ByteCursor & cursor)

◆ scatter() [1/2]

void QSSGExrReader::Private::scatter ( QByteArrayView chunk,
qint64 r,
qint64 tw,
qint64 rowStride,
const ChannelMap & map,
float * row )

Definition at line 612 of file qssgexrreader.cpp.

◆ scatter() [2/2]

void QSSGExrReader::Private::scatter ( QByteArrayView chunk,
qint64 r,
qint64 tw,
qint64 rowStride,
const ChannelMap & map,
float * row )

◆ setError() [1/2]

bool QSSGExrReader::Private::setError ( const QString & message)
inline

Definition at line 276 of file qssgexrreader.cpp.

◆ setError() [2/2]

bool QSSGExrReader::Private::setError ( const QString & message)
inline

Definition at line 276 of file qssgexrreader.cpp.

◆ validate() [1/2]

bool QSSGExrReader::Private::validate ( )

Definition at line 464 of file qssgexrreader.cpp.

◆ validate() [2/2]

bool QSSGExrReader::Private::validate ( )

Member Data Documentation

◆ band

std::vector< float > QSSGExrReader::Private::band

Definition at line 274 of file qssgexrreader.cpp.

◆ bytesPerPixel

qint64 QSSGExrReader::Private::bytesPerPixel = 0

Definition at line 266 of file qssgexrreader.cpp.

◆ channelByteOffset

QVarLengthArray< qint64, 8 > QSSGExrReader::Private::channelByteOffset

Definition at line 267 of file qssgexrreader.cpp.

◆ channels

QList< Channel > QSSGExrReader::Private::channels

Definition at line 257 of file qssgexrreader.cpp.

◆ compression

Compression QSSGExrReader::Private::compression = Compression::None

Definition at line 255 of file qssgexrreader.cpp.

◆ data

QByteArray QSSGExrReader::Private::data

Definition at line 244 of file qssgexrreader.cpp.

◆ dataWindow

QRect QSSGExrReader::Private::dataWindow

Definition at line 253 of file qssgexrreader.cpp.

◆ displayWindow

QRect QSSGExrReader::Private::displayWindow

Definition at line 254 of file qssgexrreader.cpp.

◆ error

QString QSSGExrReader::Private::error

Definition at line 245 of file qssgexrreader.cpp.

◆ height

qint64 QSSGExrReader::Private::height = 0

Definition at line 265 of file qssgexrreader.cpp.

◆ levelMode

LevelMode QSSGExrReader::Private::levelMode = LevelMode::OneLevel

Definition at line 261 of file qssgexrreader.cpp.

◆ limits

Limits QSSGExrReader::Private::limits

Definition at line 246 of file qssgexrreader.cpp.

◆ lineOrder

LineOrder QSSGExrReader::Private::lineOrder = LineOrder::IncreasingY

Definition at line 256 of file qssgexrreader.cpp.

◆ longNames

bool QSSGExrReader::Private::longNames = false

Definition at line 251 of file qssgexrreader.cpp.

◆ offsets

QList< quint64 > QSSGExrReader::Private::offsets

Definition at line 270 of file qssgexrreader.cpp.

◆ pizChannels

QList< QSSGExr::PizChannel > QSSGExrReader::Private::pizChannels

Definition at line 268 of file qssgexrreader.cpp.

◆ roundUp

bool QSSGExrReader::Private::roundUp = false

Definition at line 262 of file qssgexrreader.cpp.

◆ tiled

bool QSSGExrReader::Private::tiled = false

Definition at line 250 of file qssgexrreader.cpp.

◆ tileHeight

qint32 QSSGExrReader::Private::tileHeight = 0

Definition at line 260 of file qssgexrreader.cpp.

◆ tilesX

qint64 QSSGExrReader::Private::tilesX = 0

Definition at line 271 of file qssgexrreader.cpp.

◆ tilesY

qint64 QSSGExrReader::Private::tilesY = 0

Definition at line 272 of file qssgexrreader.cpp.

◆ tileWidth

qint32 QSSGExrReader::Private::tileWidth = 0

Definition at line 259 of file qssgexrreader.cpp.

◆ valid

bool QSSGExrReader::Private::valid = false

Definition at line 247 of file qssgexrreader.cpp.

◆ versionFlags

quint32 QSSGExrReader::Private::versionFlags = 0

Definition at line 249 of file qssgexrreader.cpp.

◆ width

qint64 QSSGExrReader::Private::width = 0

Definition at line 264 of file qssgexrreader.cpp.


The documentation for this class was generated from the following file: