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

jfif.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 "jfif.h"
00012 
00013 JFIF::JFIF(
00014   const Id& n, 
00015   In<Bits>&   JPEGbitsIn,
00016   Out<VYAimageDepth>& imageDepthOut,
00017   Out<VYAimageComponent>& imageComponentIdOut,
00018   Out<VYAimageH>&   imageHOut,
00019   Out<VYAimageV>&   imageVOut,
00020   Out<VYAimageX>&   imageXOut,
00021   Out<VYAimageY>&   imageYOut,
00022   Out<VYAimageDepth>& scanDepthOut,
00023   Out<VYAimageComponent>& scanComponentIdOut,
00024   Out<Marker>&    DHTmarkerOut,
00025   Out<Bits>&    HuffmanTableOut,
00026   Out<VYAid>&   HuffmanTableIdOut,
00027   Out<Marker>&    DQTmarkerOut,
00028   Out<Bits>&    QuantizationTableOut,
00029   Out<VYAid>&   QuantizationTableIdOut,
00030   Out<Bits>&    restartIntervalBitsOut, 
00031   Out<Bits>&    MCUbitsOut)
00032 :
00033   ProcessNetwork(n),
00034 
00035   JPEGbitsInP(    id("JPEGbitsInP"),    JPEGbitsIn),
00036 
00037   imageDepthOutP(   id("imageDepthOutP"),     imageDepthOut),
00038   imageComponentIdOutP( id("imageComponentIdOutP"),   imageComponentIdOut),
00039   imageHOutP(   id("imageHOutP"),     imageHOut),
00040   imageVOutP(   id("imageVOutP"),     imageVOut),
00041   imageXOutP(   id("imageXOutP"),     imageXOut),
00042   imageYOutP(   id("imageYOutP"),     imageYOut),
00043   scanDepthOutP(    id("scanDepthOutP"),    scanDepthOut),
00044   scanComponentIdOutP(  id("scanComponentIdOutP"),  scanComponentIdOut),
00045   DHTmarkerOutP(    id("DHTmarkerOutP"),    DHTmarkerOut),
00046   HuffmanTableOutP( id("HuffmanTableOutP"),   HuffmanTableOut),
00047   HuffmanTableIdOutP( id("HuffmanTableIdOutP"),   HuffmanTableIdOut),
00048   DQTmarkerOutP(    id("DQTmarkerOutP"),    DQTmarkerOut),
00049   QuantizationTableOutP(  id("QuantizationTableOutP"),  QuantizationTableOut),
00050   QuantizationTableIdOutP(id("QuantizationTableIdOutP"),  QuantizationTableIdOut),
00051   restartIntervalBitsOutP(id("restartIntervalBitsOutP"),  restartIntervalBitsOut),
00052   MCUbitsOutP(    id("MCUbitsOutP"),    MCUbitsOut),
00053 
00054 
00055   // Fifo initialization
00056   SOFsegment(   id("SOFsegment")),
00057   SOSseqment(   id("SOSseqment")),
00058 
00059   // Process initialization
00060   dmx(
00061     id("dmx"), 
00062     JPEGbitsInP,
00063     QuantizationTableOutP,
00064     HuffmanTableOutP,
00065     SOFsegment,
00066     SOSseqment,
00067     MCUbitsOutP,
00068     restartIntervalBitsOutP,
00069     DHTmarkerOutP,
00070     DQTmarkerOutP
00071   ),
00072   sof(
00073     id("sof"), 
00074     SOFsegment,
00075     imageDepthOutP,
00076     imageComponentIdOutP,
00077     imageXOutP,
00078     imageYOutP,
00079     imageHOutP,
00080     imageVOutP,
00081     QuantizationTableIdOutP
00082   ),
00083   sos(
00084     id("sos"), 
00085     SOSseqment,
00086     scanDepthOutP,
00087     scanComponentIdOutP,
00088     HuffmanTableIdOutP
00089   )
00090 {
00091 }

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