SPRAD86A March 2023 – May 2024 AM62A3 , AM62A3-Q1 , AM62A7 , AM62A7-Q1 , AM67A , AM68A , AM69A
The ISP (VPAC) on the AM6xA family SoC is configured through the Dynamic Camera Configuration (DCC) binary files. In Linux® based applications, these binary files are provided to VPAC through the popular GStreamer pipeline. The processing blocks of VPAC are encapsulated by the GStreamer pipeline elements (tiovxisp, tiovxldc, tiovxmultiscaler) while all configurable parameters of VPAC are provided as properties.
For example, the following GStreamer pipeline performs video streaming from an IMX219 camera to an High-Definition Multimedia Interface (HDMI) display, using VPAC to process the raw images before sending them to the display:
gst-launch-1.0 v4l2src device=/dev/video-imx219-cam0 io-mode=dmabuf-import ! \
video/x-bayer, width=1920, height=1080, framerate=30/1, format=rggb10 ! \
tiovxisp sink_0::device=/dev/v4l-imx219-subdev0 \
sensor-name="SENSOR_SONY_IMX219_RPI" \
dcc-isp-file=/opt/imaging/imx219/dcc_viss_10b.bin \
sink_0::dcc-2a-file=/opt/imaging/imx219/dcc_2a_10b.bin format-msb=9 ! \
video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! \
kmssink driver-name=tidss sync=false
In the above pipeline, GStreamer element tiovxisp interfaces VPAC hardware and TI's reference software for imaging algorithms of AE and AWB (2A) and ISP parameter control. The VPAC configurations for IMX219 are provided through the following two binary files which are among the properties of tiovxisp:
These binary files are the output of the ISP tuning, and are also referred as the Dynamic Camera Configuration (DCC) profiles.
As an overview, the AM6xA ISP tuning procedure includes the following steps (using TI's reference imaging software and tuning tool as an example):
This application note uses the AM62A Starter Kit EVM with an IMX219 camera and an OX05B1S camera to demonstrate the above listed tuning steps. The principles and procedure of the tuning apply to any custom board and raw camera.