Go to the source code of this file.
|
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 ERR_BAD_TABLES 14 |
#define ERR_BAD_WIDTH_OR_HEIGHT 5 |
#define ERR_DEPTH_MISMATCH 15 |
#define ERR_HEIGHT_MISMATCH 3 |
#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 |
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 |
|
) |
| |