FFmpeg
|
#include <float.h>
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/avstring.h"
#include "libavutil/pixdesc.h"
#include "libavutil/avassert.h"
#include "libavformat/ffm.h"
#include "cmdutils.h"
#include "ffserver_config.h"
Go to the source code of this file.
Macros | |
#define | MAX_CHILD_ARGS 64 |
#define | ERROR(...) |
#define | WARNING(...) |
Functions | |
static int | ffserver_save_avoption (const char *opt, const char *arg, int type, FFServerConfig *config) |
static void | vreport_config_error (const char *filename, int line_num, int log_level, int *errors, const char *fmt, va_list vl) |
static void | report_config_error (const char *filename, int line_num, int log_level, int *errors, const char *fmt,...) |
static int | resolve_host (struct in_addr *sin_addr, const char *hostname) |
void | ffserver_get_arg (char *buf, int buf_size, const char **pp) |
void | ffserver_parse_acl_row (FFServerStream *stream, FFServerStream *feed, FFServerIPAddressACL *ext_acl, const char *p, const char *filename, int line_num) |
static void | add_codec (FFServerStream *stream, AVCodecContext *av, FFServerConfig *config) |
static int | ffserver_set_codec (AVCodecContext *ctx, const char *codec_name, FFServerConfig *config) |
static int | ffserver_opt_preset (const char *arg, int type, FFServerConfig *config) |
static AVOutputFormat * | ffserver_guess_format (const char *short_name, const char *filename, const char *mime_type) |
static int | ffserver_set_int_param (int *dest, const char *value, int factor, int min, int max, FFServerConfig *config, const char *error_msg,...) |
static int | ffserver_set_float_param (float *dest, const char *value, float factor, float min, float max, FFServerConfig *config, const char *error_msg,...) |
static int | ffserver_save_avoption_int (const char *opt, int64_t arg, int type, FFServerConfig *config) |
static int | ffserver_parse_config_global (FFServerConfig *config, const char *cmd, const char **p) |
static int | ffserver_parse_config_feed (FFServerConfig *config, const char *cmd, const char **p, FFServerStream **pfeed) |
static int | ffserver_parse_config_stream (FFServerConfig *config, const char *cmd, const char **p, FFServerStream **pstream) |
static int | ffserver_parse_config_redirect (FFServerConfig *config, const char *cmd, const char **p, FFServerStream **predirect) |
int | ffserver_parse_ffconfig (const char *filename, FFServerConfig *config) |
void | ffserver_free_child_args (void *argsp) |
#define MAX_CHILD_ARGS 64 |
Definition at line 34 of file ffserver_config.c.
Referenced by ffserver_free_child_args(), and ffserver_parse_config_feed().
#define ERROR | ( | ... | ) |
Definition at line 45 of file ffserver_config.c.
Referenced by ffserver_parse_config_feed(), ffserver_parse_config_global(), ffserver_parse_config_redirect(), ffserver_parse_config_stream(), ffserver_parse_ffconfig(), and main().
#define WARNING | ( | ... | ) |
Definition at line 47 of file ffserver_config.c.
Referenced by add_codec(), ffserver_parse_config_feed(), ffserver_parse_config_global(), and ffserver_parse_config_stream().
|
static |
Definition at line 514 of file ffserver_config.c.
Referenced by ffserver_opt_preset(), ffserver_parse_config_stream(), and ffserver_save_avoption_int().
|
static |
Definition at line 430 of file ffserver_config.c.
Referenced by ffserver_set_float_param(), ffserver_set_int_param(), and report_config_error().
|
static |
Definition at line 440 of file ffserver_config.c.
Referenced by add_codec(), ffserver_save_avoption(), and ffserver_set_codec().
|
static |
Definition at line 52 of file ffserver_config.c.
Referenced by ffserver_parse_acl_row(), ffserver_parse_config_global(), and ffserver_parse_config_stream().
void ffserver_get_arg | ( | char * | buf, |
int | buf_size, | ||
const char ** | pp | ||
) |
Definition at line 85 of file ffserver_config.c.
Referenced by ffserver_parse_acl_row(), ffserver_parse_config_feed(), ffserver_parse_config_global(), ffserver_parse_config_redirect(), ffserver_parse_config_stream(), ffserver_parse_ffconfig(), and parse_dynamic_acl().
void ffserver_parse_acl_row | ( | FFServerStream * | stream, |
FFServerStream * | feed, | ||
FFServerIPAddressACL * | ext_acl, | ||
const char * | p, | ||
const char * | filename, | ||
int | line_num | ||
) |
Definition at line 113 of file ffserver_config.c.
Referenced by ffserver_parse_config_feed(), ffserver_parse_config_stream(), and parse_dynamic_acl().
|
static |
Definition at line 185 of file ffserver_config.c.
Referenced by ffserver_parse_config_stream().
|
static |
Definition at line 329 of file ffserver_config.c.
Referenced by ffserver_opt_preset(), ffserver_parse_config_stream(), and ffserver_save_avoption().
|
static |
Definition at line 354 of file ffserver_config.c.
Referenced by ffserver_parse_config_stream().
|
static |
Definition at line 409 of file ffserver_config.c.
Referenced by ffserver_parse_config_stream().
|
static |
Definition at line 450 of file ffserver_config.c.
Referenced by ffserver_parse_config_global(), and ffserver_parse_config_stream().
|
static |
Definition at line 483 of file ffserver_config.c.
Referenced by ffserver_parse_config_stream().
|
static |
Definition at line 601 of file ffserver_config.c.
Referenced by ffserver_parse_config_stream().
|
static |
Definition at line 609 of file ffserver_config.c.
Referenced by ffserver_parse_ffconfig().
|
static |
Definition at line 688 of file ffserver_config.c.
Referenced by ffserver_parse_ffconfig().
|
static |
Definition at line 796 of file ffserver_config.c.
Referenced by ffserver_parse_ffconfig().
|
static |
Definition at line 1169 of file ffserver_config.c.
Referenced by ffserver_parse_ffconfig().
int ffserver_parse_ffconfig | ( | const char * | filename, |
FFServerConfig * | config | ||
) |
Definition at line 1205 of file ffserver_config.c.
Referenced by main().
Definition at line 1308 of file ffserver_config.c.
Referenced by handle_child_exit().