Home
last modified time | relevance | path

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

/external/ComputeLibrary/src/core/
DHelpers.cpp37 const float sampling_point = (sampling_policy == SamplingPolicy::CENTER) ? 0.5f : 0.0f; in calculate_valid_region_scale() local
60 valid_start_out_x = std::ceil(valid_start_in_x * scale_x - sampling_point); in calculate_valid_region_scale()
61 valid_start_out_y = std::ceil(valid_start_in_y * scale_y - sampling_point); in calculate_valid_region_scale()
65 valid_end_out_x = std::ceil(valid_end_in_x * scale_x - sampling_point); in calculate_valid_region_scale()
66 valid_end_out_y = std::ceil(valid_end_in_y * scale_y - sampling_point); in calculate_valid_region_scale()
73 … valid_start_out_x = std::ceil((valid_start_in_x + sampling_point) * scale_x - sampling_point); in calculate_valid_region_scale()
74 … valid_start_out_y = std::ceil((valid_start_in_y + sampling_point) * scale_y - sampling_point); in calculate_valid_region_scale()
78 …valid_end_out_x = std::floor((valid_end_in_x - 1.f + sampling_point) * scale_x - sampling_point + … in calculate_valid_region_scale()
79 …valid_end_out_y = std::floor((valid_end_in_y - 1.f + sampling_point) * scale_y - sampling_point + … in calculate_valid_region_scale()