summaryrefslogtreecommitdiffstats
path: root/macosx/InstantHandBrake/Preset.h
blob: 3caa5015d7e6fb9772faa664a0cf31425ea4230b (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
//
//  Preset.h
//  InstantHandBrake
//
//  Created by Damiano Galassi on 15/01/08.
//  This file is part of the HandBrake source code.
//  Homepage: <http://handbrake.m0k.org/>.
//  It may be used under the terms of the GNU General Public License.
//
//

#import <Cocoa/Cocoa.h>


@interface Preset : NSObject {
    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