How qualcomm/qcnode works
QCNode is a Qualcomm ADAS hardware-abstraction library: applications configure and use nodes for camera streaming, image processing, inference, video codecs, perception, and radar ingestion. The README documents these as distinct capabilities, but does not specify an end-to-end application pipeline, so the graph does not chain them. Shared node and memory infrastructure supports the runtime; sampled code also shows CL2DFlex resize dispatching work to OpenCL and the local memory manager using pools. Some node internals and integrations were not sampled, so their implementation-level links are omitted.
Main entry points: NodeBase.cpp Node base · Remap.cpp Remap processing · CL2DFlex.cpp CL2DFlex processing · CL2DPipelineResize.cpp Resize pipeline
Components 24
Node runtime
- Node base
source/Node/Base/NodeBase.cpp - Node factory
source/Node/Base/QCNodeFactory.cpp - Config data tree
source/Node/Base/DataTree.cpp - Simulation node
source/Node/SimulationNode/SimulationNode.cpp
Vision compute
- Remap processing
source/Node/Remap/Remap.cpp - CL2DFlex processing
source/Node/CL2DFlex/CL2DFlex.cpp - Resize pipeline
source/Node/CL2DFlex/pipeline/CL2DPipelineResize.cpp - AI inference
source/Node/QNN/QNN.cpp - Point-cloud voxelization
source/Node/Voxelization/Voxelization.cpp - Optical flow
source/Node/OpticalFlow/OpticalFlow.cpp - Stereo depth
source/Node/DepthFromStereo/DepthFromStereo.cpp
Media I/O
- Camera streaming
source/Node/Camera/Camera.cpp - Video decoding
source/Node/VideoDecoder/VideoDecoder.cpp - Video encoding
source/Node/VideoEncoder/VideoEncoder.cpp - Radar ingestion
source/Node/Radar/Radar.cpp
Memory and tracing
- Local memory manager
source/Infras/Memory/ManagerLocal.cpp - Memory pools
include/QC/Infras/Memory/Pool.hpp - Buffer descriptors
source/Infras/Memory/ImageDescriptor.cpp - Node tracing
source/Infras/NodeTrace/NodeTrace.cpp
Hardware adapters
- OpenCL interface
source/Library/OpenclIface/OpenclIface.cpp - Video driver client
source/Library/VideoCodec/VidcDrvClient.cpp - FastADAS interface
source/Library/FadasIface/FadasIface.c - Radar service interface
source/Library/RadarIface/IRadarIf.hpp
Other components
- ADAS application
Connections 21
- ADAS application → Node factory: creates nodes
- ADAS application → Camera streaming: uses streaming
- ADAS application → Remap processing: uses processing
- ADAS application → CL2DFlex processing: uses processing
- ADAS application → AI inference: runs inference
- ADAS application → Point-cloud voxelization: voxelizes clouds
- ADAS application → Optical flow: computes flow
- ADAS application → Stereo depth: estimates depth
- ADAS application → Video decoding: decodes video
- ADAS application → Video encoding: encodes video
- ADAS application → Radar ingestion: ingests radar
- Node base → Config data tree: uses config
- Node base → Buffer descriptors: uses buffers
- Local memory manager → Memory pools: manages pools
source/Infras/Memory/ManagerLocal.cpp - CL2DFlex processing → Resize pipeline: dispatches resize
- Resize pipeline → OpenCL interface: executes kernel
source/Node/CL2DFlex/pipeline/CL2DPipelineResize.cpp - Video decoding → Video driver client: uses driver
- Video encoding → Video driver client: uses driver
- Radar ingestion → Radar service interface: uses service
- Remap processing → FastADAS interface: uses accelerator
- Node base → Local memory manager: uses memory