rt-thread-official/bsp/renesas/ra6m3-hmi-board/board/ports/drv_jpeg.h

19 lines
442 B
C

#ifndef __DRVJPEG_H__
#define __DRVJPEG_H__
#include <rtthread.h>
#include "hal_data.h"
#define DCODE_BUFFER_SIZE (30 * 1024)
#define JPEG_TIMEOUT (100)
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