> -----Original Message-----
> From: ffmpeg-devel <[email protected]> On Behalf Of Zhao
> Zhili
> Sent: Wednesday, May 8, 2024 12:08 AM
> To: [email protected]
> Cc: Zhao Zhili <[email protected]>
> Subject: [FFmpeg-devel] [PATCH v4 01/11] avfilter/dnn: Refactor DNN
> parameter configuration system
>
> From: Zhao Zhili <[email protected]>
>
> This patch trying to resolve mulitiple issues related to parameter
> configuration:
>
> Firstly, each DNN filters duplicate DNN_COMMON_OPTIONS, which should
> be the common options of backend.
>
> Secondly, backend options are hidden behind the scene. It's a
> AV_OPT_TYPE_STRING backend_configs for user, and parsed by each
> backend. We don't know each backend support what kind of options
> from the help message.
>
> Third, DNN backends duplicate DNN_BACKEND_COMMON_OPTIONS.
>
> Last but not the least, pass backend options via AV_OPT_TYPE_STRING
> makes it hard to pass AV_OPT_TYPE_BINARY to backend, if not impossible.
>
> This patch puts backend common options and each backend options inside
> DnnContext to reduce code duplication, make options user friendly, and
> easy to extend for future usecase.
>
This patch 01 LGTM, will push soon, thanks.
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".