Commit 8f166551 authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed missing defaults causing warnings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17470 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 79acfdec
...@@ -228,7 +228,7 @@ void PostProcessorPhilipsStereoPlugin::postProcess(ACG::GLState* _glstate, const ...@@ -228,7 +228,7 @@ void PostProcessorPhilipsStereoPlugin::postProcess(ACG::GLState* _glstate, const
// 3 Game // 3 Game
// 4 CGI // 4 CGI
// 5 Still // 5 Still
header[1] = OpenFlipperSettings().value("Core/Stereo/Philips/Content").toInt(); // Hdr_Content_type (Game) = 00000011 (Gaming Mode) header[1] = OpenFlipperSettings().value("Core/Stereo/Philips/Content",3).toInt(); // Hdr_Content_type (Game) = 00000011 (Gaming Mode)
// Header Factor // Header Factor
// Each 3D Display has a 'Display recommended depth value', which corresponds to an // Each 3D Display has a 'Display recommended depth value', which corresponds to an
...@@ -239,7 +239,7 @@ void PostProcessorPhilipsStereoPlugin::postProcess(ACG::GLState* _glstate, const ...@@ -239,7 +239,7 @@ void PostProcessorPhilipsStereoPlugin::postProcess(ACG::GLState* _glstate, const
// works on a linear scale and is multiplied with the factor controlled by the user in the Display // works on a linear scale and is multiplied with the factor controlled by the user in the Display
// Control Tool. // Control Tool.
// Value range: 0-255 (default 64) // Value range: 0-255 (default 64)
header[2] = OpenFlipperSettings().value("Core/Stereo/Philips/Factor").toInt(); // Hdr_Factor header[2] = OpenFlipperSettings().value("Core/Stereo/Philips/Factor",64).toInt(); // Hdr_Factor
// Header Offset CC // Header Offset CC
// Values in the Depth map equal to the header-offset value will be located on the plane of the // Values in the Depth map equal to the header-offset value will be located on the plane of the
...@@ -248,7 +248,7 @@ void PostProcessorPhilipsStereoPlugin::postProcess(ACG::GLState* _glstate, const ...@@ -248,7 +248,7 @@ void PostProcessorPhilipsStereoPlugin::postProcess(ACG::GLState* _glstate, const
// Offset_CC is the offset controlled by the Content Creator. In the system there is also an // Offset_CC is the offset controlled by the Content Creator. In the system there is also an
// Offset_user present, which is controlled by the user using the Display Control Tool. // Offset_user present, which is controlled by the user using the Display Control Tool.
// Value Range: 0-255 (default 128) // Value Range: 0-255 (default 128)
header[3] = OpenFlipperSettings().value("Core/Stereo/Philips/Offset").toInt(); // Hdr_Offset_CC header[3] = OpenFlipperSettings().value("Core/Stereo/Philips/Offset",128).toInt(); // Hdr_Offset_CC
// Header select // Header select
// When all select signals are low the rendering settings are set to optimal settings for the content // When all select signals are low the rendering settings are set to optimal settings for the content
...@@ -259,7 +259,7 @@ void PostProcessorPhilipsStereoPlugin::postProcess(ACG::GLState* _glstate, const ...@@ -259,7 +259,7 @@ void PostProcessorPhilipsStereoPlugin::postProcess(ACG::GLState* _glstate, const
// 1 Use Header provided factor // 1 Use Header provided factor
// 2 Use Header provided offset // 2 Use Header provided offset
// 3 Use both factor and offset // 3 Use both factor and offset
header[4] = OpenFlipperSettings().value("Core/Stereo/Philips/Select").toInt(); // Hdr_Factor_select(1) + Hdr_Offset_select(1) + reserved(6) header[4] = OpenFlipperSettings().value("Core/Stereo/Philips/Select",0).toInt(); // Hdr_Factor_select(1) + Hdr_Offset_select(1) + reserved(6)
// Unused Header entry (leave at 0 !) // Unused Header entry (leave at 0 !)
header[5] = 0; // Reserved header[5] = 0; // Reserved
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment