mmlibs/mmfw/inc/mmf/common/MmfFourCC.h
changeset 0 40261b775718
equal deleted inserted replaced
-1:000000000000 0:40261b775718
       
     1 /**
       
     2 @file
       
     3 @publishedAll
       
     4 @released
       
     5 */
       
     6 
       
     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".
       
    13 //
       
    14 // Initial Contributors:
       
    15 // Nokia Corporation - initial contribution.
       
    16 //
       
    17 // Contributors:
       
    18 //
       
    19 // Description:
       
    20 // include\mmf\common\mmffourcc.h
       
    21 // 
       
    22 //
       
    23 
       
    24 #ifndef __MMF_COMMON_FOURCC_H__
       
    25 #define __MMF_COMMON_FOURCC_H__
       
    26 
       
    27 
       
    28 //Standard FourCC codes
       
    29 
       
    30 /** 8-bit PCM
       
    31 */
       
    32 const TUint32 KMMFFourCCCodePCM8 = 0x38502020;		//( ' ', ' ', 'P', '8' )
       
    33 
       
    34 /** 8-bit unsigned PCM
       
    35 */
       
    36 const TUint32 KMMFFourCCCodePCMU8 = 0x38555020;		//(' ', 'P', 'U', '8') 
       
    37 
       
    38 /** 16-bit PCM
       
    39 */
       
    40 const TUint32 KMMFFourCCCodePCM16 = 0x36315020;		//(' ', 'P', '1', '6')
       
    41 
       
    42 /** 16-bit unsigned PCM
       
    43 */
       
    44 const TUint32 KMMFFourCCCodePCMU16 = 0x36315550;	//('P', 'U', '1', '6')
       
    45 
       
    46 /** Most-Significant-Byte-first (big endian) 16-bit PCM
       
    47 */
       
    48 const TUint32 KMMFFourCCCodePCM16B = 0x42363150;	//( 'P', '1', '6', 'B' )
       
    49 
       
    50 /** Most-Significant-Byte-first  (big endian)16-bit unsigned PCM
       
    51 */
       
    52 const TUint32 KMMFFourCCCodePCMU16B = 0x42365550;	//( 'P', 'U', '6', 'B' )
       
    53 
       
    54 /** IMA ADPCM
       
    55 */
       
    56 const TUint32 KMMFFourCCCodeIMAD = 0x44414d49;		//('I', 'M', 'A', 'D')
       
    57 
       
    58 /** IMA stereo ADPCM
       
    59 */
       
    60 const TUint32 KMMFFourCCCodeIMAS = 0x53414d49;		//('I', 'M', 'A', 'S')
       
    61 
       
    62 /** ALAW
       
    63 */
       
    64 const TUint32 KMMFFourCCCodeALAW = 0x57414c41;		//('A', 'L', 'A', 'W')
       
    65 
       
    66 /** MuLAW
       
    67 */
       
    68 const TUint32 KMMFFourCCCodeMuLAW = 0x57414c75;		//('u', 'L', 'A', 'W')
       
    69 
       
    70 /** GSM 610
       
    71 */
       
    72 const TUint32 KMMFFourCCCodeGSM610 = 0x364d5347;	//('G', 'S', 'M', '6')
       
    73 
       
    74 /** FourCC used if the actual fourCC is not known or not applicable
       
    75 */
       
    76 const TUint32 KMMFFourCCCodeNULL = 0x4c4c554e;		//('N','U','L','L')
       
    77 
       
    78 /** AMR
       
    79 */
       
    80 const TUint32 KMMFFourCCCodeAMR = 0x524d4120;		//(' ','A','M','R')
       
    81 
       
    82 /** Advanced Audio Codec (MPEG4, Audio layer 3)
       
    83 */
       
    84 const TUint32 KMMFFourCCCodeAAC = 0x43414120;		//(' ','A','A','C')
       
    85 
       
    86 /** Wideband AMR
       
    87 */
       
    88 const TUint32 KMMFFourCCCodeAWB = 0x42574120;		//(' ','A','W','B')
       
    89 
       
    90 /** MPEG, Audio layer 3
       
    91 */
       
    92 const TUint32 KMMFFourCCCodeMP3 = 0x33504d20;		//(' ','M','P','3')
       
    93 
       
    94 /** ATRAC3
       
    95 */
       
    96 const TUint32 KMMFFourCCCodeATRAC3 = 0x33525441;	//('A','T','R','3')
       
    97 
       
    98 /** SBC
       
    99 */
       
   100 const TUint32 KMMFFourCCCodeSBC = 0x43425320;		//(' ','S','B','C')
       
   101 
       
   102 /** AMR Wideband
       
   103 */
       
   104 const TUint32 KMMFFourCCCodeAMRW = 0x57524d41;		//{'A', 'M', 'R', 'W'}
       
   105 
       
   106 /** AAC Variant ADTS
       
   107 */
       
   108 const TUint32 KMMFFourCCCodeADTS = 0x53544441;		//{'A', 'D', 'T', 'S'}
       
   109 
       
   110 /** Windows Media Audio  (WMA)
       
   111 */
       
   112 const TUint32 KMMFFourCCCodeWMA = 0x414d5720;		//{' ', 'W', 'M', 'A'}
       
   113 
       
   114 /** Dolby Digital (AC-3)
       
   115 */
       
   116 const TUint32 KMMFFourCCCodeAC3 = 0x33434120;		//{' ', 'A', 'C', '3'}
       
   117 
       
   118 /** Dolby Digital Plus (E-AC-3)
       
   119 */
       
   120 const TUint32 KMMFFourCCCodeEAC3 = 0x33434145;		//{'E', 'A', 'C', '3'}
       
   121 
       
   122 #include <mmf/common/mmfutilities.h>
       
   123 
       
   124 
       
   125 #endif