pngunpack.c(3) | Library Functions Manual | pngunpack.c(3) |
pngunpack.c - Unpack data packed with PNG compression.
#include 'grib2_int.h'
#include <stdio.h>
#include <stdlib.h>
int g2c_pngunpackd (unsigned char *cpack, size_t len, int
*idrstmpl, size_t ndpts, double *fld)
This subroutine unpacks a data field that was packed into a PNG image format
using info from the GRIB2 Data Representation Template 5.41 or 5.40010. int
g2c_pngunpackf (unsigned char *cpack, size_t len, int *idrstmpl,
size_t ndpts, float *fld)
This subroutine unpacks a data field that was packed into a PNG image format
using info from the GRIB2 Data Representation Template 5.41 or 5.40010.
g2int pngunpack (unsigned char *cpack, g2int len,
g2int *idrstmpl, g2int ndpts, float *fld)
This subroutine unpacks a data field that was packed into a PNG image format
using info from the GRIB2 Data Representation Template 5.41 or 5.40010.
static int pngunpack_int (unsigned char *cpack, g2int len,
g2int *idrstmpl, g2int ndpts, void *fld, int fld_is_double,
int verbose)
Unpack a data field that was packed into a PNG image format using info from
the GRIB2 Data Representation Template 5.41 or 5.40010.
Unpack data packed with PNG compression.
Author
Date
Definition in file pngunpack.c.
This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB2 Data Representation Template 5.41 or 5.40010.
Parameters
Returns
Author
Date
Definition at line 188 of file pngunpack.c.
References G2C_PNG_DRS_TEMPLATE_LEN, and pngunpack_int().
This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB2 Data Representation Template 5.41 or 5.40010.
Parameters
Returns
Author
Date
Definition at line 156 of file pngunpack.c.
References G2C_PNG_DRS_TEMPLATE_LEN, and pngunpack_int().
This subroutine unpacks a data field that was packed into a PNG image format using info from the GRIB2 Data Representation Template 5.41 or 5.40010.
Parameters
Returns
Author
Date
Author
Definition at line 126 of file pngunpack.c.
References G2_JPCUNPACK_MEM, G2C_ENOMEM, and pngunpack_int().
Referenced by g2c_unpack7_int().
Unpack a data field that was packed into a PNG image format using info from the GRIB2 Data Representation Template 5.41 or 5.40010.
Parameters
Returns
Author
Date
Definition at line 40 of file pngunpack.c.
References dec_png(), G2C_ENOMEM, gbits(), int_power(), LOG, and rdieee().
Referenced by g2c_pngunpackd(), g2c_pngunpackf(), and pngunpack().
Generated automatically by Doxygen for NCEPLIBS-g2c from the source code.
Version 2.1.0 | NCEPLIBS-g2c |