Home | History | Annotate | Download | only in ocl

Lines Matching defs:stats_ptr

128 void debug_print_3a_stats (XCam3AStats *stats_ptr)
132 printf ("********frame(%d) debug 3a stats(%dbits) \n", frames, stats_ptr->info.bit_depth);
136 printf ("%4d ", stats_ptr->stats[y * stats_ptr->info.aligned_width + x].avg_y);
149 DUMP_STATS (r, stats_ptr->info.width, stats_ptr->info.height,
150 stats_ptr->info.aligned_width, stats_ptr->stats);
151 DUMP_STATS (gr, stats_ptr->info.width, stats_ptr->info.height,
152 stats_ptr->info.aligned_width, stats_ptr->stats);
153 DUMP_STATS (gb, stats_ptr->info.width, stats_ptr->info.height,
154 stats_ptr->info.aligned_width, stats_ptr->stats);
155 DUMP_STATS (b, stats_ptr->info.width, stats_ptr->info.height,
156 stats_ptr->info.aligned_width, stats_ptr->stats);
157 DUMP_STATS (y, stats_ptr->info.width, stats_ptr->info.height,
158 stats_ptr->info.aligned_width, stats_ptr->stats);
162 void debug_print_histogram (XCam3AStats *stats_ptr)
173 DUMP_HISTOGRAM (r, stats_ptr->info.histogram_bins, stats_ptr->hist_rgb);
174 DUMP_HISTOGRAM (gr, stats_ptr->info.histogram_bins, stats_ptr->hist_rgb);
175 DUMP_HISTOGRAM (gb, stats_ptr->info.histogram_bins, stats_ptr->hist_rgb);
176 DUMP_HISTOGRAM (b, stats_ptr->info.histogram_bins, stats_ptr->hist_rgb);
179 for (uint32_t i = 0; i < stats_ptr->info.histogram_bins; i++) {
181 printf ("%4d ", stats_ptr->hist_y[i]);
192 XCam3AStats *stats_ptr = NULL;
204 stats_ptr = stats->get_stats ();
219 XCAM_ASSERT (stats_ptr);
220 memset (stats_ptr->stats, 0, sizeof (XCamGridStat) * _stats_info.aligned_width * _stats_info.aligned_height);
226 XCamGridStat *grid_stats_line = &stats_ptr->stats[_stats_info.aligned_width * h];
255 //debug_print_3a_stats (stats_ptr);
256 fill_histogram (stats_ptr);
257 //debug_print_histogram (stats_ptr);