Home
last modified time | relevance | path

Searched refs:player (Results 1 – 7 of 7) sorted by relevance

/lvgl-3.7.0/src/extra/libs/ffmpeg/
Dlv_ffmpeg.c151 lv_ffmpeg_player_t * player = (lv_ffmpeg_player_t *)obj; in lv_ffmpeg_player_set_src() local
153 if(player->ffmpeg_ctx) { in lv_ffmpeg_player_set_src()
154 ffmpeg_close(player->ffmpeg_ctx); in lv_ffmpeg_player_set_src()
155 player->ffmpeg_ctx = NULL; in lv_ffmpeg_player_set_src()
158 lv_timer_pause(player->timer); in lv_ffmpeg_player_set_src()
160 player->ffmpeg_ctx = ffmpeg_open_file(path); in lv_ffmpeg_player_set_src()
162 if(!player->ffmpeg_ctx) { in lv_ffmpeg_player_set_src()
167 if(ffmpeg_image_allocate(player->ffmpeg_ctx) < 0) { in lv_ffmpeg_player_set_src()
169 ffmpeg_close(player->ffmpeg_ctx); in lv_ffmpeg_player_set_src()
173 bool has_alpha = player->ffmpeg_ctx->has_alpha; in lv_ffmpeg_player_set_src()
[all …]
/lvgl-3.7.0/examples/libs/ffmpeg/
Dlv_example_ffmpeg_2.c12 lv_obj_t * player = lv_ffmpeg_player_create(lv_scr_act()); in lv_example_ffmpeg_2() local
13 lv_ffmpeg_player_set_src(player, "./lvgl/examples/libs/ffmpeg/birds.mp4"); in lv_example_ffmpeg_2()
14 lv_ffmpeg_player_set_auto_restart(player, true); in lv_example_ffmpeg_2()
15 lv_ffmpeg_player_set_cmd(player, LV_FFMPEG_PLAYER_CMD_START); in lv_example_ffmpeg_2()
16 lv_obj_center(player); in lv_example_ffmpeg_2()
/lvgl-3.7.0/demos/music/
DREADME.md1 # Music player demo
4 The music player demo shows what kind of modern, smartphone-like user interfaces can be created on …
7 ![Music player demo with LVGL embedded GUI library](screenshot1.gif)
Dlv_demo_music_main.c381 lv_obj_t * player = lv_obj_create(main_cont); in create_cont() local
382 lv_obj_set_y(player, - LV_DEMO_MUSIC_HANDLE_SIZE); in create_cont()
384 lv_obj_set_size(player, LV_HOR_RES, 2 * LV_VER_RES + LV_DEMO_MUSIC_HANDLE_SIZE * 2); in create_cont()
386 lv_obj_set_size(player, LV_HOR_RES, LV_VER_RES + LV_DEMO_MUSIC_HANDLE_SIZE * 2); in create_cont()
388 lv_obj_clear_flag(player, LV_OBJ_FLAG_SNAPABLE); in create_cont()
390 lv_obj_set_style_bg_color(player, lv_color_hex(0xffffff), 0); in create_cont()
391 lv_obj_set_style_border_width(player, 0, 0); in create_cont()
392 lv_obj_set_style_pad_all(player, 0, 0); in create_cont()
393 lv_obj_set_scroll_dir(player, LV_DIR_VER); in create_cont()
434 return player; in create_cont()
/lvgl-3.7.0/demos/
DREADME.md29 /*Music player demo*/
70 ### Music player
71 The music player demo shows what kind of modern, smartphone-like user interfaces can be created on …
75 …gl/tree/master/demos/music/screenshot1.gif?raw=true" width=600px alt="Music player demo with LVGL">
/lvgl-3.7.0/docs/libs/
Drlottie.md3 # Lottie player
6 …//github.com/Samsung/rlottie) library's C API. That is the actual Lottie player is not part of LVG…
/lvgl-3.7.0/
DKconfig47 Can be used if the UI is above another layer, e.g. an OSD menu or video player.
1116 bool "Music player demo"