drv_jpeg.h 351 B

123456789101112131415
  1. #ifndef __DRVJPEG_H__
  2. #define __DRVJPEG_H__
  3. #include <rtthread.h>
  4. #include "hal_data.h"
  5. typedef struct _decode_drv_t
  6. {
  7. void *jpeg_out_buf;
  8. void (*decode_read)(int32_t x, int32_t y, const void *pInBuffer, int32_t xSize, int32_t ySize);
  9. }decode_drv_t;
  10. int JPEG_Draw_frame(decode_drv_t *decode, void *pbuffer, int32_t x0, int32_t y0);
  11. #endif