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 |
|
50 // fields for exif |
|
51 const TUint8 KSconExifThumbnail ( 0x01 ); |
|
52 const TUint8 KSconExifDescription ( 0x02 ); |
|
53 const TUint8 KSconExifMake ( 0x03 ); |
|
54 const TUint8 KSconExifModel ( 0x04 ); |
|
55 const TUint8 KSconExifDateTime ( 0x05 ); |
|
56 const TUint8 KSconExifSoftware ( 0x06 ); |
|
57 const TUint8 KSconExifCopyright ( 0x07 ); |
|
58 const TUint8 KSconExifOrientation ( 0x08 ); |
|
59 const TUint8 KSconExifXResolution1 ( 0x09 ); |
|
60 const TUint8 KSconExifXResolution2 ( 0x0a ); |
|
61 const TUint8 KSconExifYResolution1 ( 0x0b ); |
|
62 const TUint8 KSconExifYResolution2 ( 0x0c ); |
|
63 const TUint8 KSconExifResolutionUnit ( 0x0d ); |
|
64 const TUint8 KSconExifYCbCrPositioning ( 0x0e ); |
|
65 const TUint8 KSconExifIsoSpeedRatings ( 0x0f ); |
|
66 const TUint8 KSconExifDateTimeOriginal ( 0x10 ); |
|
67 const TUint8 KSconExifDateTimeDigitized ( 0x11 ); |
|
68 const TUint8 KSconExifMakerNote ( 0x12 ); |
|
69 const TUint8 KSconExifUserComment ( 0x13 ); |
|
70 const TUint8 KSconExifRelatedSoundFile ( 0x14 ); |
|
71 const TUint8 KSconExifExposureTime1 ( 0x15 ); |
|
72 const TUint8 KSconExifExposureTime2 ( 0x16 ); |
|
73 const TUint8 KSconExifComponentsConfiguration ( 0x17 ); |
|
74 const TUint8 KSconExifFlash ( 0x18 ); |
|
75 const TUint8 KSconExifColorSpace ( 0x19 ); |
|
76 const TUint8 KSconExifPixelXDimension ( 0x1a ); |
|
77 const TUint8 KSconExifPixelYDimension ( 0x1b ); |
|
78 const TUint8 KSconExifExposureMode ( 0x1c ); |
|
79 const TUint8 KSconExifWhiteBalance ( 0x1d ); |
|
80 const TUint8 KSconExifSceneCaptureType ( 0x1e ); |
|
81 const TUint8 KSconExifExposureProgram ( 0x1f ); |
|
82 const TUint8 KSconExifApertureValue1 ( 0x20 ); |
|
83 const TUint8 KSconExifApertureValue2 ( 0x21 ); |
|
84 const TUint8 KSconExifExposureBiasValue1 ( 0x22 ); |
|
85 const TUint8 KSconExifExposureBiasValue2 ( 0x23 ); |
|
86 const TUint8 KSconExifMeteringMode ( 0x24 ); |
|
87 const TUint8 KSconExifLightSource ( 0x25 ); |
|
88 const TUint8 KSconExifFileSource ( 0x26 ); |
|
89 const TUint8 KSconExifDigitalZoomRatio1 ( 0x27 ); |
|
90 const TUint8 KSconExifDigitalZoomRatio2 ( 0x28 ); |
|
91 const TUint8 KSconExifContrast ( 0x29 ); |
|
92 const TUint8 KSconExifSaturation ( 0x2a ); |
|
93 const TUint8 KSconExifSharpness ( 0x2b ); |
|
94 const TUint8 KSconExifExifVersion ( 0x2c ); |
|
95 const TUint8 KSconExifFlashPixVersion ( 0x2d ); |
|
96 const TUint8 KSconExifThumbXResolution1 ( 0x2e ); |
|
97 const TUint8 KSconExifThumbXResolution2 ( 0x2f ); |
|
98 const TUint8 KSconExifThumbYResolution1 ( 0x30 ); |
|
99 const TUint8 KSconExifThumbYResolution2 ( 0x31 ); |
|
100 const TUint8 KSconExifThumbResolutionUnit ( 0x32 ); |
|
101 const TUint8 KSconExifThumbCompression ( 0x33 ); |
|
102 const TUint8 KSconExifThumbJpegInterchangeFormat ( 0x34 ); |
|
103 const TUint8 KSconExifThumbJpegInterchangeFormatLength ( 0x35 ); |
|
104 const TUint8 KSconExifShutterSpeedValue1 ( 0x36 ); |
|
105 const TUint8 KSconExifShutterSpeedValue2 ( 0x37 ); |
|
106 const TUint8 KSconExifBrightnessValue1 ( 0x38 ); |
|
107 const TUint8 KSconExifBrightnessValue2 ( 0x39 ); |
|
108 const TUint8 KSconExifCustomRendered ( 0x3a ); |
|
109 const TUint8 KSconExifGainControl ( 0x3b ); |
|
110 const TUint8 KSconExifGpsVersion ( 0x3c ); |
|
111 const TUint8 KSconExifGPSLatitude ( 0x3d ); |
|
112 const TUint8 KSconExifGPSLongitude ( 0x3e ); |
|
113 const TUint8 KSconExifGPSAltitude ( 0x3f ); |
|
114 const TUint8 KSconExifBitDepth ( 0x40 ); |
|
115 |
|
116 // fields for video |
|
117 const TUint8 KSconVideoFormat ( 0x01 ); |
|
118 const TUint8 KSconVideoFrameRate ( 0x02 ); |
|
119 const TUint8 KSconVideoFrameSizeWidth ( 0x03 ); |
|
120 const TUint8 KSconVideoFrameSizeHeight ( 0x04 ); |
|
121 const TUint8 KSconVideoVideoBitRate ( 0x05 ); |
|
122 const TUint8 KSconVideoAudioBitRate ( 0x06 ); |
|
123 const TUint8 KSconVideoDuration ( 0x07 ); |
|
124 const TUint8 KSconVideoThumbnail ( 0x08 ); |
|
125 const TUint8 KSconVideoAudioStreamMimetype ( 0x09 ); |
|
126 const TUint8 KSconVideoVideoStreamMimetype ( 0x0a ); |
|
127 |
|
128 #endif // _SCONMETADATAFIELDDEFS_H_ |
|