Function av_detection_bbox_alloc
pub unsafe extern "C" fn av_detection_bbox_alloc(
nb_bboxes: u32,
out_size: *mut usize,
) -> *mut AVDetectionBBoxHeader
Expand description
Allocates memory for AVDetectionBBoxHeader, plus an array of {@code nb_bboxes} AVDetectionBBox, and initializes the variables. Can be freed with a normal av_free() call.
@param nb_bboxes number of AVDetectionBBox structures to allocate @param out_size if non-NULL, the size in bytes of the resulting data array is written here.