00001 /***************************************************************************** 00002 * opencv_event_info.h: 00003 ***************************************************************************** 00004 * Copyright (C) 2004-2005 the VideoLAN team 00005 * $Id: ??? 00006 * 00007 * Authors: Dugal Harris 00008 * 00009 * This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 00022 *****************************************************************************/ 00023 00024 #ifndef FILTER_EVENT_INFO_H_ 00025 #define FILTER_EVENT_INFO_H_ 00026 00027 #define VIDEO_FILTER_EVENT_VARIABLE "video-filter-event" 00028 00029 typedef struct video_filter_region_info_t 00030 { 00031 int i_x; /* x-coordinate of the left-most rectangle corner[s] */ 00032 int i_y; /* y-coordinate of the top-most or bottom-most 00033 rectangle corner[s] */ 00034 int i_width; /* width of the rectangle */ 00035 int i_height; /* height of the rectangle */ 00036 00037 int i_id; 00038 int i_type; 00039 00040 char *p_description; 00041 float *pf_param; 00042 int i_param_size; 00043 } video_filter_region_info_t; 00044 00045 typedef struct video_filter_event_info_t 00046 { 00047 video_filter_region_info_t *p_region; 00048 int i_region_size; 00049 } video_filter_event_info_t; 00050 00051 /*class CTest 00052 { 00053 public: 00054 CTest(){i=0;}; 00055 void Method(){i=0;}; 00056 int i; 00057 };*/ 00058 00059 #endif /*FILTER_EVENT_INFO_H_*/
1.5.6