Searched refs:lut (Results 1 - 11 of 11) sorted by relevance

/haiku-fatelf/src/libs/print/libgutenprint/src/main/
H A Dprint-color.c653 lut_t *lut = (lut_t *)(stp_get_component_data(v, "Color")); local
656 stp_channel_initialize(v, image, lut->out_channels);
657 lut->channels_are_initialized = 1;
666 const lut_t *lut = (const lut_t *)(stp_get_component_data(v, "Color")); local
668 if (stp_image_get_row(image, lut->in_data,
669 lut->image_width * lut->in_channels * lut->channel_depth / 8, row)
672 if (!lut->channels_are_initialized)
674 zero = (lut
683 free_channels(lut_t *lut) argument
762 lut_t *lut = (lut_t *)vlut; local
781 lut_t *lut = (lut_t *)(stp_get_component_data(vars, "Color")); local
842 lut_t *lut = (lut_t *)(stp_get_component_data(vars, "Color")); local
900 channel_is_synthesized(lut_t *lut, int channel) argument
918 compute_user_correction(lut_t *lut) argument
1019 compute_a_curve_full(lut_t *lut, int channel) argument
1086 compute_a_curve_fast(lut_t *lut, int channel) argument
1108 compute_a_curve_simple(lut_t *lut, int channel) argument
1140 compute_a_curve(lut_t *lut, int channel) argument
1182 compute_one_lut(lut_t *lut, int i) argument
1211 lut_t *lut = (lut_t *)(stp_get_component_data(v, "Color")); local
1254 lut_t *lut = (lut_t *)(stp_get_component_data(v, "Color")); local
1299 lut_t *lut = (lut_t *)(stp_get_component_data(v, "Color")); local
1406 lut_t *lut; local
[all...]
H A Dcolor-conversions.c246 adjust_hsl(unsigned short *rgbout, lut_t *lut, double ssat, double isat, argument
249 const double *hue_map = CURVE_CACHE_FAST_DOUBLE(&(lut->hue_map));
250 const double *lum_map = CURVE_CACHE_FAST_DOUBLE(&(lut->lum_map));
251 const double *sat_map = CURVE_CACHE_FAST_DOUBLE(&(lut->sat_map));
255 size_t hue_count = CURVE_CACHE_FAST_COUNT(&(lut->hue_map));
256 size_t lum_count = CURVE_CACHE_FAST_COUNT(&(lut->lum_map));
257 size_t sat_count = CURVE_CACHE_FAST_COUNT(&(lut->sat_map));
265 if (!adjust_hue_only && lut->sat_map.d_cache)
298 if (lut->lum_map.d_cache && l > 0.00001 && l < .99999)
324 lookup_rgb(lut_t *lut, unsigne argument
372 lut_t *lut = (lut_t *)(stp_get_component_data(vars, "Color")); local
2021 lut_t *lut = (lut_t *)(stp_get_component_data(v, "Color")); local
2043 lut_t *lut = (lut_t *)(stp_get_component_data(v, "Color")); local
2065 lut_t *lut = (lut_t *)(stp_get_component_data(v, "Color")); local
2087 lut_t *lut = (lut_t *)(stp_get_component_data(v, "Color")); local
[all...]
H A Ddither-ordered.c41 unsigned short *lut; member in struct:__anon5106
89 ord->lut = data;
179 unsigned short *where = ord ? ord->lut + (val * levels) : &swhere;
280 if (no->lut)
281 stp_free(no->lut);
H A Dchannel.c59 unsigned short *lut; member in struct:__anon5093
111 STP_SAFE_FREE(cg->c[channel].lut);
505 c->lut = stp_zalloc(sizeof(unsigned short) * sc * 65536);
512 c->lut[val * sc + sc - 1] = value;
537 c->lut[val * sc + sc - k - 2] = upper_amount;
538 c->lut[val * sc + sc - k - 1] = lower_amount;
544 c->lut[val * sc] = val / c->sc[sc - 1].value;
995 o_val = c->lut[offset + k];
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/
H A DImfPizCompressor.cpp108 unsigned short lut[USHORT_RANGE])
115 lut[i] = k++;
117 lut[i] = 0;
120 return k - 1; // maximum value stored in lut[],
126 unsigned short lut[USHORT_RANGE])
133 lut[k++] = i;
139 lut[k++] = 0;
141 return n; // maximum k where lut[k] is non-zero,
146 applyLut (const unsigned short lut[USHORT_RANGE], argument
151 data[i] = lut[dat
107 forwardLutFromBitmap(const unsigned char bitmap[BITMAP_SIZE], unsigned short lut[USHORT_RANGE]) argument
125 reverseLutFromBitmap(const unsigned char bitmap[BITMAP_SIZE], unsigned short lut[USHORT_RANGE]) argument
422 AutoArray <unsigned short, USHORT_RANGE> lut; local
555 AutoArray <unsigned short, USHORT_RANGE> lut; local
[all...]
H A DImfCRgbaFile.h450 void ImfDeleteLut (ImfLut *lut);
452 void ImfApplyLut (ImfLut *lut,
H A DImfCRgbaFile.cpp1417 ImfDeleteLut (ImfLut *lut) argument
1419 delete (Imf::RgbaLut *) lut;
1424 ImfApplyLut (ImfLut *lut, ImfRgba *data, int nData, int stride) argument
1426 ((Imf::RgbaLut *)lut)->apply ((Imf::Rgba *)data, nData, stride);
/haiku-fatelf/src/apps/icon-o-matic/
H A DCanvasView.cpp493 const GammaTable& lut = fRenderer->GammaTable(); local
494 uint8 redLow = lut.dir(kAlphaLow.red);
495 uint8 greenLow = lut.dir(kAlphaLow.blue);
496 uint8 blueLow = lut.dir(kAlphaLow.green);
497 uint8 redHigh = lut.dir(kAlphaHigh.red);
498 uint8 greenHigh = lut.dir(kAlphaHigh.blue);
499 uint8 blueHigh = lut.dir(kAlphaHigh.green);
/haiku-fatelf/src/add-ons/translators/raw/
H A DRAW.h107 void _GammaLookUpTable(uchar* lut);
H A DRAW.cpp2081 DCRaw::_GammaLookUpTable(uchar* lut)
2114 lut[i] = val;
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dattrib.c6745 u8 *lut; local
6747 lut = ntfs_malloc(256);
6748 if (lut)
6750 *(lut + i) = 8 - BITCOUNT(i);
6751 return lut;
6756 u8 *buf, *lut; local
6761 lut = ntfs_init_lut256();
6762 if (!lut)
6777 nr_free += lut[ *p & 255] +
6778 lut[(*
[all...]

Completed in 135 milliseconds