23 lines
598 B
C
23 lines
598 B
C
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "jpeg_decoder.h"
|
|
|
|
void fatfs_init(void);
|
|
void fs_test(void);
|
|
void read_img(uint8_t *img);
|
|
void fatfs_list_all_filenames(const char *dir_path, bool recursive);
|
|
void fatfs_remove_nullData(const char *dir_path);
|
|
esp_err_t DecodeImg(char *imgpath, uint8_t** imgData, esp_jpeg_image_output_t *outimage);
|
|
void test_readimg(char* imgpath, uint16_t size);
|
|
void fatfs_remove_allData(const char *dir_path);
|
|
bool fats_img_isOK(char* img_path);
|
|
void fat_getAllimgList(const char *dir_path, char** list, uint8_t* num);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|