Modified APIs - 2024.1 English - PG252

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

Document ID
PG252
Release Date
2024-05-30
Version
2024.1 English

The following table contains a list of modified encoder and decoder control software APIs in 2019.2 release.

Table 1. Modified Encoder and Decoder Control Software APIs and Variables
2019.1 Release 2019.2 Release Motives
XXX XXX Namespacing: add missing AL_ in front of enum/struct

(i.e DEFAULT_LDA → AL_DEFAULT_LDA, ...)

inline AL_INLINE Cross-platform compilation
#define XXX static AL_INLINE XXX Force type ? reduce user errors
uint32_t AL_GetAllocSizeSrc(AL_TDimension tDim, uint8_t

uBitDepth, AL_EChromaMode eChromaMode,

AL_ESrcMode eSrcFmt, int iPitch, int iStrideHeight)

uint32_t AL_GetAllocSizeSrc(AL_TDimension tDim, AL_EchromaMode eChromaMode, AL_ESrcMode

eSrcFmt, int iPitch, int iStrideHeight)

Bitdepth is not needed anymore
uMaxPictureSize pMaxPictureSize[3] Support Max Picture for I, P, B
AL_QPCtrlMode AL_EQpCtrlMode which decide the QP Ctrl mode and the AL_EqpTableMode which decide table type Allow lot of combinations and reduce user errors. Remove enum which should not appear in the API (i.e. BORDER_QP, ...)
Old registers definition (lib_ip_ctrl) New registers definition (lib_ip_ctrl) Genericness code. Huge increase in flexibility and help to add potential new features.
int Rtos_DriverPoll(void* drv, int timeout) int Rtos_DriverPoll(void* drv, int timeout, unsigned long flags) Add flag into polling.
bool bEnableFillerData AL_EfillerCtrlMode eEnableFillerData Select if filler should be moved in the CtrlSW or by the application