qtmobility/src/multimedia/qtmedianamespace.h
changeset 1 2b40d63a9c3d
child 4 90517678cc4f
equal deleted inserted replaced
0:cfcbf08528c4 1:2b40d63a9c3d
       
     1 /****************************************************************************
       
     2 **
       
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 ** All rights reserved.
       
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
       
     6 **
       
     7 ** This file is part of the Qt Mobility Components.
       
     8 **
       
     9 ** $QT_BEGIN_LICENSE:LGPL$
       
    10 ** No Commercial Usage
       
    11 ** This file contains pre-release code and may not be distributed.
       
    12 ** You may use this file in accordance with the terms and conditions
       
    13 ** contained in the Technology Preview License Agreement accompanying
       
    14 ** this package.
       
    15 **
       
    16 ** GNU Lesser General Public License Usage
       
    17 ** Alternatively, this file may be used under the terms of the GNU Lesser
       
    18 ** General Public License version 2.1 as published by the Free Software
       
    19 ** Foundation and appearing in the file LICENSE.LGPL included in the
       
    20 ** packaging of this file.  Please review the following information to
       
    21 ** ensure the GNU Lesser General Public License version 2.1 requirements
       
    22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
       
    23 **
       
    24 ** In addition, as a special exception, Nokia gives you certain additional
       
    25 ** rights.  These rights are described in the Nokia Qt LGPL Exception
       
    26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
       
    27 **
       
    28 ** If you have questions regarding the use of this file, please contact
       
    29 ** Nokia at qt-info@nokia.com.
       
    30 **
       
    31 **
       
    32 **
       
    33 **
       
    34 **
       
    35 **
       
    36 **
       
    37 **
       
    38 ** $QT_END_LICENSE$
       
    39 **
       
    40 ****************************************************************************/
       
    41 
       
    42 #ifndef QTMEDIANAMESPACE_H
       
    43 #define QTMEDIANAMESPACE_H
       
    44 
       
    45 #include <QtCore/qpair.h>
       
    46 #include <QtCore/qmetatype.h>
       
    47 
       
    48 #include <qmobilityglobal.h>
       
    49 
       
    50 QTM_BEGIN_NAMESPACE
       
    51 
       
    52 namespace QtMedia
       
    53 {
       
    54     enum MetaData
       
    55     {
       
    56         // Common
       
    57         Title,
       
    58         SubTitle,
       
    59         Author,
       
    60         Comment,
       
    61         Description,
       
    62         Category,
       
    63         Genre,
       
    64         Year,
       
    65         Date,
       
    66         UserRating,
       
    67         Keywords,
       
    68         Language,
       
    69         Publisher,
       
    70         Copyright,
       
    71         ParentalRating,
       
    72         RatingOrganisation,
       
    73 
       
    74         // Media
       
    75         Size,
       
    76         MediaType,
       
    77         Duration,
       
    78 
       
    79         // Audio
       
    80         AudioBitRate,
       
    81         AudioCodec,
       
    82         AverageLevel,
       
    83         ChannelCount,
       
    84         PeakValue,
       
    85         SampleRate,
       
    86 
       
    87         // Music
       
    88         AlbumTitle,
       
    89         AlbumArtist,
       
    90         ContributingArtist,
       
    91         Composer,
       
    92         Conductor,
       
    93         Lyrics,
       
    94         Mood,
       
    95         TrackNumber,
       
    96         TrackCount,
       
    97 
       
    98         CoverArtUrlSmall,
       
    99         CoverArtUrlLarge,
       
   100 
       
   101         // Image/Video
       
   102         Resolution,
       
   103         PixelAspectRatio,
       
   104 
       
   105         // Video
       
   106         VideoFrameRate,
       
   107         VideoBitRate,
       
   108         VideoCodec,
       
   109 
       
   110         PosterUrl,
       
   111 
       
   112         // Movie
       
   113         ChapterNumber,
       
   114         Director,
       
   115         LeadPerformer,
       
   116         Writer,
       
   117 
       
   118         // Photos
       
   119         CameraManufacturer,
       
   120         CameraModel,
       
   121         Event,
       
   122         Subject,
       
   123         Orientation,
       
   124         ExposureTime,
       
   125         FNumber,
       
   126         ExposureProgram,
       
   127         ISOSpeedRatings,
       
   128         ExposureBiasValue,
       
   129         DateTimeOriginal,
       
   130         DateTimeDigitized,
       
   131         SubjectDistance,
       
   132         MeteringMode,
       
   133         LightSource,
       
   134         Flash,
       
   135         FocalLength,
       
   136         ExposureMode,
       
   137         WhiteBalance,
       
   138         DigitalZoomRatio,
       
   139         FocalLengthIn35mmFilm,
       
   140         SceneCaptureType,
       
   141         GainControl,
       
   142         Contrast,
       
   143         Saturation,
       
   144         Sharpness,
       
   145         DeviceSettingDescription
       
   146     };
       
   147 
       
   148     enum SupportEstimate
       
   149     {
       
   150         NotSupported,
       
   151         MaybeSupported,
       
   152         ProbablySupported,
       
   153         PreferedService
       
   154     };
       
   155 
       
   156     enum EncodingQuality
       
   157     {
       
   158         VeryLowQuality,
       
   159         LowQuality,
       
   160         NormalQuality,
       
   161         HighQuality,
       
   162         VeryHighQuality
       
   163     };
       
   164 
       
   165     enum EncodingMode
       
   166     {
       
   167         ConstantQualityEncoding,
       
   168         ConstantBitRateEncoding,
       
   169         AverageBitRateEncoding,
       
   170         TwoPassEncoding
       
   171     };
       
   172 
       
   173     enum AvailabilityError
       
   174     {
       
   175         NoError,
       
   176         ServiceMissingError,
       
   177         BusyError,
       
   178         ResourceError
       
   179     };
       
   180 
       
   181 }
       
   182 
       
   183 QTM_END_NAMESPACE
       
   184 
       
   185 #endif