libgpac
Documentation of the core library of GPAC
ftgrays.c File Reference
#include "rast_soft.h"
+ Include dependency graph for ftgrays.c:

Macros

#define SWAP_CELLS(a, b, temp)
 
#define QSORT_THRESHOLD   9 /* below this size, a sub-array will be sorted */
 
#define LINES_PER_THREAD   6
 

Functions

void gray_record_cell (GF_EVGSurface *surf)
 
void gray_set_cell (GF_EVGSurface *surf, TCoord ex, TCoord ey)
 
static GFINLINE void evg_translate_point (GF_Matrix2D *mx, EVG_Vector *pt, TPos *x, TPos *y)
 
static GFINLINE int gray_move_to (EVG_Vector *to, GF_EVGSurface *surf)
 
static void gray_render_scanline (GF_EVGSurface *surf, TCoord ey, TPos x1, TCoord y1, TPos x2, TCoord y2)
 
void gray_render_line (GF_EVGSurface *surf, TPos to_x, TPos to_y)
 
static int EVG_Outline_Decompose (EVG_Outline *outline, GF_EVGSurface *surf)
 
void gray_quick_sort (AACell *cells, int count)
 
static void gray_hline (EVGRasterCtx *raster, TCoord x, TCoord y, TPos area, int acount, u32 fill_rule, u32 idx1, u32 idx2)
 
void gray_sweep_line (EVGRasterCtx *raster, AAScanline *sl, int y, u32 fill_rule)
 
static Bool th_fetch_lines (EVGRasterCtx *rctx)
 
u32 th_sweep_lines (void *par)
 
GF_Err evg_sweep_lines (GF_EVGSurface *surf, u32 size_y, u32 fill_rule, Bool is_tri_raster, GF_EVGFragmentParam *fparam)
 
GF_Err evg_raster_render (GF_EVGSurface *surf)
 

Macro Definition Documentation

◆ SWAP_CELLS

#define SWAP_CELLS (   a,
  b,
  temp 
)
Value:
{ \
temp = *(a); \
*(a) = *(b); \
*(b) = temp; \
}

◆ QSORT_THRESHOLD

#define QSORT_THRESHOLD   9 /* below this size, a sub-array will be sorted */

◆ LINES_PER_THREAD

#define LINES_PER_THREAD   6

Function Documentation

◆ gray_record_cell()

void gray_record_cell ( GF_EVGSurface *  surf)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gray_set_cell()

void gray_set_cell ( GF_EVGSurface *  surf,
TCoord  ex,
TCoord  ey 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ evg_translate_point()

static GFINLINE void evg_translate_point ( GF_Matrix2D mx,
EVG_Vector pt,
TPos x,
TPos y 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gray_move_to()

static GFINLINE int gray_move_to ( EVG_Vector to,
GF_EVGSurface *  surf 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gray_render_scanline()

static void gray_render_scanline ( GF_EVGSurface *  surf,
TCoord  ey,
TPos  x1,
TCoord  y1,
TPos  x2,
TCoord  y2 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gray_render_line()

void gray_render_line ( GF_EVGSurface *  surf,
TPos  to_x,
TPos  to_y 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EVG_Outline_Decompose()

static int EVG_Outline_Decompose ( EVG_Outline outline,
GF_EVGSurface *  surf 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gray_quick_sort()

void gray_quick_sort ( AACell cells,
int  count 
)
+ Here is the caller graph for this function:

◆ gray_hline()

static void gray_hline ( EVGRasterCtx *  raster,
TCoord  x,
TCoord  y,
TPos  area,
int  acount,
u32  fill_rule,
u32  idx1,
u32  idx2 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gray_sweep_line()

void gray_sweep_line ( EVGRasterCtx *  raster,
AAScanline sl,
int  y,
u32  fill_rule 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ th_fetch_lines()

static Bool th_fetch_lines ( EVGRasterCtx *  rctx)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ th_sweep_lines()

u32 th_sweep_lines ( void *  par)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ evg_sweep_lines()

GF_Err evg_sweep_lines ( GF_EVGSurface *  surf,
u32  size_y,
u32  fill_rule,
Bool  is_tri_raster,
GF_EVGFragmentParam fparam 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ evg_raster_render()

GF_Err evg_raster_render ( GF_EVGSurface *  surf)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: