equal
deleted
inserted
replaced
1365 |
1365 |
1366 if( KErrNone == retVal ) |
1366 if( KErrNone == retVal ) |
1367 { |
1367 { |
1368 TInt availableIndex = 0; |
1368 TInt availableIndex = 0; |
1369 TBool found( EFalse ); |
1369 TBool found( EFalse ); |
1370 TBool defaultCEAmode( EFalse ); |
1370 TBool defaultCEAmode( EFalse ), ceaMode( EFalse ); |
1371 supportedCount = supportedModes.Count(); |
1371 supportedCount = supportedModes.Count(); |
1372 INFO_1( "HDMI CONFIGS --- From HW -- Total : %d", supportedCount ); |
1372 INFO_1( "HDMI CONFIGS --- From HW -- Total : %d", supportedCount ); |
1373 |
1373 |
1374 INFO( "Filtered list -- START" ); |
1374 INFO( "Filtered list -- START" ); |
1375 while( availableIndex < availableCount ) |
1375 while( availableIndex < availableCount ) |
1381 // Check CEA mode |
1381 // Check CEA mode |
1382 if( aHdmiConfigs[ availableIndex ].iCeaMode && |
1382 if( aHdmiConfigs[ availableIndex ].iCeaMode && |
1383 (TSupportedHdmiDviMode::ECea == supportedModes[ supportedIndex ].iStandardModeType) && |
1383 (TSupportedHdmiDviMode::ECea == supportedModes[ supportedIndex ].iStandardModeType) && |
1384 (aHdmiConfigs[ availableIndex ].iCeaMode == supportedModes[ supportedIndex ].iStandardMode) ) |
1384 (aHdmiConfigs[ availableIndex ].iCeaMode == supportedModes[ supportedIndex ].iStandardMode) ) |
1385 { |
1385 { |
|
1386 ceaMode = ETrue; |
1386 found = ETrue; |
1387 found = ETrue; |
1387 if( aHdmiConfigs[ availableIndex].iCeaMode == KDefaultCEAMode ) |
1388 if( aHdmiConfigs[ availableIndex].iCeaMode == KDefaultCEAMode ) |
1388 { |
1389 { |
1389 defaultCEAmode = ETrue; |
1390 defaultCEAmode = ETrue; |
1390 } |
1391 } |
1439 } |
1440 } |
1440 else // It is DVI connector |
1441 else // It is DVI connector |
1441 { |
1442 { |
1442 TInt modecount = aHdmiConfigs.Count(); |
1443 TInt modecount = aHdmiConfigs.Count(); |
1443 |
1444 |
1444 INFO( "<<<<<<<<<<<<<<It is DVI connector>>>>>>>>>>>>>>" ); |
|
1445 while( modecount-- ) |
1445 while( modecount-- ) |
1446 { |
1446 { |
1447 // Change it to DVI mode as it is existing in both Supported and available configurations |
1447 |
1448 aHdmiConfigs[ modecount ].iConnector = TTvSettings::EDVI; |
1448 if( aHdmiConfigs[ modecount ].iDmtMode && (EFalse == ceaMode) ) |
|
1449 { |
|
1450 INFO( "<<<<<<<<<<<<<<It is DVI connector>>>>>>>>>>>>>>" ); |
|
1451 |
|
1452 // Change it to DVI mode as it is existing in both Supported and available configurations |
|
1453 aHdmiConfigs[ modecount ].iConnector = TTvSettings::EDVI; |
1449 |
1454 |
1450 // Version should be zeroed for non-HDMI |
1455 // Version should be zeroed for non-HDMI |
1451 aHdmiConfigs[ modecount ].iTvHdmiVersion = 0; |
1456 aHdmiConfigs[ modecount ].iTvHdmiVersion = 0; |
1452 aHdmiConfigs[ modecount ].iTvHdmiRevision = 0; |
1457 aHdmiConfigs[ modecount ].iTvHdmiRevision = 0; |
|
1458 } |
1453 } |
1459 } |
1454 } |
1460 } |
1455 |
1461 |
1456 INFO( "Filtered list -- END" ); |
1462 INFO( "Filtered list -- END" ); |
1457 supportedModes.Close(); |
1463 supportedModes.Close(); |