35 #ifdef SIMAGE_MPEG2ENC_SUPPORT
36 #include "../mpeg2enc/api.h"
39 #ifdef SIMAGE_AVIENC_SUPPORT
91 #ifdef SIMAGE_MPEG2ENC_SUPPORT
94 mpeg2enc_movie_close);
96 #ifdef SIMAGE_AVIENC_SUPPORT
117 if (imp->
open(filename, movie))
break;
125 movie->
filename = (
char*) malloc(strlen(filename)+1);
146 if (exp->
create(filename, movie, params))
break;
154 movie->
filename = (
char*) malloc(strlen(filename)+1);
165 return movie->
get(movie, prealloc, params);
172 return movie->
put(movie, image, params);
192 if (movie->
params == NULL) {
218 else last->
next = imp;
241 else last->
next = exp;
s_params * s_movie_params(s_movie *movie)
void s_movie_exporter_add(s_movie_create_func *create, s_movie_put_func *put, s_movie_close_func *close)
static struct simage_movie_exporter * exporters
void s_params_destroy(s_params *params)
static void add_internal_exporters(void)
int avienc_movie_create(const char *filename, s_movie *movie, s_params *params)
struct simage_movie_importer * next
struct simage_movie_exporter * next
void s_movie_close_func(s_movie *)
int s_movie_create_func(const char *, s_movie *, s_params *)
s_movie_close_func * close
s_movie * s_movie_create(const char *filename, s_params *params)
void avienc_movie_close(s_movie *movie)
void s_movie_close(s_movie *movie)
Windows specific information.
int s_movie_put_image(s_movie *movie, s_image *image, s_params *params)
int s_movie_put_func(s_movie *, s_image *, s_params *)
s_movie_close_func * close
s_movie_create_func * create
void s_movie_destroy(s_movie *movie)
void s_movie_importer_add(s_movie_open_func *open, s_movie_get_func *get, s_movie_close_func *close)
static void add_internal_importers(void)
s_movie * s_movie_open(const char *filename)
static struct simage_movie_importer * importers
s_image * s_movie_get_func(s_movie *, s_image *, s_params *)
int avienc_movie_put(s_movie *movie, s_image *image, s_params *params)
s_movie_close_func * close
s_image * s_movie_get_image(s_movie *movie, s_image *prealloc, s_params *params)
s_params * s_params_create(void)
s_movie_create_func * create
int s_movie_open_func(const char *, s_movie *)