Update contrib.
1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
22 #ifndef __VIDEODRIVER_H__
23 #define __VIDEODRIVER_H__
40 Encapsulates information about the screen display mode.
42 An object of this type is passed, via a TPckgBuf, to the HAL handler
43 that deals with the HAL group,function-id pair:
44 - EHalGroupDisplay, EDisplayHalCurrentModeInfo;
45 - EHalGroupDisplay, EDisplayHalSpecifiedModeInfo;
47 @see EDisplayHalCurrentModeInfo
48 @see EDisplayHalSpecifiedModeInfo
49 @see TDisplayHalFunction
56 TSize iSizeInPixels; /**< The visible width/height of the display in pixels. */
57 TSize iSizeInTwips; /**< The visible width/height of the display in twips. */
58 TBool iIsMono; /**< True if display is monochrome; false otherwise. */
59 TBool iIsPalettized; /**< True if display is palettized (in current display mode); false otherwise. */
60 TInt iBitsPerPixel; /**< The number of bits in one pixel. */
61 TInt iVideoAddress; /**< The virtual address of screen memory. */
62 TInt iOffsetToFirstPixel; /**< Number of bytes from iVideoAddress for the first displayed pixel. */
63 TInt iOffsetBetweenLines; /**< Number of bytes between start of one line and start of next. */
64 TBool iIsPixelOrderRGB; /**< The orientation of sub pixels on the screen; True if RBG, False if BGR. */
65 TBool iIsPixelOrderLandscape; /**< True if display pixels are landscape. */
66 TInt iDisplayMode; /**< The current display mode. */
71 Package buffer for a TVideoInfoV01 object.
75 typedef TPckgBuf<TVideoInfoV01> TVideoInfoV01Buf;