camerauis/cameraxui/cxengine/inc/api/cxequalitydetails.h
changeset 19 d9aefe59d544
child 21 fa6d9f75d6a6
equal deleted inserted replaced
3:8b2d6d0384b0 19:d9aefe59d544
       
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 *
       
    16 */
       
    17 #ifndef CXEQUALITYDETAILS_H
       
    18 #define CXEQUALITYDETAILS_H
       
    19 
       
    20 #include "cxenamespace.h"
       
    21 
       
    22 
       
    23 /*!
       
    24 * data structure that holds ALL details of Image.
       
    25 */
       
    26 struct CxeImageDetails
       
    27 {
       
    28     int mWidth;
       
    29     int mHeight;
       
    30     int mEstimatedSize; // size in bytes
       
    31     QString mMpxCount; // mega pixel count
       
    32     int mPossibleImages; // no of images that can be taken, with current resolution
       
    33     QString mImageFileExtension;
       
    34     Cxe::AspectRatio mAspectRatio;
       
    35     // for sorting list of CxeImageDetails.
       
    36     bool operator<(const CxeImageDetails &s1) const;
       
    37 };
       
    38 
       
    39 
       
    40 /*!
       
    41 data structure that holds ALL details of Video.
       
    42 */
       
    43 struct CxeVideoDetails
       
    44 {
       
    45     int mWidth;
       
    46     int mHeight;
       
    47     int mRemainingTime;
       
    48     int mMaximumSizeInBytes; // zero means no limit
       
    49     int mAudioBitRate;
       
    50     int mVideoBitRate;
       
    51     qreal mVideoFrameRate;
       
    52     QString mAudioType;
       
    53     QString mVideoFileMimeType;
       
    54     QString mPreferredSupplier;
       
    55     QString mVideoCodecMimeType;
       
    56     Cxe::AspectRatio mAspectRatio;
       
    57 
       
    58     // for sorting list of CxeVideoDetails.
       
    59     bool operator<(const CxeVideoDetails &s1) const;
       
    60 };
       
    61 
       
    62 
       
    63 #endif  // CXEQUALITYDETAILS_H