Home
last modified time | relevance | path

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

/third_party/boost/boost/gil/image_processing/
Dnumeric.hpp91 inline detail::kernel_2d<T, Allocator> generate_normalized_mean(std::size_t side_length) in generate_normalized_mean() argument
93 if (side_length % 2 != 1) in generate_normalized_mean()
95 const float entry = 1.0f / static_cast<float>(side_length * side_length); in generate_normalized_mean()
97 detail::kernel_2d<T, Allocator> result(side_length, side_length / 2, side_length / 2); in generate_normalized_mean()
110 inline detail::kernel_2d<T, Allocator> generate_unnormalized_mean(std::size_t side_length) in generate_unnormalized_mean() argument
112 if (side_length % 2 != 1) in generate_unnormalized_mean()
115 detail::kernel_2d<T, Allocator> result(side_length, side_length / 2, side_length / 2); in generate_unnormalized_mean()
129 inline detail::kernel_2d<T, Allocator> generate_gaussian_kernel(std::size_t side_length, double sig… in generate_gaussian_kernel() argument
131 if (side_length % 2 != 1) in generate_gaussian_kernel()
136 auto middle = side_length / 2; in generate_gaussian_kernel()
[all …]
/third_party/ffmpeg/libavcodec/
Dsanm.c386 const int side_length) in make_glyphs() argument
388 const int glyph_size = side_length * side_length; in make_glyphs()
395 enum GlyphEdge edge0 = which_edge(x0, y0, side_length); in make_glyphs()
400 enum GlyphEdge edge1 = which_edge(x1, y1, side_length); in make_glyphs()
414 pglyph[point[0] + irow * side_length] = 1; in make_glyphs()
418 for (irow = point[1]; irow < side_length; irow++) in make_glyphs()
419 pglyph[point[0] + irow * side_length] = 1; in make_glyphs()
424 pglyph[icol + point[1] * side_length] = 1; in make_glyphs()
428 for (icol = point[0]; icol < side_length; icol++) in make_glyphs()
429 pglyph[icol + point[1] * side_length] = 1; in make_glyphs()
/third_party/boost/libs/graph/test/
Dlayout_test.cpp177 get(edge_weight, g), square_topology<>(50.0), side_length(50.0)); in test_triangle()
224 get(edge_weight, g), square_topology<>(50.0), side_length(50.0), in test_cube()
304 get(edge_weight, g), topology, side_length(50.0), kamada_kawai_done()); in test_triangular()
370 get(edge_weight, g), square_topology<>(50.0), side_length(50.0), in test_disconnected()
/third_party/boost/boost/graph/
Dkamada_kawai_spring_layout.hpp451 inline detail::graph::edge_or_side< false, T > side_length(T x) in side_length() function