Codebase list libde265 / 6f90877
Update patches for new upstream version. Joachim Bauch 3 years ago
5 changed file(s) with 48 addition(s) and 36 deletion(s). Raw diff Collapse all Expand all
00 Description: Disable building of some internal tools that no longer link
1 because internal symbols are not exported.
1 because internal symbols are no longer exported.
22 Author: Joachim Bauch <bauch@struktur.de>
3 --- a/Makefile.am
4 +++ b/Makefile.am
5 @@ -8,10 +8,6 @@
6 SUBDIRS+=dec265
7 endif
8
9 -SUBDIRS+=enc265
10 -SUBDIRS+=tools
11 -SUBDIRS+=acceleration-speed
12 -
13 if ENABLE_SHERLOCK265
14 SUBDIRS+=sherlock265
15 endif
163 --- a/dec265/Makefile.am
174 +++ b/dec265/Makefile.am
185 @@ -1,5 +1,5 @@
207 -bin_PROGRAMS = dec265 hdrcopy
218 +bin_PROGRAMS = dec265
229
23 AM_CPPFLAGS = -I../libde265
10 AM_CPPFLAGS = -I$(top_srcdir)/libde265 -I$(top_srcdir)
2411
2512 @@ -9,12 +9,6 @@
2613 dec265_LDADD = ../libde265/libde265.la -lstdc++
3522 if HAVE_VIDEOGFX
3623 dec265_CXXFLAGS += $(VIDEOGFX_CFLAGS)
3724 dec265_LDFLAGS += $(VIDEOGFX_LIBS)
25 --- a/Makefile.am
26 +++ b/Makefile.am
27 @@ -8,13 +8,6 @@
28 SUBDIRS+=dec265
29 endif
30
31 -if ENABLE_ENCODER
32 -SUBDIRS+=enc265
33 -endif
34 -
35 -SUBDIRS+=tools
36 -SUBDIRS+=acceleration-speed
37 -
38 if ENABLE_SHERLOCK265
39 SUBDIRS+=sherlock265
40 endif
+0
-15
debian/patches/ffmpeg_2.9.patch less more
0 Description: Replace deprecated FFmpeg API
1 Author: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2 Last-Update: <2015-11-02>
3
4 --- a/sherlock265/VideoDecoder.cc
5 +++ b/sherlock265/VideoDecoder.cc
6 @@ -237,7 +237,7 @@
7 }
8 width = img->get_width();
9 height = img->get_height();
10 - sws = sws_getContext(width, height, PIX_FMT_YUV420P, width, height, PIX_FMT_BGRA, SWS_FAST_BILINEAR, NULL, NULL, NULL);
11 + sws = sws_getContext(width, height, AV_PIX_FMT_YUV420P, width, height, AV_PIX_FMT_BGRA, SWS_FAST_BILINEAR, NULL, NULL, NULL);
12 }
13
14 int stride[3];
0 From 91e2e3bd4a881755d84fe0f96debb86573c5b238 Mon Sep 17 00:00:00 2001
1 From: Joachim Bauch <bauch@struktur.de>
2 Date: Fri, 25 Sep 2020 12:02:08 +0200
3 Subject: [PATCH] Import "en265.h" to get correct name mangling of exported
4 functions.
5
6 Without the header, "C++" name mangling will be used instead of the
7 required "C" names.
8 ---
9 libde265/image.cc | 1 +
10 1 file changed, 1 insertion(+)
11
12 diff --git a/libde265/image.cc b/libde265/image.cc
13 index 543e74b1..07e4a22d 100644
14 --- a/libde265/image.cc
15 +++ b/libde265/image.cc
16 @@ -20,6 +20,7 @@
17
18 #include "image.h"
19 #include "decctx.h"
20 +#include "en265.h"
21
22 #include <stdlib.h>
23 #include <string.h>
33 Author: Joachim Bauch <bauch@struktur.de>
44 --- a/libde265/encoder/Makefile.am
55 +++ b/libde265/encoder/Makefile.am
6 @@ -10,6 +10,18 @@
6 @@ -12,6 +12,18 @@
77 encpicbuf.h encpicbuf.cc \
88 sop.h sop.cc
99
4040 CMakeLists.txt
4141 --- a/configure.ac
4242 +++ b/configure.ac
43 @@ -50,9 +50,7 @@
43 @@ -56,9 +56,7 @@
4444 fi
4545 changequote([,])dnl
4646
5353 # Checks for header files.
5454 --- a/libde265/image-io.cc
5555 +++ b/libde265/image-io.cc
56 @@ -183,7 +183,7 @@
56 @@ -186,7 +186,7 @@
5757 }
5858
5959
6262 {
6363 if (mFH) {
6464 fclose(mFH);
65 @@ -191,7 +191,7 @@
65 @@ -194,7 +194,7 @@
6666 }
6767
6868
7171 {
7272 assert(mFH==NULL);
7373
74 @@ -199,7 +199,7 @@
74 @@ -202,7 +202,7 @@
7575 }
7676
7777
00 only_export_decoder_api.patch
11 disable_tools.patch
2 ffmpeg_2.9.patch
2 fix_exported_symbols.patch