Enumerating and Configuring Sensor Modes

The driver exports a number of sensor modes to the Tegra camera framework.

These modes are used to configure the output resolution and other general aspects of sensor operation, such as pixel format or PWL (piecewise linear) compression.

Mode information can be queried using V4L2 controls.

When using nvarguscamerasrc, the mode is selected using the sensor-mode parameter:

gst-launch-1.0 nvarguscamerasrc sensor-mode=1 ! nv3dsink

When using V4L2, the mode is selected through a V4L2 control.