[FFmpeg-devel] [PATCH 08/10] libavutil: add side data AVDnnBoundingBox for dnn based detect/classify filters

Guo, Yejun yejun.guo at intel.com
Wed Feb 10 11:32:12 EET 2021



> -----Original Message-----
> From: Guo, Yejun <yejun.guo at intel.com>
> Sent: 2021年2月10日 12:59
> To: ffmpeg-devel at ffmpeg.org
> Cc: Guo, Yejun <yejun.guo at intel.com>
> Subject: [PATCH 08/10] libavutil: add side data AVDnnBoundingBox for dnn
> based detect/classify filters
> 
> Signed-off-by: Guo, Yejun <yejun.guo at intel.com>
> ---
>  doc/APIchanges       |  2 ++
>  libavutil/Makefile   |  1 +
>  libavutil/dnn_bbox.h | 68
> ++++++++++++++++++++++++++++++++++++++++++++
>  libavutil/frame.c    |  1 +
>  libavutil/frame.h    |  7 +++++
>  libavutil/version.h  |  2 +-
>  6 files changed, 80 insertions(+), 1 deletion(-)  create mode 100644
> libavutil/dnn_bbox.h
> 
> diff --git a/doc/APIchanges b/doc/APIchanges index 1332694820..7cbfa9fafa
> 100644
> --- a/doc/APIchanges
> +++ b/doc/APIchanges
> @@ -14,6 +14,8 @@ libavutil:     2017-10-21
> 
> 
>  API changes, most recent first:
> +2021-02-08 - xxxxxxxxxx - lavu 56.65.100 - frame.h
> +  Add AV_FRAME_DATA_DNN_BBOXES
> 
>  2021-01-26 - xxxxxxxxxx - lavu 56.64.100 - common.h
>    Add FFABSU()
> diff --git a/libavutil/Makefile b/libavutil/Makefile index
> 27bafe9e12..b99cb7084f 100644
> --- a/libavutil/Makefile
> +++ b/libavutil/Makefile
> @@ -23,6 +23,7 @@ HEADERS = adler32.h
> \
>            des.h
> \
>            dict.h
> \
>            display.h
> \
> +          dnn_bbox.h
> \
>            dovi_meta.h
> \
>            downmix_info.h
> \
>            encryption_info.h
> \
> diff --git a/libavutil/dnn_bbox.h b/libavutil/dnn_bbox.h new file mode 100644
> index 0000000000..ae68f9e2e2
> --- /dev/null
> +++ b/libavutil/dnn_bbox.h
> @@ -0,0 +1,68 @@
> +/*
> + *
> + * This file is part of FFmpeg.
> + *
> + * FFmpeg is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU Lesser General Public
> + * License as published by the Free Software Foundation; either
> + * version 2.1 of the License, or (at your option) any later version.
> + *
> + * FFmpeg is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> + * Lesser General Public License for more details.
> + *
> + * You should have received a copy of the GNU Lesser General Public
> + * License along with FFmpeg; if not, write to the Free Software
> + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
> +02110-1301 USA  */
> +
> +#ifndef AVFILTER_DNN_BBOX_H
> +#define AVFILTER_DNN_BBOX_H

the macro name is not correct and caught by patchwork,
will fix it and send the whole patch set as V2, thanks.


More information about the ffmpeg-devel mailing list