photos_plat/gallery_utilities_api/inc/glxthumbnailinfo.h
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2008-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:    Thumbnail Info
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef T_GLXTHUMBNAILINFO_H
       
    22 #define T_GLXTHUMBNAILINFO_H
       
    23 
       
    24 #include <e32base.h>
       
    25 
       
    26 // MPX attribute content IDs
       
    27 const TInt KGlxMediaIdBitmapHandle = 0x02387563; // Temporary hack to pass bitmap handle to CPI
       
    28 
       
    29 // DRM thumbnail size
       
    30 const TInt KGlxThumbnailDrmWidth = 111;
       
    31 const TInt KGlxThumbnailDrmHeight = 83;
       
    32 
       
    33 /**
       
    34  * TGlxThumbnailQuality
       
    35  * 
       
    36  * Quality of a thumbnail
       
    37  */
       
    38 enum TGlxThumbnailQuality
       
    39 	{
       
    40     EGlxThumbnailQualityLow = 0,    // The thumbnail quality is low (probably generated with EPrioritizeSpeed)
       
    41     EGlxThumbnailQualityHigh = 255  // The thumbnail quality is high (possibly generated with EPrioritizeQuality)
       
    42 	};
       
    43 
       
    44 /**
       
    45  * Type of filter to apply to the generated thumbnail.
       
    46  */
       
    47 enum TGlxThumbnailFilter
       
    48     {
       
    49     EGlxThumbnailFilterNone,
       
    50     EGlxThumbnailFilterBlur
       
    51     };
       
    52 
       
    53 #endif // T_GLXTHUMBNAILINFO_H