w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

pixman-combine-float.c File Reference
#include <math.h>
#include <string.h>
#include <float.h>
#include "pixman-private.h"
Include dependency graph for pixman-combine-float.c:

Go to the source code of this file.

Classes

struct  rgb_t
 

Macros

#define MAKE_COMBINER(name, component, combine_a, combine_c)
 
#define MAKE_COMBINERS(name, combine_a, combine_c)
 
#define CLAMP(f)    (((f) < 0)? 0 : (((f) > 1.0) ? 1.0 : (f)))
 
#define MAKE_PD_COMBINERS(name, a, b)
 
#define MAKE_SEPARABLE_PDF_COMBINERS(name)
 
#define MAKE_NON_SEPARABLE_PDF_COMBINERS(name)
 

Typedefs

typedef float(* combine_channel_t) (float sa, float s, float da, float d)
 

Enumerations

enum  combine_factor_t {
  ZERO , ONE , SRC_ALPHA , DEST_ALPHA ,
  INV_SA , INV_DA , SA_OVER_DA , DA_OVER_SA ,
  INV_SA_OVER_DA , INV_DA_OVER_SA , ONE_MINUS_SA_OVER_DA , ONE_MINUS_DA_OVER_SA ,
  ONE_MINUS_INV_DA_OVER_SA , ONE_MINUS_INV_SA_OVER_DA
}
 

Functions

static void combine_inner (pixman_bool_t component, float *dest, const float *src, const float *mask, int n_pixels, combine_channel_t combine_a, combine_channel_t combine_c)
 
static float get_factor (combine_factor_t factor, float sa, float da)
 
static float pd_combine_clear (float sa, float s, float da, float d)
 
static void combine_clear_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_clear_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_src (float sa, float s, float da, float d)
 
static void combine_src_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_src_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_dst (float sa, float s, float da, float d)
 
static void combine_dst_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_dst_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_over (float sa, float s, float da, float d)
 
static void combine_over_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_over_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_over_reverse (float sa, float s, float da, float d)
 
static void combine_over_reverse_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_over_reverse_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_in (float sa, float s, float da, float d)
 
static void combine_in_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_in_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_in_reverse (float sa, float s, float da, float d)
 
static void combine_in_reverse_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_in_reverse_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_out (float sa, float s, float da, float d)
 
static void combine_out_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_out_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_out_reverse (float sa, float s, float da, float d)
 
static void combine_out_reverse_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_out_reverse_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_atop (float sa, float s, float da, float d)
 
static void combine_atop_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_atop_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_atop_reverse (float sa, float s, float da, float d)
 
static void combine_atop_reverse_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_atop_reverse_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_xor (float sa, float s, float da, float d)
 
static void combine_xor_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_xor_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_add (float sa, float s, float da, float d)
 
static void combine_add_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_add_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_saturate (float sa, float s, float da, float d)
 
static void combine_saturate_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_saturate_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_disjoint_clear (float sa, float s, float da, float d)
 
static void combine_disjoint_clear_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_disjoint_clear_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_disjoint_src (float sa, float s, float da, float d)
 
static void combine_disjoint_src_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_disjoint_src_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_disjoint_dst (float sa, float s, float da, float d)
 
static void combine_disjoint_dst_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_disjoint_dst_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_disjoint_over (float sa, float s, float da, float d)
 
static void combine_disjoint_over_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_disjoint_over_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_disjoint_over_reverse (float sa, float s, float da, float d)
 
static void combine_disjoint_over_reverse_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_disjoint_over_reverse_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_disjoint_in (float sa, float s, float da, float d)
 
static void combine_disjoint_in_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_disjoint_in_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_disjoint_in_reverse (float sa, float s, float da, float d)
 
static void combine_disjoint_in_reverse_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_disjoint_in_reverse_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_disjoint_out (float sa, float s, float da, float d)
 
static void combine_disjoint_out_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_disjoint_out_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_disjoint_out_reverse (float sa, float s, float da, float d)
 
static void combine_disjoint_out_reverse_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_disjoint_out_reverse_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_disjoint_atop (float sa, float s, float da, float d)
 
static void combine_disjoint_atop_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_disjoint_atop_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_disjoint_atop_reverse (float sa, float s, float da, float d)
 
static void combine_disjoint_atop_reverse_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_disjoint_atop_reverse_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_disjoint_xor (float sa, float s, float da, float d)
 
static void combine_disjoint_xor_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_disjoint_xor_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_conjoint_clear (float sa, float s, float da, float d)
 
static void combine_conjoint_clear_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_conjoint_clear_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_conjoint_src (float sa, float s, float da, float d)
 
static void combine_conjoint_src_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_conjoint_src_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_conjoint_dst (float sa, float s, float da, float d)
 
static void combine_conjoint_dst_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_conjoint_dst_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_conjoint_over (float sa, float s, float da, float d)
 
static void combine_conjoint_over_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_conjoint_over_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_conjoint_over_reverse (float sa, float s, float da, float d)
 
