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

sof.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 SOF_H
00012 #define SOF_H
00013 
00014 #include "yapi.h"
00015 #include "vya.h"
00016 #include "datatype.h"
00017 
00018 class SOF : public Process
00019 {
00020 public:
00021   //constructors
00022   SOF(
00023     const Id&               n, 
00024     In<Bits>&               frameHeaderBitsIn,
00025     Out<VYAimageDepth>&     imageDepthOut,
00026     Out<VYAimageComponent>& imageComponentIdOut,
00027     Out<VYAimageWidth>&     imageWidthOut,
00028     Out<VYAimageHeight>&    imageHeightOut,
00029     Out<VYAimageH>&         imageHOut,
00030     Out<VYAimageV>&         imageVOut,
00031     Out<VYAid>&             QtableIdOut
00032   );
00033 
00034   // type member function
00035   const char* type() const { return "SOF"; }
00036 
00037   // main member function
00038   void main();
00039 
00040 private:
00041   // input ports
00042   InPort<Bits>                frameHeaderBitsInP;
00043 
00044   // output ports
00045   OutPort<VYAimageDepth>      imageDepthOutP;
00046   OutPort<VYAimageComponent>  imageComponentIdOutP;
00047   OutPort<VYAimageWidth>      imageWidthOutP;
00048   OutPort<VYAimageHeight>     imageHeightOutP;
00049   OutPort<VYAimageH>          imageHOutP;
00050   OutPort<VYAimageV>          imageVOutP;
00051   OutPort<VYAid>              QtableIdOutP;
00052 
00053   // member functions
00054   void get_size(unsigned int& size);
00055 };
00056 
00057 #endif

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