Project Name
Version 1.0
|
Header file containing declarations of functions and data structures for the JPEG wrapper interface. This file contains declarations of the functions and data structure that are used by the JPEG wrapper interface. More...
#include "jh_datatypes.h"
Go to the source code of this file.
Data Structures | |
struct | jh_jpegwrap_params_ts |
Defines the parameter block passed to the JPEG library to decompress the JPEG image, which includes image size and scaling factors. More... |
Typedefs | |
typedef struct jh_jpegwrap_params_ts | jh_jpegwrap_params_t |
Defines the parameter block passed to the JPEG library to decompress the JPEG image, which includes image size and scaling factors. |
Functions | |
int | jh_jpeg_compress (const jh_image_t *sbi, unsigned qual, jh_stream_t *stream, jh_error_t *error, int debug) |
Compresses a residual image, also known as the subband image (SBI), in JPEG JFIF file format and stores the compressed image in memory. | |
int | jh_jpeg_compress_and_attach (const jh_image_t *sdri, unsigned qual, unsigned char *m11, unsigned *m11_sizes, unsigned char *icc, unsigned icc_size, jh_stream_t *stream, jh_error_t *error, int debug) |
Compresses a standard dynamic range image (SDRI) in JPEG JFIF file format, attaches APP11 segments and an ICC profile, and stores the resulting image in memory. | |
void | jh_jpeg_release (unsigned char **jpg_buffer) |
Releases the memory buffer created by jh_jpeg_compress() for the compressed SBI. | |
int | jh_jpeg_decompress_jpeghdr (unsigned char *jpg, size_t jpg_size, int *width, int *height, unsigned char **icc, int *icc_size, unsigned char **tmi, unsigned char **sbi, char *header, int probe_header, jh_jpegwrap_params_t *opts, jh_error_t *error, jh_monitor_t *monitorv) |
Decompresses the JPEG-HDR file. | |
jh_result_t | jh_jpeg_read_header_mem (void *inbuffer, int size, int *width, int *height, int *channels, char *message) |
Reads the JPEG-HDR file to get basic information about the image. |
Header file containing declarations of functions and data structures for the JPEG wrapper interface. This file contains declarations of the functions and data structure that are used by the JPEG wrapper interface.
Definition in file jh_jpeg_wrap.h.