16 lines
351 B
C
16 lines
351 B
C
#ifndef __DRVJPEG_H__
|
|
#define __DRVJPEG_H__
|
|
|
|
#include <rtthread.h>
|
|
#include "hal_data.h"
|
|
|
|
typedef struct _decode_drv_t
|
|
{
|
|
void *jpeg_out_buf;
|
|
void (*decode_read)(int32_t x, int32_t y, const void *pInBuffer, int32_t xSize, int32_t ySize);
|
|
}decode_drv_t;
|
|
|
|
int JPEG_Draw_frame(decode_drv_t *decode, void *pbuffer, int32_t x0, int32_t y0);
|
|
|
|
#endif
|