Patch Overview
This section provides an overview of the included FFmpeg patch and its components.
NETINT Codec Library
The NETINT Codec Library is a software module that provides a codec API for users to control and operate NETINT's ASIC codecs. The low level details of the codecs are abstracted to form a simplified API. The codec library containing the API is a standalone library that can be easily integrated into any user application.
The source code for the library is located in the directory libxcoder/source/*.*
Please refer to Build FFmpeg with NETINT Codec Library for compilation instructions.
NETINT Libavcodec
The NETINT Codec Library is supported in the FFmpeg application through the standard FFmpeg libavcodec interface layer. The library supports the NETINT decoder and encoder. This FFmpeg NETINT libavcodec interface layer allows complete integration of the NETINT codec into an FFmpeg application.
The NETINT libavcodec source code is located in the FFmpeg/libavcodec/ directory and contains the following files:
| File | Description |
|---|---|
| nicodec.c, nicodec.h | Common code for Netint decoders and encoders. |
| nidec.c, nidec.h | Common code for Netint decoders. |
| nienc.c, nienc.h | Common code for Netint encoders. |
| nidec_h264.c, nidec_hevc.c, nidec_jpeg.c, nidec_vp9.c | Libavcodec definitions for individual Netint decoder codecs. |
| nienc_h264.c, nienc_hevc.c, nienc_jpeg.c, nienc_av1.c | Libavcodec definitions for individual Netint encoder codecs. |
Please refer to Build FFmpeg with NETINT Codec Library for full build instructions.