IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 26, 2012, 11:46:01 AM (14 years ago)
Author:
eugene
Message:

updates for pedantic gcc, mods to relphot average mags to handle GPC1 stacks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libfits/extern/ricecomp.c

    r18269 r34088  
    5959{
    6060Buffer bufmem, *buffer = &bufmem;
    61 int bsize, i, j, thisblock;
     61int i, j, thisblock;
    6262int lastpix, nextpix, pdiff;
    6363int v, fs, fsmask, top, fsmax, fsbits, bbits;
     
    7373     * compression of short & byte images.
    7474     */
    75     bsize = 4;
     75// int bsize = 4;
    7676
    7777/*    nblock = 32; now an input parameter*/
     
    277277{
    278278Buffer bufmem, *buffer = &bufmem;
    279 int bsize, i, j, thisblock;
     279int i, j, thisblock;
    280280
    281281/*
     
    299299     * compression of short & byte images.
    300300     */
    301     bsize = 2;
     301// bsize = 2;
    302302
    303303/*    nblock = 32; now an input parameter */
     
    501501{
    502502Buffer bufmem, *buffer = &bufmem;
    503 int bsize, i, j, thisblock;
     503int i, j, thisblock;
    504504
    505505/*
     
    523523     * compression of short & byte images.
    524524     */
    525     bsize = 1;
     525    // bsize = 1;
    526526
    527527/*    nblock = 32; now an input parameter */
     
    826826             int nblock)                /* coding block size            */
    827827{
    828 int bsize, i, k, imax;
     828int i, k, imax;
    829829int nbits, nzero, fs;
    830830unsigned char *cend, bytevalue;
     
    839839     * compression of short & byte images.
    840840     */
    841     bsize = 4;
     841// bsize = 4;
    842842
    843843/*    nblock = 32; now an input parameter */
     
    10141014{
    10151015int i, imax;
    1016 int bsize, k;
     1016int k;
    10171017int nbits, nzero, fs;
    10181018unsigned char *cend, bytevalue;
     
    10281028     */
    10291029
    1030     bsize = 2;
     1030// bsize = 2;
    10311031   
    10321032/*    nblock = 32; now an input parameter */
     
    12001200{
    12011201int i, imax;
    1202 int bsize, k;
     1202int k;
    12031203int nbits, nzero, fs;
    12041204unsigned char *cend;
     
    12141214     */
    12151215
    1216     bsize = 1;
     1216// bsize = 1;
    12171217   
    12181218/*    nblock = 32; now an input parameter */
Note: See TracChangeset for help on using the changeset viewer.