imaging/imagingunittest/testcodec/src/ExtendedTestCodec.cpp
changeset 0 5752a19fdefe
equal deleted inserted replaced
-1:000000000000 0:5752a19fdefe
       
     1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #include "ExtendedTestCodec.h"
       
    17 
       
    18 
       
    19 // CExtendedTestReadCodec
       
    20 CExtendedTestReadCodec::CExtendedTestReadCodec(CExtendedTestDecoder& aDecoder):
       
    21 	iDecoder(&aDecoder)
       
    22 	{}
       
    23 
       
    24 CExtendedTestReadCodec::~CExtendedTestReadCodec()
       
    25 	{}
       
    26 
       
    27 TFrameState CExtendedTestReadCodec::ProcessFrameL(TBufPtr8& /*aSrc*/)
       
    28 	{
       
    29 	return EFrameComplete;
       
    30 	}
       
    31 
       
    32 void CExtendedTestReadCodec::Complete()
       
    33 	{}
       
    34 
       
    35 void CExtendedTestReadCodec::InitFrameL(TFrameInfo& /*aFrameInfo*/, CFrameImageData& /*aFrameImageData*/, TBool /*aDisableErrorDiffusion*/, CFbsBitmap& /*aDestination*/, CFbsBitmap* /*aDestinationMask*/)
       
    36 	{}
       
    37 
       
    38 CExtendedTestWriteCodec::CExtendedTestWriteCodec(CExtendedTestEncoder &aEncoder):
       
    39 	iEncoder(&aEncoder)
       
    40 	{}
       
    41 
       
    42 CExtendedTestWriteCodec::~CExtendedTestWriteCodec()
       
    43 	{}
       
    44 
       
    45 TFrameState CExtendedTestWriteCodec::ProcessFrameL(TBufPtr8& /*aDst*/)
       
    46 	{
       
    47 	return EFrameComplete;
       
    48 	}