Modified APIs - 2025.1 English - PG252

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

Document ID
PG252
Release Date
2025-05-29
Version
2025.1 English

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

Table 1. Modified Encoder and Decoder Control Software APIs and Variables
2020.1 Release 2020.2 Release Motives
bSplitInput is of bool type in AL_TDecSettings. It is true for decoder in split input mode and false for unsplit input mode. bSplitInput is renamed to eInputMode of enum type and it can be assigned as enum values like AL_DEC_UNSPLIT_INPUT, AL_DEC_SPLIT_INPUT Simpler and clearer way to handle such settings.
void AL_Decoder_SetParam(AL_HDecoder hDec, bool bConceal, bool bUseBoard, int iFrmID, int iNumFrm, bool bForceCleanBuffers, bool shouldPrintFrameDelimiter); “bool bConceal” is removed. bool bUseBoard is now replaced with const char* sPrefix. Its value can be "Fpga" or "Ref".

void AL_Decoder_SetParam(AL_HDecoder hDec, const char* sPrefix, int iFrmID, int iNumFrm, bool bForceCleanBuffers, bool bShouldPrintFrameDelimiter);

Removed not used parameters and using informative text instead of bool datatype to increase readably
In decoder,AL_DecGetAllocSize_Frame_Y/AL_DecGetAllocSize_Frame_UV AL_DecGetAllocSize_Frame_PixPlane As per New chroma planes in CtrlSW, planar buffers must be allocated with Plane-U/Plane-V (Plane-UV usage restricted to semiplanar
In encoder, AL_GetAllocSizeSrc_Y/AL_GetAllocSizeSrc_UV AL_GetAllocSizeSrc_PixPlane As per New chroma planes in CtrlSW, planar buffers must me allocated with Plane-U/Plane-V (Plane-UV usage restricted to semiplanar
Configuration file parser API, MaxPictureSize() used to take values in Kb. CFG file API changes as MaxPictureSizeInBits (I,P,B) and takes values in bits instead of Kb To have better control.