color matrix object More...
#include <gpac/color.h>
Public Attributes | |
Fixed | m [20] |
u32 | identity |
The Color transformation matrix object allows complete color space transformation (shift, rotate, skew, add).
The matrix coefs are in rgba order, hence the color RGBA is transformed to:
R' m0 m1 m2 m3 m4 R G' m5 m6 m7 m8 m9 G B' = m10 m11 m12 m13 m14 x B A' m15 m16 m17 m18 m19 A 0 0 0 0 0 1 0
color matrix coefficient
internal flag to speed up things when matrix is identity. This is a read only flag, do not modify it