decenc_jpeg2000.c(3) | Library Functions Manual | decenc_jpeg2000.c(3) |
decenc_jpeg2000.c - Decode/encode a JPEG2000 code stream.
#include 'grib2_int.h'
#include 'jasper/jasper.h'
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAXOPTSSIZE 1024
Maximum size of options.
int dec_jpeg2000 (char *injpc, g2int bufsize,
g2int *outfld)
Decode a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e.,
ISO/IEC 15444-1) using JasPer Software. int enc_jpeg2000
(unsigned char *cin, g2int width, g2int height, g2int
nbits, g2int ltype, g2int ratio, g2int retry, char
*outjpc, g2int jpclen)
Encode a grayscale image into a JPEG2000 code stream specified in the JPEG2000
Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software. int
g2c_dec_jpeg2000 (char *injpc, size_t bufsize, int *outfld)
Decode a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e.,
ISO/IEC 15444-1) using JasPer Software. int g2c_enc_jpeg2000
(unsigned char *cin, int width, int height, int nbits, int ltype, int ratio,
int retry, char *outjpc, size_t jpclen)
Encode a grayscale image into a JPEG2000 code stream specified in the JPEG2000
Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software.
static int int_dec_jpeg2000 (char *injpc, g2int bufsize, void
*outfld, int out_is_g2int)
Decode a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e.,
ISO/IEC 15444-1) using JasPer Software.
Decode/encode a JPEG2000 code stream.
Author
Date
Definition in file decenc_jpeg2000.c.
Maximum size of options.
Definition at line 12 of file decenc_jpeg2000.c.
Decode a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software.
Parameters
Returns
Author
Definition at line 377 of file decenc_jpeg2000.c.
References int_dec_jpeg2000().
Referenced by jpcunpack_int().
Encode a grayscale image into a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software.
Parameters
ratio target compression ratio. (ratio:1) Used only when
ltype == 1.
retry If 1 try increasing number of guard bits.
outjpc Output encoded JPEG2000 code stream.
jpclen Number of bytes allocated for the output JPEG2000 code stream in
outjpc.
Returns
Note
Author
Date
Author
Definition at line 94 of file decenc_jpeg2000.c.
References G2_JASPER_ENCODE, G2_JASPER_INIT, G2C_JASPER_JPEG_FORMAT_NAME, LOG, and MAXOPTSSIZE.
Referenced by g2c_enc_jpeg2000(), and jpcpack_int().
Decode a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software.
Parameters
Returns
Author
Date
Definition at line 350 of file decenc_jpeg2000.c.
References int_dec_jpeg2000().
Encode a grayscale image into a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software.
Parameters
ratio target compression ratio. (ratio:1) Used only when
ltype == 1.
retry If 1 try increasing number of guard bits.
outjpc Output encoded JPEG2000 code stream.
jpclen Number of bytes allocated for the output JPEG2000 code stream in
outjpc.
Returns
Note
Author
Date
Author
Definition at line 45 of file decenc_jpeg2000.c.
References enc_jpeg2000().
Decode a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software.
Parameters
Returns
Author
Date
Author
Eric Engle
Definition at line 221 of file decenc_jpeg2000.c.
References G2_JASPER_DECODE, G2_JASPER_DECODE_COLOR, G2_JASPER_INIT, G2C_JASPER_JPEG_FORMAT_NAME, G2C_JASPER_MAX_MEM, and LOG.
Referenced by dec_jpeg2000(), and g2c_dec_jpeg2000().
Generated automatically by Doxygen for NCEPLIBS-g2c from the source code.
Version 2.1.0 | NCEPLIBS-g2c |