summaryrefslogtreecommitdiffstats
path: root/macosx/InstantHandBrake/Preset.h
blob: 2d53f0ae4050cde451d839d31186a1c50eaa5b98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
//  Preset.h
//  InstantHandBrake
//
//  Created by Damiano Galassi on 15/01/08.
//  This file is part of the HandBrake source code.
//  Homepage: <http://handbrake.fr/>.
//  It may be used under the terms of the GNU General Public License.
//
//

#import <Cocoa/Cocoa.h>


@interface Preset : NSObject <NSCoding> {
    NSString       *presetName;
    
    int             fMuxer;
    int             fVideoCodec;
    int             fVideoBitRate;
    NSString       *fVideoCodecOptions;

    int             fAudioCodec;
    int             fAudioBitRate;
    int             fAudioSampleRate;
    
    int             fMaxWidth;
    int             fMaxHeight;
    int             fAnamorphic;
}

- (id) initWithMuxer: (int) muxer
          videoCodec: (int) videoCodec
        videoBitRate: (int) videoBitRate
   videoCodecOptions: (NSString *) videoCodecOptions
          audioCodec: (int) audioCodec
        audioBitrate: (int) audioBitrate
     audioSampleRate: (int) audioSampleRate
            maxWidth: (int) maxWidth
           maxHeight: (int) maxHeight
          anamorphic: (int) anamorphic;

- (int) muxer;
- (int) videoCodec;
- (NSString *) videoCodecOptions;
- (int) videoBitRate;
- (int) AudioCodec;
- (int) maxWidth;
- (int) maxHeight;

@end