Home
last modified time | relevance | path

Searched refs:av_dict_set (Results 1 – 25 of 151) sorted by relevance

1234567

/third_party/ffmpeg/libavutil/tests/
Ddict.c62 av_dict_set(&dict, "aaa", "aaa", 0); in main()
63 av_dict_set(&dict, "b,b", "bbb", 0); in main()
64 av_dict_set(&dict, "c=c", "ccc", 0); in main()
65 av_dict_set(&dict, "ddd", "d,d", 0); in main()
66 av_dict_set(&dict, "eee", "e=e", 0); in main()
67 av_dict_set(&dict, "f,f", "f=f", 0); in main()
68 av_dict_set(&dict, "g=g", "g,g", 0); in main()
71 av_dict_set(&dict, "aaa", "aaa", 0); in main()
72 av_dict_set(&dict, "bbb", "bbb", 0); in main()
73 av_dict_set(&dict, "ccc", "ccc", 0); in main()
[all …]
/third_party/ffmpeg/libavformat/tests/
Dmovenc.c392 av_dict_set(&opts, "movflags", "frag_keyframe", 0); in main()
401 av_dict_set(&opts, "movflags", "frag_keyframe", 0); in main()
402 av_dict_set(&opts, "use_editlist", "1", 0); in main()
413 av_dict_set(&opts, "movflags", "frag_keyframe", 0); in main()
414 av_dict_set(&opts, "use_editlist", "0", 0); in main()
423 av_dict_set(&opts, "movflags", "frag_keyframe", 0); in main()
433 av_dict_set(&opts, "movflags", "frag_keyframe+empty_moov", 0); in main()
434 av_dict_set(&opts, "use_editlist", "0", 0); in main()
445 av_dict_set(&opts, "movflags", "frag_keyframe+empty_moov", 0); in main()
457 av_dict_set(&opts, "movflags", "frag_keyframe+empty_moov", 0); in main()
[all …]
Dseek.c85 av_dict_set(&format_opts, argv[i] + 1, argv[i+1], 0); in main()
91 av_dict_set(&format_opts, "channels", "1", 0); in main()
92 av_dict_set(&format_opts, "sample_rate", "22050", 0); in main()
Dfifo_muxer.c224 ret = av_dict_set(&opts, "format_opts", buffer, 0); in run_test()
225 ret1 = av_dict_set(&opts, "fifo_format", "fifo_test", 0); in run_test()
/third_party/ffmpeg/libavformat/
Dicecast.c116 av_dict_set(&opt_dict, "method", s->legacy_icecast ? "SOURCE" : "PUT", 0); in icecast_open()
117 av_dict_set(&opt_dict, "auth_type", "basic", 0); in icecast_open()
118 av_dict_set(&opt_dict, "headers", headers, AV_DICT_DONT_STRDUP_VAL); in icecast_open()
119 av_dict_set(&opt_dict, "chunked_post", "0", 0); in icecast_open()
120 av_dict_set(&opt_dict, "send_expect_100", s->legacy_icecast ? "-1" : "1", 0); in icecast_open()
122 av_dict_set(&opt_dict, "content_type", s->content_type, 0); in icecast_open()
124 av_dict_set(&opt_dict, "content_type", "audio/mpeg", 0); in icecast_open()
126 av_dict_set(&opt_dict, "user_agent", s->user_agent, 0); in icecast_open()
Did3v2.c355 av_dict_set(metadata, key, dst, dict_flags); in read_ttag()
394 av_dict_set(metadata, key, text, in read_uslt()
443 av_dict_set(metadata, key, (const char *) dst, dict_flags); in read_comment()
545 av_dict_set(m, "TYER", NULL, 0); in merge_date()
546 av_dict_set(m, "TYE", NULL, 0); in merge_date()
552 av_dict_set(m, "TDAT", NULL, 0); in merge_date()
553 av_dict_set(m, "TDA", NULL, 0); in merge_date()
560 av_dict_set(m, "TIME", NULL, 0); in merge_date()
561 av_dict_set(m, "TIM", NULL, 0); in merge_date()
565 av_dict_set(m, "date", date, 0); in merge_date()
[all …]
Dlibmodplug.c127 av_dict_set(&s->metadata, #entry_name, "\n", AV_DICT_APPEND); \
128 av_dict_set(&s->metadata, #entry_name, item_name, AV_DICT_APPEND); \
136 av_dict_set(&s->metadata, "extra info", extra, AV_DICT_APPEND); \
154 if (name && *name) av_dict_set(&s->metadata, "name", name, 0); in modplug_load_metadata()
155 if (msg && *msg) av_dict_set(&s->metadata, "message", msg, 0); in modplug_load_metadata()
162 av_dict_set(&s->metadata, "extra info", extra, AV_DICT_DONT_STRDUP_VAL); in modplug_load_metadata()
Did3v1.c249 av_dict_set(&s->metadata, key, str, 0); in get_string()
275 av_dict_set(&s->metadata, "genre", ff_id3v1_genre_str[genre], 0); in parse_tag()
Dsauce.c48 av_dict_set(&avctx->metadata, name, buf, 0); \ in ff_sauce_read()
99 av_dict_set(&avctx->metadata, "comment", str, AV_DICT_DONT_STRDUP_VAL); in ff_sauce_read()
Dlrcenc.c62 av_dict_set(&s->metadata, "ve", AV_STRINGIFY(LIBAVFORMAT_VERSION), 0); in lrc_write_header()
64 av_dict_set(&s->metadata, "ve", NULL, 0); in lrc_write_header()
Dtee.c179 av_dict_set(&options, option, NULL, 0); \ in open_slave()
191 av_dict_set(&bsf_options, entry->key + 4, entry->value, 0); in open_slave()
192 av_dict_set(&options, entry->key, NULL, 0); in open_slave()
216 ret = av_dict_set(&tee_slave->fifo_options, "format_opts", format_options_str, in open_slave()
223 ret = av_dict_set(&tee_slave->fifo_options, "fifo_format", format, in open_slave()
360 av_dict_set(&bsf_options, entry->key, NULL, 0); in open_slave()
Davio.c203 if ((err = av_dict_set(options, "protocol_whitelist", uc->protocol_whitelist, 0)) < 0) in ffurl_connect()
205 if ((err = av_dict_set(options, "protocol_blacklist", uc->protocol_blacklist, 0)) < 0) in ffurl_connect()
215 av_dict_set(options, "protocol_whitelist", NULL, 0); in ffurl_connect()
216 av_dict_set(options, "protocol_blacklist", NULL, 0); in ffurl_connect()
341 if ((ret = av_dict_set(options, "protocol_whitelist", whitelist, 0)) < 0) in ffurl_open_whitelist()
344 if ((ret = av_dict_set(options, "protocol_blacklist", blacklist, 0)) < 0) in ffurl_open_whitelist()
Dwsddec.c92 av_dict_set(&s->metadata, tag, buf, AV_DICT_DONT_STRDUP_VAL); in get_metadata()
124 av_dict_set(&s->metadata, "playback_time", playback_time, 0); in wsd_read_header()
Did3v2enc.c184 av_dict_set(&dst, "TYER", year, 0); in id3v2_3_metadata_split_date()
194 av_dict_set(&dst, "TDAT", day_month, 0); in id3v2_3_metadata_split_date()
197 av_dict_set(&dst, key, value, 0); in id3v2_3_metadata_split_date()
199 av_dict_set(&dst, key, mtag->value, 0); in id3v2_3_metadata_split_date()
Dflac_picture.c180 av_dict_set(&st->metadata, "comment", ff_id3v2_picture_types[type], 0); in ff_flac_parse_picture()
182 av_dict_set(&st->metadata, "title", desc, AV_DICT_DONT_STRDUP_VAL); in ff_flac_parse_picture()
/third_party/ffmpeg/libavfilter/
Daf_resample.c60 av_dict_set(&s->options, e->key, e->value, 0); in init()
65 av_dict_set(opts, e->key, NULL, 0); in init()
68 av_dict_set(&s->options, "in_channel_layout", NULL, 0); in init()
69 av_dict_set(&s->options, "out_channel_layout", NULL, 0); in init()
70 av_dict_set(&s->options, "in_sample_fmt", NULL, 0); in init()
71 av_dict_set(&s->options, "out_sample_fmt", NULL, 0); in init()
72 av_dict_set(&s->options, "in_sample_rate", NULL, 0); in init()
73 av_dict_set(&s->options, "out_sample_rate", NULL, 0); in init()
Dvf_photosensitivity.c290 av_dict_set(metadata, "lavfi.photosensitivity.badness", value, 0); in filter_frame()
293 av_dict_set(metadata, "lavfi.photosensitivity.fixed-badness", value, 0); in filter_frame()
296 av_dict_set(metadata, "lavfi.photosensitivity.frame-badness", value, 0); in filter_frame()
299 av_dict_set(metadata, "lavfi.photosensitivity.factor", value, 0); in filter_frame()
Dvf_ocr.c108 av_dict_set(metadata, "lavfi.ocr.text", result, 0); in filter_frame()
113 av_dict_set(metadata, "lavfi.ocr.confidence", number, AV_DICT_APPEND); in filter_frame()
Dvf_mcdeint.c134 av_dict_set(&opts, "memc_only", "1", 0); in config_props()
135 av_dict_set(&opts, "no_bitstream", "1", 0); in config_props()
141 av_dict_set(&opts, "motion_est", "iter", 0); in config_props()
Dvf_idet.c74 return av_dict_set(pm, key, valuestr, flags); in av_dict_set_fxp()
216 av_dict_set (metadata, "lavfi.idet.repeated.current_frame", rep2str(repeat), 0); in filter()
221 av_dict_set (metadata, "lavfi.idet.single.current_frame", type2str(type), 0); in filter()
227 av_dict_set (metadata, "lavfi.idet.multiple.current_frame", type2str(idet->last_type), 0); in filter()
/third_party/ffmpeg/libavcodec/
Dtiff_common.c110 av_dict_set(metadata, name, ap, AV_DICT_DONT_STRDUP_VAL); in ff_tadd_rational_metadata()
141 av_dict_set(metadata, name, ap, AV_DICT_DONT_STRDUP_VAL); in ff_tadd_long_metadata()
172 av_dict_set(metadata, name, ap, AV_DICT_DONT_STRDUP_VAL); in ff_tadd_doubles_metadata()
204 av_dict_set(metadata, name, ap, AV_DICT_DONT_STRDUP_VAL); in ff_tadd_shorts_metadata()
236 av_dict_set(metadata, name, ap, AV_DICT_DONT_STRDUP_VAL); in ff_tadd_bytes_metadata()
256 av_dict_set(metadata, name, value, AV_DICT_DONT_STRDUP_VAL); in ff_tadd_string_metadata()
/third_party/ffmpeg/libavutil/
Ddict.c70 int av_dict_set(AVDictionary **pm, const char *key, const char *value, in av_dict_set() function
153 return av_dict_set(pm, key, valuestr, flags); in av_dict_set_int()
170 ret = av_dict_set(pm, key, val, flags); in parse_key_value_pair()
222 int ret = av_dict_set(dst, t->key, t->value, flags); in av_dict_copy()
268 return av_dict_set(dict, key, buf, 0); in avpriv_dict_set_timestamp()
/third_party/ffmpeg/tools/
Dvenc_data_dump.c129 ret = av_dict_set(&opts, "threads", nb_threads, 0); in main()
130 ret |= av_dict_set(&opts, "thread_type", thread_type, 0); in main()
131 ret |= av_dict_set(&opts, "export_side_data", "venc_params", 0); in main()
/third_party/ffmpeg/tests/ref/fate/
Ddict32 Testing av_dict_set()
48 Testing av_dict_set() with existing AVDictionaryEntry.key as key
/third_party/ffmpeg/fftools/
Dffmpeg_opt.c261 av_dict_set(&ret, e->key, e->value, 0); in strip_specifiers()
1135 av_dict_set(&o->g->format_opts, "framerate", in open_input_file()
1140av_dict_set(&o->g->format_opts, "video_size", o->frame_sizes[o->nb_frame_sizes - 1].u.str, 0); in open_input_file()
1143av_dict_set(&o->g->format_opts, "pixel_format", o->frame_pix_fmts[o->nb_frame_pix_fmts - 1].u.str,… in open_input_file()
1170 av_dict_set(&o->g->format_opts, "scan_all_pmts", "1", AV_DICT_DONT_OVERWRITE); in open_input_file()
1182 av_dict_set(&o->g->format_opts, "scan_all_pmts", NULL, AV_DICT_MATCH_CASE); in open_input_file()
1296 av_dict_set(&unused_opts, e->key, NULL, 0); in open_input_file()
1494 av_dict_set(&ost->encoder_opts, buf, arg, AV_DICT_DONT_OVERWRITE); in new_output_stream()
1591 av_dict_set(&ost->swr_opts, "output_sample_bits", "24", 0); in new_output_stream()
1831 av_dict_set(&ost->encoder_opts, "flags", "+pass1", AV_DICT_APPEND); in new_video_stream()
[all …]

1234567