Search in possible children of the given object first.
The obj passed to av_opt_find() is fake – only a double pointer to AVClass instead of a required pointer to a struct containing AVClass.
This is useful for searching for options without needing to allocate the corresponding object.
Allows av_opt_query_ranges and av_opt_query_ranges_default to return more than one component for certain option types.
Set the values of all AVOption fields to their default values.
Definition at line 1638 of file opt.c.
Referenced by av_bsf_alloc(), av_iamf_audio_element_alloc(), av_iamf_mix_presentation_alloc(), av_iamf_param_definition_alloc(), avcodec_dct_alloc(), avcodec_open2(), avfilter_graph_alloc(), avformat_alloc_context(), avformat_alloc_output_context2(), avformat_open_input(), avformat_stream_group_create(), dnn_load_model_tf(), dnn_load_model_th(), ff_alloc_input_device_context(), ff_cbs_init(), ff_filter_alloc(), ff_framesync_preinit(), get_output_ov(), init_context_defaults(), init_muxer(), main(), swr_alloc(), sws_alloc_context(), url_alloc_for_protocol(), and writer_open().
Set the values of all AVOption fields to their default values.
Only these AVOption fields for which (opt->flags & mask) == flags will have their default applied to s.
Definition at line 1643 of file opt.c.
Referenced by av_opt_set_defaults(), and init_context_defaults().
Free all allocated objects in obj.
Definition at line 1908 of file opt.c.
Referenced by av_bsf_free(), av_iamf_audio_element_free(), av_iamf_mix_presentation_free(), av_write_trailer(), avfilter_free(), avfilter_graph_free(), avformat_free_context(), avio_close(), dnn_free_model_ov(), dnn_free_model_th(), ff_cbs_close(), ff_codec_close(), ff_frame_thread_free(), ff_free_stream_group(), ffurl_closep(), main(), uninit(), and writer_close().
Iterate over all AVOptions belonging to obj.
Definition at line 48 of file opt.c.
Referenced by av_opt_copy(), av_opt_find2(), av_opt_free(), av_opt_serialize(), av_opt_set_defaults2(), bsf_list_append_internal(), ff_filter_opt_parse(), get_opt_const_name(), get_opt_flags_string(), main(), opt_list(), print_option(), print_private_data(), set_string_number(), and show_opts().
Iterate over AVOptions-enabled children of obj.
Definition at line 2001 of file opt.c.
Referenced by av_opt_find2().
Iterate over potential AVOptions-enabled children of parent.
Definition at line 2009 of file opt.c.
Referenced by av_opt_find2(), and show_help_children().
Look for an option in an object.
Consider only options which have all the specified flags set.
Definition at line 1950 of file opt.c.
Referenced by av_opt_flag_is_set(), av_opt_query_ranges_default(), check_opt_bitexact(), filter_codec_opts(), filter_opt_apply(), ifile_open(), ofilter_bind_ost(), opt_find(), set_string_number(), and validate_enc_avopt().
Look for an option in an object.
Consider only options which have all the specified flags set.
Definition at line 1956 of file opt.c.
Referenced by av_opt_find(), av_opt_find2(), av_opt_get(), av_opt_get_chlayout(), av_opt_get_dict_val(), av_opt_get_image_size(), av_opt_is_set_to_default_by_name(), av_opt_ptr(), av_opt_set(), av_opt_set_bin(), av_opt_set_chlayout(), av_opt_set_dict_val(), av_opt_set_image_size(), av_opt_set_video_rate(), ff_filter_process_command(), get_format(), get_number(), set_format(), and set_number().
Show the obj options.
Definition at line 1626 of file opt.c.
Referenced by main(), and show_help_children().
Extract a key-value pair from the beginning of a string.
Definition at line 1834 of file opt.c.
Referenced by av_opt_set_from_string(), ff_filter_opt_parse(), ff_tee_parse_slave_options(), init_report(), and parse_channel_list().