The following table contains list of modified encoder and decoder control software APIs in 2020.1 release.
2019.2 Release | 2020.1 Release | Motives |
---|---|---|
AL_SrcMetaDatauses offsets to specify the chroma and the luma part of the buffer. | AL_TSrcMetaDatabecomes AL_TPixMapMetaData. It allows storing pixel planes on different chunks | This simplifies the handling of the luma and chroma planes for the user. This enables, in a further release to support separate buffers forthe luma and forthe chroma, relaxing the constraint on memory allocation and adding flexibility. |
The AL_TBufferapi does not allocate the memory itself and only provide an easy access to it via its API. It wraps a memory buffer allocated using AL_TAllocatorapi. The AL_TBuffer takes ownership of the memory buffer and frees it at destruction. | TheAL_TBuffer API does not allocate the memory itself and only provide an easy access to it via its API. It wraps memory buffers allocated using the AL_TAllocator API. The AL_TBuffer takes ownership of the memory buffers and frees it at destruction. | The AL_TBuffer API provides an easy access to one
or multiple memory chunks. Chunks of an AL_TBufferare memory buffers that share the same lifetime, reference counting mechanism, and custom user information, through metadata. |
AL_META_TYPE_SOURCE | AL_META_TYPE_PIXMAP | Simpler and clearer way to handle src |
AL_TSrcMetaData* AL_SrcMetaData_Create(AL_TDimension tDim, AL_TPlane tYPlane, AL_TPlane tUVPlane, TFourCC tFourCC) | AL_TPixMapMetaData* AL_PixMapMetaData_Create(AL_TDimension tDim, AL_TPlane tYPlane, AL_TPlane tUVPlane, TFourCC tFourCC) | Adapt to new API |
AL_TSrcMetaData* AL_SrcMetaData_CreateEmpty(TFourCC tFourCC) | AL_TPixMapMetaData* AL_PixMapMetaData_CreateEmpty(TFourCC tFourCC) | Adapt to new API |
void AL_SrcMetaData_AddPlane(AL_TSrcMetaData* pMeta, AL_TPlane tPlane, AL_EPlaneId ePlaneId) | void AL_PixMapMetaData_AddPlane(AL_TPixMapMetaData* pMeta, AL_TPlane tPlane, AL_EPlaneId ePlaneId) | Adapt to new API |
AL_TSrcMetaData* AL_SrcMetaData_Clone(AL_TSrcMetaData* pMeta) | AL_TPixMapMetaData* AL_PixMapMetaData_Clone(AL_TPixMapMetaData* pMeta) | Adapt to new API |
int AL_SrcMetaData_GetOffsetY(AL_TSrcMetaData* pMeta) | int AL_PixMapMetaData_GetOffsetY(AL_TPixMapMetaData* pMeta) | Adapt to new API |
int AL_SrcMetaData_GetOffsetUV(AL_TSrcMetaData* pMeta) | int AL_PixMapMetaData_GetOffsetUV(AL_TPixMapMetaData* pMeta) | Adapt to new API |
int AL_SrcMetaData_GetChromaSize(AL_TSrcMetaData* pMeta) | int AL_PixMapMetaData_GetChromaSize(AL_TPixMapMetaData* pMeta) | Adapt to new API |
TScheduler | AL_IEncScheduler | Clearer definition |
TRecPic | AL_TRecPic | Add missing prefix |