1 /** 2 * @file lv_ffmpeg_private.h 3 * 4 */ 5 6 #ifndef LV_FFMPEG_PRIVATE_H 7 #define LV_FFMPEG_PRIVATE_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 17 #include "lv_ffmpeg.h" 18 #if LV_USE_FFMPEG != 0 19 #include "../../widgets/image/lv_image_private.h" 20 21 /********************* 22 * DEFINES 23 *********************/ 24 25 /********************** 26 * TYPEDEFS 27 **********************/ 28 29 struct _lv_ffmpeg_player_t { 30 lv_image_t img; 31 lv_timer_t * timer; 32 lv_image_dsc_t imgdsc; 33 bool auto_restart; 34 struct ffmpeg_context_s * ffmpeg_ctx; 35 }; 36 37 /********************** 38 * GLOBAL PROTOTYPES 39 **********************/ 40 41 /********************** 42 * MACROS 43 **********************/ 44 45 #endif /*LV_USE_FFMPEG*/ 46 47 #ifdef __cplusplus 48 } /*extern "C"*/ 49 #endif 50 51 #endif /*LV_FFMPEG_PRIVATE_H*/ 52