1 /* HBAdvancedController
3 This file is part of the HandBrake source code.
4 Homepage: <http://handbrake.fr/>.
5 It may be used under the terms of the GNU General Public License. */
7 #import <Cocoa/Cocoa.h>
9 @interface HBAdvancedController : NSObject
11 /* Advanced Tab for opts fX264optView*/
14 IBOutlet NSView * fX264optView;
15 IBOutlet NSView * fEmptyView;
16 IBOutlet NSTextField * fX264optViewTitleLabel;
17 IBOutlet NSTextField * fDisplayX264OptionsLabel;
18 IBOutlet NSTextField * fDisplayX264Options;
19 IBOutlet NSTextField * fX264optBframesLabel;
20 IBOutlet NSPopUpButton * fX264optBframesPopUp;
21 IBOutlet NSTextField * fX264optRefLabel;
22 IBOutlet NSPopUpButton * fX264optRefPopUp;
23 IBOutlet NSTextField * fX264optNfpskipLabel;
24 IBOutlet NSButton * fX264optNfpskipSwitch;
25 IBOutlet NSTextField * fX264optNodctdcmtLabel;
26 IBOutlet NSButton * fX264optNodctdcmtSwitch;
27 IBOutlet NSTextField * fX264optSubmeLabel;
28 IBOutlet NSPopUpButton * fX264optSubmePopUp;
29 IBOutlet NSTextField * fX264optTrellisLabel;
30 IBOutlet NSPopUpButton * fX264optTrellisPopUp;
31 IBOutlet NSTextField * fX264optMixedRefsLabel;
32 IBOutlet NSButton * fX264optMixedRefsSwitch;
33 IBOutlet NSTextField * fX264optMotionEstLabel;
34 IBOutlet NSPopUpButton * fX264optMotionEstPopUp;
35 IBOutlet NSTextField * fX264optMERangeLabel;
36 IBOutlet NSPopUpButton * fX264optMERangePopUp;
37 IBOutlet NSTextField * fX264optWeightBLabel;
38 IBOutlet NSButton * fX264optWeightBSwitch;
39 IBOutlet NSTextField * fX264optBPyramidLabel;
40 IBOutlet NSButton * fX264optBPyramidSwitch;
41 IBOutlet NSTextField * fX264optDirectPredLabel;
42 IBOutlet NSPopUpButton * fX264optDirectPredPopUp;
43 IBOutlet NSTextField * fX264optDeblockLabel;
44 IBOutlet NSPopUpButton * fX264optAlphaDeblockPopUp;
45 IBOutlet NSPopUpButton * fX264optBetaDeblockPopUp;
46 IBOutlet NSTextField * fX264optAnalyseLabel;
47 IBOutlet NSPopUpButton * fX264optAnalysePopUp;
48 IBOutlet NSTextField * fX264opt8x8dctLabel;
49 IBOutlet NSButton * fX264opt8x8dctSwitch;
50 IBOutlet NSTextField * fX264optCabacLabel;
51 IBOutlet NSButton * fX264optCabacSwitch;
52 IBOutlet NSSlider * fX264optPsyRDSlider;
53 IBOutlet NSTextField * fX264optPsyRDLabel;
54 IBOutlet NSSlider * fX264optPsyTrellisSlider;
55 IBOutlet NSTextField * fX264optPsyTrellisLabel;
56 IBOutlet NSPopUpButton * fX264optBAdaptPopUp;
57 IBOutlet NSTextField * fX264optBAdaptLabel;
60 // x264 Advanced Panel Methods
61 - (void) setView: (NSBox *) box;
62 - (BOOL) loadMyNibFile;
63 - (NSString *) optionsString;
64 - (void) setOptions: (NSString *)string;
65 - (void) enableUI: (bool) b;
66 - (void) setHidden: (BOOL) hide;
67 - (IBAction) X264AdvancedOptionsAnimate: (id) sender;
68 - (IBAction) X264AdvancedOptionsSet: (id) sender;
69 - (IBAction) X264AdvancedOptionsStandardizeOptString: (id) sender;
70 - (IBAction) X264AdvancedOptionsSetCurrentSettings: (id) sender;
71 - (NSString *) X264AdvancedOptionsStandardizeOptNames:(NSString *) cleanOptNameString;
72 - (NSString *) X264AdvancedOptionsOptIDToString: (id) sender;
73 - (NSString *) X264AdvancedOptionsWidgetToString: (NSString *) optName withID: (id) sender;
74 - (BOOL) X264AdvancedOptionsIsOpt: (NSString *) optNameToChange inString: (NSString *) currentOptString;
75 - (IBAction) X264AdvancedOptionsChanged: (id) sender;