The following table contains a list of modified encoder and decoder control software APIs in 2019.2 release.
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 |