vtprotocolplugins/DisplaySink/inc/TDisplaySinkParamsDSA.h
changeset 0 ed9695c8bcbe
equal deleted inserted replaced
-1:000000000000 0:ed9695c8bcbe
       
     1 /*
       
     2 * Copyright (c) 2006 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:  DisplaySink subsystem.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef TDISPLAYSINKPARAMSDSA_H
       
    20 #define TDISPLAYSINKPARAMSDSA_H
       
    21 
       
    22 // INCLUDE FILES
       
    23 
       
    24 #include "cvtimagerotator.h"
       
    25 #include "mdisplaysink.h"
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30 *  Displaysink initialization parameters for DisplaySink's Direct Screen Access
       
    31 *  implementation.
       
    32 *
       
    33 *  @lib displaysink.lib
       
    34 *  @since Series 60 3.1
       
    35 */
       
    36 NONSHARABLE_CLASS( TDisplaySinkParamsDSA ) : public TDisplaySinkParams
       
    37     {
       
    38 public:
       
    39 
       
    40     /**
       
    41     * C++ constructor
       
    42     */
       
    43     TDisplaySinkParamsDSA();
       
    44 
       
    45 public:
       
    46     // Handle to first bitmap that is filled by the sink. 176x144 bitmap (QCIF)
       
    47     TInt iBitmap1Handle;
       
    48 
       
    49     // Handle to second bitmap that is filled by the sink. 176x144 bitmap (QCIF)
       
    50     TInt iBitmap2Handle;
       
    51 
       
    52     // Angle to which YUV image must be rotated BEFORE it is converted into bitmap.
       
    53     // If CVtImageRotator::ERotationNone is given, image will be converted as it
       
    54     // is received. Also make sure that iBitmap1Handle and iBitmap2Handle contains
       
    55     // correct dimensions AFTER rotation.
       
    56     CVtImageRotator::TRotationAngle iRotationAngle;
       
    57     };
       
    58 
       
    59 #include "tdisplaysinkparamsdsa.inl"
       
    60 
       
    61 #endif // TDISPLAYSINKPARAMSDSA_H
       
    62 
       
    63 // End of File