AL_ERR AL_Decoder_GetLastError(AL_HDecoder hDec) - 2023.1 English

H.264/H.265 Video Codec Unit v1.2 Solutions LogiCORE IP Product Guide (PG252)

Document ID
PG252
Release Date
2023-05-16
Version
2023.1 English
[in] hDec handle to the decoder

Return

Returns the error code from the context structure in the decoder. Thread-safe.

Table 1. Error Code Descriptions
Error Code Description
AL_ERR_INIT_FAILED Failed to initialize the decoder due to parameters inconsistency
AL_ERR_CHAN_CREATION_NO_CHANNEL_AVAILABLE The channel was not created because no channel available
AL_ERR_CHAN_CREATION_RESOURCE_UNAVAILABLE The channel was not created because the processing power of the available cores is insufficient
AL_ERR_CHAN_CREATION_NOT_ENOUGH_CORES The channel was not created because too few processing cores were available to spread the load
AL_ERR_REQUEST_MALFORMED The channel was not created because the request was malformed
AL_ERR_NO_FRAME_DECODED No frame was decoded
AL_ERR_RESOLUTION_CHANGE Resolution Change is not supported
AL_ERR_NO_MEMORY A memory shortage was detected (DMA, embedded memory, or virtual memory shortage)