]> git.sesse.net Git - vlc/blob - modules/video_filter/filter_event_info.h
Removes trailing spaces. Removes tabs.
[vlc] / modules / video_filter / filter_event_info.h
1 /*****************************************************************************
2  * opencv_event_info.h:
3  *****************************************************************************
4  * Copyright (C) 2004-2005 the VideoLAN team
5  * $Id: ???
6  *
7  * Authors: Dugal Harris
8  *
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.
13  *
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.
18  *
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 02110-1301, USA.
22  *****************************************************************************/
23
24 #ifndef FILTER_EVENT_INFO_H_
25 #define FILTER_EVENT_INFO_H_
26
27 #define VIDEO_FILTER_EVENT_VARIABLE N_("video-filter-event")
28
29 typedef struct video_filter_region_info_t
30 {
31     int i_x; /* x-coordinate of the left-most rectangle corner[s] */
32     int i_y; /* y-coordinate of the top-most or bottom-most
33                   rectangle corner[s] */
34     int i_width; /* width of the rectangle */
35     int i_height; /* height of the rectangle */
36  
37     int i_id;
38     int i_type;
39  
40     char *p_description;
41     float *pf_param;
42     int i_param_size;
43 } video_filter_region_info_t;
44
45 typedef struct video_filter_event_info_t
46 {
47    video_filter_region_info_t *p_region;
48    int i_region_size;
49 } video_filter_event_info_t;
50
51 /*class CTest
52 {
53 public:
54     CTest(){i=0;};
55     void Method(){i=0;};
56     int i;
57 };*/
58
59 #endif /*FILTER_EVENT_INFO_H_*/