int fd_event0 = 0;
char video_path[100]="/root/smart_home/video_file/1.avi";
char audio_path[100]="/root/smart_home/audio_file/1.mp3";
int flag=0;
int open_touch_screen(void);
int close_touch_screen(void);
int read_touch_screen_information(int *x, int *y);
int S5P6818_bmp_24_800_480(const char *path);
int picture_system(void);
int main_system(void);
int pic_circular_spread_right(char *pathname);
int video_system(void);
int audio_system(void);
int play(char *mp3path, int select);
int stop(int select);
int cont(int select);
int quit(int select);
int next(int select);
int last(int select);
int back(void);
int main(int argc, char *argv[])
{
main_system();
return 0;
}
int main_system(void)
{
int get_x=0, get_y=0;
char bmp_path[100]="/root/smart_home/images/jiemian.bmp";
S5P6818_bmp_24_800_480(bmp_path);
int video_system(void)
{
int ts_x, ts_y;
int get_x=0, get_y=0;
char bmp_path[100]="/root/smart_home/images/video.bmp";
S5P6818_bmp_24_800_480(bmp_path);
int audio_system(void)
{
int ts_x, ts_y;
int get_x=0, get_y=0;
char bmp_path[100]="/root/smart_home/images/music.bmp";
S5P6818_bmp_24_800_480(bmp_path);