@@ -21,17 +21,17 @@ Signed-off-by: Guo Jiansheng <jiansheng.guo@intel.com>
2121 create mode 100644 libavcodec/libsvt_vp9.c
2222
2323diff --git a/configure b/configure
24- index bdfd731602..fbe6f838df 100755
24+ index bdfd731602..778c6f7787 100755
2525--- a/configure
2626+++ b/configure
27- @@ -283 ,6 +283 ,7 @@ External library support:
27+ @@ -284 ,6 +284 ,7 @@ External library support:
2828 --enable-libvorbis enable Vorbis en/decoding via libvorbis,
2929 native implementation exists [no]
3030 --enable-libvpx enable VP8 and VP9 de/encoding via libvpx [no]
3131+ --enable-libsvtvp9 enable VP9 encoding via svt [no]
32- --enable-libwavpack enable wavpack encoding via libwavpack [no]
3332 --enable-libwebp enable WebP encoding via libwebp [no]
3433 --enable-libx264 enable H.264 encoding via x264 [no]
34+ --enable-libx265 enable HEVC encoding via x265 [no]
3535@@ -1800,6 +1801,7 @@ EXTERNAL_LIBRARY_LIST="
3636 librtmp
3737 libshine
@@ -40,46 +40,46 @@ index bdfd731602..fbe6f838df 100755
4040 libsnappy
4141 libsoxr
4242 libspeex
43- @@ -3253 ,6 +3255 ,7 @@ libvpx_vp8_decoder_deps="libvpx"
43+ @@ -3263 ,6 +3265 ,7 @@ libvpx_vp8_decoder_deps="libvpx"
4444 libvpx_vp8_encoder_deps="libvpx"
4545 libvpx_vp9_decoder_deps="libvpx"
4646 libvpx_vp9_encoder_deps="libvpx"
4747+ libsvt_vp9_encoder_deps="libsvtvp9"
48- libwavpack_encoder_deps="libwavpack"
49- libwavpack_encoder_select="audio_frame_queue"
5048 libwebp_encoder_deps="libwebp"
51- @@ -6412,6 +6415,7 @@ enabled libvpx && {
49+ libwebp_anim_encoder_deps="libwebp"
50+ libx262_encoder_deps="libx262"
51+ @@ -6435,6 +6438,7 @@ enabled libvpx && {
5252 fi
5353 }
5454
55- + enabled libsvtvp9 && require_pkg_config libsvtvp9 SvtVp9Enc EbSvtVp9Enc.h eb_vp9_svt_init_handle
56- enabled libwavpack && require libwavpack wavpack/wavpack.h WavpackOpenFileOutput -lwavpack
55+ + enabled libsvtvp9 && require_pkg_config libsvtvp9 SvtVp9Enc EbSvtVp9Enc.h eb_vp9_svt_init_handle
5756 enabled libwebp && {
5857 enabled libwebp_encoder && require_pkg_config libwebp "libwebp >= 0.2.0" webp/encode.h WebPGetEncoderVersion
58+ enabled libwebp_anim_encoder && check_pkg_config libwebp_anim_encoder "libwebpmux >= 0.4.0" webp/mux.h WebPAnimEncoderOptionsInit; }
5959diff --git a/libavcodec/Makefile b/libavcodec/Makefile
60- index 18353da549..230660ea27 100644
60+ index 0d2f7960a9..6607a362bc 100644
6161--- a/libavcodec/Makefile
6262+++ b/libavcodec/Makefile
63- @@ -1035 ,6 +1035 ,7 @@ OBJS-$(CONFIG_LIBVPX_VP8_DECODER) += libvpxdec.o
63+ @@ -1048 ,6 +1048 ,7 @@ OBJS-$(CONFIG_LIBVPX_VP8_DECODER) += libvpxdec.o
6464 OBJS-$(CONFIG_LIBVPX_VP8_ENCODER) += libvpxenc.o
6565 OBJS-$(CONFIG_LIBVPX_VP9_DECODER) += libvpxdec.o libvpx.o
6666 OBJS-$(CONFIG_LIBVPX_VP9_ENCODER) += libvpxenc.o libvpx.o
6767+ OBJS-$(CONFIG_LIBSVT_VP9_ENCODER) += libsvt_vp9.o
68- OBJS-$(CONFIG_LIBWAVPACK_ENCODER) += libwavpackenc.o
6968 OBJS-$(CONFIG_LIBWEBP_ENCODER) += libwebpenc_common.o libwebpenc.o
7069 OBJS-$(CONFIG_LIBWEBP_ANIM_ENCODER) += libwebpenc_common.o libwebpenc_animencoder.o
70+ OBJS-$(CONFIG_LIBX262_ENCODER) += libx264.o
7171diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
72- index a5048290f7..c34ef96fb9 100644
72+ index 1953cd86c1..2689c951f2 100644
7373--- a/libavcodec/allcodecs.c
7474+++ b/libavcodec/allcodecs.c
75- @@ -735 ,6 +735 ,7 @@ extern AVCodec ff_libvpx_vp8_encoder;
75+ @@ -746 ,6 +746 ,7 @@ extern AVCodec ff_libvpx_vp8_encoder;
7676 extern AVCodec ff_libvpx_vp8_decoder;
7777 extern AVCodec ff_libvpx_vp9_encoder;
7878 extern AVCodec ff_libvpx_vp9_decoder;
7979+ extern AVCodec ff_libsvt_vp9_encoder;
80- extern AVCodec ff_libwavpack_encoder;
8180 /* preferred over libwebp */
8281 extern AVCodec ff_libwebp_anim_encoder;
82+ extern AVCodec ff_libwebp_encoder;
8383diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
8484index c91b2fd169..10cdb7b0d9 100644
8585--- a/libavcodec/avcodec.h
0 commit comments