2004-07-16 16:10:49 +02:00
|
|
|
#include "mj2.h"
|
|
|
|
|
|
|
|
#ifndef __MJ2_CONVERT_H
|
|
|
|
#define __MJ2_CONVERT_H
|
|
|
|
|
2004-12-08 12:22:18 +01:00
|
|
|
int imagetoyuv(j2k_image_t * img, j2k_cp_t * cp, char *outfile);
|
2004-07-16 16:10:49 +02:00
|
|
|
|
2004-12-08 12:22:18 +01:00
|
|
|
int imagetobmp(j2k_image_t * img, j2k_cp_t * cp, char *outfile);
|
|
|
|
|
|
|
|
int yuvtoimage(FILE *yuvfile, mj2_tk_t * tk, j2k_image_t * img,
|
|
|
|
int frame_num, int subsampling_dx, int subsampling_dy);
|
|
|
|
|
|
|
|
int yuv_num_frames(mj2_tk_t * tk, FILE *f);
|
2004-07-16 16:10:49 +02:00
|
|
|
|
|
|
|
|
2004-12-08 12:22:18 +01:00
|
|
|
#endif
|