Home
last modified time | relevance | path

Searched refs:nb_bboxes (Results 1 - 7 of 7) sorted by relevance

/third_party/ffmpeg/libavutil/
H A Ddetection_bbox.c21 AVDetectionBBoxHeader *av_detection_bbox_alloc(uint32_t nb_bboxes, size_t *out_size) in av_detection_bbox_alloc() argument
33 if (nb_bboxes > (SIZE_MAX - size) / bbox_size) in av_detection_bbox_alloc()
35 size += bbox_size * nb_bboxes; in av_detection_bbox_alloc()
41 header->nb_bboxes = nb_bboxes; in av_detection_bbox_alloc()
51 AVDetectionBBoxHeader *av_detection_bbox_create_side_data(AVFrame *frame, uint32_t nb_bboxes) in av_detection_bbox_create_side_data() argument
57 header = av_detection_bbox_alloc(nb_bboxes, &size); in av_detection_bbox_create_side_data()
H A Ddetection_bbox.h66 uint32_t nb_bboxes; member
81 * Get the bounding box at the specified {@code idx}. Must be between 0 and nb_bboxes.
86 av_assert0(idx < header->nb_bboxes); in av_get_detection_bbox()
92 * Allocates memory for AVDetectionBBoxHeader, plus an array of {@code nb_bboxes}
99 AVDetectionBBoxHeader *av_detection_bbox_alloc(uint32_t nb_bboxes, size_t *out_size);
102 * Allocates memory for AVDetectionBBoxHeader, plus an array of {@code nb_bboxes}
106 AVDetectionBBoxHeader *av_detection_bbox_create_side_data(AVFrame *frame, uint32_t nb_bboxes);
/third_party/ffmpeg/libavfilter/
H A Dvf_dnn_detect.c72 int nb_bboxes = 0; in dnn_detect_post_proc_ov() local
88 nb_bboxes++; in dnn_detect_post_proc_ov()
91 if (nb_bboxes == 0) { in dnn_detect_post_proc_ov()
96 header = av_detection_bbox_create_side_data(frame, nb_bboxes); in dnn_detect_post_proc_ov()
98 av_log(filter_ctx, AV_LOG_ERROR, "failed to create side data with %d bounding boxes\n", nb_bboxes); in dnn_detect_post_proc_ov()
133 nb_bboxes--; in dnn_detect_post_proc_ov()
134 if (nb_bboxes == 0) { in dnn_detect_post_proc_ov()
148 int nb_bboxes = 0; in dnn_detect_post_proc_tf() local
167 nb_bboxes++; in dnn_detect_post_proc_tf()
170 if (nb_bboxes in dnn_detect_post_proc_tf()
[all...]
H A Dvf_showinfo.c163 int nb_bboxes; in dump_detection_bbox() local
168 nb_bboxes = header->nb_bboxes; in dump_detection_bbox()
172 for (int i = 0; i < nb_bboxes; i++) { in dump_detection_bbox()
H A Dvf_drawbox.c385 loop = header->nb_bboxes; in filter_frame()
H A Dvf_drawtext.c1625 loop = header->nb_bboxes; in filter_frame()
/third_party/ffmpeg/libavfilter/dnn/
H A Ddnn_backend_openvino.c569 if (!header->nb_bboxes) { in contain_valid_detection_bbox()
573 for (uint32_t i = 0; i < header->nb_bboxes; i++) { in contain_valid_detection_bbox()
626 for (uint32_t i = 0; i < header->nb_bboxes; i++) { in extract_lltask_from_task()

Completed in 10 milliseconds