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

pfspdexample.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 PFSPDEXAMPLE_H
00012 #define PFSPDEXAMPLE_H
00013 
00014 #include <stdlib.h>
00015 #include <stdio.h>
00016 #include "yapi.h"
00017 #include "pfspdfe.h"
00018 #include "pfspdbe.h"
00019 #include "pfspd_env.h"
00020 #include "pfspd_usr.h"
00021 
00022 class pfspdExample: public ProcessNetwork
00023 {
00024 public:
00025     // constructor
00026     pfspdExample(
00027       const Id& n,
00028       char* fefile,
00029       char* befile
00030     );
00031 
00032     // type member function
00033     const char* type() const { return "pfspdExample"; }
00034 
00035 private:
00036     // fifo’s
00037     Fifo<VYApixel>          Y_R_CVBS;
00038     Fifo<VYApixel>          U_G;
00039     Fifo<VYApixel>          V_B;
00040     Fifo<VYAimageWidth>     Y_RGBimgWidth;
00041     Fifo<VYAimageHeight>    Y_RGBimgHeight;
00042     Fifo<VYAimageWidth>     UVimgWidth;
00043     Fifo<VYAimageHeight>    UVimgHeight;
00044     Fifo<VYAimageType>      Y_YUV_RGBimgType;
00045 
00046     Fifo<pfspd_args_t>      argumentsIn;
00047     Fifo<VYAfileName>       fileNameIn;
00048     Fifo<pT_header>         seqInfoIn;
00049 
00050     Fifo<pfspd_args_t>      argumentsOut;
00051     Fifo<VYAfileName>       fileNameOut;
00052     Fifo<pT_header>         seqInfoOut;
00053 
00054     // processes
00055     pfspdFE                 frontEnd;
00056     pfspdBE                 backEnd;
00057     pfspdEnv                controlFE;
00058     pfspdEnv                controlBE;
00059     pfspdUsr                pfspd_usrFE;
00060     pfspdUsr                pfspd_usrBE;
00061 };
00062 
00063 #endif

Generated on Wed Feb 15 14:52:43 2006 for pfspdfebe by doxygen 1.3.2