Error codes returned by the LZ decompression engine.
enum D3D11X_DMA_LZ_ERROR
{
D3D11X_DMA_LZ_ERROR_UNEXPECTED_EOM = 0x19,
D3D11X_DMA_LZ_ERROR_EXTRA_DATA = 0x1A,
D3D11X_DMA_LZ_ERROR_BTYPE = 0x1B,
D3D11X_DMA_LZ_ERROR_UNDEFINED_SYMBOL = 0x1C,
D3D11X_DMA_LZ_ERROR_UNDEFINED_DISTANCE_SYMBOL = 0x1D,
D3D11X_DMA_LZ_ERROR_CODE_LENGTH_SYMBOL = 0x1E,
D3D11X_DMA_LZ_ERROR_VHB_ILLEGAL_FETCH = 0x1F,
D3D11X_DMA_LZ_ERROR_UNCOMPRESSED_LEN = 0x20,
D3D11X_DMA_LZ_ERROR_DECOMPRESS_LIMIT_REACHED = 0x21,
D3D11X_DMA_LZ_ERROR_ADLER_CHECKSUM_MISMATCH = 0x22
};
| Constant | Description |
|---|---|
| D3D11X_DMA_LZ_ERROR_UNEXPECTED_EOM | The input packet has the EOM bit set but the decompressor did not see the ZLIB header BFINAL bit set and an End of Block symbol. |
| D3D11X_DMA_LZ_ERROR_EXTRA_DATA | An End of Block symbol was detected but there was additional data left in the packet after the checksum was passed. |
| D3D11X_DMA_LZ_ERROR_BTYPE | Illegal ZLIB Btype in ZLIB header. |
| D3D11X_DMA_LZ_ERROR_UNDEFINED_SYMBOL | Undefined symbol detected in data stream. |
| D3D11X_DMA_LZ_ERROR_UNDEFINED_DISTANCE_SYMBOL | Undefined distance symbol detected in data stream. |
| D3D11X_DMA_LZ_ERROR_CODE_LENGTH_SYMBOL | Undefined code length symbol detected in data stream. |
| D3D11X_DMA_LZ_ERROR_VHB_ILLEGAL_FETCH | An illegal virtual history buffer fetch was attempted. |
| D3D11X_DMA_LZ_ERROR_UNCOMPRESSED_LEN | The uncompressed length and !length fields in the ZLIB header were inconsistent. |
| D3D11X_DMA_LZ_ERROR_DECOMPRESS_LIMIT_REACHED | The decompression limit was reached. |
| D3D11X_DMA_LZ_ERROR_ADLER_CHECKSUM_MISMATCH | Adler checksum mismatch in the data stream. |
LZ decoder errors from DMA Engine 2 will be one of these enumeration constants.
DMA error codes are returned to the title via the methods ID3D11DmaEngineContextX::CopyLastErrorCodeToBuffer and ID3D11DmaEngineContextX::CopyLastErrorCodeToMemory. The D3D11X_DMA_LZ_ERROR enumeration constants are mutually exclusive error values that might be returned by the LZ decompression engine when calling the above methods.
Header: Declared in d3d11_x.h.