omxilvideocomps/omxil3gpdemuxer/src/comxil3gpdemuxer.h
changeset 0 5d29cba61097
equal deleted inserted replaced
-1:000000000000 0:5d29cba61097
       
     1 /*
       
     2 * Copyright (c) 2008 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 COMXIL3GPDEMUXER_H
       
    25 #define COMXIL3GPDEMUXER_H
       
    26 
       
    27 #include <openmax/il/common/omxilcomponent.h>
       
    28 
       
    29 class COmxIL3GPDemuxerTimeInputPort;
       
    30 class COmxIL3GPDemuxerAudioOutputPort;
       
    31 class COmxIL3GPDemuxerVideoOutputPort;
       
    32 
       
    33 NONSHARABLE_CLASS(COmxIL3GPDemuxer) : public COmxILComponent
       
    34 	{
       
    35 public:
       
    36 	enum TPortIndex
       
    37 		{
       
    38 		EPortIndexAudioOutput,
       
    39 		EPortIndexVideoOutput,
       
    40 		EPortIndexTimeInput,   // time port currently not used
       
    41 		EPortIndexMax    // Must be last
       
    42 		};
       
    43 
       
    44 public:
       
    45 	static TInt CreateComponent(OMX_HANDLETYPE hComponent);
       
    46 	~COmxIL3GPDemuxer();
       
    47 
       
    48 private:
       
    49 	COmxIL3GPDemuxer();
       
    50 	void ConstructL(OMX_HANDLETYPE hComponent);
       
    51 
       
    52 private:
       
    53 	void AddTimeInputPortL();
       
    54 	void AddAudioOutputPortL();
       
    55 	void AddVideoOutputPortL();
       
    56 	};
       
    57 	
       
    58 #endif //COMXIL3GPDEMUXER_H