histogram_proc     55 modules/histogram.c static unsigned short *histogram_proc[5] = { 0,0,0,0,0 };   // RGBYG (logic in histogram_process stage 0 ensures unsigned short is large enough)
histogram_proc     86 modules/histogram.c     if (histogram_proc[0] == 0)
histogram_proc     88 modules/histogram.c         histogram_proc[0] = malloc(5 * 256 * sizeof(unsigned short));
histogram_proc     89 modules/histogram.c         histogram_proc[1] = histogram_proc[0] + 256;
histogram_proc     90 modules/histogram.c         histogram_proc[2] = histogram_proc[1] + 256;
histogram_proc     91 modules/histogram.c         histogram_proc[3] = histogram_proc[2] + 256;
histogram_proc     92 modules/histogram.c         histogram_proc[4] = histogram_proc[3] + 256;
histogram_proc    131 modules/histogram.c             ++histogram_proc[HISTO_Y][y];                       // Y
histogram_proc    133 modules/histogram.c             ++histogram_proc[HISTO_R][hi];
histogram_proc    135 modules/histogram.c             ++histogram_proc[HISTO_G][hi];
histogram_proc    137 modules/histogram.c             ++histogram_proc[HISTO_B][hi];
histogram_proc    225 modules/histogram.c                 memset(histogram_proc[c],0,256*sizeof(unsigned short));
histogram_proc    246 modules/histogram.c                 histogram_proc[HISTO_Y][i] = histogram_proc[HISTO_Y][c] + histogram_proc[HISTO_Y][c+1];
histogram_proc    247 modules/histogram.c                 histogram_proc[HISTO_R][i] = histogram_proc[HISTO_R][c] + histogram_proc[HISTO_R][c+1];
histogram_proc    248 modules/histogram.c                 histogram_proc[HISTO_G][i] = histogram_proc[HISTO_G][c] + histogram_proc[HISTO_G][c+1];
histogram_proc    249 modules/histogram.c                 histogram_proc[HISTO_B][i] = histogram_proc[HISTO_B][c] + histogram_proc[HISTO_B][c+1];
histogram_proc    252 modules/histogram.c                 histogram_proc[HISTO_RGB][i] = histogram_proc[HISTO_R][i] + histogram_proc[HISTO_G][i] + histogram_proc[HISTO_B][i];
histogram_proc    258 modules/histogram.c                     if (histo_max[c]<histogram_proc[c][i])
histogram_proc    259 modules/histogram.c                         histo_max[c]=histogram_proc[c][i];
histogram_proc    260 modules/histogram.c                     if (histo_max_center[c]<histogram_proc[c][i] && i>=conf.histo_ignore_boundary && i<HISTO_WIDTH-conf.histo_ignore_boundary)
histogram_proc    261 modules/histogram.c                         histo_max_center[c]=histogram_proc[c][i];
histogram_proc    274 modules/histogram.c                 under_exposed = (histogram_proc[HISTO_RGB][0]*8
histogram_proc    275 modules/histogram.c                                 +histogram_proc[HISTO_RGB][1]*4
histogram_proc    276 modules/histogram.c                                 +histogram_proc[HISTO_RGB][2]) > exposition_thresh;
histogram_proc    278 modules/histogram.c                 over_exposed  = (histogram_proc[HISTO_RGB][HISTO_WIDTH-3]
histogram_proc    279 modules/histogram.c                                 +histogram_proc[HISTO_RGB][HISTO_WIDTH-2]*4
histogram_proc    280 modules/histogram.c                                 +histogram_proc[HISTO_RGB][HISTO_WIDTH-1]*8) > exposition_thresh;
histogram_proc    293 modules/histogram.c                     histogram[c][i] = (histogram_transform((float)histogram_proc[c][i]))*histo_max_center_invw[c];