AL_ERR AL_Encoder_GetLastError(AL_HEncoder hEnc) - 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] hEnc handle to the encoder

Description

Returns the error code from the context structure in the encoder. 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 Channel not created. No channel available
AL_ERR_CHAN_CREATION_RESOURCE_UNAVAILABLE Channel not created. Processing power of the available cores insufficient
AL_ERR_CHAN_CREATION_NOT_ENOUGH_CORES Channel not created. Couldn't spread the load on enough cores
AL_ERR_REQUEST_MALFORMED Channel not created. Request was malformed
AL_ERR_NO_FRAME_DECODED No frame decoded
AL_ERR_RESOLUTION_CHANGE Resolution Change is not supported
AL_ERR_NO_MEMORY Memory shortage detected (DMA, embedded memory, or virtual memory shortage)
AL_SUCCESS Success

See

Error.h, AL_Decoder_GetLastError