1 /* HBAdvancedController
3 This file is part of the HandBrake source code.
4 Homepage: <http://handbrake.m0k.org/>.
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 * fX264optBRDOLabel;
40 IBOutlet NSButton * fX264optBRDOSwitch;
41 IBOutlet NSTextField * fX264optBPyramidLabel;
42 IBOutlet NSButton * fX264optBPyramidSwitch;
43 IBOutlet NSTextField * fX264optBiMELabel;
44 IBOutlet NSButton * fX264optBiMESwitch;
45 IBOutlet NSTextField * fX264optDirectPredLabel;
46 IBOutlet NSPopUpButton * fX264optDirectPredPopUp;
47 IBOutlet NSTextField * fX264optDeblockLabel;
48 IBOutlet NSPopUpButton * fX264optAlphaDeblockPopUp;
49 IBOutlet NSPopUpButton * fX264optBetaDeblockPopUp;
50 IBOutlet NSTextField * fX264optAnalyseLabel;
51 IBOutlet NSPopUpButton * fX264optAnalysePopUp;
52 IBOutlet NSTextField * fX264opt8x8dctLabel;
53 IBOutlet NSButton * fX264opt8x8dctSwitch;
54 IBOutlet NSTextField * fX264optCabacLabel;
55 IBOutlet NSButton * fX264optCabacSwitch;
58 // x264 Advanced Panel Methods
59 - (void) setView: (NSBox *) box;
60 - (BOOL) loadMyNibFile;
61 - (NSString *) optionsString;
62 - (void) setOptions: (NSString *)string;
63 - (void) enableUI: (bool) b;
64 - (void) setHidden: (BOOL) hide;
65 - (IBAction) X264AdvancedOptionsSet: (id) sender;
66 - (IBAction) X264AdvancedOptionsStandardizeOptString: (id) sender;
67 - (IBAction) X264AdvancedOptionsSetCurrentSettings: (id) sender;
68 - (NSString *) X264AdvancedOptionsStandardizeOptNames:(NSString *) cleanOptNameString;
69 - (IBAction) X264AdvancedOptionsChanged: (id) sender;