1 /*****************************************************************************
2 * filters.h: common filter functions
3 *****************************************************************************
4 * Copyright (C) 2010-2017 x264 project
6 * Authors: Diogo Franco <diogomfranco@gmail.com>
7 * Steven Walters <kemuri9@gmail.com>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA.
23 * This program is also available under a commercial proprietary license.
24 * For more information, contact us at licensing@x264.com.
25 *****************************************************************************/
27 #ifndef X264_FILTERS_H
28 #define X264_FILTERS_H
31 #include "filters/video/video.h"
33 char **x264_split_options( const char *opt_str
, const char * const *options
);
34 char *x264_get_option( const char *name
, char **split_options
);
35 int x264_otob( const char *str
, int def
); // option to bool
36 double x264_otof( const char *str
, double def
); // option to float/double
37 int x264_otoi( const char *str
, int def
); // option to int
38 char *x264_otos( char *str
, char *def
); // option to string