NCEPLIBS-g2c
1.7.0
|
Decodes JPEG2000 code stream. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "grib2_int.h"
#include "jasper/jasper.h"
Go to the source code of this file.
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. More... | |
This Function decodes a JPEG2000 code stream specified in the JPEG2000 Part-1 standard (i.e., ISO/IEC 15444-1) using JasPer Software.
Date | Programmer | Comments |
---|---|---|
2002-12-02 | Gilbert | Initial |
2022-04-15 | Hartnett | Converted to use jas_ instead of jpc_ functions. |
injpc | Input JPEG2000 code stream. |
bufsize | Length (in bytes) of the input JPEG2000 code stream. |
outfld | Output matrix of grayscale image values. |
Definition at line 38 of file dec_jpeg2000.c.
References G2_JASPER_DECODE, G2_JASPER_DECODE_COLOR, G2_JASPER_INIT, and G2C_JASPER_JPEG_FORMAT_NAME.
Referenced by jpcunpack_int().