/Linux-v4.19/drivers/media/platform/omap/ |
D | omap_voutlib.c | 48 crop->height = (pix->height < fbuf->fmt.height) ? in omap_vout_default_crop() 49 pix->height : fbuf->fmt.height; in omap_vout_default_crop() 51 crop->height &= ~1; in omap_vout_default_crop() 53 crop->top = ((pix->height - crop->height) >> 1) & ~1; in omap_vout_default_crop() 79 try_win.height += try_win.top; in omap_vout_try_window() 84 try_win.height = (try_win.height < fbuf->fmt.height) ? in omap_vout_try_window() 85 try_win.height : fbuf->fmt.height; in omap_vout_try_window() 88 if (try_win.top + try_win.height > fbuf->fmt.height) in omap_vout_try_window() 89 try_win.height = fbuf->fmt.height - try_win.top; in omap_vout_try_window() 91 try_win.height &= ~1; in omap_vout_try_window() [all …]
|
/Linux-v4.19/drivers/media/platform/soc_camera/ |
D | soc_scale_crop.c | 29 return r1->width < r2->width || r1->height < r2->height; in is_smaller() 37 r1->top + r1->height < r2->top + r2->height; in is_inside() 71 if (rect->height < subrect->height) in move_and_crop_subrect() 72 subrect->height = rect->height; in move_and_crop_subrect() 83 else if (rect->top + rect->height < in move_and_crop_subrect() 84 subrect->top + subrect->height) in move_and_crop_subrect() 85 subrect->top = rect->top + rect->height - in move_and_crop_subrect() 86 subrect->height; in move_and_crop_subrect() 112 unsigned int width, height; in soc_camera_client_s_selection() local 127 rect->width, rect->height, rect->left, rect->top); in soc_camera_client_s_selection() [all …]
|
/Linux-v4.19/include/media/ |
D | v4l2-rect.h | 22 r->height = size->height; in v4l2_rect_set_size_to() 35 if (r->height < min_size->height) in v4l2_rect_set_min_size() 36 r->height = min_size->height; in v4l2_rect_set_min_size() 49 if (r->height > max_size->height) in v4l2_rect_set_max_size() 50 r->height = max_size->height; in v4l2_rect_set_max_size() 68 if (r->top + r->height > boundary->height) in v4l2_rect_map_inside() 69 r->top = boundary->height - r->height; in v4l2_rect_map_inside() 82 return r1->width == r2->width && r1->height == r2->height; in v4l2_rect_same_size() 99 bottom = min(r1->top + r1->height, r2->top + r2->height); in v4l2_rect_intersect() 101 r->height = max(0, bottom - r->top); in v4l2_rect_intersect() [all …]
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/ |
D | msm_media_info.h | 816 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument 818 (void)height; in VENUS_EXTRADATA_SIZE() 919 static inline unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) in VENUS_Y_SCANLINES() argument 923 if (!height) in VENUS_Y_SCANLINES() 941 sclines = MSM_MEDIA_ALIGN(height, alignment); in VENUS_Y_SCANLINES() 953 static inline unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) in VENUS_UV_SCANLINES() argument 957 if (!height) in VENUS_UV_SCANLINES() 976 sclines = MSM_MEDIA_ALIGN((height+1)>>1, alignment); in VENUS_UV_SCANLINES() 1022 static inline unsigned int VENUS_Y_META_SCANLINES(int color_fmt, int height) in VENUS_Y_META_SCANLINES() argument 1026 if (!height) in VENUS_Y_META_SCANLINES() [all …]
|
/Linux-v4.19/drivers/video/fbdev/core/ |
D | fbcon_rotate.h | 40 static inline void rotate_ud(const char *in, char *out, u32 width, u32 height) in rotate_ud() argument 47 for (i = 0; i < height; i++) { in rotate_ud() 51 height - (1 + i), in rotate_ud() 58 static inline void rotate_cw(const char *in, char *out, u32 width, u32 height) in rotate_cw() argument 60 int i, j, h = height, w = width; in rotate_cw() 61 int shift = (8 - (height % 8)) & 7; in rotate_cw() 64 height = (height + 7) & ~7; in rotate_cw() 69 pattern_set_bit(height - 1 - i - shift, j, in rotate_cw() 70 height, out); in rotate_cw() 76 static inline void rotate_ccw(const char *in, char *out, u32 width, u32 height) in rotate_ccw() argument [all …]
|
D | fbcon_cw.c | 28 int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2; in cw_update_attr() 29 int width = (vc->vc_font.height + 7) >> 3; in cw_update_attr() 49 int sx, int dy, int dx, int height, int width) in cw_bmove() argument 55 area.sx = vxres - ((sy + height) * vc->vc_font.height); in cw_bmove() 57 area.dx = vxres - ((dy + height) * vc->vc_font.height); in cw_bmove() 59 area.width = height * vc->vc_font.height; in cw_bmove() 60 area.height = width * vc->vc_font.width; in cw_bmove() 66 int sx, int height, int width) in cw_clear() argument 74 region.dx = vxres - ((sy + height) * vc->vc_font.height); in cw_clear() 76 region.height = width * vc->vc_font.width; in cw_clear() [all …]
|
D | bitblit.c | 28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2; in update_attr() 30 unsigned int cellsize = vc->vc_font.height * width; in update_attr() 47 int sx, int dy, int dx, int height, int width) in bit_bmove() argument 52 area.sy = sy * vc->vc_font.height; in bit_bmove() 54 area.dy = dy * vc->vc_font.height; in bit_bmove() 55 area.height = height * vc->vc_font.height; in bit_bmove() 62 int sx, int height, int width) in bit_clear() argument 69 region.dy = sy * vc->vc_font.height; in bit_clear() 71 region.height = height * vc->vc_font.height; in bit_clear() 97 image->height); in bit_putcs_aligned() [all …]
|
D | fbcon_ud.c | 28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2; in ud_update_attr() 30 unsigned int cellsize = vc->vc_font.height * width; in ud_update_attr() 49 int sx, int dy, int dx, int height, int width) in ud_bmove() argument 56 area.sy = vyres - ((sy + height) * vc->vc_font.height); in ud_bmove() 58 area.dy = vyres - ((dy + height) * vc->vc_font.height); in ud_bmove() 60 area.height = height * vc->vc_font.height; in ud_bmove() 67 int sx, int height, int width) in ud_clear() argument 76 region.dy = vyres - ((sy + height) * vc->vc_font.height); in ud_clear() 79 region.height = height * vc->vc_font.height; in ud_clear() 105 image->height); in ud_putcs_aligned() [all …]
|
D | fbcon_ccw.c | 28 int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2; in ccw_update_attr() 29 int width = (vc->vc_font.height + 7) >> 3; in ccw_update_attr() 30 int mod = vc->vc_font.height % 8; in ccw_update_attr() 64 int sx, int dy, int dx, int height, int width) in ccw_bmove() argument 70 area.sx = sy * vc->vc_font.height; in ccw_bmove() 72 area.dx = dy * vc->vc_font.height; in ccw_bmove() 74 area.width = height * vc->vc_font.height; in ccw_bmove() 75 area.height = width * vc->vc_font.width; in ccw_bmove() 81 int sx, int height, int width) in ccw_clear() argument 89 region.dx = sy * vc->vc_font.height; in ccw_clear() [all …]
|
/Linux-v4.19/drivers/video/fbdev/mb862xx/ |
D | mb862xxfb_accel.c | 67 cmd[5] = (area->height << 16) | area->width; in mb86290fb_copyarea() 76 u16 width, u16 height, u32 fgcolor, in mb86290fb_imageblit1() argument 101 (GDC_CMD_BITMAP << 16) | (2 + (step * height)); in mb86290fb_imageblit1() 103 cmd[8] = (height << 16) | width; in mb86290fb_imageblit1() 105 while (i < height) { in mb86290fb_imageblit1() 125 u16 width, u16 height, u32 fgcolor, in mb86290fb_imageblit8() argument 134 (GDC_CMD_BLT_DRAW << 16) | (2 + (height * step)); in mb86290fb_imageblit8() 136 cmd[2] = (height << 16) | width; in mb86290fb_imageblit8() 142 while (i < height) { in mb86290fb_imageblit8() 164 u16 width, u16 height, u32 fgcolor, in mb86290fb_imageblit16() argument [all …]
|
/Linux-v4.19/drivers/video/fbdev/sis/ |
D | sis_accel.c | 118 int src_y, int dst_x, int dst_y, int width, int height) in SiS300SubsequentScreenToScreenCopy() argument 139 src_y += height-1; in SiS300SubsequentScreenToScreenCopy() 140 dst_y += height-1; in SiS300SubsequentScreenToScreenCopy() 142 SiS300SetupRect(width, height) in SiS300SubsequentScreenToScreenCopy() 205 int dst_x, int dst_y, int width, int height) in SiS310SubsequentScreenToScreenCopy() argument 221 if((mymax - mymin) < height) { in SiS310SubsequentScreenToScreenCopy() 244 SiS310SetupRect(width, height) in SiS310SubsequentScreenToScreenCopy() 324 int width, height; in fbcon_sis_fillrect() local 335 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) in fbcon_sis_fillrect() 340 height = ((rect->dy + rect->height) > vyres) ? (vyres - rect->dy) : rect->height; in fbcon_sis_fillrect() [all …]
|
/Linux-v4.19/scripts/kconfig/lxdialog/ |
D | yesno.c | 27 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument 30 int y = height - 2; in print_buttons() 42 int dialog_yesno(const char *title, const char *prompt, int height, int width) in dialog_yesno() argument 48 if (getmaxy(stdscr) < (height + YESNO_HEIGTH_MIN)) in dialog_yesno() 55 y = (getmaxy(stdscr) - height) / 2; in dialog_yesno() 57 draw_shadow(stdscr, y, x, height, width); in dialog_yesno() 59 dialog = newwin(height, width, y, x); in dialog_yesno() 62 draw_box(dialog, 0, 0, height, width, in dialog_yesno() 65 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_yesno() 76 print_buttons(dialog, height, width, 0); in dialog_yesno() [all …]
|
D | textbox.c | 25 static void print_page(WINDOW *win, int height, int width, update_text_fn 61 int height, width, boxh, boxw; in dialog_textbox() local 82 getmaxyx(stdscr, height, width); in dialog_textbox() 83 if (height < TEXTBOX_HEIGTH_MIN || width < TEXTBOX_WIDTH_MIN) in dialog_textbox() 86 height = initial_height; in dialog_textbox() 88 if (height > 4) in dialog_textbox() 89 height -= 4; in dialog_textbox() 91 height = 0; in dialog_textbox() 102 y = (getmaxy(stdscr) - height) / 2; in dialog_textbox() 104 draw_shadow(stdscr, y, x, height, width); in dialog_textbox() [all …]
|
D | inputbox.c | 29 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument 32 int y = height - 2; in print_buttons() 44 int dialog_inputbox(const char *title, const char *prompt, int height, int width, in dialog_inputbox() argument 59 if (getmaxy(stdscr) <= (height - INPUTBOX_HEIGTH_MIN)) in dialog_inputbox() 66 y = (getmaxy(stdscr) - height) / 2; in dialog_inputbox() 68 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox() 70 dialog = newwin(height, width, y, x); in dialog_inputbox() 73 draw_box(dialog, 0, 0, height, width, in dialog_inputbox() 76 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_inputbox() 95 print_buttons(dialog, height, width, 0); in dialog_inputbox() [all …]
|
/Linux-v4.19/arch/x86/platform/efi/ |
D | early_printk.c | 83 u32 i, height; in early_efi_scroll_up() local 86 height = boot_params.screen_info.lfb_height; in early_efi_scroll_up() 88 for (i = 0; i < height - font->height; i++) { in early_efi_scroll_up() 93 src = early_efi_map((i + font->height) * len, len); in early_efi_scroll_up() 114 src = font->data + c * font->height; in early_efi_write_char() 151 for (h = 0; h < font->height; h++) { in early_efi_write() 177 efi_y += font->height; in early_efi_write() 184 efi_y += font->height; in early_efi_write() 187 if (efi_y + font->height > si->lfb_height) { in early_efi_write() 190 efi_y -= font->height; in early_efi_write() [all …]
|
/Linux-v4.19/drivers/media/pci/solo6x10/ |
D | solo6x10-enc.c | 35 unsigned long height; in solo_capture_config() local 60 height = solo_dev->video_vsize; in solo_capture_config() 63 SOLO_DIM_V_MB_NUM_FRAME(height / 8) | in solo_capture_config() 64 SOLO_DIM_V_MB_NUM_FIELD(height / 16)); in solo_capture_config() 68 height = solo_dev->video_vsize; in solo_capture_config() 71 SOLO_DIM_V_MB_NUM_FRAME(height / 8) | in solo_capture_config() 72 SOLO_DIM_V_MB_NUM_FIELD(height / 16)); in solo_capture_config() 76 height = solo_dev->video_vsize / 2; in solo_capture_config() 79 SOLO_DIM_V_MB_NUM_FRAME(height / 8) | in solo_capture_config() 80 SOLO_DIM_V_MB_NUM_FIELD(height / 16)); in solo_capture_config() [all …]
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_panel_orientation_quirks.c | 28 int height; member 35 .height = 1280, 41 .height = 1920, 49 .height = 1280, 58 .height = 1280, 65 .height = 1280, 152 int drm_get_panel_orientation_quirk(int width, int height) in drm_get_panel_orientation_quirk() argument 165 data->height != height) in drm_get_panel_orientation_quirk() 187 int drm_get_panel_orientation_quirk(int width, int height) in drm_get_panel_orientation_quirk() argument
|
/Linux-v4.19/drivers/gpu/drm/panel/ |
D | panel-simple.c | 53 unsigned int height; member 153 connector->display_info.height_mm = panel->desc->size.height; in panel_simple_get_fixed_modes() 409 .height = 67, 434 .height = 91, 458 .height = 125, 481 .height = 136, 505 .height = 125, 528 .height = 144, 551 .height = 165, 574 .height = 165, [all …]
|
/Linux-v4.19/drivers/video/fbdev/ |
D | atafb_mfb.c | 26 int height, int width) in atafb_mfb_copyarea() argument 34 fb_memmove(dest, src, height * (width >> 3)); in atafb_mfb_copyarea() 38 for (rows = height; rows--;) { in atafb_mfb_copyarea() 44 src = (u8 *)info->screen_base + (sy + height - 1) * next_line + (sx >> 3); in atafb_mfb_copyarea() 45 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); in atafb_mfb_copyarea() 46 for (rows = height; rows--;) { in atafb_mfb_copyarea() 55 int sy, int sx, int height, int width) in atafb_mfb_fillrect() argument 64 fb_memset255(dest, height * (width >> 3)); in atafb_mfb_fillrect() 66 fb_memclear(dest, height * (width >> 3)); in atafb_mfb_fillrect() 68 for (rows = height; rows--; dest += next_line) { in atafb_mfb_fillrect()
|
/Linux-v4.19/lib/ |
D | btree.c | 181 head->height = 0; in __btree_init() 212 int height = head->height; in btree_last() local 215 if (height == 0) in btree_last() 218 for ( ; height > 1; height--) in btree_last() 246 int i, height = head->height; in btree_lookup() local 249 if (height == 0) in btree_lookup() 252 for ( ; height > 1; height--) { in btree_lookup() 276 int i, height = head->height; in btree_update() local 279 if (height == 0) in btree_update() 282 for ( ; height > 1; height--) { in btree_update() [all …]
|
/Linux-v4.19/include/video/ |
D | omapvrfb.h | 42 extern void omap_vrfb_adjust_size(u16 *width, u16 *height, 44 extern u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp); 47 u16 width, u16 height, 49 extern int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot); 56 static inline void omap_vrfb_adjust_size(u16 *width, u16 *height, in omap_vrfb_adjust_size() argument 58 static inline u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp) in omap_vrfb_min_phys_size() argument 63 u16 width, u16 height, unsigned bytespp, bool yuv_mode) {} in omap_vrfb_setup() argument 64 static inline int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot) in omap_vrfb_map_angle() argument
|
/Linux-v4.19/drivers/media/platform/vivid/ |
D | vivid-vid-out.c | 30 unsigned h = dev->fmt_out_rect.height; in vid_out_queue_setup() 115 size = dev->bytesperline_out[p] * dev->fmt_out_rect.height + in vid_out_buf_prepare() 208 dev->sink_rect.height = 480; in vivid_update_format_out() 212 dev->sink_rect.height = 576; in vivid_update_format_out() 220 dev->sink_rect.height = bt->height; in vivid_update_format_out() 236 if (bt->width == 720 && bt->height <= 576) in vivid_update_format_out() 253 dev->crop_out.height /= 2; in vivid_update_format_out() 289 dev->sink_rect.width == 720 && dev->sink_rect.height <= 576) in vivid_get_pixel_aspect() 290 return dev->sink_rect.height == 480 ? in vivid_get_pixel_aspect() 305 mp->height = dev->fmt_out_rect.height; in vivid_g_fmt_vid_out() [all …]
|
D | vivid-vid-cap.c | 90 unsigned h = dev->fmt_cap_rect.height; in vid_cap_queue_setup() 161 size = tpg_g_line_width(&dev->tpg, p) * dev->fmt_cap_rect.height + in vid_cap_buf_prepare() 362 dev->src_rect.width == 720 && dev->src_rect.height <= 576) in vivid_get_pixel_aspect() 363 return dev->src_rect.height == 480 ? in vivid_get_pixel_aspect() 383 dev->src_rect.height = webcam_sizes[dev->webcam_size_idx].height; in vivid_update_format_cap() 393 dev->src_rect.height = 480; in vivid_update_format_cap() 397 dev->src_rect.height = 576; in vivid_update_format_cap() 405 dev->src_rect.height = bt->height; in vivid_update_format_cap() 429 if (bt->width == 720 && bt->height <= 576) in vivid_update_format_cap() 442 tpg_reset_source(&dev->tpg, dev->src_rect.width, dev->src_rect.height, dev->field_cap); in vivid_update_format_cap() [all …]
|
/Linux-v4.19/drivers/staging/fbtft/ |
D | flexfb.c | 28 static unsigned int height; variable 29 module_param(height, uint, 0000); 30 MODULE_PARM_DESC(height, "Display height"); 381 unsigned int height; member 392 .height = 160, 399 .height = 220, 406 .height = 220, 414 .height = 320, 423 .height = 320, 432 .height = 320, [all …]
|
/Linux-v4.19/tools/perf/util/ |
D | svghelper.c | 143 static double normalize_height(double height) in normalize_height() argument 145 if (height < 0.25) in normalize_height() 147 else if (height < 0.50) in normalize_height() 149 else if (height < 0.75) in normalize_height() 155 void svg_ubox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int … in svg_ubox() argument 158 height = normalize_height(height); in svg_ubox() 169 SLOT_HALF * height, in svg_ubox() 174 void svg_lbox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int … in svg_lbox() argument 177 height = normalize_height(height); in svg_lbox() 187 Yslot * SLOT_MULT + SLOT_HEIGHT - SLOT_HALF * height, in svg_lbox() [all …]
|