summaryrefslogtreecommitdiff
path: root/libavutil/detection_bbox.h
diff options
context:
space:
mode:
authorGuo, Yejun <yejun.guo@intel.com>2021-04-17 19:59:34 +0800
committerGuo, Yejun <yejun.guo@intel.com>2021-04-18 10:41:17 +0800
commit0c7aef84a00a7114aa7da6ee38e5575eb05590b5 (patch)
treea0eed2c42c0104ba190d21809c333f0b3afdbb8c /libavutil/detection_bbox.h
parenta10c47acc29e5dc2c6b5278d0dcef225865f6341 (diff)
lavu/detection_bbox.h: use AV_NUM_DETECTION_BBOX_CLASSIFY to replace AV_NUM_BBOX_CLASSIFY
Diffstat (limited to 'libavutil/detection_bbox.h')
-rw-r--r--libavutil/detection_bbox.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavutil/detection_bbox.h b/libavutil/detection_bbox.h
index 472f033647..c20c204a54 100644
--- a/libavutil/detection_bbox.h
+++ b/libavutil/detection_bbox.h
@@ -47,10 +47,10 @@ typedef struct AVDetectionBBox {
* DNN models on one bounding box.
* classify_count is zero if no classification.
*/
-#define AV_NUM_BBOX_CLASSIFY 4
+#define AV_NUM_DETECTION_BBOX_CLASSIFY 4
uint32_t classify_count;
- char classify_labels[AV_NUM_BBOX_CLASSIFY][AV_DETECTION_BBOX_LABEL_NAME_MAX_SIZE];
- AVRational classify_confidences[AV_NUM_BBOX_CLASSIFY];
+ char classify_labels[AV_NUM_DETECTION_BBOX_CLASSIFY][AV_DETECTION_BBOX_LABEL_NAME_MAX_SIZE];
+ AVRational classify_confidences[AV_NUM_DETECTION_BBOX_CLASSIFY];
} AVDetectionBBox;
typedef struct AVDetectionBBoxHeader {