Lines Matching defs:char

65 static const char *const opt_name_codec_names[]               = {"c", "codec", "acodec", "vcodec", "scodec", "dcodec", NULL};
66 static const char *const opt_name_audio_channels[] = {"ac", NULL};
67 static const char *const opt_name_audio_ch_layouts[] = {"channel_layout", "ch_layout", NULL};
68 static const char *const opt_name_audio_sample_rate[] = {"ar", NULL};
69 static const char *const opt_name_frame_rates[] = {"r", NULL};
70 static const char *const opt_name_max_frame_rates[] = {"fpsmax", NULL};
71 static const char *const opt_name_frame_sizes[] = {"s", NULL};
72 static const char *const opt_name_frame_pix_fmts[] = {"pix_fmt", NULL};
73 static const char *const opt_name_ts_scale[] = {"itsscale", NULL};
74 static const char *const opt_name_hwaccels[] = {"hwaccel", NULL};
75 static const char *const opt_name_hwaccel_devices[] = {"hwaccel_device", NULL};
76 static const char *const opt_name_hwaccel_output_formats[] = {"hwaccel_output_format", NULL};
77 static const char *const opt_name_autorotate[] = {"autorotate", NULL};
78 static const char *const opt_name_autoscale[] = {"autoscale", NULL};
79 static const char *const opt_name_max_frames[] = {"frames", "aframes", "vframes", "dframes", NULL};
80 static const char *const opt_name_bitstream_filters[] = {"bsf", "absf", "vbsf", NULL};
81 static const char *const opt_name_codec_tags[] = {"tag", "atag", "vtag", "stag", NULL};
82 static const char *const opt_name_sample_fmts[] = {"sample_fmt", NULL};
83 static const char *const opt_name_qscale[] = {"q", "qscale", NULL};
84 static const char *const opt_name_forced_key_frames[] = {"forced_key_frames", NULL};
85 static const char *const opt_name_fps_mode[] = {"fps_mode", NULL};
86 static const char *const opt_name_force_fps[] = {"force_fps", NULL};
87 static const char *const opt_name_frame_aspect_ratios[] = {"aspect", NULL};
88 static const char *const opt_name_rc_overrides[] = {"rc_override", NULL};
89 static const char *const opt_name_intra_matrices[] = {"intra_matrix", NULL};
90 static const char *const opt_name_inter_matrices[] = {"inter_matrix", NULL};
91 static const char *const opt_name_chroma_intra_matrices[] = {"chroma_intra_matrix", NULL};
92 static const char *const opt_name_top_field_first[] = {"top", NULL};
93 static const char *const opt_name_presets[] = {"pre", "apre", "vpre", "spre", NULL};
94 static const char *const opt_name_copy_initial_nonkeyframes[] = {"copyinkf", NULL};
95 static const char *const opt_name_copy_prior_start[] = {"copypriorss", NULL};
96 static const char *const opt_name_filters[] = {"filter", "af", "vf", NULL};
97 static const char *const opt_name_filter_scripts[] = {"filter_script", NULL};
98 static const char *const opt_name_reinit_filters[] = {"reinit_filter", NULL};
99 static const char *const opt_name_fix_sub_duration[] = {"fix_sub_duration", NULL};
100 static const char *const opt_name_canvas_sizes[] = {"canvas_size", NULL};
101 static const char *const opt_name_pass[] = {"pass", NULL};
102 static const char *const opt_name_passlogfiles[] = {"passlogfile", NULL};
103 static const char *const opt_name_max_muxing_queue_size[] = {"max_muxing_queue_size", NULL};
104 static const char *const opt_name_muxing_queue_data_threshold[] = {"muxing_queue_data_threshold", NULL};
105 static const char *const opt_name_guess_layout_max[] = {"guess_layout_max", NULL};
106 static const char *const opt_name_apad[] = {"apad", NULL};
107 static const char *const opt_name_discard[] = {"discard", NULL};
108 static const char *const opt_name_disposition[] = {"disposition", NULL};
109 static const char *const opt_name_time_bases[] = {"time_base", NULL};
110 static const char *const opt_name_enc_time_bases[] = {"enc_time_base", NULL};
111 static const char *const opt_name_bits_per_raw_sample[] = {"bits_per_raw_sample", NULL};
115 char namestr[128] = "";\
116 const char *spec = so->specifier && so->specifier[0] ? so->specifier : "";\
128 char *spec = o->name[i].specifier;\
144 char *spec = o->name[i].specifier;\
152 char *vstats_filename;
153 char *sdp_filename;
177 char *filter_nbthreads;
241 static int show_hwaccels(void *optctx, const char *opt, const char *arg)
260 char *p = strchr(e->key, ':');
271 static int parse_and_set_vsync(const char *arg, int *vsync_var, int file_idx, int st_idx, int is_global)
343 static int opt_filter_threads(void *optctx, const char *opt, const char *arg)
350 static int opt_abort_on(void *optctx, const char *opt, const char *arg)
369 static int opt_stats_period(void *optctx, const char *opt, const char *arg)
384 static int opt_audio_codec(void *optctx, const char *opt, const char *arg)
390 static int opt_video_codec(void *optctx, const char *opt, const char *arg)
396 static int opt_subtitle_codec(void *optctx, const char *opt, const char *arg)
402 static int opt_data_codec(void *optctx, const char *opt, const char *arg)
408 static int opt_map(void *optctx, const char *opt, const char *arg)
414 char *p, *sync;
415 char *map;
416 char *allow_unused;
457 const char *c = map + 1;
526 static int opt_attach(void *optctx, const char *opt, const char *arg)
534 static int opt_map_channel(void *optctx, const char *opt, const char *arg)
540 char *allow_unused;
541 char *mapchan;
611 static int opt_sdp_file(void *optctx, const char *opt, const char *arg)
619 static int opt_vaapi_device(void *optctx, const char *opt, const char *arg)
621 const char *prefix = "vaapi:";
622 char *tmp;
634 static int opt_qsv_device(void *optctx, const char *opt, const char *arg)
636 const char *prefix = "qsv=__qsv_device:hw_any,child_device=";
638 char *tmp = av_asprintf("%s%s", prefix, arg);
650 static int opt_init_hw_device(void *optctx, const char *opt, const char *arg)
665 static int opt_filter_hw_device(void *optctx, const char *opt, const char *arg)
686 static void parse_meta_type(char *arg, char *type, int *index, const char **stream_spec)
713 static int copy_metadata(char *outspec, char *inspec, AVFormatContext *oc, AVFormatContext *ic, OptionsContext *o)
718 char type_in, type_out;
719 const char *istream_spec = NULL, *ostream_spec = NULL;
803 static int opt_recording_timestamp(void *optctx, const char *opt, const char *arg)
806 char buf[128];
818 static const AVCodec *find_codec_or_die(const char *name, enum AVMediaType type, int encoder)
821 const char *codec_string = encoder ? "encoder" : "decoder";
849 char *codec_name = NULL;
872 char *framerate = NULL, *hwaccel_device = NULL;
873 const char *hwaccel = NULL;
874 char *hwaccel_output_format = NULL;
875 char *codec_tag = NULL;
876 char *next;
877 char *discard_str = NULL;
1049 char *canvas_size = NULL;
1076 static void assert_file_overwrite(const char *filename)
1078 const char *proto_name = avio_find_protocol_name(filename);
1119 static void dump_attachment(AVStream *st, const char *filename)
1151 static int open_input_file(OptionsContext *o, const char *filename)
1160 char * video_codec_name = NULL;
1161 char * audio_codec_name = NULL;
1162 char *subtitle_codec_name = NULL;
1163 char * data_codec_name = NULL;
1208 char buf[32];
1445 static char *get_line(AVIOContext *s, AVBPrint *bprint)
1447 char c;
1459 static int get_preset_file_2(const char *preset_name, const char *codec_name, AVIOContext **s)
1462 char filename[1000];
1463 char *env_avconv_datadir = getenv_utf8("AVCONV_DATADIR");
1464 char *env_home = getenv_utf8("HOME");
1465 const char *base[3] = { env_avconv_datadir,
1492 char *codec_name = NULL;
1529 const char *bsfs = NULL, *time_base = NULL;
1530 char *next, *codec_tag = NULL;
1580 char *buf = NULL, *arg = NULL, *preset = NULL;
1644 char *p = o->max_frames[i].specifier;
1722 static void parse_matrix_coeffs(uint16_t *dest, const char *str)
1725 const char *p = str;
1740 static char *read_file(const char *filename)
1745 char *str;
1765 static char *get_ost_filters(OptionsContext *o, AVFormatContext *oc,
1804 char *frame_rate = NULL, *max_frame_rate = NULL, *frame_aspect_ratio = NULL;
1846 const char *p = NULL;
1847 char *frame_size = NULL;
1848 char *frame_pix_fmt = NULL;
1849 char *intra_matrix = NULL, *inter_matrix = NULL;
1850 char *chroma_intra_matrix = NULL;
1951 char logfilename[1024];
1962 char *logbuffer = read_file(logfilename);
2055 char *layout = NULL;
2056 char *sample_fmt = NULL;
2184 char *frame_size = NULL;
2197 static int opt_streamid(void *optctx, const char *opt, const char *arg)
2201 char *p;
2202 char idx_str[16];
2355 const char *opt = ost->filters ? "-vf/-af/-filter" : "-filter_script";
2418 static int open_output_file(OptionsContext *o, const char *filename)
2492 char *subtitle_codec_name = NULL;
2688 const char *p;
2864 char *p;
2921 const char *p = o->program[i].u.str;
2926 const char *p2 = av_get_token(&p, ":");
2927 const char *to_dealloc = p2;
2928 char *key;
2952 const char *p2 = av_get_token(&p, ":");
2953 const char *to_dealloc = p2;
2954 char *key;
2988 char type, *val;
2989 const char *stream_spec;
3006 char *tail;
3055 static int opt_target(void *optctx, const char *opt, const char *arg)
3059 static const char *const frame_rates[] = { "25", "30000/1001", "24000/1001" };
3198 static int opt_vstats_file(void *optctx, const char *opt, const char *arg)
3205 static int opt_vstats(void *optctx, const char *opt, const char *arg)
3207 char filename[40];
3221 static int opt_video_frames(void *optctx, const char *opt, const char *arg)
3227 static int opt_audio_frames(void *optctx, const char *opt, const char *arg)
3233 static int opt_data_frames(void *optctx, const char *opt, const char *arg)
3239 static int opt_default_new(OptionsContext *o, const char *opt, const char *arg)
3259 static int opt_preset(void *optctx, const char *opt, const char *arg)
3263 char filename[1000], line[1000], tmp_line[1000];
3264 const char *codec_name = NULL;
3279 char *key = tmp_line, *value, *endptr;
3307 static int opt_old2new(void *optctx, const char *opt, const char *arg)
3311 char *s = av_asprintf("%s:%c", opt + 1, *opt);
3319 static int opt_bitrate(void *optctx, const char *opt, const char *arg)
3335 static int opt_qscale(void *optctx, const char *opt, const char *arg)
3338 char *s;
3352 static int opt_profile(void *optctx, const char *opt, const char *arg)
3364 static int opt_video_filters(void *optctx, const char *opt, const char *arg)
3370 static int opt_audio_filters(void *optctx, const char *opt, const char *arg)
3376 static int opt_vsync(void *optctx, const char *opt, const char *arg)
3383 static int opt_timecode(void *optctx, const char *opt, const char *arg)
3387 char *tcr = av_asprintf("timecode=%s", arg);
3397 static int opt_audio_qscale(void *optctx, const char *opt, const char *arg)
3403 static int opt_filter_complex(void *optctx, const char *opt, const char *arg)
3417 static int opt_filter_complex_script(void *optctx, const char *opt, const char *arg)
3420 char *graph_desc = read_file(arg);
3433 void show_help_default(const char *opt, const char *arg)
3522 static int open_files(OptionGroupList *l, const char *inout,
3523 int (*open_file)(OptionsContext*, const char*))
3556 int ffmpeg_parse_options(int argc, char **argv)
3616 static int opt_progress(void *optctx, const char *opt, const char *arg)
3633 int opt_timelimit(void *optctx, const char *opt, const char *arg)