AVOutputSettingsAssistant.inc 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. { Parsed from AVFoundation.framework AVOutputSettingsAssistant.h }
  2. {$ifdef TYPES}
  3. type
  4. AVOutputSettingsAssistantPtr = ^AVOutputSettingsAssistant;
  5. {$endif}
  6. {$ifdef EXTERNAL_SYMBOLS}
  7. var
  8. AVOutputSettingsPreset640x480: NSString { available in 10_9, 7_0 }; cvar; external;
  9. AVOutputSettingsPreset960x540: NSString { available in 10_9, 7_0 }; cvar; external;
  10. AVOutputSettingsPreset1280x720: NSString { available in 10_9, 7_0 }; cvar; external;
  11. AVOutputSettingsPreset1920x1080: NSString { available in 10_9, 7_0 }; cvar; external;
  12. AVOutputSettingsPreset3840x2160: NSString { available in 10_10, NA }; cvar; external;
  13. {$endif}
  14. {$ifdef CLASSES}
  15. type
  16. AVOutputSettingsAssistant = objcclass external (NSObject)
  17. private
  18. _internal: AVOutputSettingsAssistantInternal;
  19. public
  20. class function availableOutputSettingsPresets: NSArray; message 'availableOutputSettingsPresets'; { available in 10_10, 7_0 }
  21. class function outputSettingsAssistantWithPreset (presetIdentifier: NSString): instancetype; message 'outputSettingsAssistantWithPreset:';
  22. function audioSettings: NSDictionary; message 'audioSettings';
  23. function videoSettings: NSDictionary; message 'videoSettings';
  24. function outputFileType: NSString; message 'outputFileType';
  25. end;
  26. type
  27. AVOutputSettingsAssistant_SourceInformation = objccategory external (AVOutputSettingsAssistant)
  28. procedure setSourceAudioFormat(newValue: CMAudioFormatDescriptionRef); message 'setSourceAudioFormat:';
  29. function sourceAudioFormat: CMAudioFormatDescriptionRef; message 'sourceAudioFormat';
  30. procedure setSourceVideoFormat(newValue: CMVideoFormatDescriptionRef); message 'setSourceVideoFormat:';
  31. function sourceVideoFormat: CMVideoFormatDescriptionRef; message 'sourceVideoFormat';
  32. procedure setSourceVideoAverageFrameDuration(newValue: CMTime); message 'setSourceVideoAverageFrameDuration:';
  33. function sourceVideoAverageFrameDuration: CMTime; message 'sourceVideoAverageFrameDuration';
  34. procedure setSourceVideoMinFrameDuration(newValue: CMTime); message 'setSourceVideoMinFrameDuration:';
  35. function sourceVideoMinFrameDuration: CMTime; message 'sourceVideoMinFrameDuration';
  36. end;
  37. {$endif}