GF_ColorMatrix Struct Reference
[color]

color matrix object More...

#include <color.h>

Data Fields

Fixed m [20]
u32 identity

Detailed Description

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

Coeficients are in intensity scale, ranging from 0 to FIX_ONE.


Field Documentation

color matrix coefficient

internal flag to speed up things when matrix is identity. This is a read only flag, do not modify it


The documentation for this struct was generated from the following file:

Generated on 4 May 2016 for libgpac by  doxygen 1.6.1