static void combine_conjoint_over_reverse_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_conjoint_over_reverse_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_conjoint_in (float sa, float s, float da, float d)
 
static void combine_conjoint_in_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_conjoint_in_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_conjoint_in_reverse (float sa, float s, float da, float d)
 
static void combine_conjoint_in_reverse_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_conjoint_in_reverse_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_conjoint_out (float sa, float s, float da, float d)
 
static void combine_conjoint_out_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_conjoint_out_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_conjoint_out_reverse (float sa, float s, float da, float d)
 
static void combine_conjoint_out_reverse_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_conjoint_out_reverse_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_conjoint_atop (float sa, float s, float da, float d)
 
static void combine_conjoint_atop_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_conjoint_atop_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_conjoint_atop_reverse (float sa, float s, float da, float d)
 
static void combine_conjoint_atop_reverse_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_conjoint_atop_reverse_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float pd_combine_conjoint_xor (float sa, float s, float da, float d)
 
static void combine_conjoint_xor_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_conjoint_xor_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float blend_multiply (float sa, float s, float da, float d)
 
static float blend_screen (float sa, float s, float da, float d)
 
static float blend_overlay (float sa, float s, float da, float d)
 
static float blend_darken (float sa, float s, float da, float d)
 
static float blend_lighten (float sa, float s, float da, float d)
 
static float blend_color_dodge (float sa, float s, float da, float d)
 
static float blend_color_burn (float sa, float s, float da, float d)
 
static float blend_hard_light (float sa, float s, float da, float d)
 
static float blend_soft_light (float sa, float s, float da, float d)
 
static float blend_difference (float sa, float s, float da, float d)
 
static float blend_exclusion (float sa, float s, float da, float d)
 
static float combine_multiply_a (float sa, float s, float da, float d)
 
static float combine_multiply_c (float sa, float s, float da, float d)
 
static void combine_multiply_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_multiply_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float combine_screen_a (float sa, float s, float da, float d)
 
static float combine_screen_c (float sa, float s, float da, float d)
 
static void combine_screen_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_screen_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float combine_overlay_a (float sa, float s, float da, float d)
 
static float combine_overlay_c (float sa, float s, float da, float d)
 
static void combine_overlay_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_overlay_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float combine_darken_a (float sa, float s, float da, float d)
 
static float combine_darken_c (float sa, float s, float da, float d)
 
static void combine_darken_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_darken_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float combine_lighten_a (float sa, float s, float da, float d)
 
static float combine_lighten_c (float sa, float s, float da, float d)
 
static void combine_lighten_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_lighten_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float combine_color_dodge_a (float sa, float s, float da, float d)
 
static float combine_color_dodge_c (float sa, float s, float da, float d)
 
static void combine_color_dodge_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_color_dodge_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float combine_color_burn_a (float sa, float s, float da, float d)
 
static float combine_color_burn_c (float sa, float s, float da, float d)
 
static void combine_color_burn_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_color_burn_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float combine_hard_light_a (float sa, float s, float da, float d)
 
static float combine_hard_light_c (float sa, float s, float da, float d)
 
static void combine_hard_light_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_hard_light_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float combine_soft_light_a (float sa, float s, float da, float d)
 
static float combine_soft_light_c (float sa, float s, float da, float d)
 
static void combine_soft_light_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_soft_light_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float combine_difference_a (float sa, float s, float da, float d)
 
static float combine_difference_c (float sa, float s, float da, float d)
 
static void combine_difference_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_difference_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float combine_exclusion_a (float sa, float s, float da, float d)
 
static float combine_exclusion_c (float sa, float s, float da, float d)
 
static void combine_exclusion_ca_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_exclusion_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static float minf (float a, float b)
 
static float maxf (float a, float b)
 
static float channel_min (const rgb_t *c)
 
static float channel_max (const rgb_t *c)
 
static float get_lum (const rgb_t *c)
 
static float get_sat (const rgb_t *c)
 
static void clip_color (rgb_t *color, float a)
 
static void set_lum (rgb_t *color, float sa, float l)
 
static void set_sat (rgb_t *src, float sat)
 
static void blend_hsl_hue (rgb_t *res, const rgb_t *dest, float da, const rgb_t *src, float sa)
 
static void blend_hsl_saturation (rgb_t *res, const rgb_t *dest, float da, const rgb_t *src, float sa)
 
static void blend_hsl_color (rgb_t *res, const rgb_t *dest, float da, const rgb_t *src, float sa)
 
static void blend_hsl_luminosity (rgb_t *res, const rgb_t *dest, float da, const rgb_t *src, float sa)
 
static void combine_hsl_hue_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_hsl_saturation_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_hsl_color_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
static void combine_hsl_luminosity_u_float (pixman_implementation_t *imp, pixman_op_t op, float *dest, const float *src, const float *mask, int n_pixels)
 
void _pixman_setup_combiner_functions_float (pixman_implementation_t *imp)
 

Macro Definition Documentation

◆ CLAMP

