Lines Matching refs:index
120 namestr, st->index, opt_name_##name[0], spec[0] ? ":" : "", spec, so->u.type);\
431 av_log(NULL, AV_LOG_FATAL, "Invalid sync file index: %d.\n", sync_file_idx);
470 av_log(NULL, AV_LOG_FATAL, "Invalid input file index: %d.\n", file_idx);
575 av_log(NULL, AV_LOG_FATAL, "mapchan: invalid input file index: %d\n",
581 av_log(NULL, AV_LOG_FATAL, "mapchan: invalid input file stream index #%d.%d\n",
683 * @param index for type c/p, chapter/program index is written here
686 static void parse_meta_type(char *arg, char *type, int *index, const char **stream_spec)
703 *index = strtol(++arg, NULL, 0);
746 #define METADATA_CHECK_INDEX(index, nb_elems, desc)\
747 if ((index) < 0 || (index) >= (nb_elems)) {\
748 av_log(NULL, AV_LOG_FATAL, "Invalid %s index %d while processing metadata maps.\n",\
749 (desc), (index));\
753 #define SET_DICT(type, meta, context, index)\
759 METADATA_CHECK_INDEX(index, context->nb_chapters, "chapter")\
760 meta = &context->chapters[index]->metadata;\
763 METADATA_CHECK_INDEX(index, context->nb_programs, "program")\
764 meta = &context->programs[index]->metadata;\
1127 nb_input_files - 1, st->index);
1134 "in stream #%d:%d.\n", nb_input_files - 1, st->index);
1504 ost->file_index, ost->index, s->oformat->name,
1545 ost->index = idx;
1553 "%d:%d\n", ost->file_index, ost->index);
1608 preset, ost->file_index, ost->index);
1772 "output stream #%d:%d.\n", nb_output_files, st->index);
1794 av_get_media_type_string(type), ost->file_index, ost->index);
1996 parse_and_set_vsync(ost->fps_mode, &ost->vsync_method, ost->file_index, ost->index, 0);
2105 (map->ostream_idx == -1 || ost->st->index == map->ostream_idx)) {
2112 ost->file_index, ost->st->index);
2118 if (!ist || (ist->file_index == map->file_idx && ist->st->index == map->stream_idx)) {
2196 /* arg format is "output-stream-index:streamid-value". */
2208 "Invalid value '%s' for option '%s', required syntax is 'index:value'\n",
2350 "cannot be used together.\n", ost->file_index, ost->index);
2362 opt, ost->file_index, ost->index, opt);
2445 of->index = nb_output_files - 1;
2785 nb_output_files - 1, ost->st->index);
2868 av_log(NULL, AV_LOG_FATAL, "Invalid input file index %d while processing metadata maps\n", in_file_index);
2887 av_log(NULL, AV_LOG_FATAL, "Invalid input file index %d in chapter mapping.\n",
2990 int index = 0, j, ret = 0;
3000 parse_meta_type(o->metadata[i].specifier, &type, &index, &stream_spec);
3025 if (index < 0 || index >= oc->nb_chapters) {
3026 av_log(NULL, AV_LOG_FATAL, "Invalid chapter index %d in metadata specifier.\n", index);
3029 m = &oc->chapters[index]->metadata;
3032 if (index < 0 || index >= oc->nb_programs) {
3033 av_log(NULL, AV_LOG_FATAL, "Invalid program index %d in metadata specifier.\n", index);
3036 m = &oc->programs[index]->metadata;
3407 fg->index = nb_filtergraphs - 1;
3425 fg->index = nb_filtergraphs - 1;
3707 "Indicate the input index for sync reference", "sync ref" },
4035 "set QSV hardware device (DirectX adapter index, DRM path or X11 display name)", "device"},