GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
color.h File Reference
#include <gpac/constants.h>
#include <gpac/math.h>
+ Include dependency graph for color.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  GF_VideoSurface
 Video framebuffer object. More...
 
struct  GF_Window
 Video Window object. More...
 
struct  GF_ColorMatrix
 color matrix object More...
 
struct  GF_ColorKey
 Color Key descriptor. More...
 

Macros

#define GF_COL_ARGB(a, r, g, b)
 
#define GF_COL_ARGB_FIXED(_a, _r, _g, _b)
 
#define GF_COL_A(c)
 
#define GF_COL_R(c)
 
#define GF_COL_G(c)
 
#define GF_COL_B(c)
 
#define GF_COL_565(r, g, b)
 
#define GF_COL_555(r, g, b)
 
#define GF_COL_444(r, g, b)
 
#define GF_COL_AG(a, g)
 
#define GF_COL_TO_565(c)
 
#define GF_COL_TO_555(c)
 
#define GF_COL_TO_AG(c)
 
#define GF_COL_TO_444(c)
 

Typedefs

typedef u32 GF_Color
 ARGB color object. More...
 

Functions

void gf_cmx_init (GF_ColorMatrix *_this)
 
void gf_cmx_set_all (GF_ColorMatrix *_this, Fixed *coefs)
 
void gf_cmx_set (GF_ColorMatrix *_this, Fixed mrr, Fixed mrg, Fixed mrb, Fixed mra, Fixed tr, Fixed mgr, Fixed mgg, Fixed mgb, Fixed mga, Fixed tg, Fixed mbr, Fixed mbg, Fixed mbb, Fixed mba, Fixed tb, Fixed mar, Fixed mag, Fixed mab, Fixed maa, Fixed ta)
 
void gf_cmx_copy (GF_ColorMatrix *_this, GF_ColorMatrix *from)
 
void gf_cmx_multiply (GF_ColorMatrix *_this, GF_ColorMatrix *with)
 color matrix multiplication More...
 
GF_Color gf_cmx_apply (GF_ColorMatrix *_this, GF_Color col)
 color matrix transform More...
 
void gf_cmx_apply_fixed (GF_ColorMatrix *_this, Fixed *a, Fixed *r, Fixed *g, Fixed *b)
 color components matrix transform More...
 
GF_Err gf_stretch_bits (GF_VideoSurface *dst, GF_VideoSurface *src, GF_Window *dst_wnd, GF_Window *src_wnd, u8 alpha, Bool flip, GF_ColorKey *colorKey, GF_ColorMatrix *cmat)
 not done yet More...