X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=filter.h;h=69d4dfee8534941ab74bb17d7d2a5ff8e23eed6b;hp=03e79d9167eb1e89b5eb4cd339e3345a6f20ed23;hb=3d33c9e922243e6f9f716c5a220d10e34bd694b7;hpb=4adde8dae3317fa83b81e7a860c9ed9133e99bb0 diff --git a/filter.h b/filter.h index 03e79d91..69d4dfee 100644 --- a/filter.h +++ b/filter.h @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2005 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2005 Andre Noll , see file COPYING. */ /** \file filter.h Filter-related structures and exported symbols from filter_common.c. */ @@ -41,7 +37,7 @@ struct filter_node { * time, all these filter functions must be reentrant; no static non-constant * variables may be used. * - * \sa mp3dec_filter.c, oggdec_filter.c, wav_filter.c, compress_filter.c, filter_node + * \sa \ref filter_node. */ struct filter { /** @@ -113,8 +109,12 @@ struct filter { }; void print_filter_helps(bool detailed); +void print_filter_list(void); int filter_setup(const char *fa, void **conf, struct lls_parse_result **lprp); #define FILTER_CMD(_num) (lls_cmd(_num, filter_cmd_suite)) +#define FILTER_CMD_OPT(_cmd, _opt) (lls_opt( \ + LSG_FILTER_CMD_ ## _cmd ## _OPT_ ## _opt, \ + FILTER_CMD(LSG_FILTER_CMD_CMD_ ## _cmd))) #define FILTER_CMD_OPT_RESULT(_cmd, _opt, _lpr) \ (lls_opt_result(LSG_FILTER_CMD_ ## _cmd ## _OPT_ ## _opt, _lpr)) #define FILTER_CMD_OPT_GIVEN(_cmd, _opt, _lpr) \ @@ -139,6 +139,5 @@ static inline void write_int16_host_endian(char *buf, int val) #endif } -/** Make a filter pointer from the filter number. */ const struct filter *filter_get(int filter_num); const char *filter_name(int filter_num);