#include "avcodec.h"
#include "opt.h"
#include "eval.h"
Go to the source code of this file.
Functions | |
| const AVOption * | av_find_opt (void *v, const char *name, const char *unit, int mask, int flags) |
| const AVOption * | av_next_option (void *obj, const AVOption *last) |
| static const AVOption * | av_set_number (void *obj, const char *name, double num, int den, int64_t intnum) |
| static const AVOption * | set_all_opt (void *v, const char *unit, double d) |
| static int | hexchar2int (char c) |
| const AVOption * | av_set_string (void *obj, const char *name, const char *val) |
| const AVOption * | av_set_double (void *obj, const char *name, double n) |
| const AVOption * | av_set_q (void *obj, const char *name, AVRational n) |
| const AVOption * | av_set_int (void *obj, const char *name, int64_t n) |
| const char * | av_get_string (void *obj, const char *name, const AVOption **o_out, char *buf, int buf_len) |
| static int | av_get_number (void *obj, const char *name, const AVOption **o_out, double *num, int *den, int64_t *intnum) |
| double | av_get_double (void *obj, const char *name, const AVOption **o_out) |
| AVRational | av_get_q (void *obj, const char *name, const AVOption **o_out) |
| int64_t | av_get_int (void *obj, const char *name, const AVOption **o_out) |
| static void | opt_list (void *obj, void *av_log_obj, const char *unit) |
| int | av_opt_show (void *obj, void *av_log_obj) |
| void | av_opt_set_defaults2 (void *s, int mask, int flags) |
| Set the values of the AVCodecContext or AVFormatContext structure. | |
| void | av_opt_set_defaults (void *s) |
Variables | |
| static double | const_values [] |
| static const char * | const_names [] |
Definition in file opt.c.
| const AVOption* av_find_opt | ( | void * | v, | |
| const char * | name, | |||
| const char * | unit, | |||
| int | mask, | |||
| int | flags | |||
| ) |
Definition at line 33 of file opt.c.
Referenced by av_get_number(), av_get_string(), av_set_number(), av_set_string(), and opt_default().
| double av_get_double | ( | void * | obj, | |
| const char * | name, | |||
| const AVOption ** | o_out | |||
| ) |
| int64_t av_get_int | ( | void * | obj, | |
| const char * | name, | |||
| const AVOption ** | o_out | |||
| ) |
Definition at line 292 of file opt.c.
Referenced by av_encode(), av_set_string(), opt_bitrate(), and set_all_opt().
| static int av_get_number | ( | void * | obj, | |
| const char * | name, | |||
| const AVOption ** | o_out, | |||
| double * | num, | |||
| int * | den, | |||
| int64_t * | intnum | |||
| ) | [static] |
| AVRational av_get_q | ( | void * | obj, | |
| const char * | name, | |||
| const AVOption ** | o_out | |||
| ) |
| const char* av_get_string | ( | void * | obj, | |
| const char * | name, | |||
| const AVOption ** | o_out, | |||
| char * | buf, | |||
| int | buf_len | |||
| ) |
| buf | a buffer which is used for returning non string values as strings, can be NULL | |
| buf_len | allocated length in bytes of buf |
Definition at line 214 of file opt.c.
Referenced by new_audio_stream(), new_subtitle_stream(), new_video_stream(), opt_input_file(), and opt_output_file().
| void av_opt_set_defaults | ( | void * | s | ) |
| void av_opt_set_defaults2 | ( | void * | s, | |
| int | mask, | |||
| int | flags | |||
| ) |
Set the values of the AVCodecContext or AVFormatContext structure.
They are set to the defaults specified in the according AVOption options array default_val field.
| s | AVCodecContext or AVFormatContext for which the defaults will be set |
Definition at line 387 of file opt.c.
Referenced by av_opt_set_defaults(), and avcodec_get_context_defaults2().
| int av_opt_show | ( | void * | obj, | |
| void * | av_log_obj | |||
| ) |
| const AVOption* av_set_double | ( | void * | obj, | |
| const char * | name, | |||
| double | n | |||
| ) |
| const AVOption* av_set_int | ( | void * | obj, | |
| const char * | name, | |||
| int64_t | n | |||
| ) |
| static const AVOption* av_set_number | ( | void * | obj, | |
| const char * | name, | |||
| double | num, | |||
| int | den, | |||
| int64_t | intnum | |||
| ) | [static] |
Definition at line 50 of file opt.c.
Referenced by av_set_double(), av_set_int(), av_set_q(), av_set_string(), and set_all_opt().
| const AVOption* av_set_q | ( | void * | obj, | |
| const char * | name, | |||
| AVRational | n | |||
| ) |
| const AVOption* av_set_string | ( | void * | obj, | |
| const char * | name, | |||
| const char * | val | |||
| ) |
Definition at line 118 of file opt.c.
Referenced by new_audio_stream(), new_subtitle_stream(), new_video_stream(), opt_default(), opt_input_file(), and opt_output_file().
| static int hexchar2int | ( | char | c | ) | [static] |
| static void opt_list | ( | void * | obj, | |
| void * | av_log_obj, | |||
| const char * | unit | |||
| ) | [static] |
| static const AVOption* set_all_opt | ( | void * | v, | |
| const char * | unit, | |||
| double | d | |||
| ) | [static] |
const char* const_names[] [static] |
Initial value:
{
"PI",
"E",
"QP2LAMBDA",
0
}
Definition at line 104 of file opt.c.
Referenced by av_set_string(), Configure(), and ff_rate_control_init().
double const_values[] [static] |
Initial value:
{
M_PI,
M_E,
FF_QP2LAMBDA,
0
}
Definition at line 97 of file opt.c.
Referenced by av_set_string(), get_qscale(), and Process().
1.5.6