Details
struct ucil_theora_video_file_object
struct ucil_theora_video_file_object {
ogg_stream_state os;
theora_info ti;
theora_state th;
FILE *f;
unicap_format_t format;
int fill_frames;
unsigned long long frame_interval;
struct timeval last_frame_time;
struct timeval recording_start_time;
int frame_count;
ogg_packet op;
pthread_t encoder_thread;
int quit_thread;
struct _unicap_queue *full_queue;
struct _unicap_queue *empty_queue;
struct _unicap_queue *last_frame;
unicap_new_frame_callback_t encode_frame_cb;
void *encode_frame_cb_data;
};
ucil_theora_video_file_object_t
typedef struct _ucil_theora_video_file_object ucil_theora_video_file_object_t;
struct ucil_theora_input_file_object
struct ucil_theora_input_file_object {
FILE *f;
ogg_sync_state oy;
ogg_stream_state os;
theora_state th;
theora_info ti;
pthread_t worker_thread;
int quit_capture_thread;
int frame_intervall;
unicap_format_t format;
unicap_event_callback_t event_callback;
unicap_handle_t event_unicap_handle;
struct _unicap_queue *in_queue;
struct _unicap_queue *out_queue;
sem_t sema;
};
ucil_theora_input_file_object_t
typedef struct _ucil_theora_input_file_object ucil_theora_input_file_object_t;