Register buffer_lock as a global output
This commit is contained in:
@ -5,20 +5,20 @@
|
||||
struct http_worker_s;
|
||||
struct buffer_s;
|
||||
|
||||
extern struct buffer_lock_s http_h264;
|
||||
extern struct buffer_lock_s http_h264_lowres;
|
||||
|
||||
extern struct buffer_lock_s http_jpeg;
|
||||
extern struct buffer_lock_s http_jpeg_lowres;
|
||||
|
||||
// M-JPEG
|
||||
void http_snapshot(struct http_worker_s *worker, FILE *stream);
|
||||
void http_stream(struct http_worker_s *worker, FILE *stream);
|
||||
void http_jpeg_capture(struct buffer_s *buf);
|
||||
void http_jpeg_lowres_capture(struct buffer_s *buf);
|
||||
bool http_jpeg_needs_buffer();
|
||||
void http_option(struct http_worker_s *worker, FILE *stream);
|
||||
|
||||
// H264
|
||||
bool http_h264_needs_buffer();
|
||||
void http_h264_capture(struct buffer_s *buf);
|
||||
void http_h264_lowres_capture(struct buffer_s *buf);
|
||||
void http_h264_video(struct http_worker_s *worker, FILE *stream);
|
||||
bool h264_is_key_frame(struct buffer_s *buf);
|
||||
void http_h264_video(struct http_worker_s *worker, FILE *stream);
|
||||
void http_mkv_video(struct http_worker_s *worker, FILE *stream);
|
||||
void http_mp4_video(struct http_worker_s *worker, FILE *stream);
|
||||
void http_mov_video(struct http_worker_s *worker, FILE *stream);
|
||||
|
Reference in New Issue
Block a user