Searched refs:stats_info (Results 1 – 3 of 3) sorted by relevance
158 XCam3AStatsInfo stats_info; in set_grid_info() local160 xcam_mem_clear (stats_info); in set_grid_info()163 stats_info.width = info.width; in set_grid_info()164 stats_info.height = info.height; in set_grid_info()165 stats_info.aligned_width = info.aligned_width; in set_grid_info()166 stats_info.aligned_height = info.aligned_height; in set_grid_info()167 stats_info.grid_pixel_size = info.bqs_per_grid_cell * 2; in set_grid_info()168 stats_info.bit_depth = 8; in set_grid_info()169 stats_info.histogram_bins = 256; in set_grid_info()171 set_stats_info (stats_info); in set_grid_info()[all …]
69 XCam3AStatsInfo stats_info = stats->info; in setup_stats_pool() local74 grid_info.width = stats_info.width; in setup_stats_pool()75 grid_info.height = stats_info.height; in setup_stats_pool()76 grid_info.aligned_width = stats_info.aligned_width; in setup_stats_pool()77 grid_info.aligned_height = stats_info.aligned_height; in setup_stats_pool()78 grid_info.bqs_per_grid_cell = stats_info.grid_pixel_size >> 1; in setup_stats_pool()80 grid_info.elem_bit_depth = stats_info.bit_depth; in setup_stats_pool()
265 const XCam3AStatsInfo &stats_info = stats->info; in fill_histogram() local270 memset (hist_rgb, 0, sizeof(XCamHistogram) * stats_info.histogram_bins); in fill_histogram()271 memset (hist_y, 0, sizeof(uint32_t) * stats_info.histogram_bins); in fill_histogram()272 for (uint32_t i = 0; i < stats_info.width; i++) { in fill_histogram()273 for (uint32_t j = 0; j < stats_info.height; j++) { in fill_histogram()274 grid_stat = &stats->stats[j * stats_info.aligned_width + i]; in fill_histogram()