Files
player/Project/Src/JPEG/picdeco.h

58 lines
440 B
C
Raw Normal View History

2025-06-27 00:32:57 +08:00
#ifndef __PICLIB_H
#define __PICLIB_H
#include "base.h"
#include "ff.h"
#include "tjpgd.h"
#define JPEG_BufferSize 4096
typedef struct
{
int x_size;
int y_size;
u16 *buff;
}BITMAP_Struct;
u8 JPEG_Show(const u8 *filename,u16 x,u16 y);
u8 JPEG_Decode(const u8 *filename,BITMAP_Struct *bitmap);
2025-07-05 19:47:28 +08:00
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6B4A2>ram<61>е<EFBFBD>jpeg<65><67><EFBFBD><EFBFBD>
2025-06-27 00:32:57 +08:00
u8 JPEG_Decode_Ram(u8 *data,u32 size,BITMAP_Struct *bitmap);
#endif