Lines Matching refs:gif
62 if(gifobj->gif) { in lv_gif_set_src()
64 gd_close_gif(gifobj->gif); in lv_gif_set_src()
65 gifobj->gif = NULL; in lv_gif_set_src()
71 gifobj->gif = gd_open_gif_data(img_dsc->data); in lv_gif_set_src()
74 gifobj->gif = gd_open_gif_file(src); in lv_gif_set_src()
76 if(gifobj->gif == NULL) { in lv_gif_set_src()
81 gifobj->imgdsc.data = gifobj->gif->canvas; in lv_gif_set_src()
84 gifobj->imgdsc.header.h = gifobj->gif->height; in lv_gif_set_src()
85 gifobj->imgdsc.header.w = gifobj->gif->width; in lv_gif_set_src()
100 gd_rewind(gifobj->gif); in lv_gif_restart()
115 gifobj->gif = NULL; in lv_gif_constructor()
125 if(gifobj->gif) in lv_gif_destructor()
126 gd_close_gif(gifobj->gif); in lv_gif_destructor()
135 if(elaps < gifobj->gif->gce.delay * 10) return; in next_frame_task_cb()
139 int has_next = gd_get_frame(gifobj->gif); in next_frame_task_cb()
147 gd_render_frame(gifobj->gif, (uint8_t *)gifobj->imgdsc.data); in next_frame_task_cb()