|
static GF_EVGStencil * | evg_solid_brush () |
|
static GF_EVGStencil * | evg_texture_brush () |
|
static GF_EVGStencil * | evg_linear_gradient_brush () |
|
static GF_EVGStencil * | evg_radial_gradient_brush () |
|
GF_Color | color_interpolate (u32 a, u32 b, u8 pos) |
|
static void | gradient_update (EVG_BaseGradient *_this) |
|
static u32 | gradient_get_color (EVG_BaseGradient *_this, s32 pos) |
|
GF_EXPORT GF_Err | gf_evg_stencil_set_gradient_interpolation (GF_EVGStencil *p, Fixed *pos, GF_Color *col, u32 count) |
|
GF_EXPORT GF_Err | gf_evg_stencil_push_gradient_interpolation (GF_EVGStencil *p, Fixed pos, GF_Color col) |
|
GF_EXPORT GF_Err | gf_evg_stencil_set_gradient_mode (GF_EVGStencil *p, GF_GradientMode mode) |
|
GF_EXPORT GF_EVGStencil * | gf_evg_stencil_new (GF_StencilType type) |
|
GF_EXPORT void | gf_evg_stencil_delete (GF_EVGStencil *st) |
|
GF_EXPORT GF_Err | gf_evg_stencil_set_auto_matrix (GF_EVGStencil *st, Bool auto_on) |
|
GF_EXPORT Bool | gf_evg_stencil_get_auto_matrix (GF_EVGStencil *st) |
|
GF_EXPORT GF_Err | gf_evg_stencil_set_matrix (GF_EVGStencil *st, GF_Matrix2D *mx) |
|
GF_EXPORT Bool | gf_evg_stencil_get_matrix (GF_EVGStencil *st, GF_Matrix2D *mx) |
|
GF_EXPORT GF_StencilType | gf_evg_stencil_type (GF_EVGStencil *sten) |
|
static void | sc_fill_run (GF_EVGStencil *p, EVGRasterCtx *rctx, s32 x, s32 y, u32 count) |
|
GF_EXPORT GF_Err | gf_evg_stencil_set_brush_color (GF_EVGStencil *st, GF_Color c) |
|
GF_EXPORT GF_Color | gf_evg_stencil_get_brush_color (GF_EVGStencil *st) |
|
static void | lg_fill_run (GF_EVGStencil *p, EVGRasterCtx *rctx, s32 _x, s32 _y, u32 count) |
|
GF_EXPORT GF_Err | gf_evg_stencil_set_linear_gradient (GF_EVGStencil *st, Fixed start_x, Fixed start_y, Fixed end_x, Fixed end_y) |
|
static void | rg_fill_run (GF_EVGStencil *p, EVGRasterCtx *rctx, s32 _x, s32 _y, u32 count) |
|
void | evg_radial_init (EVG_RadialGradient *_this) |
|
GF_EXPORT GF_Err | gf_evg_stencil_set_radial_gradient (GF_EVGStencil *st, Fixed cx, Fixed cy, Fixed fx, Fixed fy, Fixed x_radius, Fixed y_radius) |
|
void | evg_gradient_precompute (EVG_BaseGradient *grad, GF_EVGSurface *surf) |
|
static GFINLINE s32 | mul255 (s32 a, s32 b) |
|
static u32 | EVG_LERP (u32 c0, u32 c1, u8 t) |
|
static GFINLINE s64 | mul_wide (s64 a, s64 b) |
|
static u64 | EVG_LERP_WIDE (u64 c0, u64 c1, u8 t) |
|
static void | tex_untransform_coord (EVG_Texture *_this, s32 _x, s32 _y, Fixed *outx, Fixed *outy) |
|
static u32 | evg_paramtx_get_pixel (struct __evg_texture *_this, u32 x, u32 y, EVGRasterCtx *rctx) |
|
u64 | evg_paramtx_get_pixel_wide (struct __evg_texture *_this, u32 x, u32 y, EVGRasterCtx *rctx) |
|
static void | tex_fill_run_callback (GF_EVGStencil *_p, EVGRasterCtx *rctx, s32 _x, s32 _y, u32 count) |
|
static void | tex_fill_run_callback_wide (GF_EVGStencil *_p, EVGRasterCtx *rctx, s32 _x, s32 _y, u32 count) |
|
static void | tex_fill_run (GF_EVGStencil *p, EVGRasterCtx *rctx, s32 _x, s32 _y, u32 count) |
|
static void | tex_fill_run_straight (GF_EVGStencil *p, EVGRasterCtx *rctx, s32 _x, s32 _y, u32 count) |
|
u64 | evg_col_to_wide (u32 col) |
|
static void | tex_fill_run_wide (GF_EVGStencil *p, EVGRasterCtx *rctx, s32 _x, s32 _y, u32 count) |
|
static void | tex_fill_run_straight_wide (GF_EVGStencil *p, EVGRasterCtx *rctx, s32 _x, s32 _y, u32 count) |
|
static void | tex_fill_run_3d (GF_EVGStencil *p, EVGRasterCtx *rctx, s32 _x, s32 _y, u32 count) |
|
static void | tex_fill_run_3d_wide (GF_EVGStencil *p, EVGRasterCtx *rctx, s32 _x, s32 _y, u32 count) |
|
u32 | get_pix_argb (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_rgba (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_grba (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_abgr (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_bgra (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_rgbx (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_xrgb (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_xbgr (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_bgrx (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_rgb_24 (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_gbr_24 (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_bgr_24 (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_444 (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_555 (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_565 (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_palette_alpha (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_palette (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_grey (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_alphagrey (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_greyalpha (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_yuv420p (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_yuv420p_10 (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u64 | get_pix_yuv420p_10_wide (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_yuv420p_a (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_yuv422p (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_yuv422p_10 (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u64 | get_pix_yuv422p_10_wide (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_yuv444p (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_yuv444p_10 (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u64 | get_pix_yuv444p_10_wide (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_yuv444p_a (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_yuv_nv12 (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_yuv_nv12_10 (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u64 | get_pix_yuv_nv12_10_wide (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_yuv_nv21 (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_yuv_nv21_10 (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u64 | get_pix_yuv_nv21_10_wide (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_yuyv (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_yvyu (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_uyvy (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_vyuy (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_yuv444_10 (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u64 | get_pix_yuv444_10_wide (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_v210 (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u64 | get_pix_v210_wide (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u32 | get_pix_yuyv_10 (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u64 | get_pix_yuyv_10_wide (EVG_Texture *_this, u32 x, u32 y, EVGRasterCtx *ctx) |
|
u64 | default_get_pixel_wide (struct __evg_texture *_this, u32 x, u32 y, EVGRasterCtx *rctx) |
|
static void | texture_set_callbacks (EVG_Texture *_this) |
|
static GF_Err | gf_evg_stencil_set_texture_internal (GF_EVGStencil *st, u32 width, u32 height, GF_PixelFormat pixelFormat, const char *pixels, u32 stride, const char *u_plane, const char *v_plane, u32 uv_stride, const char *alpha_plane, u32 alpha_stride) |
|
GF_EXPORT GF_Err | gf_evg_stencil_set_texture_planes (GF_EVGStencil *stencil, u32 width, u32 height, GF_PixelFormat pixelFormat, const u8 *y_or_rgb, u32 stride, const u8 *u_plane, const u8 *v_plane, u32 uv_stride, const u8 *alpha_plane, u32 stride_alpha) |
|
GF_EXPORT GF_Err | gf_evg_stencil_set_texture (GF_EVGStencil *stencil, u8 *pixels, u32 width, u32 height, u32 stride, GF_PixelFormat pixelFormat) |
|
GF_EXPORT Bool | gf_evg_texture_format_ok (GF_PixelFormat pixelFormat) |
|
GF_EXPORT GF_Err | gf_evg_stencil_set_palette (GF_EVGStencil *stencil, const u8 *palette, u32 pix_fmt, u32 nb_cols) |
|
GF_EXPORT GF_Err | gf_evg_stencil_get_texture_planes (GF_EVGStencil *stencil, u8 **pY_or_RGB, u8 **pU, u8 **pV, u8 **pA, u32 *stride, u32 *stride_uv) |
|
GF_EXPORT GF_Err | gf_evg_stencil_set_texture_parametric (GF_EVGStencil *stencil, u32 width, u32 height, GF_PixelFormat pixelFormat, gf_evg_texture_callback callback, void *cbk_data, Bool use_screen_coords) |
|
void | evg_texture_init (GF_EVGStencil *p, GF_EVGSurface *surf) |
|
GF_EXPORT GF_Err | gf_evg_stencil_set_pad_color (GF_EVGStencil *st, GF_Color pad_color) |
|
GF_EXPORT u32 | gf_evg_stencil_get_pad_color (GF_EVGStencil *st) |
|
GF_EXPORT GF_Err | gf_evg_stencil_set_mapping (GF_EVGStencil *st, GF_TextureMapFlags mode) |
|
GF_EXPORT GF_Err | gf_evg_stencil_set_filter (GF_EVGStencil *st, GF_TextureFilter filter_mode) |
|
GF_EXPORT GF_Err | gf_evg_stencil_set_color_matrix (GF_EVGStencil *st, GF_ColorMatrix *cmat) |
|
GF_EXPORT GF_Err | gf_evg_stencil_get_color_matrix (GF_EVGStencil *st, GF_ColorMatrix *cmat) |
|
static u32 | gf_evg_stencil_get_pixel_intern (EVG_Texture *_this, s32 x, s32 y, Bool want_yuv) |
|
GF_EXPORT u32 | gf_evg_stencil_get_pixel (GF_EVGStencil *st, s32 x, s32 y) |
|
GF_EXPORT u32 | gf_evg_stencil_get_pixel_yuv (GF_EVGStencil *st, s32 x, s32 y) |
|
u32 | gf_evg_stencil_get_pixel_fast (GF_EVGStencil *st, s32 x, s32 y) |
|
u64 | gf_evg_stencil_get_pixel_wide_fast (GF_EVGStencil *st, s32 x, s32 y) |
|
static u64 | gf_evg_stencil_get_pixel_wide_intern (EVG_Texture *_this, s32 x, s32 y, Bool want_yuv) |
|
GF_EXPORT u64 | gf_evg_stencil_get_pixel_wide (GF_EVGStencil *st, s32 x, s32 y) |
|
GF_EXPORT u64 | gf_evg_stencil_get_pixel_yuv_wide (GF_EVGStencil *st, s32 x, s32 y) |
|
static GF_Vec4 | gf_evg_stencil_get_pixel_f_intern (EVG_Texture *_this, Float x, Float y, Bool want_yuv) |
|
GF_EXPORT GF_Vec4 | gf_evg_stencil_get_pixel_f (GF_EVGStencil *st, Float x, Float y) |
|
GF_EXPORT GF_Vec4 | gf_evg_stencil_get_pixel_yuv_f (GF_EVGStencil *st, Float x, Float y) |
|
GF_EXPORT GF_Err | gf_evg_stencil_set_alpha (GF_EVGStencil *st, u8 alpha) |
|
GF_EXPORT u8 | gf_evg_stencil_get_alpha (GF_EVGStencil *st) |
|
void * | evg_fill_run (GF_EVGStencil *p, EVGRasterCtx *rctx, EVG_Span *span, s32 y) |
|
void * | evg_fill_run_mask (GF_EVGStencil *p, EVGRasterCtx *rctx, EVG_Span *span, s32 y) |
|
void * | evg_fill_run_mask_inv (GF_EVGStencil *p, EVGRasterCtx *rctx, EVG_Span *span, s32 y) |
|
void | evg_fill_span_mask (int y, int count, EVG_Span *spans, GF_EVGSurface *surf, EVGRasterCtx *rctx) |
|
static void | mix_run (EVGRasterCtx *rctx, u32 count) |
|
static void | mix_run_wide (EVGRasterCtx *rctx, u32 count) |
|
static void | mixa_run (EVGRasterCtx *rctx, u32 count) |
|
static void | mixa_run_wide (EVGRasterCtx *rctx, u32 count) |
|
static void | replace_alpha_run_a (EVGRasterCtx *rctx, u32 count) |
|
static void | replace_alpha_run_a_wide (EVGRasterCtx *rctx, u32 count) |
|
static void | replace_alpha_run_r (EVGRasterCtx *rctx, u32 count) |
|
static void | replace_alpha_run_r_wide (EVGRasterCtx *rctx, u32 count) |
|
static void | replace_alpha_run_g (EVGRasterCtx *rctx, u32 count) |
|
static void | replace_alpha_run_g_wide (EVGRasterCtx *rctx, u32 count) |
|
static void | replace_alpha_run_b (EVGRasterCtx *rctx, u32 count) |
|
static void | replace_alpha_run_b_wide (EVGRasterCtx *rctx, u32 count) |
|
static void | replace_alpha_m1_run_a (EVGRasterCtx *rctx, u32 count) |
|
static void | replace_alpha_m1_run_a_wide (EVGRasterCtx *rctx, u32 count) |
|
static void | replace_alpha_m1_run_r (EVGRasterCtx *rctx, u32 count) |
|
static void | replace_alpha_m1_run_r_wide (EVGRasterCtx *rctx, u32 count) |
|
static void | replace_alpha_m1_run_g (EVGRasterCtx *rctx, u32 count) |
|
static void | replace_alpha_m1_run_g_wide (EVGRasterCtx *rctx, u32 count) |
|
static void | replace_alpha_m1_run_b (EVGRasterCtx *rctx, u32 count) |
|
static void | replace_alpha_m1_run_b_wide (EVGRasterCtx *rctx, u32 count) |
|
static void | mix_dyn_run_a (EVGRasterCtx *rctx, u32 count) |
|
static void | mix_dyn_run_a_wide (EVGRasterCtx *rctx, u32 count) |
|
static void | mix_dyn_run_r (EVGRasterCtx *rctx, u32 count) |
|
static void | mix_dyn_run_r_wide (EVGRasterCtx *rctx, u32 count) |
|
static void | mix_dyn_run_g (EVGRasterCtx *rctx, u32 count) |
|
static void | mix_dyn_run_g_wide (EVGRasterCtx *rctx, u32 count) |
|
static void | mix_dyn_run_b (EVGRasterCtx *rctx, u32 count) |
|
static void | mix_dyn_run_b_wide (EVGRasterCtx *rctx, u32 count) |
|
static void | mix_dyna_run_a (EVGRasterCtx *rctx, u32 count) |
|
static void | mix_dyna_run_a_wide (EVGRasterCtx *rctx, u32 count) |
|
static void | mix_dyna_run_r (EVGRasterCtx *rctx, u32 count) |
|
static void | mix_dyna_run_r_wide (EVGRasterCtx *rctx, u32 count) |
|
static void | mix_dyna_run_g (EVGRasterCtx *rctx, u32 count) |
|
static void | mix_dyna_run_g_wide (EVGRasterCtx *rctx, u32 count) |
|
static void | mix_dyna_run_b (EVGRasterCtx *rctx, u32 count) |
|
static void | mix_dyna_run_b_wide (EVGRasterCtx *rctx, u32 count) |
|
GF_Err | gf_evg_setup_multi_texture (GF_EVGSurface *surf, GF_EVGMultiTextureMode operand, GF_EVGStencil *sten2, GF_EVGStencil *sten3, Float *params) |
|