mmdevicefw/mdf/inc/codecapi/mdfcommon.h
changeset 0 40261b775718
equal deleted inserted replaced
-1:000000000000 0:40261b775718
       
     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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @publishedPartner
       
    19  @released
       
    20 */
       
    21 
       
    22 #ifndef MDFCOMMON_H
       
    23 #define MDFCOMMON_H
       
    24 
       
    25 /**
       
    26 Control flags for tunneling
       
    27 */
       
    28 enum TTunnelFlags
       
    29 	{
       
    30 	/** 
       
    31 	The input port receiving a buffer cannot alter its contents when tunnelled.
       
    32 	*/
       
    33 	EBufferReadOnly = 1
       
    34 	};
       
    35 
       
    36 /**
       
    37 Defines the supplier of the buffers used in a tunnel
       
    38 */
       
    39 enum TSupplierType
       
    40 	{
       
    41 	/** 
       
    42  	Port supplying the buffers is unspecified, or don't care 
       
    43  	*/
       
    44     EBufferSupplyUnspecified = 0,
       
    45 	/**
       
    46  	Input port supplies the buffers 
       
    47  	*/
       
    48 	EBufferSupplyInput,             
       
    49 	/**
       
    50  	Output port supplies the buffers
       
    51  	*/
       
    52 	EBufferSupplyOutput
       
    53 	};
       
    54 
       
    55 /**
       
    56 Errors used by the Codec API
       
    57 */
       
    58 enum TCodecApiErrors
       
    59 	{
       
    60 	/** 
       
    61  	Invalid state
       
    62  	*/
       
    63 	EInvalidState = 0,
       
    64 	/** 
       
    65  	Port already tunnelled
       
    66  	*/
       
    67 	EPortAlreadyTunnelled
       
    68 	};
       
    69 
       
    70 #endif // MDFCOMMON_H