DeckLinkAPI_v7_9.idl 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /* -LICENSE-START-
  2. ** Copyright (c) 2010 Blackmagic Design
  3. **
  4. ** Permission is hereby granted, free of charge, to any person or organization
  5. ** obtaining a copy of the software and accompanying documentation covered by
  6. ** this license (the "Software") to use, reproduce, display, distribute,
  7. ** execute, and transmit the Software, and to prepare derivative works of the
  8. ** Software, and to permit third-parties to whom the Software is furnished to
  9. ** do so, all subject to the following:
  10. **
  11. ** The copyright notices in the Software and this entire statement, including
  12. ** the above license grant, this restriction and the following disclaimer,
  13. ** must be included in all copies of the Software, in whole or in part, and
  14. ** all derivative works of the Software, unless such copies or derivative
  15. ** works are solely in the form of machine-executable object code generated by
  16. ** a source language processor.
  17. **
  18. ** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  19. ** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  20. ** FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
  21. ** SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
  22. ** FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
  23. ** ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  24. ** DEALINGS IN THE SOFTWARE.
  25. ** -LICENSE-END-
  26. */
  27. /* DeckLinkAPI_v7_9.idl */
  28. /* Interface IDeckLinkDeckControl_v7_9 - Deck Control main interface */
  29. [
  30. object,
  31. uuid(A4D81043-0619-42B7-8ED6-602D29041DF7),
  32. helpstring("Deck Control main interface")
  33. ] interface IDeckLinkDeckControl_v7_9 : IUnknown
  34. {
  35. HRESULT Open([in] BMDTimeScale timeScale, [in] BMDTimeValue timeValue, [in] BOOL timecodeIsDropFrame, [out] BMDDeckControlError *error);
  36. HRESULT Close([in] BOOL standbyOn);
  37. HRESULT GetCurrentState([out] BMDDeckControlMode *mode, [out] BMDDeckControlVTRControlState *vtrControlState, [out] BMDDeckControlStatusFlags *flags);
  38. HRESULT SetStandby([in] BOOL standbyOn);
  39. HRESULT Play([out] BMDDeckControlError *error);
  40. HRESULT Stop([out] BMDDeckControlError *error);
  41. HRESULT TogglePlayStop([out] BMDDeckControlError *error);
  42. HRESULT Eject([out] BMDDeckControlError *error);
  43. HRESULT GoToTimecode([in] BMDTimecodeBCD timecode, [out] BMDDeckControlError *error);
  44. HRESULT FastForward([in] BOOL viewTape, [out] BMDDeckControlError *error);
  45. HRESULT Rewind([in] BOOL viewTape, [out] BMDDeckControlError *error);
  46. HRESULT StepForward([out] BMDDeckControlError *error);
  47. HRESULT StepBack([out] BMDDeckControlError *error);
  48. HRESULT Jog([in] double rate, [out] BMDDeckControlError *error);
  49. HRESULT Shuttle([in] double rate, [out] BMDDeckControlError *error);
  50. HRESULT GetTimecodeString([out] BSTR *currentTimeCode, [out] BMDDeckControlError *error);
  51. HRESULT GetTimecode([out] IDeckLinkTimecode **currentTimecode, [out] BMDDeckControlError *error);
  52. HRESULT GetTimecodeBCD([out] BMDTimecodeBCD *currentTimecode, [out] BMDDeckControlError *error);
  53. HRESULT SetPreroll([in] unsigned int prerollSeconds);
  54. HRESULT GetPreroll([out] unsigned int *prerollSeconds);
  55. HRESULT SetExportOffset([in] int exportOffsetFields);
  56. HRESULT GetExportOffset([out] int *exportOffsetFields);
  57. HRESULT GetManualExportOffset([out] int *deckManualExportOffsetFields);
  58. HRESULT SetCaptureOffset([in] int captureOffsetFields);
  59. HRESULT GetCaptureOffset([out] int *captureOffsetFields);
  60. HRESULT StartExport([in] BMDTimecodeBCD inTimecode, [in] BMDTimecodeBCD outTimecode, [in] BMDDeckControlExportModeOpsFlags exportModeOps, [out] BMDDeckControlError *error);
  61. HRESULT StartCapture([in] BOOL useVITC, [in] BMDTimecodeBCD inTimecode, [in] BMDTimecodeBCD outTimecode, [out] BMDDeckControlError *error);
  62. HRESULT GetDeviceID([out] unsigned short *deviceId, [out] BMDDeckControlError *error);
  63. HRESULT Abort(void);
  64. HRESULT CrashRecordStart([out] BMDDeckControlError *error);
  65. HRESULT CrashRecordStop([out] BMDDeckControlError *error);
  66. HRESULT SetCallback([in] IDeckLinkDeckControlStatusCallback *callback);
  67. };