Commit Graph

13 Commits

Author SHA1 Message Date
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