os/mm/mmlibs/mmfw/inc/mmf/common/MmfFourCC.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/mm/mmlibs/mmfw/inc/mmf/common/MmfFourCC.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,125 @@
     1.4 +/**
     1.5 +@file
     1.6 +@publishedAll
     1.7 +@released
     1.8 +*/
     1.9 +
    1.10 +// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
    1.11 +// All rights reserved.
    1.12 +// This component and the accompanying materials are made available
    1.13 +// under the terms of "Eclipse Public License v1.0"
    1.14 +// which accompanies this distribution, and is available
    1.15 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.16 +//
    1.17 +// Initial Contributors:
    1.18 +// Nokia Corporation - initial contribution.
    1.19 +//
    1.20 +// Contributors:
    1.21 +//
    1.22 +// Description:
    1.23 +// include\mmf\common\mmffourcc.h
    1.24 +// 
    1.25 +//
    1.26 +
    1.27 +#ifndef __MMF_COMMON_FOURCC_H__
    1.28 +#define __MMF_COMMON_FOURCC_H__
    1.29 +
    1.30 +
    1.31 +//Standard FourCC codes
    1.32 +
    1.33 +/** 8-bit PCM
    1.34 +*/
    1.35 +const TUint32 KMMFFourCCCodePCM8 = 0x38502020;		//( ' ', ' ', 'P', '8' )
    1.36 +
    1.37 +/** 8-bit unsigned PCM
    1.38 +*/
    1.39 +const TUint32 KMMFFourCCCodePCMU8 = 0x38555020;		//(' ', 'P', 'U', '8') 
    1.40 +
    1.41 +/** 16-bit PCM
    1.42 +*/
    1.43 +const TUint32 KMMFFourCCCodePCM16 = 0x36315020;		//(' ', 'P', '1', '6')
    1.44 +
    1.45 +/** 16-bit unsigned PCM
    1.46 +*/
    1.47 +const TUint32 KMMFFourCCCodePCMU16 = 0x36315550;	//('P', 'U', '1', '6')
    1.48 +
    1.49 +/** Most-Significant-Byte-first (big endian) 16-bit PCM
    1.50 +*/
    1.51 +const TUint32 KMMFFourCCCodePCM16B = 0x42363150;	//( 'P', '1', '6', 'B' )
    1.52 +
    1.53 +/** Most-Significant-Byte-first  (big endian)16-bit unsigned PCM
    1.54 +*/
    1.55 +const TUint32 KMMFFourCCCodePCMU16B = 0x42365550;	//( 'P', 'U', '6', 'B' )
    1.56 +
    1.57 +/** IMA ADPCM
    1.58 +*/
    1.59 +const TUint32 KMMFFourCCCodeIMAD = 0x44414d49;		//('I', 'M', 'A', 'D')
    1.60 +
    1.61 +/** IMA stereo ADPCM
    1.62 +*/
    1.63 +const TUint32 KMMFFourCCCodeIMAS = 0x53414d49;		//('I', 'M', 'A', 'S')
    1.64 +
    1.65 +/** ALAW
    1.66 +*/
    1.67 +const TUint32 KMMFFourCCCodeALAW = 0x57414c41;		//('A', 'L', 'A', 'W')
    1.68 +
    1.69 +/** MuLAW
    1.70 +*/
    1.71 +const TUint32 KMMFFourCCCodeMuLAW = 0x57414c75;		//('u', 'L', 'A', 'W')
    1.72 +
    1.73 +/** GSM 610
    1.74 +*/
    1.75 +const TUint32 KMMFFourCCCodeGSM610 = 0x364d5347;	//('G', 'S', 'M', '6')
    1.76 +
    1.77 +/** FourCC used if the actual fourCC is not known or not applicable
    1.78 +*/
    1.79 +const TUint32 KMMFFourCCCodeNULL = 0x4c4c554e;		//('N','U','L','L')
    1.80 +
    1.81 +/** AMR
    1.82 +*/
    1.83 +const TUint32 KMMFFourCCCodeAMR = 0x524d4120;		//(' ','A','M','R')
    1.84 +
    1.85 +/** Advanced Audio Codec (MPEG4, Audio layer 3)
    1.86 +*/
    1.87 +const TUint32 KMMFFourCCCodeAAC = 0x43414120;		//(' ','A','A','C')
    1.88 +
    1.89 +/** Wideband AMR
    1.90 +*/
    1.91 +const TUint32 KMMFFourCCCodeAWB = 0x42574120;		//(' ','A','W','B')
    1.92 +
    1.93 +/** MPEG, Audio layer 3
    1.94 +*/
    1.95 +const TUint32 KMMFFourCCCodeMP3 = 0x33504d20;		//(' ','M','P','3')
    1.96 +
    1.97 +/** ATRAC3
    1.98 +*/
    1.99 +const TUint32 KMMFFourCCCodeATRAC3 = 0x33525441;	//('A','T','R','3')
   1.100 +
   1.101 +/** SBC
   1.102 +*/
   1.103 +const TUint32 KMMFFourCCCodeSBC = 0x43425320;		//(' ','S','B','C')
   1.104 +
   1.105 +/** AMR Wideband
   1.106 +*/
   1.107 +const TUint32 KMMFFourCCCodeAMRW = 0x57524d41;		//{'A', 'M', 'R', 'W'}
   1.108 +
   1.109 +/** AAC Variant ADTS
   1.110 +*/
   1.111 +const TUint32 KMMFFourCCCodeADTS = 0x53544441;		//{'A', 'D', 'T', 'S'}
   1.112 +
   1.113 +/** Windows Media Audio  (WMA)
   1.114 +*/
   1.115 +const TUint32 KMMFFourCCCodeWMA = 0x414d5720;		//{' ', 'W', 'M', 'A'}
   1.116 +
   1.117 +/** Dolby Digital (AC-3)
   1.118 +*/
   1.119 +const TUint32 KMMFFourCCCodeAC3 = 0x33434120;		//{' ', 'A', 'C', '3'}
   1.120 +
   1.121 +/** Dolby Digital Plus (E-AC-3)
   1.122 +*/
   1.123 +const TUint32 KMMFFourCCCodeEAC3 = 0x33434145;		//{'E', 'A', 'C', '3'}
   1.124 +
   1.125 +#include <mmf/common/mmfutilities.h>
   1.126 +
   1.127 +
   1.128 +#endif