The image pipeline on Jetson, stage by stage
Updated:
The Fastvideo Image & Video Processing SDK runs the full GPU image pipeline on NVIDIA Jetson, so embedded and on-camera systems get PC-class imaging at low power. The same CUDA modules used on desktop GPUs run on Linux4Tegra (L4T) without changing the pipeline.
What runs on Jetson
- Raw acquisition and unpacking, dark-frame subtraction, flat-field correction, white balance, exposure
- Demosaicing (HQLI, DFPD, MG), luma/chroma denoising, colour correction, tone mapping (1D and 3D LUT)
- Crop, rotate, resize, remap, sharpening; JPEG, MJPEG and JPEG2000 encoding; RAW Bayer codec
- OpenGL output and FFmpeg integration for streaming
Supported devices
- Jetson TX2 / TX2i, AGX Xavier and Xavier NX, AGX Orin and Orin NX
- Linux4Tegra (L4T) with CUDA; 16/32-bit software ISP (no dependence on the hardware ISP / libargus)
How long each stage takes on a mobile GPU
Averaged kernel times on Tegra X2 at 2K (1920×1080) and 4K (3840×2160). This is a small subset of the SDK, and on newer Jetson modules (Xavier, Orin) the same modules run considerably faster.
| Operation | 2K | 4K |
|---|---|---|
| HQLI debayer (16-bit) | 0.66 ms | 2.6 ms |
| DFPD debayer (16-bit) | 1.9 ms | 7.5 ms |
| MG debayer, no enhance (16-bit) | 6.1 ms | 25 ms |
| JPEG encode (24-bit, 4:2:0, q90) | 2.0 ms | 7.9 ms |
| JPEG decode (24-bit, 4:2:0, q90) | 5.3 ms | 19.5 ms |
| Resize (24-bit, Lanczos3, to quarter area) | 4.9 ms | 17.7 ms |
| Denoiser (24-bit, wavelet 9/7) | 11.3 ms | 43 ms |
| JPEG2000 encode (24-bit, lossy, single) | 57 ms | 184 ms |