summaryrefslogtreecommitdiffstats
path: root/macosx/HBVideo.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBVideo.h')
-rw-r--r--macosx/HBVideo.h53
1 files changed, 7 insertions, 46 deletions
diff --git a/macosx/HBVideo.h b/macosx/HBVideo.h
index 837aaaeb2..5936c8803 100644
--- a/macosx/HBVideo.h
+++ b/macosx/HBVideo.h
@@ -6,11 +6,17 @@
#import <Foundation/Foundation.h>
+@class HBJob;
+
/**
* HBVideo
*/
@interface HBVideo : NSObject <NSCoding>
+- (instancetype)initWithJob:(HBJob *)job;
+
+- (void)containerChanged;
+
- (void)applySettingsFromPreset:(NSDictionary *)preset;
- (void)prepareVideoForPreset:(NSMutableDictionary *)preset;
@@ -43,51 +49,6 @@
@property (nonatomic, readwrite) BOOL fastDecode;
-/**
- * Arrays of possible options for the video properties.
- */
-@property (nonatomic, readonly) NSArray *encoders;
-@property (nonatomic, readonly) NSArray *frameRates;
-
-@property (nonatomic, readonly) NSArray *presets;
-@property (nonatomic, readonly) NSArray *tunes;
-@property (nonatomic, readonly) NSArray *profiles;
-@property (nonatomic, readonly) NSArray *levels;
-
-@property (nonatomic, readonly) BOOL fastDecodeSupported;
-
-@property (nonatomic, readonly) NSString *unparseOptions;
-
-@property (nonatomic, readonly) double qualityMinValue;
-@property (nonatomic, readonly) double qualityMaxValue;
-
-/**
- * Width and height for x264 unparse. Will be removed later.
- */
-@property (nonatomic, readwrite) int widthForUnparse;
-@property (nonatomic, readwrite) int heightForUnparse;
-
-/**
- * Current container, this will be removed later too.
- */
-@property (nonatomic, readwrite) int container;
-
-@end
-
-/**
- * A series of value trasformers to bridge the libhb enums
- * to the textual rapresentations used in the interface.
- */
-@interface HBVideoEncoderTransformer : NSValueTransformer
-@end
-
-@interface HBFrameRateTransformer : NSValueTransformer
-@end
-
-@interface HBPresetsTransformer : NSValueTransformer
-- (instancetype)initWithEncoder:(int)encoder;
-@end
+@property (nonatomic, readwrite, assign) HBJob *job;
-@interface HBQualityTransformer : NSValueTransformer
-- (instancetype)initWithReversedDirection:(BOOL)reverse min:(double)min max:(double)max;
@end