Searched refs:gamma_lut (Results 1 – 4 of 4) sorted by relevance
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/ |
D | pam.h | 90 LIQ_PRIVATE void to_f_set_gamma(float gamma_lut[], const double gamma); 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() argument 103 .r = gamma_lut[px.r]*a, in to_f() 104 .g = gamma_lut[px.g]*a, in to_f() 105 .b = gamma_lut[px.b]*a, in to_f()
|
D | pam.c | 214 hist->achv[j].acolor = to_f(gamma_lut, entry.color.rgba); \ 224 float gamma_lut[256]; in pam_acolorhashtoacolorhist() local 237 to_f_set_gamma (gamma_lut, gamma); in pam_acolorhashtoacolorhist() 317 to_f_set_gamma (float gamma_lut[], const double gamma) in to_f_set_gamma() argument 320 gamma_lut[i] = pow ((double) i / 255.0, internal_gamma / gamma); in to_f_set_gamma()
|
D | libimagequant.c | 529 float gamma_lut[256]; in liq_image_add_fixed_color() local 542 to_f_set_gamma (gamma_lut, img->gamma); in liq_image_add_fixed_color() 543 img->fixed_colors[img->fixed_colors_count++] = to_f (gamma_lut, pix); in liq_image_add_fixed_color() 765 const unsigned int row, const float gamma_lut[]) in convert_row_to_f() argument 775 row_f_pixels[col] = to_f (gamma_lut, row_pixels[col]); in convert_row_to_f() 785 float gamma_lut[256]; in liq_image_get_row_f() local 788 to_f_set_gamma (gamma_lut, img->gamma); in liq_image_get_row_f() 790 convert_row_to_f (img, row_for_thread, row, gamma_lut); in liq_image_get_row_f() 807 float gamma_lut[256]; in liq_image_get_row_f() local 808 to_f_set_gamma (gamma_lut, img->gamma); in liq_image_get_row_f() [all …]
|
/third_party/libdrm/tests/modetest/ |
D | modetest.c | 1143 struct drm_color_lut gamma_lut[256]; in set_gamma() local 1148 util_smpte_c8_gamma(256, gamma_lut); in set_gamma() 1149 drmModeCreatePropertyBlob(dev->fd, gamma_lut, sizeof(gamma_lut), &blob_id); in set_gamma() 1152 gamma_lut[i].red = in set_gamma() 1153 gamma_lut[i].green = in set_gamma() 1154 gamma_lut[i].blue = i << 8; in set_gamma() 1164 r[i] = gamma_lut[i].red; in set_gamma() 1165 g[i] = gamma_lut[i].green; in set_gamma() 1166 b[i] = gamma_lut[i].blue; in set_gamma()
|