ffmpeg.h 343 B

1234567891011
  1. #ifndef FFMPEG_H_
  2. #define FFMPEG_H_
  3. #include <stddef.h>
  4. int ffmpeg_start_rendering(size_t width, size_t height, size_t fps);
  5. void ffmpeg_send_frame(int pipe, void *data, size_t width, size_t height);
  6. void ffmpeg_send_frame_flipped(int pipe, void *data, size_t width, size_t height);
  7. void ffmpeg_end_rendering(int pipe);
  8. #endif // FFMPEG_H_