[FFmpeg-devel] [PATCH v2 FFmpeg 11/20] libavfilter/dnn_filter_common: dnn execute functions for CLIP and CLAP

Guo, Yejun yejun.guo at intel.com
Mon May 12 13:08:55 EEST 2025



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> m.kaindl0208 at gmail.com
> Sent: Tuesday, March 11, 2025 3:54 AM
> To: ffmpeg-devel at ffmpeg.org
> Subject: [FFmpeg-devel] [PATCH v2 FFmpeg 11/20]
> libavfilter/dnn_filter_common: dnn execute functions for CLIP and CLAP
> 
> Signed-off-by: MaximilianKaindl <m.kaindl0208 at gmail.com>
> ---
>  libavfilter/dnn_filter_common.c | 81 +++++++++++++++++++++++----------
>  libavfilter/dnn_filter_common.h | 34 +++++++-------
>  2 files changed, 76 insertions(+), 39 deletions(-)
> 
> diff --git a/libavfilter/dnn_filter_common.c b/libavfilter/dnn_filter_common.c
> index 899e869cca..f3117748ae 100644
> --- a/libavfilter/dnn_filter_common.c
> +++ b/libavfilter/dnn_filter_common.c
> @@ -1,20 +1,20 @@
>  /*
> - * 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
> - */
> +* 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
> +*/

No actual change above?   And same comment in the other file below.


>  #include "dnn_filter_common.h"
>  #include "libavutil/avstring.h"
> @@ -87,10 +87,10 @@ static int ff_dnn_init_priv(DnnContext *ctx,
> DNNFunctionType func_type, AVFilter
>      if (backend == DNN_TH) {
>          if (ctx->model_inputname)
>              av_log(filter_ctx, AV_LOG_WARNING, "LibTorch backend do not require
> inputname, "\
> -                                               "inputname will be ignored.\n");
> +                                                "inputname will be ignored.\n");

We don't need to add such format change in this commit. 
And same comment for other similar changes.


More information about the ffmpeg-devel mailing list