[x264-devel] commit: Add "fastdecode" tune option (Jason Garrett-Glaser )
git version control
git at videolan.org
Tue Jul 28 08:33:53 CEST 2009
x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Mon Jul 27 04:45:03 2009 -0700| [d6eed014d0af8f87045d6d5daf3376c486efdea7] | committer: Jason Garrett-Glaser
Add "fastdecode" tune option
It does what it says it does.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=d6eed014d0af8f87045d6d5daf3376c486efdea7
---
x264.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/x264.c b/x264.c
index 0a14070..8edc39c 100644
--- a/x264.c
+++ b/x264.c
@@ -173,8 +173,9 @@ static void Help( x264_param_t *defaults, int b_longhelp )
else H0( " - ultrafast,veryfast,fast,medium,slow,slower\n" );
H0( " --tune Tune the settings for a particular type of source\n" );
H0( " Overridden by user settings\n");
- H1( " - film,animation,grain,psnr,ssim,touhou\n");
- else H0( " - film,animation,grain,psnr,ssim\n");
+ H1( " - film,animation,grain,psnr,ssim\n"
+ " - fastdecode,touhou\n");
+ else H0( " - film,animation,grain,psnr,ssim,fastdecode\n");
H0( " --slow-firstpass Don't use faster settings with --pass 1\n" );
H0( "\n" );
H0( "Frame-type options:\n" );
@@ -649,6 +650,12 @@ static int Parse( int argc, char **argv,
param->analyse.f_psy_rd = 0;
param->rc.i_aq_mode = X264_AQ_AUTOVARIANCE;
}
+ else if( !strcasecmp( optarg, "fastdecode" ) )
+ {
+ param->b_deblocking_filter = 0;
+ param->b_cabac = 0;
+ param->analyse.b_weighted_bipred = 0;
+ }
else if( !strcasecmp( optarg, "touhou" ) )
{
param->i_frame_reference = param->i_frame_reference > 1 ? param->i_frame_reference*2 : 1;
More information about the x264-devel
mailing list