forked from HandBrake/HandBrake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HBFilters+UIAdditions.h
98 lines (66 loc) · 2.47 KB
/
HBFilters+UIAdditions.h
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/* HBFilters+UIAdditions.h $
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 <Foundation/Foundation.h>
#import "HBFilters.h"
@interface HBFilters (UIAdditions)
/**
* Getters to get the possible values for the filters.
*/
+ (NSDictionary *)detelecinePresetsDict;
+ (NSDictionary *)combDetectionPresetsDict;
+ (NSDictionary *)deinterlaceTypesDict;
+ (NSDictionary *)decombPresetsDict;
+ (NSDictionary *)deinterlacePresetsDict;
+ (NSDictionary *)denoisePresetDict;
+ (NSDictionary *)nlmeansTunesDict;
+ (NSDictionary *)denoiseTypesDict;
+ (NSDictionary *)sharpenPresetDict;
+ (NSDictionary *)sharpenTunesDict;
+ (NSDictionary *)sharpenTypesDict;
- (BOOL)customDetelecineSelected;
@property (nonatomic, readonly) BOOL customCombDetectionSelected;
- (BOOL)deinterlaceEnabled;
- (BOOL)customDeinterlaceSelected;
- (BOOL)sharpenEnabled;
- (BOOL)customSharpenSelected;
- (BOOL)sharpenTunesAvailable;
- (NSString *)deblockSummary;
@property (nonatomic, readonly) NSArray *detelecineSettings;
@property (nonatomic, readonly) NSArray *combDetectionSettings;
@property (nonatomic, readonly) NSArray *deinterlaceTypes;
@property (nonatomic, readonly) NSArray *deinterlacePresets;
@property (nonatomic, readonly) NSArray *sharpenTypes;
@property (nonatomic, readonly) NSArray *sharpenPresets;
@property (nonatomic, readonly) NSArray *sharpenTunes;
@end
/**
* A collection of NSValueTransformer to map between localized UI values
* and the internals values.
*/
@interface HBGenericDictionaryTransformer : NSValueTransformer
@property (nonatomic, strong) NSDictionary *dict;
@end
@interface HBDetelecineTransformer : HBGenericDictionaryTransformer
@end
@interface HBCombDetectionTransformer : HBGenericDictionaryTransformer
@end
@interface HBDeinterlaceTransformer : HBGenericDictionaryTransformer
@end
@interface HBDeinterlacePresetTransformer : HBGenericDictionaryTransformer
@end
@interface HBDenoisePresetTransformer : HBGenericDictionaryTransformer
@end
@interface HBDenoiseTuneTransformer : HBGenericDictionaryTransformer
@end
@interface HBDenoiseTransformer : HBGenericDictionaryTransformer
@end
@interface HBSharpenPresetTransformer : HBGenericDictionaryTransformer
@end
@interface HBSharpenTuneTransformer : HBGenericDictionaryTransformer
@end
@interface HBSharpenTransformer : HBGenericDictionaryTransformer
@end
@interface HBCustomFilterTransformer : NSValueTransformer
@end