Paweł Kołodziejski
7c5e1c01ed
GRAPHICS: Fixed caching alpha information in YUV to RGB conversion code.
2020-10-04 14:02:44 +02:00
Paweł Kołodziejski
0051eef251
VIDEO: Added support for alpha component support for BINK videos
2020-09-24 14:24:17 +02:00
Colin Snover
a5bc89102e
ALL: Remove obsolete register keyword
...
The register keyword was deprecated from the C++11 standard,
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4193.html#809 >,
and removed from the C++17 standard,
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4340 >, so
cannot exist in a well-formed C++17 program.
It has never done anything in GCC
<https://gcc.gnu.org/ml/gcc/2010-05/msg00113.html >
and because of the way it is specified in the standard, it is “as
meaningful as whitespace”
<http://www.drdobbs.com/keywords-that-arent-or-comments-by-anoth/184403859 >.
The one remaining use of the register keyword is in the DS backend,
where it is used to create a local register variable using the
non-standard GCC Extended Asm feature.
Closes gh-1079.
2017-12-03 20:27:42 -06:00
Eugene Sandulenko
940b2a20f1
Revert "COMMON: Change way the Singleton instances are instantiated"
...
This reverts commit eefa72afa1
.
With this patch ConfigManager is broken.
2017-07-10 21:17:41 +02:00
Thierry Crozat
eefa72afa1
COMMON: Change way the Singleton instances are instantiated
...
This fixes tons of warnings with clang from a recent xcode version on
macOS (and possibly other systems) complaining that an instantiation
of _singleton is required but no definition is available.
2017-07-10 21:11:20 +02:00
Johannes Schickel
5111746911
GRAPHICS: Take advantage of Surface::getPixels.
2013-08-03 04:02:49 +02:00
Johannes Schickel
dbef9fef3b
GRAPHICS: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 04:02:49 +02:00
Matthew Hoops
09269fce8c
GRAPHICS: Implement different luminance ranges
...
Bink and Theora are now much improved
2012-09-18 16:50:01 -04:00
Matthew Hoops
893a2b37ff
GRAPHICS: Rework YUV->RGB code a bit
2012-09-17 19:30:46 -04:00
Matthew Hoops
b2de2cf855
GRAPHICS: Improve the YUV410 conversion code speed some more
2012-04-16 21:34:13 -04:00
Matthew Hoops
473a09786d
GRAPHICS: Make YUV410 conversion code use bilinear interpolation
...
SVQ1 no longer looks blocky and now looks a lot closer to what QuickTime outputs
2012-04-14 17:06:31 -04:00
D G Turner
e1f9598392
GRAPHICS: Add YUV410 to RGB Conversion Functions, required for SVQ1.
...
Thanks to clone2727 for these.
2012-04-08 03:28:58 +01:00
Matthew Hoops
b6d2a11432
GRAPHICS: Make the JPEG code use the new YUV to RGB converter
2012-03-20 01:06:48 +01:00
Eugene Sandulenko
2fa17c44ed
JANITORIAL: Remove SVN keywords
2011-08-06 11:30:47 +01:00
Ori Avtalion
aa0f307e06
ALL: Require DECLARE_SINGLETON to be used in the Common namepsace
...
Silences the clang warning:
static data member specialization of '_singleton' must
originally be declared in namespace 'Common'; accepted as a C++0x
extension [-Wc++0x-extensions]
Wrapping "namespace Common {}" around the macro assignment causes clang
to complain about a spurious semicolon, and removing the semicolon at
the end of the macro causes some editors to misbehave.
Changing the requirement of using the macro in one namespace (the
global) to another (Common) seems a small price to pay to
silence a warning.
2011-06-30 22:41:41 +03:00
Matthew Hoops
efcf278bdf
GRAPHICS: Optimize the convertYUV420ToRGB function a bit more
...
A template is used to avoid a bytesPerPixel check on every pixel and less deferences are done
2011-05-24 18:22:48 -04:00
Matthew Hoops
affb6a38a1
GRAPHICS: Add some docs and sanity checks to the YUV to RGB code
2011-05-18 10:05:13 -04:00
Matthew Hoops
0addffbfd3
GRAPHICS: Add a YUV to RGB table lookup for use with Theora
...
Based on the video/mpeg_player.* one, which is based on lots of other things (too many to name, go see the file)
2011-05-18 10:05:13 -04:00