summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2009-02-10 19:17:19 +0000
committerjbrjake <[email protected]>2009-02-10 19:17:19 +0000
commit632a541ad7019938b92ee55b03b5b95b39fe5950 (patch)
treeee1b65716fd9f1c7436aa22586ee4d7dfb2bb6e1 /macosx
parentc2ea392cc09d7637497a5d573d3451859ffa1a86 (diff)
MacGui: Adds a popup menu item for Hadamard-transformed exhaustive motion estimation (me=tesa) to the advanced x264 tab.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2133 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBAdvancedController.m23
1 files changed, 20 insertions, 3 deletions
diff --git a/macosx/HBAdvancedController.m b/macosx/HBAdvancedController.m
index b3ddeb013..8f3f96366 100644
--- a/macosx/HBAdvancedController.m
+++ b/macosx/HBAdvancedController.m
@@ -155,6 +155,7 @@
[fX264optMotionEstPopUp addItemWithTitle:@"Hexagon"];
[fX264optMotionEstPopUp addItemWithTitle:@"Uneven Multi-Hexagon"];
[fX264optMotionEstPopUp addItemWithTitle:@"Exhaustive"];
+ [fX264optMotionEstPopUp addItemWithTitle:@"Transformed Exhaustive"];
/*Motion Estimation range fX264optMERangePopUp*/
[fX264optMERangePopUp removeAllItems];
@@ -554,7 +555,9 @@
else if ([optValue isEqualToString:@"umh"])
[fX264optMotionEstPopUp selectItemAtIndex:3];
else if ([optValue isEqualToString:@"esa"])
- [fX264optMotionEstPopUp selectItemAtIndex:4];
+ [fX264optMotionEstPopUp selectItemAtIndex:4];
+ else if ([optValue isEqualToString:@"tesa"])
+ [fX264optMotionEstPopUp selectItemAtIndex:5];
}
/*ME Range NSPopUpButton*/
if ([optName isEqualToString:@"merange"])
@@ -879,7 +882,10 @@
case 4:
thisOpt = [NSString stringWithFormat:@"%@=%@",optName,@"esa"];
break;
-
+
+ case 5:
+ thisOpt = [NSString stringWithFormat:@"%@=%@",optName,@"tesa"];
+
default:
break;
}
@@ -1003,7 +1009,12 @@
[fDisplayX264Options setStringValue:[NSString stringWithFormat:@"%@=%@",
[NSString stringWithFormat:optNameToChange],[NSString stringWithFormat:@"esa"]]];
break;
-
+
+ case 5:
+ [fDisplayX264Options setStringValue:[NSString stringWithFormat:@"%@=%@",
+ [NSString stringWithFormat:optNameToChange],[NSString stringWithFormat:@"tesa"]]];
+ break;
+
default:
break;
}
@@ -1146,6 +1157,12 @@
[NSString stringWithFormat:[fDisplayX264Options stringValue]],
[NSString stringWithFormat:optNameToChange],[NSString stringWithFormat:@"esa"]]];
break;
+
+ case 5:
+ [fDisplayX264Options setStringValue:[NSString stringWithFormat:@"%@:%@=%@",
+ [NSString stringWithFormat:[fDisplayX264Options stringValue]],
+ [NSString stringWithFormat:optNameToChange],[NSString stringWithFormat:@"tesa"]]];
+ break;
default:
break;