~ubuntu-branches/debian/sid/gdal/sid

« back to all changes in this revision

Viewing changes to frmts/nitf/nitfwritejpeg.cpp

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2012-05-07 15:04:42 UTC
  • mfrom: (5.5.16 experimental)
  • Revision ID: package-import@ubuntu.com-20120507150442-2eks97loeh6rq005
Tags: 1.9.0-1
* Ready for sid, starting transition.
* All symfiles updated to latest builds.
* Added dh_numpy call in debian/rules to depend on numpy ABI.
* Policy bumped to 3.9.3, no changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/******************************************************************************
2
 
 * $Id: nitfwritejpeg.cpp 18667 2010-01-26 20:15:09Z rouault $
 
2
 * $Id: nitfwritejpeg.cpp 21951 2011-03-12 22:02:07Z warmerdam $
3
3
 *
4
4
 * Project:  NITF Read/Write Translator
5
5
 * Purpose:  GDALDataset/GDALRasterBand implementation on top of "nitflib".
55
55
 
56
56
#if defined(JPEG_DUAL_MODE_8_12) && !defined(NITFWriteJPEGBlock)
57
57
int 
58
 
NITFWriteJPEGBlock_12( GDALDataset *poSrcDS, FILE *fp,
 
58
NITFWriteJPEGBlock_12( GDALDataset *poSrcDS, VSILFILE *fp,
59
59
                     int nBlockXOff, int nBlockYOff,
60
60
                     int nBlockXSize, int nBlockYSize,
61
61
                     int bProgressive, int nQuality,
63
63
                     GDALProgressFunc pfnProgress, void * pProgressData );
64
64
#endif
65
65
 
66
 
void jpeg_vsiio_src (j_decompress_ptr cinfo, FILE * infile);
67
 
void jpeg_vsiio_dest (j_compress_ptr cinfo, FILE * outfile);
 
66
void jpeg_vsiio_src (j_decompress_ptr cinfo, VSILFILE * infile);
 
67
void jpeg_vsiio_dest (j_compress_ptr cinfo, VSILFILE * outfile);
68
68
 
69
69
/************************************************************************/
70
70
/*                         NITFWriteJPEGBlock()                         */
71
71
/************************************************************************/
72
72
 
73
73
int 
74
 
NITFWriteJPEGBlock( GDALDataset *poSrcDS, FILE *fp,
 
74
NITFWriteJPEGBlock( GDALDataset *poSrcDS, VSILFILE *fp,
75
75
                    int nBlockXOff, int nBlockYOff,
76
76
                    int nBlockXSize, int nBlockYSize,
77
77
                    int bProgressive, int nQuality,