Defines | Functions
utils.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ERR_BAD_TABLES   14
#define ERR_BAD_WIDTH_OR_HEIGHT   5
#define ERR_DEPTH_MISMATCH   15
#define ERR_HEIGHT_MISMATCH   3
#define ERR_ILLEGAL_HV   7
#define ERR_NO_EOI   13
#define ERR_NO_SOI   1
#define ERR_NOT_8BIT   2
#define ERR_NOT_SEQUENTIAL_DCT   11
#define ERR_NOT_YCBCR_221111   9
#define ERR_QUANT_TABLE_SELECTOR   8
#define ERR_TOO_MANY_COMPPS   6
#define ERR_UNKNOWN_CID_IN_SCAN   10
#define ERR_WIDTH_MISMATCH   4
#define ERR_WRONG_MARKER   12

Functions

int get_picture (unsigned char *buf, int size)
int get_pictureYV2 (unsigned char *buf, int width, int height)
int jpeg_decode (unsigned char **pic, unsigned char *buf, int *width, int *height)

Define Documentation

#define ERR_BAD_TABLES   14

Definition at line 37 of file utils.h.

#define ERR_BAD_WIDTH_OR_HEIGHT   5

Definition at line 28 of file utils.h.

#define ERR_DEPTH_MISMATCH   15

Definition at line 38 of file utils.h.

#define ERR_HEIGHT_MISMATCH   3

Definition at line 26 of file utils.h.

#define ERR_ILLEGAL_HV   7

Definition at line 30 of file utils.h.

#define ERR_NO_EOI   13

Definition at line 36 of file utils.h.

#define ERR_NO_SOI   1

Definition at line 24 of file utils.h.

#define ERR_NOT_8BIT   2

Definition at line 25 of file utils.h.

#define ERR_NOT_SEQUENTIAL_DCT   11

Definition at line 34 of file utils.h.

#define ERR_NOT_YCBCR_221111   9

Definition at line 32 of file utils.h.

#define ERR_QUANT_TABLE_SELECTOR   8

Definition at line 31 of file utils.h.

#define ERR_TOO_MANY_COMPPS   6

Definition at line 29 of file utils.h.

#define ERR_UNKNOWN_CID_IN_SCAN   10

Definition at line 33 of file utils.h.

#define ERR_WIDTH_MISMATCH   4

Definition at line 27 of file utils.h.

#define ERR_WRONG_MARKER   12

Definition at line 35 of file utils.h.


Function Documentation

int get_picture ( unsigned char *  buf,
int  size 
)

Definition at line 1254 of file utils.c.

int get_pictureYV2 ( unsigned char *  buf,
int  width,
int  height 
)

Definition at line 1285 of file utils.c.

int jpeg_decode ( unsigned char **  pic,
unsigned char *  buf,
int *  width,
int *  height 
)

Definition at line 282 of file utils.c.



v4r_uvc
Author(s):
autogenerated on Wed Aug 26 2015 16:41:35