mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
Unit test covering av_detection_bbox_alloc, av_get_detection_bbox, and av_detection_bbox_create_side_data. Tests allocation with 0, 1, and 4 bounding boxes, with and without size output. Verifies bbox getter indexing by writing and reading back coordinates, labels, and confidence values. Tests classify fields (labels and confidences), the header source field, and side data creation with frame attachment. Coverage for libavutil/detection_bbox.c: 0.00% -> 86.67% (remaining uncovered lines are OOM error paths) Signed-off-by: marcos ashton <marcosashiglesias@gmail.com>