Main Page | Namespace List | Compound List | File List | Compound Members | File Members

vs.h

Go to the documentation of this file.
00001 /*--------------------------------------------------------------------
00002  *
00003  * (C) Copyright Koninklijke Philips Electronics NV 2006. 
00004  * All rights reserved. This software is licensed under the terms of
00005  * version 2.1 of the GNU Lesser General Public License as published 
00006  * by the Free Software Foundation. For licensing and warranty
00007  * information, see the file COPYING in the main directory.
00008  *
00009  *------------------------------------------------------------------*/
00010 
00011 #ifndef VS_H
00012 #define VS_H
00013 
00014 #include "yapi.h"
00015 #include "vya.h"
00016 
00017 class VS : public Process
00018 {
00019 public:
00020   //constructors
00021   VS(
00022     const Id&           n, 
00023     In<VYApixel>&       Cin,
00024     In<VYAimageWidth>&  imageWidthIn,
00025     In<VYAimageHeight>& imageHeightIn,
00026     In<VYAimageHeight>& outImageHeightIn,
00027     Out<VYApixel>&      Cout
00028   );
00029 
00030   // type member function
00031   const char* type() const { return "VS"; }
00032 
00033   // main member function
00034   void main();
00035 
00036 private:
00037   // input ports
00038   InPort<VYApixel>        CinP;
00039   InPort<VYAimageWidth>   imageWidthInP;
00040   InPort<VYAimageHeight>  imageHeightInP;
00041   InPort<VYAimageHeight>  outImageHeightInP;
00042 
00043   // output ports
00044   OutPort<VYApixel>       CoutP;
00045 };
00046 
00047 #endif

Generated on Wed Feb 15 14:52:44 2006 for scaling by doxygen 1.3.2