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
gdip_texture.cpp File Reference
#include "gdip_priv.h"
+ Include dependency graph for gdip_texture.cpp:

Macros

#define COL_565(c)   GF_COL_ARGB(0xFF, (u8) ( (val >> 7) & 0xf8), (u8) ( (val >> 2) & 0xf8), (u8) ( (val << 3) & 0xf8) )
 
#define COL_555(c)   GF_COL_ARGB(0xFF, (u8) ( (val >> 8) & 0xf8), (u8) ( (val >> 3) & 0xfc), (u8) ( (val << 3) & 0xf8) )
 

Functions

static GF_Err gdip_set_texture (GF_STENCIL _this, char *pixels, u32 width, u32 height, u32 stride, GF_PixelFormat pixelFormat, GF_PixelFormat destination_format_hint, Bool no_copy)
 
static GF_Err gdip_create_texture (GF_STENCIL _this, u32 width, u32 height, GF_PixelFormat pixelFormat)
 
static GF_Err gdip_set_texture_repeat_mode (GF_STENCIL _this, GF_TextureTiling mode)
 
static GF_Err gdip_set_sr_texture_filter (GF_STENCIL _this, GF_TextureFilter filter_mode)
 
static GF_Err gdip_set_color_matrix (GF_STENCIL _this, GF_ColorMatrix *cmat)
 
static GF_Err gdip_set_alpha (GF_STENCIL _this, u8 alpha)
 
void gdip_convert_texture (struct _stencil *sten)
 
static GF_Err gdip_get_pixel (GF_STENCIL _this, u32 x, u32 y, u32 *col)
 
static GF_Err gdip_set_pixel (GF_STENCIL _this, u32 x, u32 y, u32 col)
 
void gdip_texture_modified (GF_STENCIL _this)
 
void gdip_init_driver_texture (GF_Raster2D *driver)
 
void gdip_load_texture (struct _stencil *sten)
 

Macro Definition Documentation

#define COL_565 (   c)    GF_COL_ARGB(0xFF, (u8) ( (val >> 7) & 0xf8), (u8) ( (val >> 2) & 0xf8), (u8) ( (val << 3) & 0xf8) )
#define COL_555 (   c)    GF_COL_ARGB(0xFF, (u8) ( (val >> 8) & 0xf8), (u8) ( (val >> 3) & 0xfc), (u8) ( (val << 3) & 0xf8) )

Function Documentation

static GF_Err gdip_set_texture ( GF_STENCIL  _this,
char *  pixels,
u32  width,
u32  height,
u32  stride,
GF_PixelFormat  pixelFormat,
GF_PixelFormat  destination_format_hint,
Bool  no_copy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gdip_create_texture ( GF_STENCIL  _this,
u32  width,
u32  height,
GF_PixelFormat  pixelFormat 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gdip_set_texture_repeat_mode ( GF_STENCIL  _this,
GF_TextureTiling  mode 
)
static

+ Here is the caller graph for this function:

static GF_Err gdip_set_sr_texture_filter ( GF_STENCIL  _this,
GF_TextureFilter  filter_mode 
)
static

+ Here is the caller graph for this function:

static GF_Err gdip_set_color_matrix ( GF_STENCIL  _this,
GF_ColorMatrix cmat 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gdip_set_alpha ( GF_STENCIL  _this,
u8  alpha 
)
static

+ Here is the caller graph for this function:

void gdip_convert_texture ( struct _stencil sten)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err gdip_get_pixel ( GF_STENCIL  _this,
u32  x,
u32  y,
u32 col 
)
static

+ Here is the call graph for this function:

static GF_Err gdip_set_pixel ( GF_STENCIL  _this,
u32  x,
u32  y,
u32  col 
)
static

+ Here is the call graph for this function:

void gdip_texture_modified ( GF_STENCIL  _this)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gdip_init_driver_texture ( GF_Raster2D driver)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gdip_load_texture ( struct _stencil sten)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: