Libmpo  Build #33
A WIP library to decode and encode MPO (multiple picture object) files
 All Data Structures Files Functions Variables Enumerations Enumerator
cmpo.h
Go to the documentation of this file.
1 
8 #pragma once
9 
10 
11 void mpo_init_compress(mpo_compress_struct* mpoinfo,int numberOfImages);
12 
13 void mpo_destroy_compress(mpo_compress_struct* mpoinfo);
14 
21 void mpo_image_mem_src(mpo_compress_struct* mpoinfo,int imageNumber,JOCTET src[]);
22 
25 void mpo_dimensions_forall(mpo_compress_struct* mpoinfo,int width,int height);
26 
29 void mpo_colorspace_forall(mpo_compress_struct* mpoinfo,J_COLOR_SPACE jcs,int input_components);
30 
33 void mpo_quality_forall(mpo_compress_struct* mpoinfo,int quality);
34 
38 
39 
40 GLOBAL(void)
41 mpo_write_file (mpo_compress_struct* mpoinfo,char * filename);
42 
43 void mpo_write_MPO_Marker(mpo_compress_struct * mpoinfo,int image);
44 
45 void mpo_init_3d_compress(mpo_compress_struct* mpoinfo,JOCTET *imageBytes_left,JOCTET *imageBytes_right,int image_width,int image_height);
void mpo_colorspace_forall(mpo_compress_struct *mpoinfo, J_COLOR_SPACE jcs, int input_components)
Convenience function to set colorspace info of all images at once.
Definition: cmpo.c:131
void mpo_quality_forall(mpo_compress_struct *mpoinfo, int quality)
Convenience function to set quality of all images at once.
Definition: cmpo.c:144
Definition: mpo.h:269
MPExt_MPType
Definition: mpo.h:148
void mpo_dimensions_forall(mpo_compress_struct *mpoinfo, int width, int height)
Convenience function to set width and height of all images at once.
Definition: cmpo.c:119
void mpo_image_mem_src(mpo_compress_struct *mpoinfo, int imageNumber, JOCTET src[])
Tell mpoinfo struct what source to use.
Definition: cmpo.c:112
void mpo_type_forall(mpo_compress_struct *mpoinfo, MPExt_MPType type)
Convenience function to set type of all images at once.
Definition: cmpo.c:155