Flags that can be combined together to form a complete DMA JPEG error code.
JPEG decoder errors from DMA Engine 2 can be a combination of D3D11X_DMA_JPEG_ERROR flags.
enum D3D11X_DMA_JPEG_ERROR_FLAGS
{
D3D11X_DMA_JPEG_ERROR_END_OF_IMAGE = 0x01,
D3D11X_DMA_JPEG_ERROR_MARKER = 0x02,
D3D11X_DMA_JPEG_ERROR_PROFILE = 0x04,
D3D11X_DMA_JPEG_ERROR_RST_MARKER = 0x08,
D3D11X_DMA_JPEG_ERROR_FORMAT = 0x10,
D3D11X_DMA_JPEG_ERROR_HUFFMAN = 0x20,
D3D11X_DMA_JPEG_ERROR_ECS_MARKER = 0x40,
D3D11X_DMA_JPEG_ERROR_TIME_OUT = 0x80
};
| Constant | Description |
|---|---|
| D3D11X_DMA_JPEG_ERROR_END_OF_IMAGE | End of image was reached. |
| D3D11X_DMA_JPEG_ERROR_MARKER | Marker. |
| D3D11X_DMA_JPEG_ERROR_PROFILE | Profile. |
| D3D11X_DMA_JPEG_ERROR_RST_MARKER | RST marker. |
| D3D11X_DMA_JPEG_ERROR_FORMAT | Format. |
| D3D11X_DMA_JPEG_ERROR_HUFFMAN | Huffman code. |
| D3D11X_DMA_JPEG_ERROR_ECS_MARKER | ECS marker. |
| D3D11X_DMA_JPEG_ERROR_TIME_OUT | The call timed out. |
DMA error codes are returned to the title via the methods ID3D11DmaEngineContextX::CopyLastErrorCodeToBuffer and ID3D11DmaEngineContextX::CopyLastErrorCodeToMemory. 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.