uiacceltk/hitchcock/coretoolkit/rendervg10/inc/HuiFxVg10BrightnessContrastFilter.h
changeset 0 15bf7259bb7c
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     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:   
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef HUIFXVG10BRIGHTNESSCONTRASTFILTER_H_
       
    21 #define HUIFXVG10BRIGHTNESSCONTRASTFILTER_H_
       
    22 
       
    23 #include "HuiFxVg10ColorMatrixFilterBase.h"
       
    24 
       
    25 class CHuiFxVg10BrightnessContrastFilter: public CHuiFxVg10ColorMatrixFilterBase
       
    26     {
       
    27 public:
       
    28     static CHuiFxVg10BrightnessContrastFilter* NewL();
       
    29     CHuiFxVg10BrightnessContrastFilter *CloneL() const;
       
    30 protected:
       
    31     void ConstructL();
       
    32     void UpdateColorMatrix(void);    
       
    33 private:
       
    34     TReal32 iBrightness;    // from -1.0f to 1.0f 
       
    35     TReal32 iContrast;      // from 0.0f to N
       
    36     };
       
    37 
       
    38 #endif /*HUIFXVG10BRIGHTNESSCONTRASTFILTER_H_*/