/dports/misc/vxl/vxl-3.3.2/contrib/mul/mmn/ |
H A D | mmn_make_tri_tree.cxx | 16 std::vector<double>& best_d) in update_best_arcs() argument 25 if (d<best_d[i]) in update_best_arcs() 27 best_d[i]=d; in update_best_arcs() 61 std::vector<double> best_d(n); in mmn_make_tri_tree() local 102 if (node_free[i]) best_d[i] = D(i,arc.v1)+D(i,arc.v2); in mmn_make_tri_tree() 113 if (best_i>n || best_d[i]<min_d) in mmn_make_tri_tree() 114 { min_d=best_d[i]; best_i=i; } in mmn_make_tri_tree() 158 std::vector<double> best_d(n); in mmn_make_tri_tree() local 205 if (node_free[i]) best_d[i] = D(i,arc.v1)+D(i,arc.v2); in mmn_make_tri_tree() 216 if (best_i>n || best_d[i]<min_d) in mmn_make_tri_tree() [all …]
|
/dports/multimedia/gstreamer1-plugins-theora/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video.c | 122 int best_n, best_d, gcd; in gst_video_guess_framerate() local 134 best_d = duration / 10000; in gst_video_guess_framerate() 137 best_d = duration; in gst_video_guess_framerate() 167 best_d = d; in gst_video_guess_framerate() 173 gcd = gst_util_greatest_common_divisor (best_n, best_d); in gst_video_guess_framerate() 176 best_d /= gcd; in gst_video_guess_framerate() 181 *dest_d = best_d; in gst_video_guess_framerate()
|
/dports/multimedia/gstreamer1-plugins/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video.c | 122 int best_n, best_d, gcd; in gst_video_guess_framerate() local 134 best_d = duration / 10000; in gst_video_guess_framerate() 137 best_d = duration; in gst_video_guess_framerate() 167 best_d = d; in gst_video_guess_framerate() 173 gcd = gst_util_greatest_common_divisor (best_n, best_d); in gst_video_guess_framerate() 176 best_d /= gcd; in gst_video_guess_framerate() 181 *dest_d = best_d; in gst_video_guess_framerate()
|
/dports/audio/gstreamer1-plugins-ogg/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video.c | 122 int best_n, best_d, gcd; in gst_video_guess_framerate() local 134 best_d = duration / 10000; in gst_video_guess_framerate() 137 best_d = duration; in gst_video_guess_framerate() 167 best_d = d; in gst_video_guess_framerate() 173 gcd = gst_util_greatest_common_divisor (best_n, best_d); in gst_video_guess_framerate() 176 best_d /= gcd; in gst_video_guess_framerate() 181 *dest_d = best_d; in gst_video_guess_framerate()
|
/dports/audio/gstreamer1-plugins-cdparanoia/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video.c | 122 int best_n, best_d, gcd; in gst_video_guess_framerate() local 134 best_d = duration / 10000; in gst_video_guess_framerate() 137 best_d = duration; in gst_video_guess_framerate() 167 best_d = d; in gst_video_guess_framerate() 173 gcd = gst_util_greatest_common_divisor (best_n, best_d); in gst_video_guess_framerate() 176 best_d /= gcd; in gst_video_guess_framerate() 181 *dest_d = best_d; in gst_video_guess_framerate()
|
/dports/audio/gstreamer1-plugins-vorbis/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video.c | 122 int best_n, best_d, gcd; in gst_video_guess_framerate() local 134 best_d = duration / 10000; in gst_video_guess_framerate() 137 best_d = duration; in gst_video_guess_framerate() 167 best_d = d; in gst_video_guess_framerate() 173 gcd = gst_util_greatest_common_divisor (best_n, best_d); in gst_video_guess_framerate() 176 best_d /= gcd; in gst_video_guess_framerate() 181 *dest_d = best_d; in gst_video_guess_framerate()
|
/dports/audio/gstreamer1-plugins-opus/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video.c | 122 int best_n, best_d, gcd; in gst_video_guess_framerate() local 134 best_d = duration / 10000; in gst_video_guess_framerate() 137 best_d = duration; in gst_video_guess_framerate() 167 best_d = d; in gst_video_guess_framerate() 173 gcd = gst_util_greatest_common_divisor (best_n, best_d); in gst_video_guess_framerate() 176 best_d /= gcd; in gst_video_guess_framerate() 181 *dest_d = best_d; in gst_video_guess_framerate()
|
/dports/x11-toolkits/gstreamer1-plugins-pango/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video.c | 122 int best_n, best_d, gcd; in gst_video_guess_framerate() local 134 best_d = duration / 10000; in gst_video_guess_framerate() 137 best_d = duration; in gst_video_guess_framerate() 167 best_d = d; in gst_video_guess_framerate() 173 gcd = gst_util_greatest_common_divisor (best_n, best_d); in gst_video_guess_framerate() 176 best_d /= gcd; in gst_video_guess_framerate() 181 *dest_d = best_d; in gst_video_guess_framerate()
|
/dports/graphics/gstreamer1-plugins-libvisual/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video.c | 122 int best_n, best_d, gcd; in gst_video_guess_framerate() local 134 best_d = duration / 10000; in gst_video_guess_framerate() 137 best_d = duration; in gst_video_guess_framerate() 167 best_d = d; in gst_video_guess_framerate() 173 gcd = gst_util_greatest_common_divisor (best_n, best_d); in gst_video_guess_framerate() 176 best_d /= gcd; in gst_video_guess_framerate() 181 *dest_d = best_d; in gst_video_guess_framerate()
|
/dports/graphics/gstreamer1-plugins-gl/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video.c | 122 int best_n, best_d, gcd; in gst_video_guess_framerate() local 134 best_d = duration / 10000; in gst_video_guess_framerate() 137 best_d = duration; in gst_video_guess_framerate() 167 best_d = d; in gst_video_guess_framerate() 173 gcd = gst_util_greatest_common_divisor (best_n, best_d); in gst_video_guess_framerate() 176 best_d /= gcd; in gst_video_guess_framerate() 181 *dest_d = best_d; in gst_video_guess_framerate()
|
/dports/x11/gstreamer1-plugins-x/gst-plugins-base-1.16.2/gst-libs/gst/video/ |
H A D | video.c | 122 int best_n, best_d, gcd; in gst_video_guess_framerate() local 134 best_d = duration / 10000; in gst_video_guess_framerate() 137 best_d = duration; in gst_video_guess_framerate() 167 best_d = d; in gst_video_guess_framerate() 173 gcd = gst_util_greatest_common_divisor (best_n, best_d); in gst_video_guess_framerate() 176 best_d /= gcd; in gst_video_guess_framerate() 181 *dest_d = best_d; in gst_video_guess_framerate()
|
/dports/misc/vxl/vxl-3.3.2/core/vil/algo/ |
H A D | vil_line_filter.hxx | 79 vxl_byte best_d = 1; in light_lines_3x3() local 81 if (f2>max_f) { best_d=2; max_f=f2;} in light_lines_3x3() 82 if (f3>max_f) { best_d=3; max_f=f3;} in light_lines_3x3() 83 if (f4>max_f) { best_d=4; max_f=f4;} in light_lines_3x3() 88 *d_row = best_d; in light_lines_3x3() 172 vxl_byte best_d = 1; in dark_lines_3x3() local 181 *d_row = best_d; in dark_lines_3x3() 283 vxl_byte best_d = 1; in light_lines_5x5() local 293 *d_row = best_d; in light_lines_5x5() 391 vxl_byte best_d = 1; in dark_lines_5x5() local [all …]
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/ |
H A D | mpeg12framerate.c | 50 int c, n, d, best_c, best_n, best_d; in ff_mpeg12_find_best_frame_rate() local 55 best_n = best_d = 1; in ff_mpeg12_find_best_frame_rate() 77 best_d = d; in ff_mpeg12_find_best_frame_rate() 90 best_d = d; in ff_mpeg12_find_best_frame_rate() 101 *ext_d = best_d - 1; in ff_mpeg12_find_best_frame_rate()
|
H A D | dvdsubenc.c | 124 int x, y, i, j, match, d, best_d, av_uninit(best_j); in count_colors() local 139 best_d = INT_MAX; in count_colors() 143 if (d < best_d) { in count_colors() 144 best_d = d; in count_colors() 195 int best_d = color_distance(refcolor[i], pseudopal[selected[i]]); in select_palette() local 198 if (d < best_d) { in select_palette() 200 best_d = d; in select_palette() 217 int i, j, d, best_d; in build_color_map() local 224 best_d = INT_MAX; in build_color_map() 227 if (d < best_d) { in build_color_map() [all …]
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/ |
H A D | mpeg12framerate.c | 50 int c, n, d, best_c, best_n, best_d; in ff_mpeg12_find_best_frame_rate() local 55 best_n = best_d = 1; in ff_mpeg12_find_best_frame_rate() 77 best_d = d; in ff_mpeg12_find_best_frame_rate() 90 best_d = d; in ff_mpeg12_find_best_frame_rate() 101 *ext_d = best_d - 1; in ff_mpeg12_find_best_frame_rate()
|
H A D | dvdsubenc.c | 124 int x, y, i, j, match, d, best_d, av_uninit(best_j); in count_colors() local 139 best_d = INT_MAX; in count_colors() 143 if (d < best_d) { in count_colors() 144 best_d = d; in count_colors() 195 int best_d = color_distance(refcolor[i], pseudopal[selected[i]]); in select_palette() local 198 if (d < best_d) { in select_palette() 200 best_d = d; in select_palette() 217 int i, j, d, best_d; in build_color_map() local 224 best_d = INT_MAX; in build_color_map() 227 if (d < best_d) { in build_color_map() [all …]
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/ |
H A D | mpeg12framerate.c | 50 int c, n, d, best_c, best_n, best_d; in ff_mpeg12_find_best_frame_rate() local 55 best_n = best_d = 1; in ff_mpeg12_find_best_frame_rate() 77 best_d = d; in ff_mpeg12_find_best_frame_rate() 90 best_d = d; in ff_mpeg12_find_best_frame_rate() 101 *ext_d = best_d - 1; in ff_mpeg12_find_best_frame_rate()
|
H A D | dvdsubenc.c | 123 int x, y, i, j, match, d, best_d, av_uninit(best_j); in count_colors() local 138 best_d = INT_MAX; in count_colors() 142 if (d < best_d) { in count_colors() 143 best_d = d; in count_colors() 194 int best_d = color_distance(refcolor[i], pseudopal[selected[i]]); in select_palette() local 197 if (d < best_d) { in select_palette() 199 best_d = d; in select_palette() 216 int i, j, d, best_d; in build_color_map() local 223 best_d = INT_MAX; in build_color_map() 226 if (d < best_d) { in build_color_map() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/ |
H A D | mpeg12framerate.c | 50 int c, n, d, best_c, best_n, best_d; in ff_mpeg12_find_best_frame_rate() local 55 best_n = best_d = 1; in ff_mpeg12_find_best_frame_rate() 77 best_d = d; in ff_mpeg12_find_best_frame_rate() 90 best_d = d; in ff_mpeg12_find_best_frame_rate() 101 *ext_d = best_d - 1; in ff_mpeg12_find_best_frame_rate()
|
H A D | dvdsubenc.c | 124 int x, y, i, j, match, d, best_d, av_uninit(best_j); in count_colors() local 139 best_d = INT_MAX; in count_colors() 143 if (d < best_d) { in count_colors() 144 best_d = d; in count_colors() 195 int best_d = color_distance(refcolor[i], pseudopal[selected[i]]); in select_palette() local 198 if (d < best_d) { in select_palette() 200 best_d = d; in select_palette() 217 int i, j, d, best_d; in build_color_map() local 224 best_d = INT_MAX; in build_color_map() 227 if (d < best_d) { in build_color_map() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/ |
H A D | mpeg12framerate.c | 50 int c, n, d, best_c, best_n, best_d; in ff_mpeg12_find_best_frame_rate() local 55 best_n = best_d = 1; in ff_mpeg12_find_best_frame_rate() 77 best_d = d; in ff_mpeg12_find_best_frame_rate() 90 best_d = d; in ff_mpeg12_find_best_frame_rate() 101 *ext_d = best_d - 1; in ff_mpeg12_find_best_frame_rate()
|
H A D | dvdsubenc.c | 124 int x, y, i, j, match, d, best_d, av_uninit(best_j); in count_colors() local 139 best_d = INT_MAX; in count_colors() 143 if (d < best_d) { in count_colors() 144 best_d = d; in count_colors() 195 int best_d = color_distance(refcolor[i], pseudopal[selected[i]]); in select_palette() local 198 if (d < best_d) { in select_palette() 200 best_d = d; in select_palette() 217 int i, j, d, best_d; in build_color_map() local 224 best_d = INT_MAX; in build_color_map() 227 if (d < best_d) { in build_color_map() [all …]
|
/dports/math/oink/oink-c1259fe/src/ |
H A D | sspm.cpp | 55 for (int i=0; i<l; i++) best_d[i] = pm_d[base+i]; in to_best() 63 for (int i=0; i<l; i++) pm_d[base+i] = best_d[i]; in from_best() 70 memcpy(best_d, tmp_d, sizeof(int[l])); in tmp_to_best() 295 if (best_d[0] == -1) { in stream_best() 303 while (j<l and best_d[j] == i) { in stream_best() 324 if (tmp_d[0] == -1 and best_d[0] == -1) return 0; in compare() 326 if (best_d[0] == -1) return -1; in compare() 331 } else if (tmp_d[i] < best_d[i]) { in compare() 335 } else if (tmp_d[i] > best_d[i]) { in compare() 535 best_d = new int[l]; in run() [all …]
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/ |
H A D | dvdsubenc.c | 123 int x, y, i, j, match, d, best_d, av_uninit(best_j); in count_colors() local 138 best_d = INT_MAX; in count_colors() 142 if (d < best_d) { in count_colors() 143 best_d = d; in count_colors() 194 int best_d = color_distance(refcolor[i], pseudopal[selected[i]]); in select_palette() local 197 if (d < best_d) { in select_palette() 199 best_d = d; in select_palette() 216 int i, j, d, best_d; in build_color_map() local 223 best_d = INT_MAX; in build_color_map() 226 if (d < best_d) { in build_color_map() [all …]
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/ |
H A D | dvdsubenc.c | 123 int x, y, i, j, match, d, best_d, av_uninit(best_j); in count_colors() local 138 best_d = INT_MAX; in count_colors() 142 if (d < best_d) { in count_colors() 143 best_d = d; in count_colors() 194 int best_d = color_distance(refcolor[i], pseudopal[selected[i]]); in select_palette() local 197 if (d < best_d) { in select_palette() 199 best_d = d; in select_palette() 216 int i, j, d, best_d; in build_color_map() local 223 best_d = INT_MAX; in build_color_map() 226 if (d < best_d) { in build_color_map() [all …]
|