xine-lib  1.2.9
asmrp.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2007 the xine project
3  *
4  * This file is part of xine, a free video player.
5  *
6  * xine is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * xine is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19  *
20  * a parser for real's asm rules
21  *
22  * grammar for these rules:
23  *
24 
25  rule_book = { '#' rule ';'}
26  rule = condition {',' assignment}
27  assignment = id '=' const
28  const = ( number | string )
29  condition = comp_expr { ( '&&' | '||' ) comp_expr }
30  comp_expr = operand { ( '<' | '<=' | '==' | '>=' | '>' ) operand }
31  operand = ( '$' id | num | '(' condition ')' )
32 
33  */
34 
35 #ifndef HAVE_ASMRP_H
36 #define HAVE_ASMRP_H
37 
38 int asmrp_match (const char *rules, int bandwidth, int *matches, int matchesizxe) ;
39 
40 #endif
int asmrp_match(const char *rules, int bandwidth, int *matches, int matchesizxe)
Definition: asmrp.c:636