QTCaptureFileOutput.inc 5.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. { Parsed from QTKit.framework QTCaptureFileOutput.h }
  2. { Types from QTCaptureFileOutput }
  3. {$ifdef TYPES}
  4. {$endif}
  5. {$ifdef TYPES}
  6. type
  7. QTCaptureFileOutputPtr = ^QTCaptureFileOutput;
  8. {$endif}
  9. {$if ((QTKIT_VERSION_MAX_ALLOWED >= QTKIT_VERSION_7_2)) and ((MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4))}
  10. {$ifdef TYPES}
  11. const
  12. QTCaptureFileOutputBufferDestinationNewFile = 1;
  13. QTCaptureFileOutputBufferDestinationOldFile = 2;
  14. type
  15. QTCaptureFileOutputBufferDestination = NSUInteger;
  16. QTCaptureFileOutputBufferDestinationPtr = ^QTCaptureFileOutputBufferDestination;
  17. {$endif}
  18. {$ifdef CLASSES}
  19. type
  20. QTCaptureFileOutput = objcclass external (QTCaptureOutput)
  21. private
  22. _fileOutputInternal: QTCaptureFileOutputInternal;
  23. _delegate: id;
  24. _reserved4: clong;
  25. _reserved5: clong;
  26. _reserved6: clong;
  27. public
  28. function outputFileURL: NSURL; message 'outputFileURL';
  29. procedure recordToOutputFileURL (url: NSURL); message 'recordToOutputFileURL:';
  30. procedure recordToOutputFileURL_bufferDestination (url: NSURL; bufferDestination: QTCaptureFileOutputBufferDestination); message 'recordToOutputFileURL:bufferDestination:';
  31. {$if (QTKIT_VERSION_MAX_ALLOWED >= QTKIT_VERSION_7_6_3)}
  32. function isRecordingPaused: ObjCBOOL; message 'isRecordingPaused';
  33. procedure pauseRecording; message 'pauseRecording';
  34. procedure resumeRecording; message 'resumeRecording';
  35. {$endif}
  36. function compressionOptionsForConnection (connection: QTCaptureConnection): QTCompressionOptions; message 'compressionOptionsForConnection:';
  37. procedure setCompressionOptions_forConnection (compressionOptions: QTCompressionOptions; connection: QTCaptureConnection); message 'setCompressionOptions:forConnection:';
  38. function maximumVideoSize: NSSize; message 'maximumVideoSize';
  39. procedure setMaximumVideoSize (maximumVideoSize: NSSize); message 'setMaximumVideoSize:';
  40. function minimumVideoFrameInterval: NSTimeInterval; message 'minimumVideoFrameInterval';
  41. procedure setMinimumVideoFrameInterval (minimumVideoFrameInterval: NSTimeInterval); message 'setMinimumVideoFrameInterval:';
  42. function recordedDuration: QTTime; message 'recordedDuration';
  43. function recordedFileSize: UInt64; message 'recordedFileSize';
  44. function maximumRecordedDuration: QTTime; message 'maximumRecordedDuration';
  45. procedure setMaximumRecordedDuration (maximumRecordedDuration: QTTime); message 'setMaximumRecordedDuration:';
  46. function maximumRecordedFileSize: UInt64; message 'maximumRecordedFileSize';
  47. procedure setMaximumRecordedFileSize (maximumRecordedFileSize: UInt64); message 'setMaximumRecordedFileSize:';
  48. function delegate: id; message 'delegate';
  49. procedure setDelegate (delegate: id); message 'setDelegate:';
  50. end;
  51. type
  52. QTCaptureFileOutput_Delegate = objccategory external (NSObject)
  53. procedure captureOutput_didOutputSampleBuffer_fromConnection (captureOutput: QTCaptureFileOutput; sampleBuffer: QTSampleBuffer; connection: QTCaptureConnection); message 'captureOutput:didOutputSampleBuffer:fromConnection:';
  54. procedure captureOutput_willStartRecordingToOutputFileAtURL_forConnections (captureOutput: QTCaptureFileOutput; fileURL: NSURL; connections: NSArray); message 'captureOutput:willStartRecordingToOutputFileAtURL:forConnections:';
  55. procedure captureOutput_didStartRecordingToOutputFileAtURL_forConnections (captureOutput: QTCaptureFileOutput; fileURL: NSURL; connections: NSArray); message 'captureOutput:didStartRecordingToOutputFileAtURL:forConnections:';
  56. function captureOutput_shouldChangeOutputFileAtURL_forConnections_dueToError (captureOutput: QTCaptureFileOutput; outputFileURL: NSURL; connections: NSArray; error: NSError): ObjCBOOL; message 'captureOutput:shouldChangeOutputFileAtURL:forConnections:dueToError:';
  57. procedure captureOutput_mustChangeOutputFileAtURL_forConnections_dueToError (captureOutput: QTCaptureFileOutput; outputFileURL: NSURL; connections: NSArray; error: NSError); message 'captureOutput:mustChangeOutputFileAtURL:forConnections:dueToError:';
  58. procedure captureOutput_willFinishRecordingToOutputFileAtURL_forConnections_dueToError (captureOutput: QTCaptureFileOutput; outputFileURL: NSURL; connections: NSArray; error: NSError); message 'captureOutput:willFinishRecordingToOutputFileAtURL:forConnections:dueToError:';
  59. procedure captureOutput_didFinishRecordingToOutputFileAtURL_forConnections_dueToError (captureOutput: QTCaptureFileOutput; outputFileURL: NSURL; connections: NSArray; error: NSError); message 'captureOutput:didFinishRecordingToOutputFileAtURL:forConnections:dueToError:';
  60. procedure captureOutput_didPauseRecordingToOutputFileAtURL_forConnections (captureOutput: QTCaptureFileOutput; fileURL: NSURL; connections: NSArray); message 'captureOutput:didPauseRecordingToOutputFileAtURL:forConnections:';
  61. procedure captureOutput_didResumeRecordingToOutputFileAtURL_forConnections (captureOutput: QTCaptureFileOutput; fileURL: NSURL; connections: NSArray); message 'captureOutput:didResumeRecordingToOutputFileAtURL:forConnections:';
  62. end;
  63. {$endif}
  64. {$endif}