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

vhs3c.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 "vhs3c.h"
00012 
00013 VHS3C::VHS3C(
00014   const Id&           n,
00015   In<VYApixel>&       Yin,
00016   In<VYApixel>&       Uin,
00017   In<VYApixel>&       Vin,
00018 
00019   In<VYAimageWidth>&  YimageWidthIn,
00020   In<VYAimageHeight>& YimageHeightIn,
00021 
00022   In<VYAimageWidth>&  UVimageWidthIn,
00023   In<VYAimageHeight>& UVimageHeightIn,
00024 
00025   In<VYAimageWidth>&  YoutImageWidthIn,
00026   In<VYAimageHeight>& YoutImageHeightIn,
00027   In<VYAimageWidth>&  UVoutImageWidthIn,
00028   In<VYAimageHeight>& UVoutImageHeightIn,
00029 
00030   Out<VYApixel>&      Yout,
00031   Out<VYApixel>&      Uout,
00032   Out<VYApixel>&      Vout)
00033 :
00034   ProcessNetwork(n),
00035   
00036   // Input port initialization
00037   YinP(               id("YinP"),               Yin),
00038   UinP(               id("UinP"),               Uin),
00039   VinP(               id("VinP"),               Vin),
00040 
00041   YimageWidthInP(     id("YimageWidthInP"),     YimageWidthIn),
00042   YimageHeightInP(    id("YimageHeightInP"),    YimageHeightIn),
00043 
00044   UVimageWidthInP(    id("UVimageWidthInP"),    UVimageWidthIn),
00045   UVimageHeightInP(   id("UVimageHeightInP"),   UVimageHeightIn),
00046 
00047   YoutImageWidthInP(  id("YoutImageWidthInP"),  YoutImageWidthIn),
00048   YoutImageHeightInP( id("YoutImageHeightInP"), YoutImageHeightIn),
00049   UVoutImageWidthInP( id("UVoutImageWidthInP"), UVoutImageWidthIn),
00050   UVoutImageHeightInP(id("UVoutImageHeightInP"),UVoutImageHeightIn),
00051 
00052   // Output port initialization
00053   YoutP(id("YoutP"), Yout),
00054   UoutP(id("UoutP"), Uout),
00055   VoutP(id("VoutP"), Vout),
00056 
00057   // Fifo initialization
00058   Y(id("Y")),
00059   U(id("U")),
00060   V(id("V")),
00061 
00062   YlineLength(        id("YlineLength")),
00063   UVlineLength(       id("UVlineLength")),
00064   YoutLineLength(     id("YoutLineLength")),
00065   UVoutLineLength(    id("UVoutLineLength")),
00066 
00067   // Process initialization
00068   Yi2l(
00069     id("Yi2l"),
00070     YimageWidthInP,
00071     YoutImageHeightInP,
00072     YlineLength
00073   ),
00074   UVi2l(
00075     id("UVi2l"),
00076     UVimageWidthInP,
00077     UVoutImageHeightInP,
00078     UVlineLength
00079   ),
00080   YoutI2l(
00081     id("YoutI2l"),
00082     YoutImageWidthInP,
00083     YoutImageHeightInP,
00084     YoutLineLength
00085   ),
00086   UVoutI2l(
00087     id("UVoutI2l"),
00088     UVoutImageWidthInP,
00089     UVoutImageHeightInP,
00090     UVoutLineLength
00091   ),
00092   vs3c(
00093     id("vs3c"),
00094     YinP,
00095     UinP,
00096     VinP,
00097     YimageWidthInP,
00098     YimageHeightInP,
00099     UVimageWidthInP,
00100     UVimageHeightInP,
00101     YoutImageHeightInP,
00102     UVoutImageHeightInP,
00103     Y,
00104     U,
00105     V
00106   ),
00107   hs3c(
00108     id("hs3c"),
00109     Y,
00110     U,
00111     V,
00112     YlineLength,
00113     UVlineLength,
00114     YoutLineLength,
00115     UVoutLineLength,
00116     YoutP,
00117     UoutP,
00118     VoutP
00119   )
00120 {
00121 }

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