Go to the documentation of this file.
    7 static int ag_px_st[] = {0, 640, 1008, 2192, 2560, 3200};
 
    8 static int ag_fact[] = {1, 2, 3, 2, 1, -1};
 
    9 static int uag_px_st[] = {0, 640, 1376, 4928, 5664, 6304};
 
   37     int found, nzone = 6, iz;
 
   42     for (iz = 0; iz < (nzone - 1); iz++) {
 
   43         if ((in_pix >= ag_px_st[iz]) && (in_pix < ag_px_st[ iz + 1 ])) {
 
   44             *out_pix = uag_px_st[iz] + (in_pix - ag_px_st[iz]) * ag_fact[iz];
 
   55         if (in_pix < ag_px_st[0])
 
   58             *out_pix = uag_px_st[ nzone - 1 ] + in_pix - ag_px_st[ nzone - 1 ];
 
   83     int found, nzone = 6, iz;
 
   88     for (iz = 0; iz < (nzone - 1); iz++) {
 
   89         if ((in_pix >= uag_px_st[iz]) && (in_pix < uag_px_st[ iz + 1 ])) {
 
   90             *out_pix = ag_px_st[iz] + (in_pix - uag_px_st[iz]) / ag_fact[iz];
 
   99         if (in_pix < uag_px_st[0])
 
  102             *out_pix = ag_px_st[ nzone - 1 ] + in_pix - uag_px_st[ nzone - 1 ];
 
  137     uag_px = (del < 0) ? uag_px + del : uag_px + (ag - 1) + del;
 
  
void viirs_pxcvt_2ag(int in_pix, int *out_pix)
 
void viirs_pxcvt_agdel(int in_pix, int del, int *out_pix)
 
void viirs_pxcvt_2uag(int in_pix, int *out_pix, int *nag)