connectivitymodules/SeCon/services/pcd/inc/sconmetadatafielddefs.h
branchRCL_3
changeset 20 4a793f564d72
equal deleted inserted replaced
19:0aa8cc770c8a 20:4a793f564d72
       
     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:  Metadata field definitions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef _SCONMETADATAFIELDDEFS_H_
       
    20 #define _SCONMETADATAFIELDDEFS_H_
       
    21 
       
    22 // Content type header
       
    23 const TUint8 KSconMetadataHeaderAudio( 0x01 );
       
    24 const TUint8 KSconMetadataHeaderExif ( 0x02 );
       
    25 const TUint8 KSconMetadataHeaderVideo( 0x03 );
       
    26 
       
    27 const TUint8 KSconMetadataHeaderVersion ( 0x02 ); // format version = 2
       
    28 
       
    29 // fields for audio
       
    30 const TUint8 KSconAudioID3Version   ( 0x01 );
       
    31 const TUint8 KSconAudioTitle        ( 0x02 );
       
    32 const TUint8 KSconAudioArtist       ( 0x03 );
       
    33 const TUint8 KSconAudioAlbum        ( 0x04 );
       
    34 const TUint8 KSconAudioYear         ( 0x05 );
       
    35 const TUint8 KSconAudioComment      ( 0x06 );
       
    36 const TUint8 KSconAudioAlbumTrack   ( 0x07 );
       
    37 const TUint8 KSconAudioGenre        ( 0x08 );
       
    38 const TUint8 KSconAudioComposer     ( 0x09 );
       
    39 const TUint8 KSconAudioCopyright    ( 0x0a );
       
    40 const TUint8 KSconAudioOriginalArtist( 0x0b );
       
    41 const TUint8 KSconAudioUrl          ( 0x0c );
       
    42 const TUint8 KSconAudioUserUrl      ( 0x0d );
       
    43 const TUint8 KSconAudioJpeg         ( 0x0e );
       
    44 const TUint8 KSconAudioVendor       ( 0x0f );
       
    45 const TUint8 KSconAudioRating       ( 0x10 );
       
    46 const TUint8 KSconAudioUniqueFileIdentifier( 0x11 );
       
    47 const TUint8 KSconAudioDuration     ( 0x12 );
       
    48 const TUint8 KSconAudioDate         ( 0x13 );
       
    49 const TUint8 KSconAudioUnsyncLyrics ( 0x14 );
       
    50 const TUint8 KSconAudioProtected    ( 0x15 );
       
    51 
       
    52 // fields for exif
       
    53 const TUint8 KSconExifThumbnail         ( 0x01 );
       
    54 const TUint8 KSconExifDescription       ( 0x02 );
       
    55 const TUint8 KSconExifMake              ( 0x03 );
       
    56 const TUint8 KSconExifModel             ( 0x04 );
       
    57 const TUint8 KSconExifDateTime          ( 0x05 );
       
    58 const TUint8 KSconExifSoftware          ( 0x06 );
       
    59 const TUint8 KSconExifCopyright         ( 0x07 );
       
    60 const TUint8 KSconExifOrientation       ( 0x08 );
       
    61 const TUint8 KSconExifXResolution1      ( 0x09 );
       
    62 const TUint8 KSconExifXResolution2      ( 0x0a );
       
    63 const TUint8 KSconExifYResolution1      ( 0x0b );
       
    64 const TUint8 KSconExifYResolution2      ( 0x0c );
       
    65 const TUint8 KSconExifResolutionUnit    ( 0x0d );
       
    66 const TUint8 KSconExifYCbCrPositioning  ( 0x0e );
       
    67 const TUint8 KSconExifIsoSpeedRatings   ( 0x0f );
       
    68 const TUint8 KSconExifDateTimeOriginal  ( 0x10 );
       
    69 const TUint8 KSconExifDateTimeDigitized ( 0x11 );
       
    70 const TUint8 KSconExifMakerNote         ( 0x12 );
       
    71 const TUint8 KSconExifUserComment       ( 0x13 );
       
    72 const TUint8 KSconExifRelatedSoundFile  ( 0x14 );
       
    73 const TUint8 KSconExifExposureTime1     ( 0x15 );
       
    74 const TUint8 KSconExifExposureTime2     ( 0x16 );
       
    75 const TUint8 KSconExifComponentsConfiguration ( 0x17 );
       
    76 const TUint8 KSconExifFlash             ( 0x18 );
       
    77 const TUint8 KSconExifColorSpace        ( 0x19 );
       
    78 const TUint8 KSconExifPixelXDimension   ( 0x1a );
       
    79 const TUint8 KSconExifPixelYDimension   ( 0x1b );
       
    80 const TUint8 KSconExifExposureMode      ( 0x1c );
       
    81 const TUint8 KSconExifWhiteBalance      ( 0x1d );
       
    82 const TUint8 KSconExifSceneCaptureType  ( 0x1e );
       
    83 const TUint8 KSconExifExposureProgram   ( 0x1f );
       
    84 const TUint8 KSconExifApertureValue1    ( 0x20 );
       
    85 const TUint8 KSconExifApertureValue2    ( 0x21 );
       
    86 const TUint8 KSconExifExposureBiasValue1 ( 0x22 );
       
    87 const TUint8 KSconExifExposureBiasValue2 ( 0x23 );
       
    88 const TUint8 KSconExifMeteringMode      ( 0x24 );
       
    89 const TUint8 KSconExifLightSource       ( 0x25 );
       
    90 const TUint8 KSconExifFileSource        ( 0x26 );
       
    91 const TUint8 KSconExifDigitalZoomRatio1 ( 0x27 );
       
    92 const TUint8 KSconExifDigitalZoomRatio2 ( 0x28 );
       
    93 const TUint8 KSconExifContrast          ( 0x29 );
       
    94 const TUint8 KSconExifSaturation        ( 0x2a );
       
    95 const TUint8 KSconExifSharpness         ( 0x2b );
       
    96 const TUint8 KSconExifExifVersion       ( 0x2c );
       
    97 const TUint8 KSconExifFlashPixVersion   ( 0x2d );
       
    98 const TUint8 KSconExifThumbXResolution1 ( 0x2e );
       
    99 const TUint8 KSconExifThumbXResolution2 ( 0x2f );
       
   100 const TUint8 KSconExifThumbYResolution1 ( 0x30 );
       
   101 const TUint8 KSconExifThumbYResolution2 ( 0x31 );
       
   102 const TUint8 KSconExifThumbResolutionUnit   ( 0x32 );
       
   103 const TUint8 KSconExifThumbCompression      ( 0x33 );
       
   104 const TUint8 KSconExifThumbJpegInterchangeFormat        ( 0x34 );
       
   105 const TUint8 KSconExifThumbJpegInterchangeFormatLength  ( 0x35 );
       
   106 const TUint8 KSconExifShutterSpeedValue1 ( 0x36 );
       
   107 const TUint8 KSconExifShutterSpeedValue2 ( 0x37 );
       
   108 const TUint8 KSconExifBrightnessValue1  ( 0x38 );
       
   109 const TUint8 KSconExifBrightnessValue2  ( 0x39 );
       
   110 const TUint8 KSconExifCustomRendered    ( 0x3a );
       
   111 const TUint8 KSconExifGainControl       ( 0x3b );
       
   112 const TUint8 KSconExifGpsVersion        ( 0x3c );
       
   113 const TUint8 KSconExifGPSLatitude    	( 0x3d );
       
   114 const TUint8 KSconExifGPSLongitude      ( 0x3e );
       
   115 const TUint8 KSconExifGPSAltitude       ( 0x3f );
       
   116 const TUint8 KSconExifBitDepth	        ( 0x40 );
       
   117 
       
   118 // fields for video
       
   119 const TUint8 KSconVideoFormat			( 0x01 );
       
   120 const TUint8 KSconVideoFrameRate		( 0x02 );
       
   121 const TUint8 KSconVideoFrameSizeWidth	( 0x03 );
       
   122 const TUint8 KSconVideoFrameSizeHeight	( 0x04 );
       
   123 const TUint8 KSconVideoVideoBitRate		( 0x05 );
       
   124 const TUint8 KSconVideoAudioBitRate		( 0x06 );
       
   125 const TUint8 KSconVideoDuration			( 0x07 );
       
   126 const TUint8 KSconVideoThumbnail		( 0x08 );
       
   127 const TUint8 KSconVideoAudioStreamMimetype	( 0x09 );
       
   128 const TUint8 KSconVideoVideoStreamMimetype	( 0x0a );
       
   129 
       
   130 #endif // _SCONMETADATAFIELDDEFS_H_