Searched refs:block_factor (Results 1 – 1 of 1) sorted by relevance
301 int block_factor = 4; in prepare_parameters() local302 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()310 for(int block_row = 0; block_row < block_factor; block_row++) in prepare_parameters()312 for(int block_col = 0; block_col < block_factor; block_col++) in prepare_parameters()314 int block_start_index = (block_row * block_factor + block_col) * hist_bin_count; in prepare_parameters()322 if(block_row == block_factor - 1) in prepare_parameters()345 context, sizeof(float) * block_factor * block_factor, in prepare_parameters()349 context, sizeof(float) * block_factor * block_factor, in prepare_parameters()[all …]