~ubuntu-branches/ubuntu/wily/pyfits/wily-proposed

« back to all changes in this revision

Viewing changes to src/pliocomp.c

  • Committer: Bazaar Package Importer
  • Author(s): Aurelien Jarno
  • Date: 2011-03-07 15:24:41 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20110307152441-zg23n7wq3lldn6h7
Tags: 1:2.4.0-1
* New upstream version.
* Switch to 3.0 (quilt) format.
* Bump Standards-Version to 3.9.1 (no changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: pliocomp.c 395 2009-01-16 19:03:10Z jtaylor2 $
 
1
/* $Id: pliocomp.c 682 2010-09-16 15:24:59Z stsci_jtaylor2 $
2
2
*/
3
3
 
4
4
/*****************************************************************************/
77
77
   performing conversion between pixel arrays and line lists.  The
78
78
   compression technique is used in IRAF.
79
79
*/
80
 
int pl_p2li (int *pxsrc, int xs, short *lldst, int npix);
81
 
int pl_l2pi (short *ll_src, int xs, int *px_dst, int npix);
 
80
int _pyfits_pl_p2li (int *pxsrc, int xs, short *lldst, int npix);
 
81
int _pyfits_pl_l2pi (short *ll_src, int xs, int *px_dst, int npix);
82
82
 
83
83
 
84
84
/*
95
95
#define max(a,b)        (((a)>(b))?(a):(b))
96
96
#endif
97
97
 
98
 
int pl_p2li (int *pxsrc, int xs, short *lldst, int npix)
 
98
int _pyfits_pl_p2li (int *pxsrc, int xs, short *lldst, int npix)
99
99
/* int *pxsrc;                      input pixel array */
100
100
/* int xs;                          starting index in pxsrc (?) */
101
101
/* short *lldst;                    encoded line list */
252
252
 * Translated from the SPP version using xc -f, f2c.  8Sep99 DCT.
253
253
 */
254
254
 
255
 
int pl_l2pi (short *ll_src, int xs, int *px_dst, int npix)
 
255
int _pyfits_pl_l2pi (short *ll_src, int xs, int *px_dst, int npix)
256
256
/* short *ll_src;                   encoded line list */
257
257
/* int xs;                          starting index in ll_src */
258
258
/* int *px_dst;                    output pixel array */