#define CLAMP (   f)     (((f) < 0)? 0 : (((f) > 1.0) ? 1.0 : (f)))

Definition at line 169 of file pixman-combine-float.c.

◆ MAKE_COMBINER

#define MAKE_COMBINER (   name,
  component,
  combine_a,
  combine_c 
)
Value:
static void \
combine_ ## name ## _float (pixman_implementation_t *imp, \
float *dest, \
const float *src, \
const float *mask, \
int n_pixels) \
{ \
combine_inner (component, dest, src, mask, n_pixels, \
combine_a, combine_c); \
}
#define name
#define dest
pixman_op_t
Definition: pixman.h:389
#define mask(n)
Definition: lbitlib.c:93
Definition: sh.h:1226

Definition at line 130 of file pixman-combine-float.c.

◆ MAKE_COMBINERS

#define MAKE_COMBINERS (   name,
  combine_a,
  combine_c 
)
Value:
MAKE_COMBINER(name ## _ca, TRUE, combine_a, combine_c) \
MAKE_COMBINER(name ## _u, FALSE, combine_a, combine_c)
@ FALSE
Definition: dd.h:101
@ TRUE
Definition: dd.h:102
#define MAKE_COMBINER(name, component, combine_a, combine_c)

Definition at line 143 of file pixman-combine-float.c.

◆ MAKE_NON_SEPARABLE_PDF_COMBINERS

#define MAKE_NON_SEPARABLE_PDF_COMBINERS (   name)

Definition at line 980 of file pixman-combine-float.c.

◆ MAKE_PD_COMBINERS

#define MAKE_PD_COMBINERS (   name,
  a,
  b 
)
Value:
static float force_inline \
pd_combine_ ## name (float sa, float s, float da, float d) \
{ \
const float fa = get_factor (a, sa, da); \
const float fb = get_factor (b, sa, da); \
\
return MIN (1.0f, s * fa + d * fb); \
} \
MAKE_COMBINERS(name, pd_combine_ ## name, pd_combine_ ## name)
#define b
Definition: jpegint.h:372
#define s
Definition: afcover.h:80
#define a(n)
Definition: gpos-common.c:148
#define d(n)
Definition: gpos-common.c:151
#define MIN(a, b)
Definition: jpegint.h:269
static float get_factor(combine_factor_t factor, float sa, float da)
#define MAKE_COMBINERS(name, combine_a, combine_c)

Definition at line 263 of file pixman-combine-float.c.

◆ MAKE_SEPARABLE_PDF_COMBINERS

#define MAKE_SEPARABLE_PDF_COMBINERS (   name)
Value:
static force_inline float \
combine_ ## name ## _a (float sa, float s, float da, float d) \
{ \
return da + sa - da * sa; \
} \
\
static force_inline float \
combine_ ## name ## _c (float sa, float s, float da, float d) \
{ \
float f = (1 - sa) * d + (1 - da) * s; \
\
return f + blend_ ## name (sa, s, da, d); \
} \
MAKE_COMBINERS (name, combine_ ## name ## _a, combine_ ## name ## _c)
mpz_t * f
Definition: gen-fib.c:34
#define force_inline

Definition at line 362 of file pixman-combine-float.c.

Typedef Documentation

◆ combine_channel_t

typedef float(* combine_channel_t) (float sa, float s, float da, float d)

Definition at line 45 of file pixman-combine-float.c.

Enumeration Type Documentation

◆ combine_factor_t

Enumerator
ZERO 
ONE 
SRC_ALPHA 
DEST_ALPHA 
INV_SA 
INV_DA 
SA_OVER_DA 
DA_OVER_SA 
INV_SA_OVER_DA 
INV_DA_OVER_SA 
ONE_MINUS_SA_OVER_DA 
ONE_MINUS_DA_OVER_SA 
ONE_MINUS_INV_DA_OVER_SA 
ONE_MINUS_INV_SA_OVER_DA 

Definition at line 151 of file pixman-combine-float.c.

Function Documentation

◆ _pixman_setup_combiner_functions_float()

void _pixman_setup_combiner_functions_float ( pixman_implementation_t imp)

Definition at line 1032 of file pixman-combine-float.c.

References combine_add_ca_float(), combine_add_u_float(), combine_atop_ca_float(), combine_atop_reverse_ca_float(), combine_atop_reverse_u_float(), combine_atop_u_float(), combine_clear_ca_float(), combine_clear_u_float(), combine_color_burn_ca_float(), combine_color_burn_u_float(), combine_color_dodge_ca_float(), combine_color_dodge_u_float(), combine_conjoint_atop_ca_float(), combine_conjoint_atop_reverse_ca_float(), combine_conjoint_atop_reverse_u_float(), combine_conjoint_atop_u_float(), combine_conjoint_clear_ca_float(), combine_conjoint_clear_u_float(), combine_conjoint_dst_ca_float(), combine_conjoint_dst_u_float(), combine_conjoint_in_ca_float(), combine_conjoint_in_reverse_ca_float(), combine_conjoint_in_reverse_u_float(), combine_conjoint_in_u_float(), combine_conjoint_out_ca_float(), combine_conjoint_out_reverse_ca_float(), combine_conjoint_out_reverse_u_float(), combine_conjoint_out_u_float(), combine_conjoint_over_ca_float(), combine_conjoint_over_reverse_ca_float(), combine_conjoint_over_reverse_u_float(), combine_conjoint_over_u_float(), combine_conjoint_src_ca_float(), combine_conjoint_src_u_float(), combine_conjoint_xor_ca_float(), combine_conjoint_xor_u_float(), combine_darken_ca_float(), combine_darken_u_float(), combine_difference_ca_float(), combine_difference_u_float(), combine_disjoint_atop_ca_float(), combine_disjoint_atop_reverse_ca_float(), combine_disjoint_atop_reverse_u_float(), combine_disjoint_atop_u_float(), combine_disjoint_clear_ca_float(), combine_disjoint_clear_u_float(), combine_disjoint_dst_ca_float(), combine_disjoint_dst_u_float(), combine_disjoint_in_ca_float(), combine_disjoint_in_reverse_ca_float(), combine_disjoint_in_reverse_u_float(), combine_disjoint_in_u_float(), combine_disjoint_out_ca_float(), combine_disjoint_out_reverse_ca_float(), combine_disjoint_out_reverse_u_float(), combine_disjoint_out_u_float(), combine_disjoint_over_ca_float(), combine_disjoint_over_reverse_ca_float(), combine_disjoint_over_reverse_u_float(), combine_disjoint_over_u_float(), combine_disjoint_src_ca_float(), combine_disjoint_src_u_float(), combine_disjoint_xor_ca_float(), combine_disjoint_xor_u_float(), combine_dst_ca_float(), combine_dst_u_float(), combine_exclusion_ca_float(), combine_exclusion_u_float(), combine_hard_light_ca_float(), combine_hard_light_u_float(), combine_hsl_color_u_float(), combine_hsl_hue_u_float(), combine_hsl_luminosity_u_float(), combine_hsl_saturation_u_float(), combine_in_ca_float(), combine_in_reverse_ca_float(), combine_in_reverse_u_float(), combine_in_u_float(), combine_lighten_ca_float(), combine_lighten_u_float(), combine_multiply_ca_float(), combine_multiply_u_float(), combine_out_ca_float(), combine_out_reverse_ca_float(), combine_out_reverse_u_float(), combine_out_u_float(), combine_over_ca_float(), combine_over_reverse_ca_float(), combine_over_reverse_u_float(), combine_over_u_float(), combine_overlay_ca_float(), combine_overlay_u_float(), combine_saturate_ca_float(), combine_saturate_u_float(), combine_screen_ca_float(), combine_screen_u_float(), combine_soft_light_ca_float(), combine_soft_light_u_float(), combine_src_ca_float(), combine_src_u_float(), combine_xor_ca_float(), combine_xor_u_float(), PIXMAN_OP_ADD, PIXMAN_OP_ATOP, PIXMAN_OP_ATOP_REVERSE, PIXMAN_OP_CLEAR, PIXMAN_OP_COLOR_BURN, PIXMAN_OP_COLOR_DODGE, PIXMAN_OP_CONJOINT_ATOP, PIXMAN_OP_CONJOINT_ATOP_REVERSE, PIXMAN_OP_CONJOINT_CLEAR, PIXMAN_OP_CONJOINT_DST, PIXMAN_OP_CONJOINT_IN, PIXMAN_OP_CONJOINT_IN_REVERSE, PIXMAN_OP_CONJOINT_OUT, PIXMAN_OP_CONJOINT_OUT_REVERSE, PIXMAN_OP_CONJOINT_OVER, PIXMAN_OP_CONJOINT_OVER_REVERSE, PIXMAN_OP_CONJOINT_SRC, PIXMAN_OP_CONJOINT_XOR, PIXMAN_OP_DARKEN, PIXMAN_OP_DIFFERENCE, PIXMAN_OP_DISJOINT_ATOP, PIXMAN_OP_DISJOINT_ATOP_REVERSE, PIXMAN_OP_DISJOINT_CLEAR, PIXMAN_OP_DISJOINT_DST, PIXMAN_OP_DISJOINT_IN, PIXMAN_OP_DISJOINT_IN_REVERSE, PIXMAN_OP_DISJOINT_OUT, PIXMAN_OP_DISJOINT_OUT_REVERSE, PIXMAN_OP_DISJOINT_OVER, PIXMAN_OP_DISJOINT_OVER_REVERSE, PIXMAN_OP_DISJOINT_SRC, PIXMAN_OP_DISJOINT_XOR, PIXMAN_OP_DST, PIXMAN_OP_EXCLUSION, PIXMAN_OP_HARD_LIGHT, PIXMAN_OP_HSL_COLOR, PIXMAN_OP_HSL_HUE, PIXMAN_OP_HSL_LUMINOSITY, PIXMAN_OP_HSL_SATURATION, PIXMAN_OP_IN, PIXMAN_OP_IN_REVERSE, PIXMAN_OP_LIGHTEN, PIXMAN_OP_MULTIPLY, PIXMAN_OP_OUT, PIXMAN_OP_OUT_REVERSE, PIXMAN_OP_OVER, PIXMAN_OP_OVER_REVERSE, PIXMAN_OP_OVERLAY, PIXMAN_OP_SATURATE, PIXMAN_OP_SCREEN, PIXMAN_OP_SOFT_LIGHT, PIXMAN_OP_SRC, and PIXMAN_OP_XOR.

Referenced by _pixman_implementation_create_general().

◆ blend_color_burn()

static float blend_color_burn ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 527 of file pixman-combine-float.c.

References d, FLOAT_IS_ZERO, and s.

◆ blend_color_dodge()

static float blend_color_dodge ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 494 of file pixman-combine-float.c.

References d, FLOAT_IS_ZERO, and s.

◆ blend_darken()

static float blend_darken ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 445 of file pixman-combine-float.c.

References d, and s.

◆ blend_difference()

static float blend_difference ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 623 of file pixman-combine-float.c.

References d, and s.

◆ blend_exclusion()

static float blend_exclusion ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 642 of file pixman-combine-float.c.

References d, and s.

◆ blend_hard_light()

static float blend_hard_light ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 557 of file pixman-combine-float.c.

References d, and s.

◆ blend_hsl_color()

static void blend_hsl_color ( rgb_t res,
const rgb_t dest,
float  da,
const rgb_t src,
float  sa 
)
inlinestatic

Definition at line 950 of file pixman-combine-float.c.

References dest, get_lum(), set_lum(), and link_confs::src.

◆ blend_hsl_hue()

static void blend_hsl_hue ( rgb_t res,
const rgb_t dest,
float  da,
const rgb_t src,
float  sa 
)
inlinestatic

Definition at line 908 of file pixman-combine-float.c.

References dest, get_lum(), get_sat(), set_lum(), set_sat(), and link_confs::src.

◆ blend_hsl_luminosity()

static void blend_hsl_luminosity ( rgb_t res,
const rgb_t dest,
float  da,
const rgb_t src,
float  sa 
)
inlinestatic

Definition at line 969 of file pixman-combine-float.c.

References dest, get_lum(), set_lum(), and link_confs::src.

◆ blend_hsl_saturation()

static void blend_hsl_saturation ( rgb_t res,
const rgb_t dest,
float  da,
const rgb_t src,
float  sa 
)
inlinestatic

Definition at line 930 of file pixman-combine-float.c.

References dest, get_lum(), get_sat(), set_lum(), set_sat(), and link_confs::src.

◆ blend_lighten()

static float blend_lighten ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 464 of file pixman-combine-float.c.

References d, and s.

◆ blend_multiply()

static float blend_multiply ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 388 of file pixman-combine-float.c.

References d, and s.

◆ blend_overlay()

static float blend_overlay ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 429 of file pixman-combine-float.c.

References d, and s.

◆ blend_screen()

static float blend_screen ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 401 of file pixman-combine-float.c.

References d, and s.

◆ blend_soft_light()

static float blend_soft_light ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 583 of file pixman-combine-float.c.

References d, FLOAT_IS_ZERO, s, and sqrtf().

◆ channel_max()

static float channel_max ( const rgb_t c)
inlinestatic

Definition at line 759 of file pixman-combine-float.c.

References c, and maxf().

Referenced by clip_color(), and get_sat().

◆ channel_min()

static float channel_min ( const rgb_t c)
inlinestatic

Definition at line 753 of file pixman-combine-float.c.

References c, and minf().

Referenced by clip_color(), and get_sat().

◆ clip_color()

static void clip_color ( rgb_t color,
float  a 
)
static

Definition at line 777 of file pixman-combine-float.c.

References a, channel_max(), channel_min(), FLOAT_IS_ZERO, get_lum(), cutout::l, n, t, and cordic::x.

Referenced by set_lum().

◆ combine_add_ca_float()

static void combine_add_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 287 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_add_u_float()

static void combine_add_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 287 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_atop_ca_float()

static void combine_atop_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 284 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_atop_reverse_ca_float()

static void combine_atop_reverse_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 285 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_atop_reverse_u_float()

static void combine_atop_reverse_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 285 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_atop_u_float()

static void combine_atop_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 284 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_clear_ca_float()

static void combine_clear_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 275 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_clear_u_float()

static void combine_clear_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 275 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_color_burn_a()

static float combine_color_burn_a ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 653 of file pixman-combine-float.c.

◆ combine_color_burn_c()

static float combine_color_burn_c ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 653 of file pixman-combine-float.c.

◆ combine_color_burn_ca_float()

static void combine_color_burn_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 653 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_color_burn_u_float()

static void combine_color_burn_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 653 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_color_dodge_a()

static float combine_color_dodge_a ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 652 of file pixman-combine-float.c.

◆ combine_color_dodge_c()

static float combine_color_dodge_c ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 652 of file pixman-combine-float.c.

◆ combine_color_dodge_ca_float()

static void combine_color_dodge_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 652 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_color_dodge_u_float()

static void combine_color_dodge_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 652 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_atop_ca_float()

static void combine_conjoint_atop_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 313 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_atop_reverse_ca_float()

static void combine_conjoint_atop_reverse_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 314 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_atop_reverse_u_float()

static void combine_conjoint_atop_reverse_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 314 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_atop_u_float()

static void combine_conjoint_atop_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 313 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_clear_ca_float()

static void combine_conjoint_clear_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 304 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_clear_u_float()

static void combine_conjoint_clear_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 304 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_dst_ca_float()

static void combine_conjoint_dst_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 306 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_dst_u_float()

static void combine_conjoint_dst_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 306 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_in_ca_float()

static void combine_conjoint_in_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 309 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_in_reverse_ca_float()

static void combine_conjoint_in_reverse_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 310 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_in_reverse_u_float()

static void combine_conjoint_in_reverse_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 310 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_in_u_float()

static void combine_conjoint_in_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 309 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_out_ca_float()

static void combine_conjoint_out_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 311 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_out_reverse_ca_float()

static void combine_conjoint_out_reverse_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 312 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_out_reverse_u_float()

static void combine_conjoint_out_reverse_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 312 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_out_u_float()

static void combine_conjoint_out_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 311 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_over_ca_float()

static void combine_conjoint_over_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 307 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_over_reverse_ca_float()

static void combine_conjoint_over_reverse_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 308 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_over_reverse_u_float()

static void combine_conjoint_over_reverse_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 308 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_over_u_float()

static void combine_conjoint_over_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 307 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_src_ca_float()

static void combine_conjoint_src_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 305 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_src_u_float()

static void combine_conjoint_src_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 305 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_xor_ca_float()

static void combine_conjoint_xor_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 315 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_conjoint_xor_u_float()

static void combine_conjoint_xor_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 315 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_darken_a()

static float combine_darken_a ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 650 of file pixman-combine-float.c.

◆ combine_darken_c()

static float combine_darken_c ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 650 of file pixman-combine-float.c.

◆ combine_darken_ca_float()

static void combine_darken_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 650 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_darken_u_float()

static void combine_darken_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 650 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_difference_a()

static float combine_difference_a ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 656 of file pixman-combine-float.c.

◆ combine_difference_c()

static float combine_difference_c ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 656 of file pixman-combine-float.c.

◆ combine_difference_ca_float()

static void combine_difference_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 656 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_difference_u_float()

static void combine_difference_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 656 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_atop_ca_float()

static void combine_disjoint_atop_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 300 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_atop_reverse_ca_float()

static void combine_disjoint_atop_reverse_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 301 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_atop_reverse_u_float()

static void combine_disjoint_atop_reverse_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 301 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_atop_u_float()

static void combine_disjoint_atop_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 300 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_clear_ca_float()

static void combine_disjoint_clear_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 291 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_clear_u_float()

static void combine_disjoint_clear_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 291 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_dst_ca_float()

static void combine_disjoint_dst_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 293 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_dst_u_float()

static void combine_disjoint_dst_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 293 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_in_ca_float()

static void combine_disjoint_in_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 296 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_in_reverse_ca_float()

static void combine_disjoint_in_reverse_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 297 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_in_reverse_u_float()

static void combine_disjoint_in_reverse_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 297 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_in_u_float()

static void combine_disjoint_in_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 296 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_out_ca_float()

static void combine_disjoint_out_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 298 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_out_reverse_ca_float()

static void combine_disjoint_out_reverse_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 299 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_out_reverse_u_float()

static void combine_disjoint_out_reverse_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 299 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_out_u_float()

static void combine_disjoint_out_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 298 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_over_ca_float()

static void combine_disjoint_over_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 294 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_over_reverse_ca_float()

static void combine_disjoint_over_reverse_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 295 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_over_reverse_u_float()

static void combine_disjoint_over_reverse_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 295 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_over_u_float()

static void combine_disjoint_over_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 294 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_src_ca_float()

static void combine_disjoint_src_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 292 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_src_u_float()

static void combine_disjoint_src_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 292 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_xor_ca_float()

static void combine_disjoint_xor_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 302 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_disjoint_xor_u_float()

static void combine_disjoint_xor_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 302 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_dst_ca_float()

static void combine_dst_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 277 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_dst_u_float()

static void combine_dst_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 277 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_exclusion_a()

static float combine_exclusion_a ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 657 of file pixman-combine-float.c.

◆ combine_exclusion_c()

static float combine_exclusion_c ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 657 of file pixman-combine-float.c.

◆ combine_exclusion_ca_float()

static void combine_exclusion_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 657 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_exclusion_u_float()

static void combine_exclusion_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 657 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_hard_light_a()

static float combine_hard_light_a ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 654 of file pixman-combine-float.c.

◆ combine_hard_light_c()

static float combine_hard_light_c ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 654 of file pixman-combine-float.c.

◆ combine_hard_light_ca_float()

static void combine_hard_light_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 654 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_hard_light_u_float()

static void combine_hard_light_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 654 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_hsl_color_u_float()

static void combine_hsl_color_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 1028 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_hsl_hue_u_float()

static void combine_hsl_hue_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 1026 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_hsl_luminosity_u_float()

static void combine_hsl_luminosity_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 1029 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_hsl_saturation_u_float()

static void combine_hsl_saturation_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 1027 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_in_ca_float()

static void combine_in_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 280 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_in_reverse_ca_float()

static void combine_in_reverse_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 281 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_in_reverse_u_float()

static void combine_in_reverse_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 281 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_in_u_float()

static void combine_in_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 280 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_inner()

static void combine_inner ( pixman_bool_t  component,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels,
combine_channel_t  combine_a,
combine_channel_t  combine_c 
)
inlinestatic

Definition at line 48 of file pixman-combine-float.c.

References db, dest, dg, dr, i, mask, and link_confs::src.

◆ combine_lighten_a()

static float combine_lighten_a ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 651 of file pixman-combine-float.c.

◆ combine_lighten_c()

static float combine_lighten_c ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 651 of file pixman-combine-float.c.

◆ combine_lighten_ca_float()

static void combine_lighten_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 651 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_lighten_u_float()

static void combine_lighten_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 651 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_multiply_a()

static float combine_multiply_a ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 647 of file pixman-combine-float.c.

◆ combine_multiply_c()

static float combine_multiply_c ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 647 of file pixman-combine-float.c.

◆ combine_multiply_ca_float()

static void combine_multiply_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 647 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_multiply_u_float()

static void combine_multiply_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 647 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_out_ca_float()

static void combine_out_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 282 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_out_reverse_ca_float()

static void combine_out_reverse_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 283 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_out_reverse_u_float()

static void combine_out_reverse_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 283 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_out_u_float()

static void combine_out_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 282 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_over_ca_float()

static void combine_over_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 278 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_over_reverse_ca_float()

static void combine_over_reverse_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 279 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_over_reverse_u_float()

static void combine_over_reverse_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 279 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_over_u_float()

static void combine_over_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 278 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_overlay_a()

static float combine_overlay_a ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 649 of file pixman-combine-float.c.

◆ combine_overlay_c()

static float combine_overlay_c ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 649 of file pixman-combine-float.c.

◆ combine_overlay_ca_float()

static void combine_overlay_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 649 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_overlay_u_float()

static void combine_overlay_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 649 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_saturate_ca_float()

static void combine_saturate_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 289 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_saturate_u_float()

static void combine_saturate_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 289 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_screen_a()

static float combine_screen_a ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 648 of file pixman-combine-float.c.

◆ combine_screen_c()

static float combine_screen_c ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 648 of file pixman-combine-float.c.

◆ combine_screen_ca_float()

static void combine_screen_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 648 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_screen_u_float()

static void combine_screen_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 648 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_soft_light_a()

static float combine_soft_light_a ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 655 of file pixman-combine-float.c.

◆ combine_soft_light_c()

static float combine_soft_light_c ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 655 of file pixman-combine-float.c.

◆ combine_soft_light_ca_float()

static void combine_soft_light_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 655 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_soft_light_u_float()

static void combine_soft_light_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 655 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_src_ca_float()

static void combine_src_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 276 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_src_u_float()

static void combine_src_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 276 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_xor_ca_float()

static void combine_xor_ca_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 286 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ combine_xor_u_float()

static void combine_xor_u_float ( pixman_implementation_t imp,
pixman_op_t  op,
float *  dest,
const float *  src,
const float *  mask,
int  n_pixels 
)
static

Definition at line 286 of file pixman-combine-float.c.

Referenced by _pixman_setup_combiner_functions_float().

◆ get_factor()

◆ get_lum()

static float get_lum ( const rgb_t c)
inlinestatic

◆ get_sat()

static float get_sat ( const rgb_t c)
inlinestatic

Definition at line 771 of file pixman-combine-float.c.

References c, channel_max(), and channel_min().

Referenced by blend_hsl_hue(), and blend_hsl_saturation().

◆ maxf()

static float maxf ( float  a,
float  b 
)
inlinestatic

Definition at line 747 of file pixman-combine-float.c.

References a, and b.

Referenced by channel_max().

◆ minf()

static float minf ( float  a,
float  b 
)
inlinestatic

Definition at line 741 of file pixman-combine-float.c.

References a, and b.

Referenced by channel_min().

◆ pd_combine_add()

static float pd_combine_add ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 287 of file pixman-combine-float.c.

◆ pd_combine_atop()

static float pd_combine_atop ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 284 of file pixman-combine-float.c.

◆ pd_combine_atop_reverse()

static float pd_combine_atop_reverse ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 285 of file pixman-combine-float.c.

◆ pd_combine_clear()

static float pd_combine_clear ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 275 of file pixman-combine-float.c.

◆ pd_combine_conjoint_atop()

static float pd_combine_conjoint_atop ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 313 of file pixman-combine-float.c.

◆ pd_combine_conjoint_atop_reverse()

static float pd_combine_conjoint_atop_reverse ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 314 of file pixman-combine-float.c.

◆ pd_combine_conjoint_clear()

static float pd_combine_conjoint_clear ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 304 of file pixman-combine-float.c.

◆ pd_combine_conjoint_dst()

static float pd_combine_conjoint_dst ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 306 of file pixman-combine-float.c.

◆ pd_combine_conjoint_in()

static float pd_combine_conjoint_in ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 309 of file pixman-combine-float.c.

◆ pd_combine_conjoint_in_reverse()

static float pd_combine_conjoint_in_reverse ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 310 of file pixman-combine-float.c.

◆ pd_combine_conjoint_out()

static float pd_combine_conjoint_out ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 311 of file pixman-combine-float.c.

◆ pd_combine_conjoint_out_reverse()

static float pd_combine_conjoint_out_reverse ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 312 of file pixman-combine-float.c.

◆ pd_combine_conjoint_over()

static float pd_combine_conjoint_over ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 307 of file pixman-combine-float.c.

◆ pd_combine_conjoint_over_reverse()

static float pd_combine_conjoint_over_reverse ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 308 of file pixman-combine-float.c.

◆ pd_combine_conjoint_src()

static float pd_combine_conjoint_src ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 305 of file pixman-combine-float.c.

◆ pd_combine_conjoint_xor()

static float pd_combine_conjoint_xor ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 315 of file pixman-combine-float.c.

◆ pd_combine_disjoint_atop()

static float pd_combine_disjoint_atop ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 300 of file pixman-combine-float.c.

◆ pd_combine_disjoint_atop_reverse()

static float pd_combine_disjoint_atop_reverse ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 301 of file pixman-combine-float.c.

◆ pd_combine_disjoint_clear()

static float pd_combine_disjoint_clear ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 291 of file pixman-combine-float.c.

◆ pd_combine_disjoint_dst()

static float pd_combine_disjoint_dst ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 293 of file pixman-combine-float.c.

◆ pd_combine_disjoint_in()

static float pd_combine_disjoint_in ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 296 of file pixman-combine-float.c.

◆ pd_combine_disjoint_in_reverse()

static float pd_combine_disjoint_in_reverse ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 297 of file pixman-combine-float.c.

◆ pd_combine_disjoint_out()

static float pd_combine_disjoint_out ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 298 of file pixman-combine-float.c.

◆ pd_combine_disjoint_out_reverse()

static float pd_combine_disjoint_out_reverse ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 299 of file pixman-combine-float.c.

◆ pd_combine_disjoint_over()

static float pd_combine_disjoint_over ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 294 of file pixman-combine-float.c.

◆ pd_combine_disjoint_over_reverse()

static float pd_combine_disjoint_over_reverse ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 295 of file pixman-combine-float.c.

◆ pd_combine_disjoint_src()

static float pd_combine_disjoint_src ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 292 of file pixman-combine-float.c.

◆ pd_combine_disjoint_xor()

static float pd_combine_disjoint_xor ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 302 of file pixman-combine-float.c.

◆ pd_combine_dst()

static float pd_combine_dst ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 277 of file pixman-combine-float.c.

◆ pd_combine_in()

static float pd_combine_in ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 280 of file pixman-combine-float.c.

◆ pd_combine_in_reverse()

static float pd_combine_in_reverse ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 281 of file pixman-combine-float.c.

◆ pd_combine_out()

static float pd_combine_out ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 282 of file pixman-combine-float.c.

◆ pd_combine_out_reverse()

static float pd_combine_out_reverse ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 283 of file pixman-combine-float.c.

◆ pd_combine_over()

static float pd_combine_over ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 278 of file pixman-combine-float.c.

◆ pd_combine_over_reverse()

static float pd_combine_over_reverse ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 279 of file pixman-combine-float.c.

◆ pd_combine_saturate()

static float pd_combine_saturate ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 289 of file pixman-combine-float.c.

◆ pd_combine_src()

static float pd_combine_src ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 276 of file pixman-combine-float.c.

◆ pd_combine_xor()

static float pd_combine_xor ( float  sa,
float  s,
float  da,
float  d 
)
inlinestatic

Definition at line 286 of file pixman-combine-float.c.

◆ set_lum()

static void set_lum ( rgb_t color,
float  sa,
float  l 
)
static

◆ set_sat()

static void set_sat ( rgb_t src,
float  sat 
)
static

Definition at line 831 of file pixman-combine-float.c.

References FLOAT_IS_ZERO, max, min, link_confs::src, and t.

Referenced by blend_hsl_hue(), and blend_hsl_saturation().