mw::mo::helper::VideoPresentationBuffer::GetDisplayId Function

Syntax


virtual u32 GetDisplayId (int eyeIndex) = 0;

Arguments

Name Description
in eyeIndex The eye index of the wanted target screen buffer display Id.
RGB->YUV color conversion batches are processed in the following order: images of top screen video stream then of bottom screen video stream.
Valid eyeIndex values are 0, 1 and 2 and reflect the order in which color conversions are done.
eyeIndex value 0 and 1 are always associated to the top screen video stream.
eyeIndex value 0 correspond to the first eye image of a 3D video stream or the image of a 2D video stream, this is always the first image to be color converted.
eyeIndex value 1 correspond to the second eye image of a 3D video stream, this is always the second image to be color converted.
eyeIndex value 2 is always associated to the bottom screen video stream and is always the last to be color converted.
If value is 2 then NN_GX_DISPLAY1 value is returned.
If value is 0 and top screen video stream layout is 2D or 3D with left eye encoder first then NN_GX_DISPLAY0 value is returned.
If value is 0 and top screen video stream layout is 3D with right eye encoder first then NN_GX_DISPLAY0_EXT value is returned.
If value is 1 and top screen video stream layout is 2D or 3D with left eye encoder first then NN_GX_DISPLAY0_EXT value is returned.
If value is 1 and top screen video stream layout is 3D with right eye encoder first then NN_GX_DISPLAY0 value is returned.

Returns

The display Id of the screen buffer indexed by eyeIndex.
Value can be NN_GX_DISPLAY0, NN_GX_DISPLAY0_EXT or NN_GX_DISPLAY1.

Description

Retrieves display Id of the current target screen buffer indexed by eyeIndex.

Revision History

2011/10/03
Initial version.