Change Auto setting in fill mode to be half way. Also change capture area to capture size

pull/106/head
IanSB 2019-05-15 23:48:43 +01:00
rodzic dc0ba1e0cc
commit cc3bfb4b7e
2 zmienionych plików z 18 dodań i 12 usunięć

Wyświetl plik

@ -306,9 +306,15 @@ void geometry_get_fb_params(capture_info_t *capinfo) {
geometry_v_height = new_geometry_v_height;
}
if ((capture == CAPTURE_AUTO && scaling == SCALING_MANUAL43)
||(capture == CAPTURE_AUTO && scaling == SCALING_MANUAL)
|| capture == CAPTURE_MAX) {
if (capture == CAPTURE_AUTO && (scaling == SCALING_MANUAL43 || scaling == SCALING_MANUAL)) {
geometry_fb_width = (((geometry_fb_width - geometry_h_width) >> 1) + geometry_h_width) & 0xfffffff8;
geometry_fb_height = (((geometry_fb_height - geometry_v_height) >> 1) + geometry_v_height) & 0xfffffffe;
geometry_h_offset = geometry_h_offset - (((geometry_fb_width - geometry_h_width) >> 3) << 2);
geometry_v_offset = geometry_v_offset - ((geometry_fb_height - geometry_v_height) >> 1);
geometry_h_width = geometry_fb_width;
geometry_v_height = geometry_fb_height;
}
if (capture == CAPTURE_MAX) {
geometry_h_offset = geometry_h_offset - (((geometry_fb_width - geometry_h_width) >> 3) << 2);
geometry_v_offset = geometry_v_offset - ((geometry_fb_height - geometry_v_height) >> 1);
geometry_h_width = geometry_fb_width;

Wyświetl plik

@ -234,7 +234,7 @@ static param_t features[] = {
{ F_SCANLINES, "Scanlines", "scanlines", 0, 1, 1 },
{ F_SCANLINESINT, "Scanline Level", "scanline_level", 0, 15, 1 },
{ F_SCALING, "Scaling", "scaling", 0, NUM_SCALING - 1, 1 },
{ F_CAPTURE, "Capture Area", "capture_area", 0, NUM_CAPTURE - 1, 1 },
{ F_CAPTURE, "Capture Size", "capture_size", 0, NUM_CAPTURE - 1, 1 },
{ F_FONTSIZE, "Font Size", "font_size", 0, NUM_FONTSIZE - 1, 1 },
{ F_BORDER, "Border Colour", "border_colour", 0, 255, 1 },
{ F_VSYNCTYPE, "V Sync Type", "vsync_type", 0, NUM_VSYNCTYPES - 1, 1 },