#include <dcc.h>
Direction layout:
| Name | Type | Size |
| dirHeader[0] | DCC::DirectionHeader | 32 + 30 bits |
| |
| frameHeader[0] | DCC::FrameHeader | Based on the DirectionHeader values |
| *** | |
| frameHeader[framesPerDir-1] | DCC::FrameHeader | Based on the DirectionHeader values |
| |
| align | (unused) | Align to byte if any frame has additionnal data |
| Frame 0 additionnal data | byte[] | frameHeader[0].optionalBytes |
| *** | |
| Last frame additionnal data | byte[] | frameHeader[framesPerDir-1].optionalBytes |
| |
| equalCellsBitStreamSize | uint20_t | 20 bits (only if compressEqualCells is true) |
| pixelMaskBitStreamSize | uint20_t | 20 bits |
| encodingTypeBitsreamSize | uint20_t | 20 bits (only if hasRawPixelEncoding is true) |
| rawPixelCodesBitStreamSize | uint20_t | 20 bits (only if hasRawPixelEncoding is true) |
| codeToPixelValue | bitset<256> | 256 bits |
| equalCellBitStream | BitStream | equalCellsBitStreamSize |
| pixelMaskBitStream | BitStream | pixelMaskBitStreamSize |
| rawPixelUsageBitStream | BitStream | encodingTypeBitsreamSize |
| rawPixelCodesBitStream | BitStream | rawPixelCodesBitStreamSize |
| pixelCodesDisplacementBitStream | BitStream | Until end of the direction |
Definition at line 138 of file dcc.h.
| void WorldStone::DCC::Direction::computeDirExtents |
( |
| ) |
|
|
inline |
- Note
- Requires that the frame extents are already computed
Definition at line 149 of file dcc.h.
The documentation for this struct was generated from the following file:
- source/decoders/include/dcc.h