25struct ffmpeg_context_s;
34 struct ffmpeg_context_s * ffmpeg_ctx;
38 LV_FFMPEG_PLAYER_CMD_START,
39 LV_FFMPEG_PLAYER_CMD_STOP,
40 LV_FFMPEG_PLAYER_CMD_PAUSE,
41 LV_FFMPEG_PLAYER_CMD_RESUME,
42 _LV_FFMPEG_PLAYER_CMD_LAST
43} lv_ffmpeg_player_cmd_t;
52void lv_ffmpeg_init(
void);
59int lv_ffmpeg_get_frame_num(
const char * path);
74lv_res_t lv_ffmpeg_player_set_src(
lv_obj_t * obj,
const char * path);
81void lv_ffmpeg_player_set_cmd(
lv_obj_t * obj, lv_ffmpeg_player_cmd_t cmd);
88void lv_ffmpeg_player_set_auto_restart(
lv_obj_t * obj,
bool en);
Definition lv_obj_class.h:49
Definition lv_img_buf.h:141