summaryrefslogtreecommitdiff
path: root/drivers/video/wmt/bootanimation/animation.h
blob: e63686ec9a8e8583c38cefa7f37da1733066fcb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _BOOTANIMATION_H_
#define _BOOTANIMATION_H_


struct animation_fb_info {
    unsigned char * addr;    // frame buffer start address
    unsigned int width;      // width
    unsigned int height;     // height
    unsigned int color_fmt;  // color format,  0 -- rgb565, 1 -- rgb888
};

int animation_start(struct animation_fb_info *info);
int animation_stop(void);

#endif