File: api.h

package info (click to toggle)
simage 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,912 kB
  • ctags: 1,572
  • sloc: ansic: 14,231; sh: 12,587; cpp: 930; perl: 854; makefile: 617; lisp: 25
file content (14 lines) | stat: -rw-r--r-- 559 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef MPEG2ENC_API_H
#define MPEG2ENC_API_H

#include <simage.h>

int mpeg2enc_movie_create(const char * filename, s_movie * movie, s_params * params);
int mpeg2enc_movie_put(s_movie * movie, s_image * image, s_params * params);
void mpeg2enc_movie_close(s_movie * movie);

typedef void (*SimpegWrite_error_cb)(void * userdata, const char * text);
typedef void (*SimpegWrite_warning_cb)(void * userdata, const char * text);
typedef int  (*SimpegWrite_progress_cb)(void * userdata, float sub, int current_frame, int num_frames);

#endif /* MPEG2ENC_API_H */