summaryrefslogtreecommitdiffstats
path: root/macosx/HBPicture.h
blob: beb045768e3540e5e314cca1ab25686d8c65a6cd (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
//
//  HBPicture.h
//  HandBrake
//
//  Created by Damiano Galassi on 12/08/14.
//
//

#import <Foundation/Foundation.h>

@interface HBPicture : NSObject

- (void)applySettingsFromPreset:(NSDictionary *)preset;

@property (nonatomic, readwrite) int width;
@property (nonatomic, readwrite) int height;

@property (nonatomic, readwrite) BOOL autocrop;
@property (nonatomic, readwrite) int *crop;

@property (nonatomic, readwrite) int modulus;

/*
 anamorphic {
 mode
 keepDisplayAspect
 par {
  num
  den
 }
 dar {
  num
  den
 }
 }
 modulus
 */

@end