]> git.sesse.net Git - ffmpeg/commitdiff
lavu/detection_bbox.h: use AV_NUM_DETECTION_BBOX_CLASSIFY to replace AV_NUM_BBOX_CLASSIFY
authorGuo, Yejun <yejun.guo@intel.com>
Sat, 17 Apr 2021 11:59:34 +0000 (19:59 +0800)
committerGuo, Yejun <yejun.guo@intel.com>
Sun, 18 Apr 2021 02:41:17 +0000 (10:41 +0800)
libavutil/detection_bbox.h

index 472f0336470f8c333f376e974bffc20c7b913165..c20c204a54ebd687c058358f28f64ae5a9f3b197 100644 (file)
@@ -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 {