Downscales a 3840x2160 JPEG to 1920x1080 using Qualcomm FastCV (fcvScaleDownMNu8), benchmarking across operation modes.
make
./fastcvSimpleTest [loop_count] # default: 100
- Qualcomm FastCV (
libfastcvopt) - libjpeg
output_cpu_performance.jpg— result fromFASTCV_OP_CPU_PERFORMANCEoutput_performance.jpg— result fromFASTCV_OP_PERFORMANCE- Per-frame timing breakdown and FPS printed to stdout
Check journalctl to confirm whether FastCV successfully offloaded to the CDSP:
journalctl --no-pager | grep -i -E "fastcvSimpleTest"