콘텐츠로 이동

C API

Headers

Header Description
dsp.h Mobilint SP500 DSP offload - status codes, lifecycle and shared memory.
letterbox.h Aspect-preserving resize with constant padding, on the SP500 DSP.
log_mel.h Whisper-style log-mel spectrogram on the SP500 DSP.
yolo.h YOLO decode and postprocess on the SP500 DSP.

Data structures

Name Description
sp500_buffer A tensor handed to or received from the DSP.
sp500_letterbox_params Letterbox geometry and options.
sp500_letterbox_result Values the DSP computed for a letterbox call.
sp500_log_mel_params Front-end parameters.
sp500_log_mel_result Values reported by a log-mel call.
sp500_yolo_detection One detection. 6 floats; the layout of a SP500_YOLO_TASK_DETECT record.
sp500_yolo_keypoint One keypoint of a pose record.
sp500_yolo_output Where the results go.
sp500_yolo_params Model shape and thresholds.
sp500_yolo_pose One pose result. 57 floats; the layout of a SP500_YOLO_TASK_POSE record.
sp500_yolo_raw Raw head tensors as separate planes, one set per feature level.
sp500_yolo_raw_anchor Raw head tensors as one combined tensor per level. SP500_YOLO_HEAD_ANCHOR only.
sp500_yolo_result What a YOLO call produced.
sp500_yolo_segmentation One segmentation result. 11 floats; the layout of a SP500_YOLO_TASK_SEGMENT record.