X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmJpeg12.cxx;h=a87cbd47b3ea2a6b93d8752a31ff23ea8edc070d;hb=c409cea027a78568fc06272becf98b4f0ede0513;hp=ab04c32fa9468ff4e4832ffaff6eb1842a4c62fd;hpb=746c9ec7ec0fbe389b0894c80a8393ecd5472479;p=gdcm.git diff --git a/src/gdcmJpeg12.cxx b/src/gdcmJpeg12.cxx index ab04c32f..a87cbd47 100644 --- a/src/gdcmJpeg12.cxx +++ b/src/gdcmJpeg12.cxx @@ -5,6 +5,10 @@ #define BITS_IN_JSAMPLE 12 +#ifdef GDCM_DEBUG +#define GDCM_jpr_DEBUG 0 +#endif //GDCM_DEBUG + // BITS_IN_JSAMPLE is a compile time defined options. // We need both 8 an 12; // To avoid renaming *all* the Jpeg functions, @@ -88,6 +92,23 @@ extern "C" { #include "jpeg/libijg12/jpeglib12.h" #include } +/******************** JPEG COMPRESSION SAMPLE INTERFACE *******************/ + +// +// TODO +// + +bool gdcm_write_JPEG_file12 (FILE *fp, void * im_buff, + int image_width, int image_heigh, int quality) +{ + (void)fp; + (void)im_buff; + (void)image_width; + (void)image_heigh; + (void)quality; + + return true; //??? +} /******************** JPEG DECOMPRESSION SAMPLE INTERFACE *******************/