7 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
8 // All rights reserved.
9 // This component and the accompanying materials are made available
10 // under the terms of "Eclipse Public License v1.0"
11 // which accompanies this distribution, and is available
12 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
14 // Initial Contributors:
15 // Nokia Corporation - initial contribution.
20 // include\mmf\common\mmffourcc.h
24 #ifndef __MMF_COMMON_FOURCC_H__
25 #define __MMF_COMMON_FOURCC_H__
28 //Standard FourCC codes
32 const TUint32 KMMFFourCCCodePCM8 = 0x38502020; //( ' ', ' ', 'P', '8' )
34 /** 8-bit unsigned PCM
36 const TUint32 KMMFFourCCCodePCMU8 = 0x38555020; //(' ', 'P', 'U', '8')
40 const TUint32 KMMFFourCCCodePCM16 = 0x36315020; //(' ', 'P', '1', '6')
42 /** 16-bit unsigned PCM
44 const TUint32 KMMFFourCCCodePCMU16 = 0x36315550; //('P', 'U', '1', '6')
46 /** Most-Significant-Byte-first (big endian) 16-bit PCM
48 const TUint32 KMMFFourCCCodePCM16B = 0x42363150; //( 'P', '1', '6', 'B' )
50 /** Most-Significant-Byte-first (big endian)16-bit unsigned PCM
52 const TUint32 KMMFFourCCCodePCMU16B = 0x42365550; //( 'P', 'U', '6', 'B' )
56 const TUint32 KMMFFourCCCodeIMAD = 0x44414d49; //('I', 'M', 'A', 'D')
60 const TUint32 KMMFFourCCCodeIMAS = 0x53414d49; //('I', 'M', 'A', 'S')
64 const TUint32 KMMFFourCCCodeALAW = 0x57414c41; //('A', 'L', 'A', 'W')
68 const TUint32 KMMFFourCCCodeMuLAW = 0x57414c75; //('u', 'L', 'A', 'W')
72 const TUint32 KMMFFourCCCodeGSM610 = 0x364d5347; //('G', 'S', 'M', '6')
74 /** FourCC used if the actual fourCC is not known or not applicable
76 const TUint32 KMMFFourCCCodeNULL = 0x4c4c554e; //('N','U','L','L')
80 const TUint32 KMMFFourCCCodeAMR = 0x524d4120; //(' ','A','M','R')
82 /** Advanced Audio Codec (MPEG4, Audio layer 3)
84 const TUint32 KMMFFourCCCodeAAC = 0x43414120; //(' ','A','A','C')
88 const TUint32 KMMFFourCCCodeAWB = 0x42574120; //(' ','A','W','B')
90 /** MPEG, Audio layer 3
92 const TUint32 KMMFFourCCCodeMP3 = 0x33504d20; //(' ','M','P','3')
96 const TUint32 KMMFFourCCCodeATRAC3 = 0x33525441; //('A','T','R','3')
100 const TUint32 KMMFFourCCCodeSBC = 0x43425320; //(' ','S','B','C')
104 const TUint32 KMMFFourCCCodeAMRW = 0x57524d41; //{'A', 'M', 'R', 'W'}
108 const TUint32 KMMFFourCCCodeADTS = 0x53544441; //{'A', 'D', 'T', 'S'}
110 /** Windows Media Audio (WMA)
112 const TUint32 KMMFFourCCCodeWMA = 0x414d5720; //{' ', 'W', 'M', 'A'}
114 /** Dolby Digital (AC-3)
116 const TUint32 KMMFFourCCCodeAC3 = 0x33434120; //{' ', 'A', 'C', '3'}
118 /** Dolby Digital Plus (E-AC-3)
120 const TUint32 KMMFFourCCCodeEAC3 = 0x33434145; //{'E', 'A', 'C', '3'}
122 #include <mmf/common/mmfutilities.h>