Commit Graph

33 Commits

Author SHA1 Message Date
twinaphex
390d198812 Uniquely name gfx/scaler/filter.c for MSVC 2014-04-16 15:48:33 +02:00
Themaister
8c9e1a5f5c Fix some unused function warnings.
Clang 3.4 is more aggressive on this.
2014-01-22 16:39:39 +01:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex
38d785984f Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h 2013-12-17 19:10:40 +01:00
Themaister
372178fbd6 Include stdint in scaler_common. 2013-11-20 18:21:00 +01:00
twinaphex
82e9048288 (Scaler) Fix Griffin - we can't have two identical static inline
functions that are named the same because of Griffin
2013-11-20 18:15:44 +01:00
Themaister
44937348e8 Start implementing SSE2 conversion of YUV. 2013-11-20 17:39:01 +01:00
Themaister
c4176564c5 Don't use LUT for YUV conversion.
Current C version is just as fast, and doesn't thrash the cache.
~100us per 640x480 webcam frame.
2013-11-20 17:39:00 +01:00
Themaister
6d6e964672 Fixup CXX_BUILD.
Cleans lots of sign-related warnings as well.
2013-11-16 17:31:49 +01:00
twinaphex
d63ac7e7e2 Convert gfx/scaler to C89-style for loop declarations too 2013-10-19 20:14:39 +02:00
Lioncash
080436fd23 Remove a redundant if statement in function set_direct_pix_conv in scaler.c. This branch already exists in this if statement chain, see the third else-if statement. 2013-10-13 23:16:12 -04:00
Themaister
6a6ad5d606 Add SSE build to MSVC 2010. 2013-02-09 11:01:11 +01:00
Themaister
e9cfb95900 Add fallback path for RGBA.
This is necessary for GLES devices which do not support BGRA_EXT.
2013-01-03 01:20:35 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
twinaphex
1c9dec56a8 (NEON/Android) Some fixes 2012-12-02 23:50:32 +01:00
twinaphex
9565eb6ede Fix warnings in pixconv.c 2012-11-14 21:54:24 +01:00
twinaphex
b240cfbc7e (RARCH_PERF) Rename benchmark.c to perforance.c
(MSVC2010) Rename incorrectly named MSVC2012 solution which was
really an MSVC 2010 solution
2012-11-01 06:21:18 +01:00
Themaister
fbfbf1ed6a Log performance counters at the end. 2012-10-30 23:28:54 +01:00
Themaister
c2674328ec Fix broken CRLF, and minor fixes for VC12. 2012-10-24 17:19:37 +02:00
Twinaphex512
53868033b7 (MSVC 2012) Initial MSVC 2012 solution
Just need to sort out the linking errors - we'll need to create a
Direct3D driver that is not external for PC and do away with the
'external' one which is really an unacceptable extra dependency for such
a popular graphics API. Also, look if the WGL context file will even
work. Added some TODOs too.
2012-10-24 15:48:44 +02:00
Themaister
668ff7687e Let CPU filters work with any format. 2012-10-21 22:59:13 +02:00
Themaister
93078889cc Begin reworking RGB565 as default pixel format. 2012-10-20 01:12:02 +02:00
twinaphex
0a20857a44 (ARM) Add mrc ARM define for benchmark.c
- Some Android build fixes
- Removed doubly defined static inline function
2012-10-02 23:59:19 +02:00
Themaister
5b0525d2e2 Drop HAVE_PBO. Use custom conversion routines.
Measured custom 15->32 conversion to be up to 10x faster on my setup.
2012-10-02 01:04:47 +02:00
Themaister
1bac5421ff Update benchmarks for GCC + x86.
Compile with make PERF_TEST=1 to enable performance logging.
2012-10-01 23:43:16 +02:00
Themaister
4ff087cc36 Fix CXX_BUILD. 2012-09-09 23:37:12 +02:00
Themaister
552cbd69fa Fix scaler build on 32-bit. 2012-09-07 11:14:07 +02:00
Themaister
41359681c3 Add special point scaler for optimal speed. 2012-09-03 00:48:00 +02:00
Themaister
ebd5bc85d5 Optimize -> bgr24 conversion paths. 2012-09-02 23:49:30 +02:00
Themaister
b9630e2a2c Optimize rgb1555 -> argb8888 conversion in SSE2. 2012-09-02 20:04:35 +02:00
Themaister
86b444cb97 Use bilinear for downscales, point for upscales. 2012-09-02 15:30:15 +02:00
Themaister
dff4e32cf6 Add licensing headers to scaler code. 2012-09-02 14:44:21 +02:00
Themaister
19fa31f17d Add custom scaling routines.
Implemented for point, bilinear, lanczos.
Partly optimized for SSE2.
2012-09-02 14:30:46 +02:00