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

vs3c.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 VS3C_H
00012 #define VS3C_H
00013 
00014 #include "yapi.h"
00015 #include "vya.h"
00016 #include "utilities.h"
00017 #include "vs.h"
00018 
00019 class VS3C : public ProcessNetwork
00020 {
00021 public:
00022   // constructor
00023   VS3C(
00024     const Id&           n,
00025     In<VYApixel>&       Yin,
00026     In<VYApixel>&       Uin,
00027     In<VYApixel>&       Vin,
00028 
00029     In<VYAimageWidth>&  YimageWidthIn,
00030     In<VYAimageHeight>& YimageHeightIn,
00031 
00032     In<VYAimageWidth>&  UVimageWidthIn,
00033     In<VYAimageHeight>& UVimageHeightIn,
00034 
00035     In<VYAimageHeight>& YoutImageHeightIn,
00036     In<VYAimageHeight>& UVoutImageHeightIn,
00037   
00038     Out<VYApixel>&      Yout,
00039     Out<VYApixel>&      Uout,
00040     Out<VYApixel>&      Vout
00041   );
00042 
00043   // type member function
00044   const char* type() const { return "VS3C"; }
00045 
00046 private:
00047   // Input ports
00048   InPort<VYApixel>        YinP;
00049   InPort<VYApixel>        UinP;
00050   InPort<VYApixel>        VinP;
00051   
00052   InPort<VYAimageWidth>   YimageWidthInP;
00053   InPort<VYAimageHeight>  YimageHeightInP;
00054 
00055   InPort<VYAimageWidth>   UVimageWidthInP;
00056   InPort<VYAimageHeight>  UVimageHeightInP;
00057   
00058   InPort<VYAimageHeight>  YoutImageHeightInP;
00059   InPort<VYAimageHeight>  UVoutImageHeightInP;
00060   
00061   // Output ports
00062   OutPort<VYApixel>       YoutP;
00063   OutPort<VYApixel>       UoutP;
00064   OutPort<VYApixel>       VoutP;
00065   
00066   // Processes
00067   VS                      YVS;
00068   VS                      UVS;
00069   VS                      VVS;
00070 };
00071 
00072 #endif

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