Home
last modified time | relevance | path

Searched refs:stats_ptr (Results 1 – 6 of 6) sorted by relevance

/external/libxcam/modules/ocl/
Dcl_3a_stats_context.cpp128 void debug_print_3a_stats (XCam3AStats *stats_ptr) in debug_print_3a_stats() argument
132 printf ("********frame(%d) debug 3a stats(%dbits) \n", frames, stats_ptr->info.bit_depth); in debug_print_3a_stats()
136 printf ("%4d ", stats_ptr->stats[y * stats_ptr->info.aligned_width + x].avg_y); in debug_print_3a_stats()
149 DUMP_STATS (r, stats_ptr->info.width, stats_ptr->info.height, in debug_print_3a_stats()
150 stats_ptr->info.aligned_width, stats_ptr->stats); in debug_print_3a_stats()
151 DUMP_STATS (gr, stats_ptr->info.width, stats_ptr->info.height, in debug_print_3a_stats()
152 stats_ptr->info.aligned_width, stats_ptr->stats); in debug_print_3a_stats()
153 DUMP_STATS (gb, stats_ptr->info.width, stats_ptr->info.height, in debug_print_3a_stats()
154 stats_ptr->info.aligned_width, stats_ptr->stats); in debug_print_3a_stats()
155 DUMP_STATS (b, stats_ptr->info.width, stats_ptr->info.height, in debug_print_3a_stats()
[all …]
Dcl_tonemapping_handler.cpp133 XCam3AStats *stats_ptr = stats->get_stats (); in prepare_parameters() local
134 XCAM_ASSERT (stats_ptr); in prepare_parameters()
136 int pixel_totalnum = stats_ptr->info.aligned_width * stats_ptr->info.aligned_height; in prepare_parameters()
138 int hist_bin_count = 1 << stats_ptr->info.bit_depth; in prepare_parameters()
150 pixel_num += stats_ptr->hist_y[i]; in prepare_parameters()
163 cumulative_value += i * stats_ptr->hist_y[i]; in prepare_parameters()
183 y_target = y_target / pow(2, stats_ptr->info.bit_depth - 8); in prepare_parameters()
184 y_max = y_max / pow(2, stats_ptr->info.bit_depth - 8); in prepare_parameters()
Dcl_newtonemapping_handler.cpp296 XCam3AStats *stats_ptr = stats->get_stats (); in prepare_parameters() local
298 ERROR, stats_ptr, XCAM_RETURN_ERROR_MEM, in prepare_parameters()
302 int width_per_block = stats_ptr->info.width / block_factor; in prepare_parameters()
303 int height_per_block = stats_ptr->info.height / block_factor; in prepare_parameters()
304 int height_last_block = height_per_block + stats_ptr->info.height % block_factor; in prepare_parameters()
305 int hist_bin_count = 1 << stats_ptr->info.bit_depth; in prepare_parameters()
315 …int start_index = block_row * height_per_block * stats_ptr->info.width + block_col * width_per_blo… in prepare_parameters()
332 int y = stats_ptr->stats[start_index + i * stats_ptr->info.width + j].avg_y; in prepare_parameters()
Dcl_defog_dcp_handler.cpp222 XCam3AStats *stats_ptr = stats->get_stats (); in get_max_value() local
223 if (!stats_ptr || !stats_ptr->hist_y) in get_max_value()
226 uint32_t his_bins = stats_ptr->info.histogram_bins; in get_max_value()
227 uint32_t pixel_count = stats_ptr->info.width * stats_ptr->info.height; in get_max_value()
233 sum_count += stats_ptr->hist_y[i]; in get_max_value()
237 ret = (float)i * 256.0f / (1 << stats_ptr->info.bit_depth); in get_max_value()
/external/ppp/pppd/include/net/
Dppp_defs.h144 #define stats_ptr b.ifr_ifru.ifru_data macro
/external/ppp/pppd/
Dsys-linux.c1381 req.stats_ptr = (caddr_t) &req.stats;