omxilcomp/omxiltestcomp/md5sink/src/omxiltestmd5sinkport.h
changeset 0 58be5850fb6c
equal deleted inserted replaced
-1:000000000000 0:58be5850fb6c
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 /**
       
    20 @file
       
    21 @internalComponent
       
    22 */
       
    23 
       
    24 #ifndef COMXILTESTMD5SINKPORT_H
       
    25 #define COMXILTESTMD5SINKPORT_H
       
    26 
       
    27 #include <openmax/il/common/omxilotherport.h>
       
    28 
       
    29 class COmxILTestMD5SinkPort : public COmxILOtherPort
       
    30 	{
       
    31 public:
       
    32 	static COmxILTestMD5SinkPort* NewL(const TOmxILCommonPortData& aCommonPortData);
       
    33 	~COmxILTestMD5SinkPort();
       
    34 	
       
    35 	OMX_ERRORTYPE GetLocalOmxParamIndexes(RArray<TUint>& aIndexArray) const;
       
    36 	OMX_ERRORTYPE GetLocalOmxConfigIndexes(RArray<TUint>& aIndexArray) const;
       
    37 	OMX_ERRORTYPE GetParameter(OMX_INDEXTYPE aParamIndex,
       
    38 			                   TAny* apComponentParameterStructure) const;
       
    39 	OMX_ERRORTYPE SetParameter(OMX_INDEXTYPE aParamIndex,
       
    40 			const TAny* apComponentParameterStructure,
       
    41 			TBool& aUpdateProcessingFunction);
       
    42 
       
    43 protected:
       
    44 	OMX_ERRORTYPE SetFormatInPortDefinition(
       
    45 		const OMX_PARAM_PORTDEFINITIONTYPE& aPortDefinition,
       
    46 		TBool& aUpdateProcessingFunction);
       
    47 	
       
    48 	TBool IsTunnelledPortCompatible(
       
    49 		const OMX_PARAM_PORTDEFINITIONTYPE& aPortDefinition) const;
       
    50 
       
    51 private:
       
    52 	COmxILTestMD5SinkPort();
       
    53 	void ConstructL(const TOmxILCommonPortData& aCommonPortData);
       
    54 	};
       
    55 
       
    56 #endif //COMXILTESTMD5SINKPORT_H