Lines Matching refs:path
84 static int is_glob(const char *path)
88 const char *p = path;
106 * Get index range of image files matched by path.
110 * @param path path which has to be matched by the image files in the range
115 const char *path, int start_index, int start_index_range)
122 if (av_get_frame_filename(buf, sizeof(buf), path, first_index) < 0) {
144 if (av_get_frame_filename(buf, sizeof(buf), path,
207 av_strlcpy(s->path, s1->url, sizeof(s->path));
246 s->use_glob = is_glob(s->path);
249 char *p = s->path, *q, *dup;
259 if ((p - s->path) >= (sizeof(s->path) - 2))
270 gerr = glob(s->path, GLOB_NOCHECK|GLOB_BRACE|GLOB_NOMAGIC, NULL, &s->globstate);
280 if (find_image_range(s1->pb, &first_index, &last_index, s->path,
283 "Could find no file with path '%s' and index in the range %d-%d\n",
284 s->path, s->start_number, s->start_number + s->start_number_range - 1);
290 gerr = glob(s->path, GLOB_NOCHECK|GLOB_BRACE|GLOB_NOMAGIC, NULL, &s->globstate);
328 const char *str = strrchr(s->path, '.');
370 st->codecpar->codec_id = ff_guess_image2_codec(s->path);
384 * Add this frame's source path and basename to packet's sidedata
427 av_strlcpy(filename_bytes, s->path, sizeof(filename_bytes));
434 s->path,
440 !strcmp(filename_bytes, s->path) &&
523 * command line options for path metadata to be exported
631 { "export_path_metadata", "enable metadata containing input path information", OFFSET(export_path_metadata), AV_OPT_TYPE_BOOL, {.i64 = 0 }, 0, 1, DEC }, \