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

matrix.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 MATRIX_H
00012 #define MATRIX_H
00013 
00014 #include "yapi.h"
00015 #include "vya.h"
00016 
00017 class Matrix: public Process
00018 {
00019 public:
00020   //constructor
00021   Matrix (
00022     const Id&          n,
00023     In<VYApixel>&      Ci1F,
00024     In<VYApixel>&      Ci2F,
00025     In<VYApixel>&      Ci3F,
00026     Out<VYApixel>&     Co1F,
00027     Out<VYApixel>&     Co2F,
00028     Out<VYApixel>&     Co3F
00029   );
00030 
00031   //type member function
00032   const char* type() const { return "Matrix"; }
00033     
00034   //main member function
00035   void main ();
00036 
00037 private:
00038   // input ports
00039   InPort<VYApixel>       Ci1P;
00040   InPort<VYApixel>       Ci2P;
00041   InPort<VYApixel>       Ci3P;
00042 
00043   // output ports
00044   OutPort<VYApixel>      Co1P;
00045   OutPort<VYApixel>      Co2P;
00046   OutPort<VYApixel>      Co3P;
00047 };
00048 
00049 #endif

Generated on Wed Feb 15 14:52:45 2006 for jpegdec by doxygen 1.3.2