diff options
author | jstebbins <[email protected]> | 2012-05-01 17:17:55 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2012-05-01 17:17:55 +0000 |
commit | 3c2c830d58e7777d19b793fc7a6e08a921f0d12b (patch) | |
tree | d0db9229bd6d8c63a823aaafd366761022701b7a /test | |
parent | 31f5717ce0ab0e792342f193f5485bfe29790ffd (diff) |
libhb: bob deinterlacing
This is jbrjake's patch for bob deinterlacing applied to decomb and deinterlace
filters. Thanks to yeasah's for refinements and testing of this patch.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4625 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/test/test.c b/test/test.c index 113bfe63b..cb23a6f4a 100644 --- a/test/test.c +++ b/test/test.c @@ -3451,15 +3451,19 @@ static int ParseOptions( int argc, char ** argv ) { if (!( strcmp( optarg, "fast" ) )) { - deinterlace_opt = "-1"; + deinterlace_opt = "0"; } else if (!( strcmp( optarg, "slow" ) )) { - deinterlace_opt = "2"; + deinterlace_opt = "1"; } else if (!( strcmp( optarg, "slower" ) )) { - deinterlace_opt = "0"; + deinterlace_opt = "3"; + } + else if (!( strcmp( optarg, "bob" ) )) + { + deinterlace_opt = "15"; } else { @@ -3507,7 +3511,18 @@ static int ParseOptions( int argc, char ** argv ) case '5': if( optarg != NULL ) { - decomb_opt = strdup( optarg ); + if (!( strcmp( optarg, "fast" ) )) + { + decomb_opt = "7:2:6:9:1:80"; + } + else if (!( strcmp( optarg, "bob" ) )) + { + decomb_opt = "455"; + } + else + { + decomb_opt = strdup( optarg ); + } } decomb = 1; break; |