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

raster.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 RASTER_H
00012 #define RASTER_H
00013 
00014 #include "yapi.h"
00015 #include "vya.h"
00016 #include "datatype.h"
00017 
00018 class Raster : public Process
00019 {
00020 public:
00021   // constructors
00022   Raster(
00023     const Id&               n, 
00024     In<VYApixel>&           Cin,
00025     In<VYAimageDepth>&      imageDepthIn,
00026     In<VYAimageComponent>&  imageComponentIdIn,
00027     In<VYAimageWidth>&      imageWidthIn,
00028     In<VYAimageHeight>&     imageHeightIn,
00029     In<VYAimageH>&          imageHIn,
00030     In<VYAimageV>&          imageVIn,
00031     In<VYAimageDepth>&      scanDepthIn,
00032     In<VYAimageComponent>&  scanComponentIdIn,
00033     Out<VYApixel>&          Yout,
00034     Out<VYApixel>&          Uout,
00035     Out<VYApixel>&          Vout,
00036     Out<VYAimageWidth>&     YimageWidthOut,
00037     Out<VYAimageHeight>&    YimageHeightOut,
00038     Out<VYAimageWidth>&     UVimageWidthOut,
00039     Out<VYAimageHeight>&    UVimageHeightOut,
00040     Out<VYAimageType>&      YUVimgTypeOut
00041   );
00042 
00043   // type member function
00044   const char* type() const { return "Raster"; }
00045 
00046   // main member function
00047   void main();
00048 
00049 private:
00050   // input ports
00051   InPort<VYApixel>          CinP;
00052   InPort<VYAimageDepth>     imageDepthInP;
00053   InPort<VYAimageComponent> imageComponentIdInP;
00054   InPort<VYAimageWidth>     imageWidthInP;
00055   InPort<VYAimageHeight>    imageHeightInP;
00056   InPort<VYAimageH>         imageHInP;
00057   InPort<VYAimageV>         imageVInP;
00058   InPort<VYAimageDepth>     scanDepthInP;
00059   InPort<VYAimageComponent> scanComponentIdInP;
00060 
00061   // output ports
00062   OutPort<VYApixel>         YoutP;
00063   OutPort<VYApixel>         UoutP;
00064   OutPort<VYApixel>         VoutP;
00065   OutPort<VYAimageWidth>    YimageWidthOutP;
00066   OutPort<VYAimageHeight>   YimageHeightOutP;
00067   OutPort<VYAimageWidth>    UVimageWidthOutP;
00068   OutPort<VYAimageHeight>   UVimageHeightOutP;
00069   OutPort<VYAimageType>     YUVimgTypeOutP;
00070 };
00071 
00072 #endif

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