This file contains hidden or 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
#!/usr/bin/env bash | |
# Originally for L-SMASH project. | |
# Modified for tMod. | |
# I do not claim any further copyright. | |
# This file is part of L-SMASH project. | |
# http://github.com/silverfilain/x264_L-SMASH | |
# Copyright (C) 2010-2013 L-SMASH project |
This file contains hidden or 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
diff --git a/libavcodec/libvpxdec.c b/libavcodec/libvpxdec.c | |
index 7e41e80..89526cd 100644 | |
--- a/libavcodec/libvpxdec.c | |
+++ b/libavcodec/libvpxdec.c | |
@@ -145,7 +145,7 @@ AVCodec ff_libvpx_vp9_decoder = { | |
.init = vp9_init, | |
.close = vp8_free, | |
.decode = vp8_decode, | |
- .capabilities = CODEC_CAP_AUTO_THREADS | CODEC_CAP_EXPERIMENTAL, | |
+ .capabilities = CODEC_CAP_AUTO_THREADS, |
This file contains hidden or 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
diff --git a/m4/ffmpeg.m4 b/m4/ffmpeg.m4 | |
index 11c8623..40e5ac4 100644 | |
--- a/m4/ffmpeg.m4 | |
+++ b/m4/ffmpeg.m4 | |
@@ -49,7 +49,7 @@ then | |
LIBS="$LIBS $FFMPEG_LIBS" | |
have_ffmpeg="no" | |
AC_CHECK_HEADERS([libavformat/avformat.h ffmpeg/avformat.h], | |
- [AC_CHECK_LIB(avformat, av_open_input_file, | |
+ [AC_CHECK_LIB(avformat, avformat_open_input, |
This file contains hidden or 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
diff --git a/configure b/configure | |
index f43a70d..aa0d186 100755 | |
--- a/configure | |
+++ b/configure | |
@@ -178,6 +178,7 @@ External library support: | |
--enable-libdc1394 enable IIDC-1394 grabbing using libdc1394 | |
and libraw1394 [no] | |
--enable-libfaac enable FAAC support via libfaac [no] | |
+ --enable-libfdk-aac enable AAC support via libfdk-aac [no] | |
--enable-libfreetype enable libfreetype [no] |
This file contains hidden or 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
diff --git a/configure b/configure | |
index 465607d..3b2472a 100755 | |
--- a/configure | |
+++ b/configure | |
@@ -170,6 +170,7 @@ External library support: | |
--enable-libdc1394 enable IIDC-1394 grabbing using libdc1394 | |
and libraw1394 [no] | |
--enable-libfaac enable FAAC support via libfaac [no] | |
+ --enable-libfdk-aac enable AAC support via libfdk-aac [no] | |
--enable-libfreetype enable libfreetype [no] |
This file contains hidden or 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
FUNCTION makediff16(clip a, clip b, int "Y", int "U", int "V"){ | |
Y = Default(Y, 3) | |
U = Default(U, 3) | |
V = Default(V, 3) | |
addend = b.Dither_lut16("65536 x -", Y=Y==3?3:1, U=U==3?3:1, V=V==3?3:1) | |
wrap = b.Dither_lut16("x 0 == 1 0 ?", Y=Y==3?3:1, U=U==3?3:1, V=V==3?3:1) | |
diff = Dither_add16(a, addend, Y=Y==3?3:1, U=U==3?3:1, V=V==3?3:1, dif=true) | |
\ .Dither_add16(wrap, Y=Y==3?3:1, U=U==3?3:1, V=V==3?3:1, dif=false) |
This file contains hidden or 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
#!/usr/bin/env python3 | |
# coding: utf-8 | |
#**************************************************************************** | |
# TAEC(Tiny Avc Encode Consultant).py | |
# written by Chikezun | |
# modified by 06_taro | |
# Reference literature: | |
# Rec. ITU-T H.264 (06/2011) – Superseded version | |
# インプレス標準教科書シリーズ改訂版 H.264/AVC教科書 | |
# 著者:(監修)大久保 榮/(編者)角野 眞也、菊池 義浩、鈴木 輝彦 |
This file contains hidden or 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
#!/usr/bin/env python3 | |
# coding: utf-8 | |
#**************************************************************************** | |
# avc_refcalc.py 0.20mod2 | |
# written by Chikezun | |
# modified by 06_taro | |
# Reference literature: | |
# インプレス標準教科書シリーズ改訂版 H.264/AVC教科書 | |
# 著者:(監修)大久保 榮/(編者)角野 眞也、菊池 義浩、鈴木 輝彦 |
This file contains hidden or 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
diff -uNrp a/common/common.c b/common/common.c | |
--- a/common/common.c 2011-11-20 19:59:26 +0000 | |
+++ b/common/common.c 2011-11-20 20:29:52 +0000 | |
@@ -71,6 +71,8 @@ void x264_param_default( x264_param_t *p | |
param->i_fps_den = 1; | |
param->i_level_idc = -1; | |
param->b_level_force = 0; | |
+ param->i_profile = 0; | |
+ param->b_profile_force = 0; | |
param->i_slice_max_size = 0; |
This file contains hidden or 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
a68cd9bf80f359d376cce02a295299302ed95d02 | |
filters/video/depth.c | 7 +++++++ | |
input/avs.c | 5 +++++ | |
input/raw.c | 9 ++++++++- | |
x264.h | 1 + | |
4 files changed, 21 insertions(+), 1 deletions(-) | |
diff --git a/filters/video/depth.c b/filters/video/depth.c | |
index 25dde25..b6cf1a5 100644 | |
--- a/filters/video/depth.c |