Searched refs:f_pixel (Results 1 – 7 of 7) sorted by relevance
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/ |
D | pam.h | 86 } SSE_ALIGN f_pixel; typedef 96 ALWAYS_INLINE static f_pixel to_f(const float gamma_lut[], const rgba_pixel px); 97 inline static f_pixel to_f(const float gamma_lut[], const rgba_pixel px) in to_f() 101 return (f_pixel) { in to_f() 109 inline static rgba_pixel to_rgb(const float gamma, const f_pixel px) in to_rgb() 149 ALWAYS_INLINE static float colordifference_stdc(const f_pixel px, const f_pixel py); 150 inline static float colordifference_stdc(const f_pixel px, const f_pixel py) in colordifference_stdc() 179 ALWAYS_INLINE static float min_colordifference(const f_pixel px, const f_pixel py); 180 inline static float min_colordifference(const f_pixel px, const f_pixel py) in min_colordifference() 188 ALWAYS_INLINE static float colordifference(f_pixel px, f_pixel py); [all …]
|
D | mediancut.c | 22 #define index_of_channel(ch) (offsetof(f_pixel,ch)/sizeof(float)) 24 static f_pixel averagepixels (unsigned int clrs, const hist_item achv[], 25 float min_opaque_val, const f_pixel center); 29 f_pixel color; 30 f_pixel variance; 48 static f_pixel 51 f_pixel mean = box->color; in box_variance() 55 f_pixel px = achv[box->ind + i].acolor; in box_variance() 63 return (f_pixel) { in box_variance() 71 f_pixel mean = box->color; in box_max_error() [all …]
|
D | nearest.c | 17 f_pixel vantage_point; 20 f_pixel *candidates_color; 59 build_head (f_pixel px, const colormap * map, unsigned int num_candidates, in build_head() 137 (sizeof (f_pixel) + in nearest_init() 187 centroids->heads[h] = build_head ((f_pixel) { in nearest_init() 202 nearest_search (const struct nearest_map *centroids, const f_pixel px, in nearest_search()
|
D | libimagequant.c | 80 f_pixel *f_pixels; 86 f_pixel *temp_f_row; 90 f_pixel fixed_colors[256]; 133 static const f_pixel *liq_image_get_row_f (liq_image * input_image, 559 …mory_hint ? LIQ_HIGH_MEMORY_LIMIT / 8 : LIQ_HIGH_MEMORY_LIMIT) / sizeof (f_pixel); // Watch out … in liq_image_should_use_low_memory() 764 convert_row_to_f (liq_image * img, f_pixel * row_f_pixels, in convert_row_to_f() 780 static const f_pixel * 786 f_pixel *row_for_thread; in liq_image_get_row_f() 1189 const f_pixel *const row_pixels = liq_image_get_row_f (input_image, row); in remap_to_palette() 1192 f_pixel px = row_pixels[col]; in remap_to_palette() [all …]
|
D | viter.c | 29 viter_update_color (const f_pixel acolor, const float value, in viter_update_color() 60 map->palette[i].acolor = (f_pixel) { in viter_finalize()
|
D | nearest.h | 7 LIQ_PRIVATE unsigned int nearest_search(const struct nearest_map *map, const f_pixel px, const int …
|
D | viter.h | 15 LIQ_PRIVATE void viter_update_color(const f_pixel acolor, const float value, const colormap *map, u…
|