CPU Cores occupy 100% On Xavier NX

Maybe you can reference to the multimedia API sample code like …/tegra_multimedia_api/samples/12_camera_v4l2_cuda or v4l2cuda for using mmap as post processing.