Lines Matching defs:LUT
63 int LUT[256]; ///< lookup table derived from histogram[]
174 histeq->LUT[0] = histeq->in_histogram[0];
177 histeq->LUT[x] = histeq->LUT[x-1] + histeq->in_histogram[x];
181 histeq->LUT[x] = (histeq->LUT[x] * intensity) / (inlink->h * inlink->w);
183 /* Adjust the LUT based on the selected strength. This is an alpha
184 mix of the calculated LUT and a linear LUT with gain 1. */
186 histeq->LUT[x] = (strength * histeq->LUT[x]) / 255 +
202 lut = histeq->LUT[luma];
206 (histeq->LUT[luma] + histeq->LUT[luma - 1]) / 2 :
207 histeq->LUT[luma - 1];
213 (histeq->LUT[luma] + histeq->LUT[luma + 1]) / 2 :
214 histeq->LUT[luma + 1];