Lines Matching full:path
76 static struct ffmpeg_context_s * ffmpeg_open_file(const char * path);
81 static int ffmpeg_get_img_header(const char * path, lv_img_header_t * header);
126 int lv_ffmpeg_get_frame_num(const char * path) in lv_ffmpeg_get_frame_num() argument
129 struct ffmpeg_context_s * ffmpeg_ctx = ffmpeg_open_file(path); in lv_ffmpeg_get_frame_num()
146 lv_res_t lv_ffmpeg_player_set_src(lv_obj_t * obj, const char * path) in lv_ffmpeg_player_set_src() argument
160 player->ffmpeg_ctx = ffmpeg_open_file(path); in lv_ffmpeg_player_set_src()
163 LV_LOG_ERROR("ffmpeg file open failed: %s", path); in lv_ffmpeg_player_set_src()
284 const char * path = dsc->src; in decoder_open() local
286 struct ffmpeg_context_s * ffmpeg_ctx = ffmpeg_open_file(path); in decoder_open()
671 struct ffmpeg_context_s * ffmpeg_open_file(const char * path) in ffmpeg_open_file() argument
673 if(path == NULL || strlen(path) == 0) { in ffmpeg_open_file()
674 LV_LOG_ERROR("file path is empty"); in ffmpeg_open_file()
687 if(avformat_open_input(&(ffmpeg_ctx->fmt_ctx), path, NULL, NULL) < 0) { in ffmpeg_open_file()
688 LV_LOG_ERROR("Could not open source file %s", path); in ffmpeg_open_file()
713 av_dump_format(ffmpeg_ctx->fmt_ctx, 0, path, 0); in ffmpeg_open_file()