forked from HandBrake/HandBrake
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contrib: Use libdav1d for AV1 decoding in FFmpeg.
- Loading branch information
1 parent
d0fea86
commit 01e909b
Showing
10 changed files
with
59 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
diff -Naur /dev/null dav1d-f1b756ef5bdc0bb759b2b140f15362fec024c1ff/x86_64-w64-mingw32.meson | ||
--- /dev/null 2019-02-01 11:36:25.027425148 -0500 | ||
+++ dav1d-f1b756ef5bdc0bb759b2b140f15362fec024c1ff/x86_64-w64-mingw32.meson 2019-02-01 12:10:45.582462644 -0500 | ||
@@ -0,0 +1,15 @@ | ||
+[binaries] | ||
+c = 'x86_64-w64-mingw32-gcc' | ||
+cpp = 'x86_64-w64-mingw32-g++' | ||
+ar = 'x86_64-w64-mingw32-ar' | ||
+strip = 'x86_64-w64-mingw32-strip' | ||
+windres = 'x86_64-w64-mingw32-windres' | ||
+ | ||
+[properties] | ||
+c_link_args = ['-static-libgcc'] | ||
+ | ||
+[host_machine] | ||
+system = 'windows' | ||
+cpu_family = 'x86_64' | ||
+cpu = 'x86_64' | ||
+endian = 'little' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
$(eval $(call import.MODULE.defs,LIBDAV1D,libdav1d,PTHREADW32)) | ||
$(eval $(call import.CONTRIB.defs,LIBDAV1D)) | ||
|
||
LIBDAV1D.FETCH.url = https://code.videolan.org/videolan/dav1d/-/archive/0.4.0/dav1d-0.4.0.tar.bz2 | ||
LIBDAV1D.FETCH.sha256 = 18bf96c5168b8c704422387620fefaa953e8dbd4eacb0f0796c03d6e741f8924 | ||
|
||
LIBDAV1D.build_dir = build/ | ||
|
||
LIBDAV1D.CONFIGURE.exe = $(MESON.exe) | ||
LIBDAV1D.CONFIGURE.deps = | ||
LIBDAV1D.CONFIGURE.shared = | ||
LIBDAV1D.CONFIGURE.host = | ||
LIBDAV1D.CONFIGURE.build = | ||
LIBDAV1D.CONFIGURE.static = -Ddefault_library=static | ||
LIBDAV1D.CONFIGURE.extra = --libdir=$(call fn.ABSOLUTE,$(CONTRIB.build/))lib/ --buildtype=release | ||
LIBDAV1D.CONFIGURE.env = | ||
|
||
ifeq (1-mingw,$(HOST.cross)-$(HOST.system)) | ||
LIBDAV1D.CONFIGURE.extra += --cross-file=$(call fn.ABSOLUTE,$(LIBDAV1D.EXTRACT.dir/))x86_64-w64-mingw32.meson | ||
endif | ||
|
||
LIBDAV1D.BUILD.make = $(NINJA.exe) | ||
LIBDAV1D.BUILD.extra = -v | ||
|
||
LIBDAV1D.INSTALL.make = $(NINJA.exe) | ||
|
||
LIBDAV1D.CLEAN.make = $(NINJA.exe) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
$(eval $(call import.MODULE.rules,LIBDAV1D)) | ||
$(eval $(call import.CONTRIB.rules,LIBDAV1D)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters