00001 // 00002 // Copyright 2003 Sony Corporation 00003 // 00004 // Permission to use, copy, modify, and redistribute this software for 00005 // non-commercial use is hereby granted. 00006 // 00007 // This software is provided "as is" without warranty of any kind, 00008 // either expressed or implied, including but not limited to the 00009 // implied warranties of fitness for a particular purpose. 00010 // 00011 00012 #ifndef write_jpeg_h_DEFINED 00013 #define write_jpeg_h_DEFINED 00014 00015 #ifdef __cplusplus 00016 extern "C" { 00017 #endif 00018 int write_jpeg_mem(unsigned char*, int, int, int, unsigned char*, int); 00019 void write_jpeg_file(unsigned char*, int, int, int, FILE*); 00020 #ifdef __cplusplus 00021 } 00022 #endif 00023 00024 #endif /* write_jpeg_h_DEFINED */