chromium/third_party/libaom/source/libaom/common/args.c

/*
 * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
 *
 * This source code is subject to the terms of the BSD 2 Clause License and
 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
 * was not distributed with this source code in the LICENSE file, you can
 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
 * Media Patent License 1.0 was not distributed with this source code in the
 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
 */

#include "common/args.h"

#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>

#include "aom/aom_integer.h"
#include "aom/aom_codec.h"
#include "common/tools_common.h"

static const char kSbSizeWarningString[] =;
static const char kMinpartWarningString[] =;
static const char kMaxpartWarningString[] =;

static char *ignore_front_spaces(const char *str) {}

static void ignore_end_spaces(char *str) {}

int parse_cfg(const char *file, cfg_options_t *config) {}

int arg_match(struct arg *arg_, const struct arg_def *def, char **argv) {}

const char *arg_next(struct arg *arg) {}

char **argv_dup(int argc, const char **argv) {}

void arg_show_usage(FILE *fp, const struct arg_def *const *defs) {}

unsigned int arg_parse_uint(const struct arg *arg) {}

int arg_parse_int(const struct arg *arg) {}

struct aom_rational arg_parse_rational(const struct arg *arg) {}

int arg_parse_enum(const struct arg *arg) {}

int arg_parse_enum_or_int(const struct arg *arg) {}

// parse a comma separated list of at most n integers
// return the number of elements in the list
int arg_parse_list(const struct arg *arg, int *list, int n) {}