diff options
author | jstebbins <[email protected]> | 2014-04-15 18:42:17 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2014-04-15 18:42:17 +0000 |
commit | c6c85528383812a0d11c8ce035b1584f35624f7c (patch) | |
tree | 30409e8e361022168d608cda17bc1abe1b2c515e /contrib | |
parent | c973315226c1009f2cadc8a14e5219c1ef5d69c2 (diff) |
Add VP8 support
Thanks to Matthew Harvey for this patch
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6165 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ffmpeg/module.defs | 3 | ||||
-rw-r--r-- | contrib/libvpx/module.defs | 22 | ||||
-rw-r--r-- | contrib/libvpx/module.rules | 2 |
3 files changed, 27 insertions, 0 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs index b6ce56411..b7d0b07d8 100644 --- a/contrib/ffmpeg/module.defs +++ b/contrib/ffmpeg/module.defs @@ -31,6 +31,9 @@ FFMPEG.CONFIGURE.extra = \ --enable-encoder=flac \ --enable-encoder=mpeg2video \ --enable-encoder=mpeg4 \ + --enable-libvpx \ + --enable-encoder=libvpx_vp8 \ + --disable-decoder=libvpx_vp8 \ --enable-zlib \ --enable-bzlib \ --cc="$(FFMPEG.GCC.gcc)" \ diff --git a/contrib/libvpx/module.defs b/contrib/libvpx/module.defs new file mode 100644 index 000000000..c2c0c4aea --- /dev/null +++ b/contrib/libvpx/module.defs @@ -0,0 +1,22 @@ +$(eval $(call import.MODULE.defs,LIBVPX,libvpx,YASM)) +$(eval $(call import.CONTRIB.defs,LIBVPX)) + +LIBVPX.FETCH.url = http://download.handbrake.fr/contrib/libvpx-v1.3.0.tar.bz2 + +LIBVPX.CONFIGURE.env.LD = LD=$(subst CC=,,$(LIBVPX.CONFIGURE.env.CC)) + +LIBVPX.CONFIGURE.args.host = +LIBVPX.CONFIGURE.deps = +LIBVPX.CONFIGURE.extra = \ + --enable-vp8-encoder \ + --disable-vp9 \ + --disable-vp8-decoder \ + --disable-examples \ + --disable-docs \ + --disable-unit-tests + +ifeq (1-i686,$(BUILD.cross)-$(BUILD.machine)) + LIBVPX.CONFIGURE.extra += --target=x86-win32-gcc +else ifeq (1-x86_64,$(BUILD.cross)-$(BUILD.machine)) + LIBVPX.CONFIGURE.extra += --target=x86_64-win64-gcc +endif diff --git a/contrib/libvpx/module.rules b/contrib/libvpx/module.rules new file mode 100644 index 000000000..db1d4921f --- /dev/null +++ b/contrib/libvpx/module.rules @@ -0,0 +1,2 @@ +$(eval $(call import.MODULE.rules,LIBVPX)) +$(eval $(call import.CONTRIB.rules,LIBVPX)) |