summaryrefslogtreecommitdiffstats
path: root/macosx/HBAdvancedController.m
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: fix build.ritsuka2014-12-231-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6645 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: separate the video settings logic from the view controller. There ↵ritsuka2014-12-181-12/+86
| | | | | | are a number of small regression ("Custom" preset and auto naming not updating) that will be fixed in the next commits. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6606 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: removed an unused var in HBAdvancedController.ritsuka2014-09-171-2/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6410 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: generalize video preset/tune/profile/level handling to make it works ↵ritsuka2014-08-211-31/+2
| | | | | | with the x265 encoder. Moved the lavc encoder options textfield to the video tab. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6334 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: implemented the HBViewValidation protocol in each of the main window ↵ritsuka2014-08-101-4/+4
| | | | | | view controllers. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6285 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Refactored the controller code for the ↵ritsuka2014-07-151-18/+8
| | | | | | | | | | video/audio/subtitles/chapters view: Added a xib file and a NSViewController subclass for each tab of the main HandBrake window. Each view controller now to responds to the HBContainerChangedNotification and HBTitleChangedNotification notifications instead of using a custom way to notify changes. Converted the modified .xibs to the Xcode 5.1 format. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6231 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Varius warnings fixes:ritsuka2013-10-251-11/+11
| | | | | | | | | | - NSUInteger and NSInteger instead of int (where the Cocoa 64bit api uses them). - Cast to int when needed because NSInteger on 64bit is defined as long. - NSURL instead of NSString when possible. - Replaced some deprecated methods/functions. - numberWithInteger instead of numberWithInt. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5854 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: fixed a number of leaks/null-deferences/dead-code found by clang ↵ritsuka2013-10-151-3/+5
| | | | | | static analyzer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5838 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Advanced Options Cleanup window when Theora is chosen.dynaflash2012-02-201-4/+6
| | | | | | | - Hide the ffmpeg options box and label - Show centered text saying Theora has no advanced options. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4459 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: fix typo + minor cleanup after the last few libavcodec/theora ↵Rodeo2012-02-201-1/+1
| | | | | | advanced options commits. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4458 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix an issue where lavc options were shown and passed when Theora ↵dynaflash2012-02-191-0/+15
| | | | | | was chosen. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4457 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add ffmpeg (lavc) advanced options text box to the advanced panel.dynaflash2012-02-091-2/+10
| | | | | | | - Fix a couple other traps for x264 opts as well. - Add lavcOption Key to the presets as per the LinGui to maintain preset parity. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4443 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Advanced panel: remove unnecessary checks when hiding the psy sliders.Rodeo2011-08-151-10/+4
| | | | | | | | Fixes an issue where hiding the psy-rd slider would fail to reset the slider's positition to its default value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4179 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui / LinGui: Add subme 11 to both ui's now that x264 has it. This way ↵dynaflash2011-08-031-1/+2
| | | | | | ... we "can go to 11..." git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4153 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix alignment of the widgets in the Advanced Panel.dynaflash2010-11-091-2/+1
| | | | | | - Patch by Rodeo. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3665 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Allow trellis and psy-trellis with cavlc since as of svn 3492 its ↵dynaflash2010-08-251-41/+3
| | | | | | | | now possible in x264. - Patch by Rodeo. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3493 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Advanced x264 panel overhaul. - Updates labelingjbrjake2010-06-181-193/+223
| | | | | | | | | | | | | | | | | | | | | - Updates tooltips - Rearranges layout to group options by encoding features, analysis options, and psychovisual options - Adds weightp checkbox - Adds adaptive quantization slider going from 0 - 2.0 - Removes mixed-refs switch - Removes weightb switch - Removes no-fast-pskip switch - Removes spurious 0 value for reference frames, clamps values to 1-16 - Converts b-pyramid from a checkbox to a menu to allow strict, makes normal instead of off the default - Defaults b-pyramid to being on, removes it from string when it's on, and converts text values of strict or normal to a checked box since we're not offering strict. - Makes psy-rd slider go to 2.0 - Changes analyse some (default) to most, add new some (i4x4,i8x8) - Makes psy-trellis go in 0.05 increments instead of 0.1 increments. - Stops hiding 8x8dct when analyse is none (thanks, Rodeo) - Fixes animated reset of psy-rd and psy-trellis sliders when hidden (thanks, Rodeo) - Hides psy-trellis when cabac goes off (thanks, Rodeo) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3392 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add subme 10 to the subpixel motion estimation widget in the ↵dynaflash2010-04-021-1/+1
| | | | | | advanced panel. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3189 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Use 11 tick marks to represent 0-10 instead of 10, on psy sliders. ↵jbrjake2009-11-231-2/+2
| | | | | | Thanks, Rodeo, for pointing out my lack of basic math skills ;-) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2957 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove hosed up "NSString stringWithFormat :"in the advanced panel ↵dynaflash2009-09-161-2/+2
| | | | | | | | as we do not need it and never provided a format for some bizarre reason which I am at a loss to explain. - Quites down two more compiler warnings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2829 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Bumps x264 to r1195-5d75a9b. x264 has new default settings: subme 6->7, ↵jbrjake2009-08-011-19/+21
| | | | | | | | | | bframes 0->3, 8x8dct 0->1, psnr 1->0, ssim 1->0, ref 1->3, mixed-refs 0->1, trellis 0->1, weightb 0->1 - Explicitly enables SSIM and PSNR metrics for all x264 encodes - MacGui: Updates Advanced tab for new x264 defaults - MacGui and CLI: Updates built-in presets to produce the same output given the new default x264 settings git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2742 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Moves the tooltips for the x264 advanced tab from the .xib file to ↵jbrjake2009-02-141-0/+80
| | | | | | the source code, for easier updating. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2164 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Yet another x264 advanced controller change...rewording the b-adapt ↵jbrjake2009-02-131-4/+4
| | | | | | pop up menu items to read "Off", "Fast", "Optimal" instead of 0, 1, 2. The whole "optimal gets progressively slower as you increase the max permitted length of b-frame chains" part will be explained in the tool tip, when those all get moved from xib to code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2162 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Removes a bunch of redundant code from the x264 advanced option ↵jbrjake2009-02-131-538/+250
| | | | | | controller. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2161 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Hopefully this time the option hiding code for the advanced x264 tab ↵jbrjake2009-02-131-9/+14
| | | | | | actually works properly, but no promises. Fixes an issue with it ignoring changes coming from the presets or text field. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2160 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Restructures that x264 advanced option widget hiding method so it ↵jbrjake2009-02-131-141/+212
| | | | | | sucks a bit less, is easier to read, and has a lower potential for nasty looping. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2159 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Being lazy and copying and pasting code never pays. Fixes an issue ↵jbrjake2009-02-121-1/+1
| | | | | | with the b-adapt widget not resetting to a default value when it was hidden. Thanks for catching this and the last bug, Scott. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2153 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Oops, only trellis can hide psy-trellis now so it has to hide when ↵jbrjake2009-02-121-1/+1
| | | | | | sender is trellis. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2150 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Adds a widget for adaptive b-frames to the x264 advanced tab.jbrjake2009-02-111-5/+52
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2144 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Some changes to the method that fades in and out different widgets, ↵jbrjake2009-02-111-28/+50
| | | | | | to avoid looping on invalid input. It's still really messy, though, and needs a real reworking. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2143 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Adds slider widgets for Psy-RD and Psy-Trellis to the x264 advanced ↵jbrjake2009-02-111-4/+130
| | | | | | tab, and rearranges the layout to fit them. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2140 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Hides the merange widget on the advanced tab when the motion ↵jbrjake2009-02-101-0/+18
| | | | | | estimation method is hex or dia. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2134 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Adds a popup menu item for Hadamard-transformed exhaustive motion ↵jbrjake2009-02-101-3/+20
| | | | | | estimation (me=tesa) to the advanced x264 tab. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2133 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Bumps x264 to r999, bringing with it, among other things, the removal of the ↵jbrjake2008-10-091-88/+8
| | | | | | | | | | | | | | | b-rdo and bime options and new subme modes to replace them. Subme 5 or greater now includes bime. Subme 7 is now subme 6 with b-rdo Subme 8 is the old subme 7 with b-rdo Subme 9 is new, does RD-refinement for b-frames. MacGui presets and advanced tab have been updated to reflect these changes (don't forget to update built-in presets). CLI will wait, as manicure.rb is in a state of flux. WinGui and LinGui still need to be updated. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1821 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui:Oops. WTF was I hiding direct prediction in the advanced options ↵jbrjake2008-09-251-28/+7
| | | | | | based on what analyse was set to? Thanks for pointing this out, jstebbins. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1765 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fixes bug in x264 advanced options tab, that didn't blank out direct ↵jbrjake2008-09-251-2/+5
| | | | | | prediction when b-frames were disabled. Thanks for pointing it out, cvk_b! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1763 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Brings MacGui in line with x264's new default subme of 6. Remember to update ↵jbrjake2008-09-191-4/+4
| | | | | | your built-in presets! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1725 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Use nil instead of NULL. Patch by blindjimmy. ↵ritsuka2008-07-281-10/+10
| | | | | | http://handbrake.djgraphite.com/r/33/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1586 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: replace handbrake.m0k.org references with handbrake.fr in the entire ↵dynaflash2008-04-151-1/+1
| | | | | | macosx/ directory git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1419 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: When selecting one x264 option disables another (like turning off ↵jbrjake2008-03-121-1/+186
| | | | | | CABAC disables trellis), remove the disabled option from the string and fade the widget out of view with an animation proxy. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1336 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds a bunch of code comments to the x264 option controller, in order to ↵jbrjake2007-12-211-27/+147
| | | | | | make reading the file slightly less of an exercise in masochism. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1146 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: cosmetic changes for the advanced x264opts controller source code. ↵jbrjake2007-12-091-595/+598
| | | | | | Replaces hard tabs with soft, clears up some issues with over-indentation. The file's still a total mess, of course. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1112 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fixes a small bug -- if a default value was selected twice for one ↵jbrjake2007-11-091-3/+6
| | | | | | of the simple integer widgets like ref frames, it'd write ref=-1 to the text field instead of writing nothing. Hopefully didn't break anything whilst fixing this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1050 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Move x264 advanced options code to a new class ↵ritsuka2007-09-071-0/+1052
(HBAdvancedController) and add a new nib to simplify future gui changes git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@934 b64f7644-9d1e-0410-96f1-a4d463321fa5