imaging/imagingunittest/testcodec/src/BadVerTestConvert.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 <barsc.h>
       
    17 #include <barsread.h>
       
    18 #include <bautils.h>
       
    19 #include <imageconversion.h>
       
    20 #include "BadVerTestCodec.h"
       
    21 #include "TestPanic.h"
       
    22 #include "TestDecs.h"
       
    23 #include "TestUids.hrh"
       
    24 
       
    25 //_LIT(KBadVerTestPanicCategory, "BadVerTestConvertPlugin");	// EABI warning removal
       
    26 
       
    27 
       
    28 // Global panic function
       
    29 GLREF_C void Panic(TInt aError);
       
    30 
       
    31 // decoder.
       
    32 CBadVerTestDecoder* CBadVerTestDecoder::NewL()
       
    33 	{
       
    34 	Panic(EIllegalPlugin); // we should never reach this plugin
       
    35 	return NULL;
       
    36 	}
       
    37 
       
    38 CBadVerTestDecoder::CBadVerTestDecoder()
       
    39 	{
       
    40 	}
       
    41 
       
    42 CBadVerTestDecoder::~CBadVerTestDecoder()
       
    43 	{
       
    44 	}
       
    45 
       
    46 void CBadVerTestDecoder::ImageType(TInt /*aFrameNumber*/, TUid& /*aImageType*/, TUid& /*aImageSubType*/) const
       
    47 	{
       
    48 	Panic(EIllegalPlugin); // we should never reach this plugin
       
    49 	}
       
    50 
       
    51 void CBadVerTestDecoder::ScanDataL()
       
    52 	{
       
    53 	}
       
    54 
       
    55 CFrameInfoStrings* CBadVerTestDecoder::FrameInfoStringsL(RFs& /*aFs*/, TInt /*aFrameNumber*/)
       
    56 	{
       
    57 	Panic(EIllegalPlugin); // we should never reach this plugin
       
    58 	return NULL;
       
    59 	}
       
    60 
       
    61 // encoder.
       
    62 CBadVerTestEncoder* CBadVerTestEncoder::NewL()
       
    63 	{
       
    64 	Panic(EIllegalPlugin); // we should never reach this plugin
       
    65 	return NULL;
       
    66 	}
       
    67 
       
    68 CBadVerTestEncoder::CBadVerTestEncoder()
       
    69 	{
       
    70 	Panic(EIllegalPlugin); // we should never reach this plugin
       
    71 	}
       
    72 
       
    73 CBadVerTestEncoder::~CBadVerTestEncoder()
       
    74 	{
       
    75 	Panic(EIllegalPlugin); // we should never reach this plugin
       
    76 	}
       
    77 
       
    78 void CBadVerTestEncoder::PrepareEncoderL(const CFrameImageData* /*aFrameImageData*/)
       
    79 	{
       
    80 	}
       
    81 
       
    82 void CBadVerTestEncoder::UpdateHeaderL()
       
    83 	{
       
    84 	}
       
    85