mirror of https://github.com/PCSX2/pcsx2.git
IPU: Documented YUV colour space used by the IPU since I researched this when fixing gsdx recording.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3531 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
6972792a4e
commit
b9b4d0f1d8
|
@ -23,6 +23,10 @@
|
||||||
#include "IPU.h"
|
#include "IPU.h"
|
||||||
#include "yuv2rgb.h"
|
#include "yuv2rgb.h"
|
||||||
|
|
||||||
|
// The IPU's colour space conversion conforms to ITU-R Recommendation BT.601 if anyone wants to make a
|
||||||
|
// faster or "more accurate" implementation, but this is the precise documented integer method used by
|
||||||
|
// the hardware and is fast enough with SSE2.
|
||||||
|
|
||||||
#define IPU_Y_BIAS 16
|
#define IPU_Y_BIAS 16
|
||||||
#define IPU_C_BIAS 128
|
#define IPU_C_BIAS 128
|
||||||
#define IPU_Y_COEFF 0x95 // 1.1640625
|
#define IPU_Y_COEFF 0x95 // 1.1640625
|
||||||
|
|
Loading…
Reference in New Issue