Add a queue action to set the color space.

This commit is contained in:
Damiano Galassi committed 2017-01-12 12:17:06 +01:00
1 parent ff5e97e4b3
commit 5968378131
7 files changed
+217 -30

No files matched your search

+16
View File
@@ -79,4 +79,20 @@ typedef NS_ENUM(NSUInteger, SBQueueMetadataActionPreferredArtwork) {
- (instancetype)initWithLanguage:(NSString *)language;
@end
/**
* An actions that set the video track color space.
*/
typedef NS_ENUM(NSUInteger, SBQueueColorSpaceActionTag) {
SBQueueColorSpaceActionTagNone = 1,
SBQueueColorSpaceActionTagRec601PAL,
SBQueueColorSpaceActionTagRec601SMPTEC,
SBQueueColorSpaceActionTagRec709,
SBQueueColorSpaceActionTagRec2020
};
@interface SBQueueColorSpaceAction : NSObject <SBQueueActionProtocol>
- (instancetype)initWithTag:(uint16_t)tag;
- (instancetype)initWithColorPrimaries:(uint16_t)colorPrimaries transferCharacteristics:(uint16_t)transferCharacteristics matrixCoefficients:(uint16_t)matrixCoefficients;
@end
NS_ASSUME_NONNULL_END