BufferNegotiator.h 541 B

1234567891011121314151617181920212223242526272829
  1. /* BufferNegotiator.h/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro). */
  2. /* This copyright was auto-generated on Sat Mar 5 01:05:53 UTC 2022 */
  3. #pragma once
  4. #include <stdint.h>
  5. #ifdef __cplusplus
  6. extern "C"
  7. {
  8. #endif
  9. long GetBuffer(uint8_t* dest, long buflen);
  10. void LockBuffer();
  11. void UnlockBuffer();
  12. void StartInput();
  13. void StopInput();
  14. void WriteInputBuffer(uint8_t* buf, int buf_size);
  15. int ReadInputBuffer(uint8_t* buf, int buf_size);
  16. #ifdef __cplusplus
  17. }
  18. #endif