First public contribution.
1 // Copyright (c) 2005-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
17 #ifndef PCMPROCESSINGUNIT_H
18 #define PCMPROCESSINGUNIT_H
22 #include <omxprocessingunit.h>
34 class CPcmProcessingUnit : public COmxProcessingUnit
37 // entry points for each codec variant
38 static CPcmProcessingUnit* NewP8P16L();
39 static CPcmProcessingUnit* NewP16P8L();
40 static CPcmProcessingUnit* NewPU8P16L();
41 static CPcmProcessingUnit* NewP16PU8L();
43 virtual TInt Create(const MMdfProcessingUnitObserver& aProcessingUnitObserver);
45 virtual TInt Configure(const TPuConfig& aConfigurationSetup);
46 virtual ~CPcmProcessingUnit();
50 void ConstructL(TPcmDataType aSrcDataType, TPcmDataType aDestDataType);
53 CPcmInputPort* iInputPort;
54 CPcmOutputPort* iOutputPort;
56 TPcmDataType iSrcDataType;
57 TPcmDataType iDestDataType;
60 #endif // PCMPROCESSINGUNIT_H