Commit Graph

51 Commits

Author SHA1 Message Date
OV2 1cd7528ad8 Rename filter to align with others 2025-08-11 23:36:48 +02:00
OV2 5c6f48968f Remove bicubic and lanczos 2025-08-11 23:36:45 +02:00
OV2 b5603f15ab Add new filters from AltoWildgruber 2025-08-11 23:36:03 +02:00
AltoWildgruber 15d86b617a
Update filter_sharpbilinear_flexible.cpp
The filter is now heavily optimized for speed.
2025-08-11 11:22:29 +02:00
AltoWildgruber 34276f359d
Update filter_lanczos.cpp
increased radius
2025-08-10 15:53:59 +02:00
AltoWildgruber 978da9c0a0
Update filter_sharpbilinear_flexible.cpp
I implemented smoothstep to make the filter sharper. It's now as sharp as bicubic, but faster.
2025-08-03 17:28:34 +02:00
AltoWildgruber b2458d5ac7
Update filter_bicubic_win.cpp 2025-07-27 14:14:58 +02:00
AltoWildgruber 517a5bdb98
Update filter_bicubic_win.cpp 2025-07-27 14:01:31 +02:00
AltoWildgruber 9692692847
Update filter_sharpbilinear_flexible.cpp 2025-07-26 21:29:59 +02:00
AltoWildgruber 6db07fedf3
Update filter_lanczos.cpp 2025-07-23 21:40:29 +02:00
AltoWildgruber 28367ebff9
Update filter_bicubic_win.cpp 2025-07-23 21:39:32 +02:00
AltoWildgruber 5a262a7552
Update filter_bicubic_win.cpp 2025-07-23 16:33:03 +02:00
AltoWildgruber 9aa08f4bfe
Interpolation filters
I created interpolation filters that can easily be included into the filter dropdown list by registering them in render.cpp and wsnes9x.h. 
- the bicubic filter is gamma-corrected and sharper than the built-in bilinear filter.
- the lanczos-filter provides a really sharp upscale and I implemented a reduction of bold black outlines which are often a side effect of Lanczos.
- the sharp bilinear filter is a fast, gamma-corrected filter that is sharper than the built-in bilinear, but not as sharp as the two other filters I added.

The filters include a wrapper function which makes them easy to include into render.cpp.
2025-07-21 23:43:21 +02:00
BearOso 84e72a4025 snes_ntsc: Just revert changes. 2025-06-12 17:52:24 -05:00
BearOso 61d48e3417 snes_ntsc: Use constexpr instead of enums. 2025-06-12 17:48:34 -05:00
BearOso d65a2b31a0 Clean up many nits found by linter. 2025-06-12 16:28:30 -05:00
BearOso 20768ed8b2 Remove accidental commit of xbrz. 2024-10-25 18:58:49 -05:00
BearOso 8a33829bce external: Update fmtlib. 2024-10-25 18:54:14 -05:00
BearOso fea6027898 Use alwaysinline with hq2x. 2023-03-24 17:44:45 -05:00
BearOso 7d9cc644cf New hq2x: Fix ambiguity with abs and credit near. 2023-03-14 16:01:35 -05:00
BearOso 046f348d4e Update hqxx filters to adapted version from FFmpeg.
Compiles much faster and is roughly the same speed.
2023-03-14 15:44:23 -05:00
BearOso 6433b8f689 Gtk: Clean up and modernize a bit. 2023-03-07 13:58:21 -06:00
Kenta Yoshimura c71429c2b7 Merge `FORCE_INLINE` macro to `alwaysinline` into port.h. 2019-04-08 01:07:16 +09:00
Brandon Wright bd7669e78c libretro: Use 565 format for NTSC filter. 2019-03-31 15:32:49 -05:00
Brandon Wright 76b6342ca1 Remove most of GFX_MULTI_FORMAT. 2019-03-07 17:14:51 -06:00
Brandon Wright df9e37d718 win32: Fix poor performance with OpenGL/snes_ntsc.
Switch to root copy of snes_ntsc.
Change framebuffer format and access hint.
2019-02-19 16:57:42 -06:00
Brandon Wright 50718ac7a9 Remove unused functions in xbrz.cpp. 2018-11-17 15:19:19 -06:00
Brandon Wright e7e72147ea Fix encoding in xbrz.cpp. 2018-11-17 15:16:31 -06:00
Brandon Wright 68e13e9044 Remove useless 'register' storage class.
It's deprecated, and any compiler we use now ignores it.
2018-11-17 15:02:37 -06:00
Brandon Wright 5f56cadafb Use a license stub everywhere.
This points to the full license in the root directory.
2018-11-15 17:31:39 -06:00
Brandon Wright 61cced4734 GTK+: Use root snes_ntsc implementation.
Implement scanlines there.
2018-11-12 16:51:21 -06:00
Brandon Wright 20bd60a3c6 Update copyright dates. 2018-05-25 15:44:52 -05:00
Brandon Wright a42498b161 Fix a bunch of warnings. 2018-05-13 20:19:21 -05:00
OV2 24e546cff8 Fix xBRZ compile with older gcc 2018-02-27 21:40:11 +01:00
OV2 146ab1bd5f Update to xBRZ 1.6 2018-02-27 21:39:50 +01:00
Brandon Wright 7a2ca6dc2a Update copyrights. 2017-11-17 16:00:58 -06:00
Brandon Wright 1661fc838c Add copyrights. 2016-10-15 11:31:26 -05:00
Brandon Wright ca3b84826e Use UTF-8 encoding for xbrz, not WIN1251. 2016-10-14 12:41:42 -05:00
Brandon Wright 720827a479 Fix xbrz to compile on non-win32, fix GTK+ port to use new xBRZ. 2016-10-08 21:06:15 -05:00
OV2 26914fa9b0 Win32: update xbrz 2016-10-07 23:57:02 +02:00
Brandon Wright ddb1527236 Bump OV2 Windows port copyright. 2016-10-07 12:53:18 -05:00
Brandon Wright 006fc22ebb Add byuu copyright for his S-SMP 2016-10-07 12:47:07 -05:00
Brandon Wright 91aebfe759 Update some copyrights, bump version number. 2016-10-01 20:03:03 -05:00
Nicolas Magré 0ec0f2f38c GTK: update xbrz to 1.2
Conflicts:
	filter/xbrz.cpp
2015-01-30 14:38:06 +01:00
OV2 1d140638da Win32: update xbrz to 1.2 2015-01-29 21:42:32 +01:00
Nicolas Magré 68af47097e gtk: add xBRZ (2x, 3x, 4x) 2015-01-28 15:24:35 +01:00
OV2 54bfd407bb win32: add xbrz 2014-06-24 21:55:42 +02:00
OV2 c47598f3cf Update copyright in all files 2011-04-11 21:51:20 +02:00
zones 41dc2fbb61 Add blend filters in blit.cpp 2011-02-24 21:22:19 +09:00
zones a013ae3306 Mac,Unix: Add 256*448,478 support / Mac:code cleanup 2011-02-20 20:27:20 +09:00