20 lines
346 B
C
20 lines
346 B
C
#ifndef __ENCODER_JPEG_H
|
|
#define __ENCODER_JPEG_H
|
|
#include "stream.h"
|
|
struct jpeg_encoder {
|
|
struct stream *output;
|
|
int format;
|
|
struct frame_exchanger *ex;
|
|
volatile int running;
|
|
};
|
|
|
|
void * file_jpeg_init_ret(void);
|
|
|
|
void * jpeg_init_ret(void);
|
|
void *get_video_ex(struct jpeg_encoder *en);
|
|
void * jpeg_init(const rtp_name *jpg_name);
|
|
|
|
|
|
|
|
#endif
|