Home
last modified time | relevance | path

Searched refs:disp_width (Results 1 – 25 of 180) sorted by relevance

12345678

/dports/emulators/jzintv/jzintv-20200712-src/src/plat/
H A Dplat_lib.c226 LOCAL int disp_width = -1; variable
230 return disp_width; in get_disp_width()
235 disp_width = new_width > 0 ? new_width : disp_width; in set_disp_width()
236 return disp_width; in set_disp_width()
250 LOCAL int disp_width = -1; variable
279 return disp_width; in get_disp_width()
295 return disp_width; in set_disp_width()
324 disp_width = new_width > 0 ? new_width : disp_width; in set_disp_width()
362 return disp_width; in get_disp_width()
367 disp_width = new_width > 0 ? new_width : disp_width; in set_disp_width()
[all …]
/dports/astro/gnuastro/gnuastro-0.16/lib/
H A Dtableintern.c288 width = col->disp_width>maxstrlen ? col->disp_width : maxstrlen; in gal_tableintern_col_print_info()
316 width=( col->disp_width<=0 ? GAL_TABLE_DEF_WIDTH_LINT in gal_tableintern_col_print_info()
317 : col->disp_width ); in gal_tableintern_col_print_info()
320 : col->disp_width ); in gal_tableintern_col_print_info()
332 width = ( col->disp_width<=0 ? GAL_TABLE_DEF_WIDTH_INT in gal_tableintern_col_print_info()
333 : col->disp_width ); in gal_tableintern_col_print_info()
344 width=( col->disp_width<=0 ? GAL_TABLE_DEF_WIDTH_LINT in gal_tableintern_col_print_info()
345 : col->disp_width ); in gal_tableintern_col_print_info()
372 width = ( col->disp_width<=0 in gal_tableintern_col_print_info()
378 width = ( col->disp_width<=0 in gal_tableintern_col_print_info()
[all …]
/dports/graphics/gimp-app/gimp-2.10.30/app/display/
H A Dgimpdisplayshell-scroll.c184 if (shell->disp_width < bounds_width) in gimp_display_shell_scroll_clamp_and_update()
187 shell->disp_width * OVERPAN_FACTOR; in gimp_display_shell_scroll_clamp_and_update()
195 overpan_amount = shell->disp_width - in gimp_display_shell_scroll_clamp_and_update()
307 gint min_offset = sw - shell->disp_width; in gimp_display_shell_scroll_unoverscrollify()
386 if (shell->disp_width > image_width) in gimp_display_shell_scroll_center_image()
388 image_x -= (shell->disp_width - image_width) / 2; in gimp_display_shell_scroll_center_image()
389 image_width = shell->disp_width; in gimp_display_shell_scroll_center_image()
456 if (shell->disp_width > content_width) in gimp_display_shell_scroll_center_content()
459 content_width = shell->disp_width; in gimp_display_shell_scroll_center_content()
502 *w = shell->disp_width; in gimp_display_shell_scroll_get_scaled_viewport()
[all …]
H A Dgimpdisplayshell-scrollbars.c60 "page-size", (gdouble) shell->disp_width, in gimp_display_shell_scrollbars_update()
61 "page-increment", (gdouble) shell->disp_width / 2, in gimp_display_shell_scrollbars_update()
129 x1 = MIN (x1, bounds_x + bounds_width / 2 - shell->disp_width / 2); in gimp_display_shell_scrollbars_setup_horizontal()
130 x2 = MAX (x2, bounds_x + bounds_width / 2 + (shell->disp_width + 1) / 2); in gimp_display_shell_scrollbars_setup_horizontal()
133 upper = MAX (value + shell->disp_width, x2); in gimp_display_shell_scrollbars_setup_horizontal()
H A Dgimpdisplayshell-rulers.c113 image_width = shell->disp_width; in gimp_display_shell_rulers_update()
124 horizontal_upper = gimp_pixels_to_units (shell->disp_width / scale_x, in gimp_display_shell_rulers_update()
154 offset_x *= horizontal_upper / shell->disp_width; in gimp_display_shell_rulers_update()
H A Dgimpdisplayshell-scale.c449 *horizontally = sx >= 0 && sx + sw <= shell->disp_width; in gimp_display_shell_scale_image_is_within_viewport()
644 factor = MIN ((shell->disp_width / width), in gimp_display_shell_scale_to_rectangle()
649 factor = MAX ((width / shell->disp_width), in gimp_display_shell_scale_to_rectangle()
686 offset_x = RINT (factor * (shell->offset_x + shell->disp_width / 2) - in gimp_display_shell_scale_to_rectangle()
1194 zoom_factor = MAX (shell->disp_width / image_width, in gimp_display_shell_scale_fit_or_fill()
1199 zoom_factor = MIN (shell->disp_width / image_width, in gimp_display_shell_scale_fit_or_fill()
1248 *vertically = (current_scale_width > shell->disp_width && in gimp_display_shell_scale_image_starts_to_fit()
1249 new_scale_width <= shell->disp_width); in gimp_display_shell_scale_image_starts_to_fit()
1289 gint center_x = shell->disp_width / 2; in gimp_display_shell_scale_viewport_coord_almost_centered()
1351 other_x = shell->disp_width / 2; in gimp_display_shell_scale_get_zoom_focus()
[all …]
H A Dgimpdisplayshell-callbacks.c97 shell->disp_width = allocation.width; in gimp_display_shell_canvas_realize()
156 if ((shell->disp_width != allocation->width) || in gimp_display_shell_canvas_size_allocate()
160 shell->disp_width > 64 && in gimp_display_shell_canvas_size_allocate()
176 sqrt (SQR (shell->disp_width) + in gimp_display_shell_canvas_size_allocate()
188 shell->disp_width = allocation->width; in gimp_display_shell_canvas_size_allocate()
207 center_horizontally = sw <= shell->disp_width; in gimp_display_shell_canvas_size_allocate()
/dports/astro/gnuastro/gnuastro-0.16/bin/mkcatalog/
H A Dcolumns.c406 disp_width = 6; in columns_define_alloc()
419 disp_width = 6; in columns_define_alloc()
432 disp_width = 6; in columns_define_alloc()
445 disp_width = 5; in columns_define_alloc()
458 disp_width = 6; in columns_define_alloc()
471 disp_width = 6; in columns_define_alloc()
484 disp_width = 6; in columns_define_alloc()
498 disp_width = 6; in columns_define_alloc()
516 disp_width = 6; in columns_define_alloc()
1950 p->objectcols->disp_width = disp_width; in columns_define_alloc()
[all …]
/dports/devel/upp/upp/bazaar/Xed/xed/src/encdec/
H A Dxed-patch.c28 xed_uint_t disp_width = xed3_operand_get_disp_width(xedd); in xed_patch_disp() local
34 if (disp_width != disp.displacement_bits) in xed_patch_disp()
36 for (i=0;i<disp_width/8;i++) in xed_patch_disp()
47 xed_uint_t disp_width = xed3_operand_get_disp_width(xedd); in xed_patch_relbr() local
53 if (disp_width != disp.width_bits) in xed_patch_relbr()
55 for (i=0;i<disp_width/8;i++) in xed_patch_relbr()
/dports/mail/elm/elm2.5.8/src/
H A Din_utils.c46 int disp_width; /* number of columns in field display */ member
488 assert(ed->disp_width == (COLS - ed->beg_col));
511 ed->disp_width = COLS - ed->beg_col;
518 if (ed->curr_len >= ed->disp_width)
566 stop_idx = ed->curr_offset + (ed->disp_width-1);
646 (ed->curr_offset+ed->disp_width-1) - ed->curr_pos);
726 if (ed->curr_len >= ed->disp_width)
737 if (ed->curr_len >= ed->curr_offset+ed->disp_width)
770 if (ed->curr_pos == ed->curr_offset+ed->disp_width) {
775 MoveCursor(ed->line, ed->beg_col+ed->disp_width-2);
[all …]
/dports/comms/fldigi/fldigi-4.1.20/src/waterfall/
H A Dwaterfall.cxx129 disp_width = w(); in WFdisp()
882 disp_width = w(); in checkWidth()
1053 p3 += disp_width; \ in update_waterfall()
1090 pos1 += disp_width; in update_waterfall()
1091 pos2 += disp_width; in update_waterfall()
1097 pos1 += disp_width; in update_waterfall()
1185 notch += disp_width; in update_waterfall()
1227 pos0 += disp_width; in drawcolorWF()
1228 pos1 += disp_width; in drawcolorWF()
1229 pos2 += disp_width; in drawcolorWF()
[all …]
/dports/emulators/vice/vice-3.5/src/lib/liblame/frontend/
H A Dbrhist.c144 barlen_TOT = (br_hist_TOT * (Console_IO.disp_width - res) + full - 1) / full; /* round up */ in brhist_disp_line()
145 barlen_LR = (br_hist_LR * (Console_IO.disp_width - res) + full - 1) / full; /* round up */ in brhist_disp_line()
163 Console_IO.disp_width - res - barlen_TOT, ""); in brhist_disp_line()
204 barlen_TOT = (full * (Console_IO.disp_width - res) + full - 1) / full; /* round up */ in progress_line()
205 barlen_COD = (frames * (Console_IO.disp_width - res) + full - 1) / full; /* round up */ in progress_line()
222 rst, barlen_RST, brhist.bar_space, Console_IO.disp_width - res - barlen_TOT, in progress_line()
271 console_printf("%*s", Console_IO.disp_width - n, ""); in stats_line()
292 console_printf("%*s", Console_IO.disp_width - n, ""); in stats_line()
/dports/audio/lame/lame-3.100/frontend/
H A Dbrhist.c144 barlen_TOT = (br_hist_TOT * (Console_IO.disp_width - res) + full - 1) / full; /* round up */ in brhist_disp_line()
145 barlen_LR = (br_hist_LR * (Console_IO.disp_width - res) + full - 1) / full; /* round up */ in brhist_disp_line()
163 Console_IO.disp_width - res - barlen_TOT, ""); in brhist_disp_line()
204 barlen_TOT = (full * (Console_IO.disp_width - res) + full - 1) / full; /* round up */ in progress_line()
205 barlen_COD = (frames * (Console_IO.disp_width - res) + full - 1) / full; /* round up */ in progress_line()
222 rst, barlen_RST, brhist.bar_space, Console_IO.disp_width - res - barlen_TOT, in progress_line()
271 console_printf("%*s", Console_IO.disp_width - n, ""); in stats_line()
292 console_printf("%*s", Console_IO.disp_width - n, ""); in stats_line()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/liblame/frontend/
H A Dbrhist.c144 barlen_TOT = (br_hist_TOT * (Console_IO.disp_width - res) + full - 1) / full; /* round up */ in brhist_disp_line()
145 barlen_LR = (br_hist_LR * (Console_IO.disp_width - res) + full - 1) / full; /* round up */ in brhist_disp_line()
163 Console_IO.disp_width - res - barlen_TOT, ""); in brhist_disp_line()
204 barlen_TOT = (full * (Console_IO.disp_width - res) + full - 1) / full; /* round up */ in progress_line()
205 barlen_COD = (frames * (Console_IO.disp_width - res) + full - 1) / full; /* round up */ in progress_line()
222 rst, barlen_RST, brhist.bar_space, Console_IO.disp_width - res - barlen_TOT, in progress_line()
271 console_printf("%*s", Console_IO.disp_width - n, ""); in stats_line()
292 console_printf("%*s", Console_IO.disp_width - n, ""); in stats_line()
/dports/games/simutrans/simutrans-121.0/display/
H A Dsimview.cc101 const sint16 disp_width = display_get_width(); in display() local
107 display_set_clip_wh( 0, menu_height, disp_width, disp_height-menu_height ); in display()
118 const int dpy_width = disp_width/IMG_SIZE + 2; in display()
153 …display_fillbox_wh_rgb(0, menu_height, disp_width, disp_height-menu_height, color_idx_to_rgb(COL_B… in display()
157 display_background(0, menu_height, disp_width, disp_height-menu_height, force_dirty); in display()
174 ((y_min-(disp_width - const_x_off) / (IMG_SIZE/2) - 1) >> 1) + j_off); in display()
213 const KOORD_VAL wh_x = disp_width / env_t::num_threads; in display()
236 …display_set_clip_wh( lt_x, menu_height, disp_width - lt_x, disp_height - menu_height, env_t::num_t… in display()
242 display_set_clip_wh( 0, menu_height, disp_width, disp_height-menu_height ); in display()
251 …display_region( koord( 0, menu_height ), koord( disp_width, disp_height - menu_height ), y_min, dp… in display()
[all …]
/dports/multimedia/handbrake/HandBrake-1.4.2/macosx/
H A DHBPicture+UIAdditions.m89 static NSString * FormattedDisplayAspect(double disp_width, double disp_height)
93 int iaspect = disp_width * 9 / disp_height;
94 if (disp_width / disp_height > 1.9)
97 str = [NSString stringWithFormat:@"%.2f:1", disp_width / disp_height];
102 str = [NSString stringWithFormat:@"%.4g:9", disp_width * 9 / disp_height];
107 str = [NSString stringWithFormat:@"%.4g:3", disp_width * 3 / disp_height];
112 str = [NSString stringWithFormat:@"1:%.2f", disp_height / disp_width];
/dports/astro/oskar/OSKAR-2.8.0/oskar/interferometer/src/
H A Doskar_interferometer_finalise_block.c18 static unsigned int disp_width(unsigned int v);
83 disp_width(num_blocks), block_index + 1, num_blocks, in oskar_interferometer_finalise_block()
92 static unsigned int disp_width(unsigned int v) in disp_width() function
H A Doskar_interferometer_run_block.c27 static unsigned int disp_width(unsigned int v);
135 disp_width(total_times), sim_time_idx + 1, total_times, in oskar_interferometer_run_block()
136 disp_width(total_chunks), i_chunk + 1, total_chunks, in oskar_interferometer_run_block()
137 disp_width(total_chans), sim_chan_idx + 1, total_chans, in oskar_interferometer_run_block()
313 static unsigned int disp_width(unsigned int v) in disp_width() function
/dports/graphics/sdump/sdump-c5fb55b/
H A Dimage.h157 uint8_t *resize_image_single(struct image *img, uint8_t *data, int disp_width, int disp_height) in resize_image_single() argument
165 width_rate = MULTIPLER * disp_width / img->width; in resize_image_single()
205 void resize_image(struct image *img, int disp_width, int disp_height, bool resize_all) in resize_image() argument
211 if ((resized_data = resize_image_single(img, img->data[i], disp_width, disp_height)) != NULL) in resize_image()
214 …if ((resized_data = resize_image_single(img, img->data[img->current_frame], disp_width, disp_heigh… in resize_image()
/dports/multimedia/gstreamer1-plugins/gst-plugins-base-1.16.2/tests/icles/
H A Dstress-videooverlay.c39 static gint disp_width, disp_height; variable
58 disp_width = DisplayWidth (disp, screen_num); in open_display()
86 if (x > disp_width) in move_window()
/dports/audio/gstreamer1-plugins-vorbis/gst-plugins-base-1.16.2/tests/icles/
H A Dstress-videooverlay.c39 static gint disp_width, disp_height; variable
58 disp_width = DisplayWidth (disp, screen_num); in open_display()
86 if (x > disp_width) in move_window()
/dports/audio/gstreamer1-plugins-opus/gst-plugins-base-1.16.2/tests/icles/
H A Dstress-videooverlay.c39 static gint disp_width, disp_height; variable
58 disp_width = DisplayWidth (disp, screen_num); in open_display()
86 if (x > disp_width) in move_window()
/dports/audio/gstreamer1-plugins-ogg/gst-plugins-base-1.16.2/tests/icles/
H A Dstress-videooverlay.c39 static gint disp_width, disp_height; variable
58 disp_width = DisplayWidth (disp, screen_num); in open_display()
86 if (x > disp_width) in move_window()
/dports/audio/gstreamer1-plugins-cdparanoia/gst-plugins-base-1.16.2/tests/icles/
H A Dstress-videooverlay.c39 static gint disp_width, disp_height; variable
58 disp_width = DisplayWidth (disp, screen_num); in open_display()
86 if (x > disp_width) in move_window()
/dports/x11-toolkits/gstreamer1-plugins-pango/gst-plugins-base-1.16.2/tests/icles/
H A Dstress-videooverlay.c39 static gint disp_width, disp_height; variable
58 disp_width = DisplayWidth (disp, screen_num); in open_display()
86 if (x > disp_width) in move_window()

12345678