[vlc-devel] [PATCH 4/4] Add rav1e encoder module
Rémi Denis-Courmont
remi at remlab.net
Tue Jul 21 15:51:57 CEST 2020
Le tiistaina 21. heinäkuuta 2020, 12.34.08 EEST rustyc a écrit :
> Co-Authored-By: Thomas Guillem <thomas at gllm.fr>
> ---
> configure.ac | 5 +
> modules/codec/Makefile.am | 8 ++
> modules/codec/rav1e.c | 284 ++++++++++++++++++++++++++++++++++++++
> 3 files changed, 297 insertions(+)
> create mode 100644 modules/codec/rav1e.c
>
> diff --git a/configure.ac b/configure.ac
> index 89fc36cdf4..a30e86bf37 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2872,6 +2872,11 @@ dnl AOM decoder plugin
> dnl
> PKG_ENABLE_MODULES_VLC([AOM], [], [aom], [experimental AV1 codec (default
> auto)])
>
> +dnl
> +dnl Rav1e encoder plugin
> +dnl
> +PKG_ENABLE_MODULES_VLC([RAV1E], [], [rav1e], [rav1e encoder module codec
> (default auto)]) +
> dnl
> dnl Dav1d decoder plugin
> dnl
> diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
> index dc0bda07dc..5c4ad53074 100644
> --- a/modules/codec/Makefile.am
> +++ b/modules/codec/Makefile.am
> @@ -545,6 +545,14 @@ libaom_plugin_la_LIBADD = $(AOM_LIBS)
> EXTRA_LTLIBRARIES += libaom_plugin.la
> codec_LTLIBRARIES += $(LTLIBaom)
>
> +librav1e_plugin_la_SOURCES = codec/rav1e.c
> +librav1e_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
> +librav1e_plugin_la_CFLAGS = $(AM_CFLAGS) $(RAV1E_CFLAGS)
> +librav1e_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
> +librav1e_plugin_la_LIBADD = $(RAV1E_LIBS)
> +EXTRA_LTLIBRARIES += librav1e_plugin.la
> +codec_LTLIBRARIES += $(LTLIBrav1e)
> +
> libtwolame_plugin_la_SOURCES = codec/twolame.c
> libtwolame_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DLIBTWOLAME_STATIC
> libtwolame_plugin_la_CFLAGS = $(AM_CFLAGS) $(TWOLAME_CFLAGS)
> diff --git a/modules/codec/rav1e.c b/modules/codec/rav1e.c
> new file mode 100644
> index 0000000000..238db450f0
> --- /dev/null
> +++ b/modules/codec/rav1e.c
> @@ -0,0 +1,284 @@
> +#ifdef HAVE_CONFIG_H
> +# include "config.h"
> +#endif
Missing copyright license. Review stops here.
--
雷米‧德尼-库尔蒙
http://www.remlab.net/
More information about the vlc-devel
mailing list