Provided by: libg2c-dev_1.6.4-3_amd64 bug

NAME

       dec_jpeg2000.c - Decodes JPEG2000 code stream.

SYNOPSIS

       #include <stdio.h>
       #include <stdlib.h>
       #include <string.h>
       #include 'grib2.h'
       #include 'jasper/jasper.h'

   Functions
       int dec_jpeg2000 (char *injpc, g2int bufsize, g2int *outfld)
           This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard
           (i.e., ISO/IEC 15444-1) using JasPer Software version 1.500.4 (or 1.700.2) written by
           the University of British Columbia and Image Power Inc, and others.

Detailed Description

       Decodes JPEG2000 code stream.

       Author
           Stephen Gilbert

       Date
           2002-12-02

       Definition in file dec_jpeg2000.c.

Function Documentation

   int dec_jpeg2000 (char * injpc, g2int bufsize, g2int * outfld)
       This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard
       (i.e., ISO/IEC 15444-1) using JasPer Software version 1.500.4 (or 1.700.2) written by the
       University of British Columbia and Image Power Inc, and others. JasPer is available at
       http://www.ece.uvic.ca/~mdadams/jasper/.

       Parameters
           injpc Input JPEG2000 code stream.
           bufsize Length (in bytes) of the input JPEG2000 code stream.
           outfld Output matrix of grayscale image values.

       Returns

           • 0 Successful decode

           • -3 Error decode jpeg2000 code stream.

           • -5 decoded image had multiple color components. Only grayscale is expected.

       Note
           Requires JasPer Software version 1.500.4 or 1.700.2.

       Author
           Stephen Gilbert

       Date
           2002-12-02

       Definition at line 43 of file dec_jpeg2000.c.

       Referenced by jpcunpack().

Author

       Generated automatically by Doxygen for NCEPLIBS-g2c from the source code.