SPRADE7 November   2023 AM62A3 , AM62A3-Q1 , AM62A7 , AM62A7-Q1 , AM62P-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2AM62A Processor
  6. 3AM62A Video Processing Unit (VPU) Capability
  7. 4AM62A JPEG Encode Capability
    1. 4.1 Open Source GStreamer Overview
    2. 4.2 TI-Provided V4L2 Drivers for Multimedia
    3. 4.3 Hardware-Accelerated GStreamer Plugins
  8. 5Software Driver Architecture
  9. 6Performance Measurements
  10. 7Multimedia Use Cases
    1. 7.1 Smart AI Box
    2. 7.2 Surveillance
  11. 8Summary
  12. 9References

AM62A JPEG Encode Capability

The JPEG hardware IP block in AM62A is a stateful and scalable performance still image encoder. It is capable of real time encoding of YUV420/YUV422 raw picture data to fully compressed image (jpeg) or a sequence of compressed images (MJPEG).

Table 4-1 illustrates some of the high-level specifications of the MJPEG encoder.

Table 4-1 JPEG Specifications
Maximum Resolution 8k x 8k
Clock Rate 250MHz
Encode Rate 4bytes/cycle (2pixels/cycle in YUV422, 2.66 pixels/cycle in YUV420)
Feature Support JPEG baseline profile
Configuration compression ratio
Two Quantization tables

Table 4-2 lists the theoretical throughput. Measured throughput is typically around the 80% mark and for YUV 4:2:2 format this was measured to be 416MP/s.

Table 4-2 Theoretical Throughput for the JPEG Encoder
Color Subsampling Throughput
YUV 4:2:0 250x2.66= 666 MP/s
YUV 4:2:2 250x2 = 500MP/s

The hardware and software latency (which considers generating headers, bitstream) for JPEG encoding a single stream 1080P@30FPS is measured to be ~8.04 ms.

Detailed information on the JPEG encoder can be found in [6].