upscale_rgb_nn_x_4_5_y_16_17, upscale_rgb_snn_x_4_5_y_16_17,\r
upscale_rgb_bl2_x_4_5_y_16_17, upscale_rgb_bl4_x_4_5_y_16_17,\r
};\r
- static const upscale_t upscale_256_224_h[] = {\r
+ static const upscale_t upscale_256_____h[] = {\r
upscale_rgb_nn_x_4_5, upscale_rgb_snn_x_4_5,\r
upscale_rgb_bl2_x_4_5, upscale_rgb_bl4_x_4_5,\r
};\r
- static const upscale_t upscale_256_224_v[] = {\r
+ static const upscale_t upscale_____224_v[] = {\r
upscale_rgb_nn_y_16_17, upscale_rgb_snn_y_16_17,\r
upscale_rgb_bl2_y_16_17, upscale_rgb_bl4_y_16_17,\r
};\r
upscale_rgb_nn_x_1_2_y_3_5, upscale_rgb_nn_x_1_2_y_3_5,\r
upscale_rgb_bl2_x_1_2_y_3_5, upscale_rgb_bl4_x_1_2_y_3_5,\r
};\r
- static const upscale_t upscale_160_144_h[] = {\r
+ static const upscale_t upscale_160_____h[] = {\r
upscale_rgb_nn_x_1_2, upscale_rgb_nn_x_1_2,\r
upscale_rgb_bl2_x_1_2, upscale_rgb_bl2_x_1_2,\r
};\r
- static const upscale_t upscale_160_144_v[] = {\r
+ static const upscale_t upscale_____144_v[] = {\r
upscale_rgb_nn_y_3_5, upscale_rgb_nn_y_3_5,\r
upscale_rgb_bl2_y_3_5, upscale_rgb_bl4_y_3_5,\r
};\r
\r
// handle software upscaling\r
upscale = NULL;\r
- if (currentConfig.scaling == EOPT_SCALE_SW) {\r
+ if (currentConfig.scaling == EOPT_SCALE_SW && out_w <= 256) {\r
if (currentConfig.vscaling == EOPT_SCALE_SW && out_h <= 224)\r
// h+v scaling\r
- upscale = out_w == 256 ? upscale_256_224_hv: upscale_160_144_hv;\r
+ upscale = out_w >= 256 ? upscale_256_224_hv: upscale_160_144_hv;\r
else\r
// h scaling\r
- upscale = out_w == 256 ? upscale_256_224_h : upscale_160_144_h;\r
+ upscale = out_w >= 256 ? upscale_256_____h : upscale_160_____h;\r
} else if (currentConfig.vscaling == EOPT_SCALE_SW && out_h <= 224)\r
// v scaling\r
- upscale = out_w == 256 ? upscale_256_224_v : upscale_160_144_v;\r
+ upscale = out_w >= 256 ? upscale_____224_v : upscale_____144_v;\r
if (!upscale) {\r
// no scaling\r
for (y = 0; y < out_h; y++)\r