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

scaling.cc

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 #include "scaling.h"
00012 
00013 Scaling::Scaling(
00014   const Id& n,
00015   char* fefile,
00016   char* scfile,
00017   char* befile
00018 )
00019 :
00020   // network initialization
00021   ProcessNetwork(n),
00022 
00023   // fifo initialization
00024   Yin(                id("Yin")),
00025   Uin(                id("Uin")),
00026   Vin(                id("Vin")),
00027 
00028   Yout(               id("Yout")),
00029   Uout(               id("Uout")),
00030   Vout(               id("Vout")),
00031 
00032   YimgWidthIn(        id("YimgWidthIn")),
00033   YimgHeightIn(       id("YimgHeightIn")), 
00034   UVimgWidthIn(       id("UVimgWidthIn")),
00035   UVimgHeightIn(      id("UVimgHeightIn")),
00036   YUVimgT(            id("YUVimgT")),
00037 
00038   scalingArgs(        id("scalingArgs")),
00039   YimgWidthOut(       id("YimgWidthOut")),
00040   YimgHeightOut(      id("YimgHeightOut")), 
00041   UVimgWidthOut(      id("UVimgWidthOut")),
00042   UVimgHeightOut(     id("UVimgHeightOut")),
00043 
00044   pfspdArgsIn(        id("pfspdArgsIn")),
00045   fileNameIn(         id("fileNameIn")),
00046   seqInfoIn(          id("seqInfoIn")),
00047 
00048   pfspdArgsOut(       id("pfspdArgsOut")),
00049   fileNameOut(        id("fileNameOut")),
00050   seqInfoOut(         id("seqInfoOut")),
00051 
00052   // process initialization
00053   frontEnd(
00054     id("frontEnd"),
00055     VYAbitPrecision(8, false),
00056     VYAbitPrecision(8, true),
00057     fileNameIn,
00058     seqInfoIn,
00059     Yin,
00060     Uin,
00061     Vin,
00062     YimgWidthIn,
00063     YimgHeightIn,
00064     UVimgWidthIn,
00065     UVimgHeightIn,
00066     YUVimgT
00067   ),
00068   backEnd(
00069     id("backEnd"),
00070     VYAbitPrecision(8, false),
00071     VYAbitPrecision(8, true),
00072     fileNameOut,
00073     seqInfoOut,
00074     Yout,
00075     Uout,
00076     Vout,
00077     YimgWidthOut,
00078     YimgHeightOut,
00079     UVimgWidthOut,
00080     UVimgHeightOut,
00081     YUVimgT
00082   ),
00083   pfspd_envFE(
00084     id("pfspd_envFE"),
00085     pfspdArgsIn,
00086     fileNameIn,
00087     seqInfoIn
00088   ),
00089   pfspd_envBE(
00090     id("pfspd_envBE"),
00091     pfspdArgsOut,
00092     fileNameOut,
00093     seqInfoOut
00094   ),
00095   scaling_env(
00096     id("scaling_env"),
00097     seqInfoOut,
00098     scalingArgs,
00099     YimgWidthOut,
00100     YimgHeightOut,
00101     UVimgWidthOut,
00102     UVimgHeightOut
00103   ),
00104   pfspd_usrFE(
00105     id("pfspd_usrFE"),
00106     pfspdArgsIn,
00107     fefile
00108   ),
00109   pfspd_usrBE(
00110     id("pfspd_usrBE"),
00111     pfspdArgsOut,
00112     befile
00113   ),
00114   scaling_usr(
00115     id("scaling_usr"),
00116     scalingArgs,
00117     scfile
00118   ),
00119   vhs3c(
00120     id("vhs3c"),
00121 
00122     Yin,
00123     Uin,
00124     Vin,
00125 
00126     YimgWidthIn,
00127     YimgHeightIn,
00128     UVimgWidthIn,
00129     UVimgHeightIn,
00130 
00131     YimgWidthOut,
00132     YimgHeightOut,
00133     UVimgWidthOut,
00134     UVimgHeightOut,
00135 
00136     Yout,
00137     Uout,
00138     Vout
00139   )
00140 { }

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