Classes | Typedefs | Enumerations | Functions
pjpeg.h File Reference
#include "image_u8.h"
#include "image_u8x3.h"
Include dependency graph for pjpeg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pjpeg
 
struct  pjpeg_component
 

Typedefs

typedef struct pjpeg_component pjpeg_component_t
 
typedef struct pjpeg pjpeg_t
 

Enumerations

enum  PJPEG_ERROR {
  PJPEG_OKAY = 0, PJPEG_ERR_FILE, PJPEG_ERR_DQT, PJPEG_ERR_SOF,
  PJPEG_ERR_DHT, PJPEG_ERR_SOS, PJPEG_ERR_MISSING_DHT, PJPEG_ERR_DRI,
  PJPEG_ERR_RESET, PJPEG_ERR_EOF, PJEPG_ERR_UNSUPPORTED
}
 
enum  PJPEG_FLAGS { PJPEG_STRICT = 1, PJPEG_MJPEG = 2 }
 

Functions

pjpeg_tpjpeg_create_from_buffer (uint8_t *buf, int buflen, uint32_t flags, int *error)
 
pjpeg_tpjpeg_create_from_file (const char *path, uint32_t flags, int *error)
 
void pjpeg_destroy (pjpeg_t *pj)
 
image_u8_tpjpeg_to_u8_baseline (pjpeg_t *pj)
 
image_u8x3_tpjpeg_to_u8x3_baseline (pjpeg_t *pj)
 

Typedef Documentation

◆ pjpeg_component_t

Definition at line 37 of file pjpeg.h.

◆ pjpeg_t

typedef struct pjpeg pjpeg_t

Definition at line 63 of file pjpeg.h.

Enumeration Type Documentation

◆ PJPEG_ERROR

Enumerator
PJPEG_OKAY 
PJPEG_ERR_FILE 
PJPEG_ERR_DQT 
PJPEG_ERR_SOF 
PJPEG_ERR_DHT 
PJPEG_ERR_SOS 
PJPEG_ERR_MISSING_DHT 
PJPEG_ERR_DRI 
PJPEG_ERR_RESET 
PJPEG_ERR_EOF 
PJEPG_ERR_UNSUPPORTED 

Definition at line 80 of file pjpeg.h.

◆ PJPEG_FLAGS

Enumerator
PJPEG_STRICT 
PJPEG_MJPEG 

Definition at line 75 of file pjpeg.h.

Function Documentation

◆ pjpeg_create_from_buffer()

pjpeg_t* pjpeg_create_from_buffer ( uint8_t *  buf,
int  buflen,
uint32_t  flags,
int *  error 
)

Definition at line 857 of file pjpeg.c.

◆ pjpeg_create_from_file()

pjpeg_t* pjpeg_create_from_file ( const char *  path,
uint32_t  flags,
int *  error 
)

Definition at line 825 of file pjpeg.c.

◆ pjpeg_destroy()

void pjpeg_destroy ( pjpeg_t pj)

Definition at line 689 of file pjpeg.c.

◆ pjpeg_to_u8_baseline()

image_u8_t* pjpeg_to_u8_baseline ( pjpeg_t pj)

Definition at line 703 of file pjpeg.c.

◆ pjpeg_to_u8x3_baseline()

image_u8x3_t* pjpeg_to_u8x3_baseline ( pjpeg_t pj)

Definition at line 738 of file pjpeg.c.



apriltag
Author(s): Edwin Olson , Max Krogius
autogenerated on Mon Jun 26 2023 02:26:35