File jpeg_decoder.c
FileList > jpeg-decoder > jpeg_decoder.c
Go to the source code of this file
#include "jpeg_decoder.h"
#include "picojpeg.h"
Public Functions
Type | Name |
---|---|
void | jpeg_decoder_abort (jpeg_decoder_context_t * ctx) |
int | jpeg_decoder_decode_mcu (jpeg_decoder_context_t * ctx) |
int | jpeg_decoder_init (jpeg_decoder_context_t * ctx, const uint8_t * array, uint32_t array_size) |
int | jpeg_decoder_read (jpeg_decoder_context_t * ctx) |
int | jpeg_decoder_read_swapped_bytes (jpeg_decoder_context_t * ctx) |
unsigned char | pjpeg_callback (unsigned char * pBuf, unsigned char buf_size, unsigned char * pBytes_actually_read, void * pCallback_data) |
Macros
Type | Name |
---|---|
define | jpg_min (a, b) (((a) < (b)) ? (a) : (b)) |
define | min (a, b) (((a) < (b)) ? (a) : (b)) |
Public Functions Documentation
function jpeg_decoder_abort
void jpeg_decoder_abort (
jpeg_decoder_context_t * ctx
)
function jpeg_decoder_decode_mcu
int jpeg_decoder_decode_mcu (
jpeg_decoder_context_t * ctx
)
function jpeg_decoder_init
int jpeg_decoder_init (
jpeg_decoder_context_t * ctx,
const uint8_t * array,
uint32_t array_size
)
function jpeg_decoder_read
int jpeg_decoder_read (
jpeg_decoder_context_t * ctx
)
function jpeg_decoder_read_swapped_bytes
int jpeg_decoder_read_swapped_bytes (
jpeg_decoder_context_t * ctx
)
function pjpeg_callback
unsigned char pjpeg_callback (
unsigned char * pBuf,
unsigned char buf_size,
unsigned char * pBytes_actually_read,
void * pCallback_data
)
Macro Definition Documentation
define jpg_min
#define jpg_min (
a,
b
) (((a) < (b)) ? (a) : (b))
define min
#define min (
a,
b
) (((a) < (b)) ? (a) : (b))
The documentation for this class was generated from the following file neuralSPOT/neuralspot/ns-camera/src/jpeg-decoder/jpeg_decoder.c