JPEGデコード
[詳解]
#include "picojpeg.h"
#include "tprintf.h"
#include "file.h"
#include "tkprintf.h"
#include "graphics.h"
#include "dtprintf.h"
[ソースコード]
|
static unsigned char | pjpeg_data_need_bytes_callback (unsigned char *pBuf, unsigned char buf_size, unsigned char *pBytes_actually_read, void *pCallback_data) |
|
static void | draw_pict (short px, short py, void *gbuf) |
|
static void | draw_block (short px, short py) |
|
int | get_jpeg_data_info (unsigned char *jpeg_data, pjpeg_image_info_t *jpeginfo, int reduce) |
|
static unsigned char | pjpeg_file_need_bytes_callback (unsigned char *pBuf, unsigned char buf_size, unsigned char *pBytes_actually_read, void *pCallback_data) |
|
int | get_jpeg_file_info (int fd, pjpeg_image_info_t *jpeginfo, int reduce) |
|
static int | decode_proc_jpeg (void) |
|
int | draw_jpeg (short px, short py) |
|
int | decode_jpeg (void *image) |
|
|
static unsigned char * | jpeg_data_ptr |
|
static int | flg_reduce = 0 |
|
static void * | image_ptr |
|
static int | flg_draw = 0 |
|
static pjpeg_image_info_t * | image_info |
|
static PIXEL_DATA | gbuf [16 *16] |
|
static short | jpx |
|
static short | jpy |
|
static int | jpeg_fd = 0 |
|
JPEGデコード
picojpeg を使用 https://github.com/richgel999/picojpeg
- 日付
- 2017.11.12
- 著者
- Takashi SHUDO
jpegdec.c に定義があります。