// // Created by loki on 6/9/19. // #ifndef SUNSHINE_VIDEO_H #define SUNSHINE_VIDEO_H #include "queue.h" struct AVPacket; namespace video { void free_packet(AVPacket *packet); using packet_t = util::safe_ptr; using packet_queue_t = std::shared_ptr>; using event_queue_t = std::shared_ptr>>; struct config_t { int width; int height; int framerate; int bitrate; int slicesPerFrame; }; void capture_display(packet_queue_t packets, event_queue_t idr_events, config_t config); } #endif //SUNSHINE_VIDEO_H