Skip to content

File jpeg_decoder.h

FileList > jpeg-decoder > jpeg_decoder.h

Go to the source code of this file

  • #include "picojpeg.h"
  • #include <stdint.h>
  • #include <stdio.h>
  • #include <string.h>

Classes

Type Name
struct jpeg_decoder_context_t

Public Functions

Type Name
void jpeg_decoder_abort (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)
unsigned char pjpeg_callback (unsigned char * pBuf, unsigned char buf_size, unsigned char * pBytes_actually_read, void * pCallback_data)

Public Functions Documentation

function jpeg_decoder_abort

void jpeg_decoder_abort (
    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 pjpeg_callback

unsigned char pjpeg_callback (
    unsigned char * pBuf,
    unsigned char buf_size,
    unsigned char * pBytes_actually_read,
    void * pCallback_data
) 

The documentation for this class was generated from the following file neuralSPOT/neuralspot/ns-camera/src/jpeg-decoder/jpeg_decoder.h