Lines 1581-1586
Link Here
|
1581 |
build_fspos_menu( commands_get_menu( commands, "fspos" ), |
1581 |
build_fspos_menu( commands_get_menu( commands, "fspos" ), |
1582 |
config_get_fullscreen_position( ct ) ); |
1582 |
config_get_fullscreen_position( ct ) ); |
1583 |
|
1583 |
|
|
|
1584 |
matte_mode = config_get_matte( ct ); |
1585 |
if( sixteennine == 0 ) { /* fix me for sixteennine mode */ |
1586 |
if( matte_mode == 1 ) { |
1587 |
matte_y = 72; |
1588 |
output->set_matte( 768, 432 ); |
1589 |
} else if( matte_mode == 2 ) { |
1590 |
matte_y = 48; |
1591 |
output->set_matte( 768, 480 ); |
1592 |
} else if( matte_mode == 3 ) { |
1593 |
matte_y = 80; |
1594 |
output->set_matte( 768, 416 ); |
1595 |
} else if( matte_mode == 4 ) { |
1596 |
matte_y = 124; |
1597 |
output->set_matte( 768, 328 ); |
1598 |
} |
1599 |
} |
1600 |
output->set_window_height( output->get_visible_height() ); |
1601 |
|
1584 |
/* Initialize our timestamps. */ |
1602 |
/* Initialize our timestamps. */ |
1585 |
for(;;) { |
1603 |
for(;;) { |
1586 |
const char *fifo_args = 0; |
1604 |
const char *fifo_args = 0; |
Lines 1601-1610
Link Here
|
1601 |
} |
1619 |
} |
1602 |
|
1620 |
|
1603 |
if( matte_mode ) { |
1621 |
if( matte_mode ) { |
1604 |
output_x = matte_x; |
1622 |
output_x = (int) ((((double) width) * commands_get_overscan( commands )) + 0.5) + matte_x; |
1605 |
output_w = matte_w; |
1623 |
output_w = (int) ((((double) width) - |
1606 |
output_y = matte_y; |
1624 |
(((double) width) * commands_get_overscan( commands ) * 2.0)) + 0.5) - matte_x * 3; |
1607 |
output_h = matte_h; |
1625 |
output_y = (int) ((((double) height) * commands_get_overscan( commands )) + 0.5) + matte_y; |
|
|
1626 |
output_h = (int) ((((double) height) - |
1627 |
(((double) height) * commands_get_overscan( commands ) * 2.0)) + 0.5) - matte_y * 2; |
1608 |
} else { |
1628 |
} else { |
1609 |
output_x = (int) ((((double) width) * |
1629 |
output_x = (int) ((((double) width) * |
1610 |
commands_get_overscan( commands )) + 0.5); |
1630 |
commands_get_overscan( commands )) + 0.5); |
Lines 2509-2514
Link Here
|
2509 |
config_save( ct, "InputWidth", number ); |
2529 |
config_save( ct, "InputWidth", number ); |
2510 |
} |
2530 |
} |
2511 |
|
2531 |
|
|
|
2532 |
snprintf( number, 4, "%d", matte_mode ); |
2533 |
config_save( ct, "Matte", number ); |
2534 |
|
2512 |
snprintf( number, 4, "%d", commands_get_global_brightness( commands ) ); |
2535 |
snprintf( number, 4, "%d", commands_get_global_brightness( commands ) ); |
2513 |
config_save( ct, "DefaultBrightness", number ); |
2536 |
config_save( ct, "DefaultBrightness", number ); |
2514 |
snprintf( number, 4, "%d", commands_get_global_contrast( commands ) ); |
2537 |
snprintf( number, 4, "%d", commands_get_global_contrast( commands ) ); |