/* File: QTFormatDescription.h Copyright: (c)2007-2012 by Apple Inc., all rights reserved. */ #import #import #if (QTKIT_VERSION_MAX_ALLOWED >= QTKIT_VERSION_7_2) && (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4) // Attribute Keys: // Audio-specific QTKIT_EXTERN NSString * const QTFormatDescriptionAudioStreamBasicDescriptionAttribute AVAILABLE_QTKIT_VERSION_7_2_AND_LATER; // NSValue interpreted as AudioStreamBasicDescription QTKIT_EXTERN NSString * const QTFormatDescriptionAudioMagicCookieAttribute AVAILABLE_QTKIT_VERSION_7_2_AND_LATER; // NSData QTKIT_EXTERN NSString * const QTFormatDescriptionAudioChannelLayoutAttribute AVAILABLE_QTKIT_VERSION_7_2_AND_LATER; // NSData interpreted as AudioChannelLayout // Video-specific QTKIT_EXTERN NSString * const QTFormatDescriptionVideoCleanApertureDisplaySizeAttribute AVAILABLE_QTKIT_VERSION_7_2_AND_LATER; // NSValue interpreted as NSSize QTKIT_EXTERN NSString * const QTFormatDescriptionVideoProductionApertureDisplaySizeAttribute AVAILABLE_QTKIT_VERSION_7_2_AND_LATER; // NSValue interpreted as NSSize QTKIT_EXTERN NSString * const QTFormatDescriptionVideoEncodedPixelsSizeAttribute AVAILABLE_QTKIT_VERSION_7_2_AND_LATER; // NSValue interpreted as NSSize @class QTFormatDescriptionInternal; @interface QTFormatDescription : NSObject { @private QTFormatDescriptionInternal *_internal; long _reserved1; long _reserved2; long _reserved3; } - (NSString *)mediaType; // Media types defined in QTMedia.h - (UInt32)formatType; // A four character code representing the format or codec type. Video codec types are defined in . Audio codec types are define in . - (NSString *)localizedFormatSummary; - (NSData *)quickTimeSampleDescription; // Contains a QuickTime SampleDescription structure - (NSDictionary *)formatDescriptionAttributes; - (id)attributeForKey:(NSString *)key; - (BOOL)isEqualToFormatDescription:(QTFormatDescription *)formatDescription; @end #endif /* (QTKIT_VERSION_MAX_ALLOWED >= QTKIT_VERSION_7_2) && (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4) */