Media Data Processing Differences Between the V1 and V2 Versions

There are two versions of media data processing APIs: V1 and V2. This section describes the similarities and differences between the two sets of APIs.

In this document, the media data processing APIs in the V1 and V2 versions are both used to implement functions such as image cropping, image resizing, and format conversion. However, V2 provides more functions than V1, and these two sets of APIs must not be mixed together.

V2 has more functions than V1. For example:
  • JPEGE: The APIs in the V2 version support advanced parameter configuration, such as Huffman table configuration.
  • VENC: The APIs in the V2 version support more refined configuration of bit rate control parameters and effect tuning, such as the QP of I-/P-frames and macroblock bit rate control.
  • VDEC: The APIs in the V2 version support more refined memory control, such as the setting of the input stream buffer.
  • Video data obtaining (ISP system control, MIPI command, and VI function): supported only by the APIs in the V2 version.
  • VPSS video processing: supported only by the APIs in the V2 version.
  • Audio-related functions, including recording, playing, and volume adjustment: supported only by the APIs in the V2 version.
  • Video data display (VO function and HDMI peripheral): supported only by the APIs in the V2 version.
  • The following product models support media data processing APIs of both the V1 and V2 versions.

    Atlas inference products

    Atlas 200I/500 A2 inference products

    Atlas A2 training products/Atlas A2 inference products

    Atlas A3 training products/Atlas A3 inference products

  • The following product models support only media data processing APIs of the V1 version.

    Atlas training products