| /kernel/linux/linux-4.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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/include/media/ |
| D | v4l2-rect.h | 14 * v4l2_rect_set_size_to() - copy the width/height values. 15 * @r: rect whose width and height fields will be set 16 * @size: rect containing the width and height fields you need. 22 r->height = size->height; in v4l2_rect_set_size_to() 26 * v4l2_rect_set_min_size() - width and height of r should be >= min_size. 27 * @r: rect whose width and height will be modified 28 * @min_size: rect containing the minimal width and height 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() 40 * v4l2_rect_set_max_size() - width and height of r should be <= max_size [all …]
|
| /kernel/linux/linux-5.10/include/media/ |
| D | v4l2-rect.h | 14 * v4l2_rect_set_size_to() - copy the width/height values. 15 * @r: rect whose width and height fields will be set 16 * @size: rect containing the width and height fields you need. 22 r->height = size->height; in v4l2_rect_set_size_to() 26 * v4l2_rect_set_min_size() - width and height of r should be >= min_size. 27 * @r: rect whose width and height will be modified 28 * @min_size: rect containing the minimal width and height 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() 40 * v4l2_rect_set_max_size() - width and height of r should be <= max_size [all …]
|
| /kernel/linux/linux-4.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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
| D | frame.c | 35 unsigned int height, 40 unsigned int height, 47 unsigned int height, 53 unsigned int height, 77 unsigned int height, 84 unsigned int height, 115 ia_css_frame_allocate(frame, info->res.width, info->res.height, in ia_css_frame_allocate_from_info() 125 unsigned int height, in ia_css_frame_allocate() argument 132 if (!frame || width == 0 || height == 0) in ia_css_frame_allocate() 136 …"ia_css_frame_allocate() enter: width=%d, height=%d, format=%d, padded_width=%d, raw_bit_depth=%d\… in ia_css_frame_allocate() [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
| 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 | 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 | 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_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 …]
|
| 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 …]
|
| /kernel/linux/linux-4.19/drivers/video/fbdev/core/ |
| 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 | 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 | 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_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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/selftests/ |
| D | test-drm_framebuffer.c | 29 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_ABGR8888, 34 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 39 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 44 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 49 .cmd = { .width = MAX_WIDTH + 1, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 54 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 59 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = 0, 64 .cmd = { .width = 0, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 68 { .buffer_created = 0, .name = "ABGR8888 Height 0", 69 .cmd = { .width = MAX_WIDTH, .height = 0, .pixel_format = DRM_FORMAT_ABGR8888, [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/ |
| D | drm_rect.c | 188 * (@src height) / (@dst height). 226 * decrease the height of rectangle @dst to compensate. 229 * decrease the height of rectangle @src to compensate. 277 * (@src height) / (@dst height). 280 * decrease the height of rectangle @dst to compensate. 283 * decrease the height of rectangle @src to compensate. 342 * @height: Height of the coordinate space 347 * @width and @height combined with @rotation define 350 * @width correcsponds to the horizontal and @height 355 int width, int height, in drm_rect_rotate() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ |
| D | drm_rect.c | 195 * (@src height) / (@dst height). 241 * @height: Height of the coordinate space 246 * @width and @height combined with @rotation define 249 * @width correcsponds to the horizontal and @height 254 int width, int height, in drm_rect_rotate() argument 268 r->y1 = height - tmp.y2; in drm_rect_rotate() 269 r->y2 = height - tmp.y1; in drm_rect_rotate() 287 r->y1 = height - tmp.y2; in drm_rect_rotate() 288 r->y2 = height - tmp.y1; in drm_rect_rotate() 292 r->x1 = height - tmp.y2; in drm_rect_rotate() [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/mb862xx/ |
| D | mb862xxfb_accel.c | 63 cmd[5] = (area->height << 16) | area->width; in mb86290fb_copyarea() 72 u16 width, u16 height, u32 fgcolor, in mb86290fb_imageblit1() argument 97 (GDC_CMD_BITMAP << 16) | (2 + (step * height)); in mb86290fb_imageblit1() 99 cmd[8] = (height << 16) | width; in mb86290fb_imageblit1() 101 while (i < height) { in mb86290fb_imageblit1() 121 u16 width, u16 height, u32 fgcolor, in mb86290fb_imageblit8() argument 130 (GDC_CMD_BLT_DRAW << 16) | (2 + (height * step)); in mb86290fb_imageblit8() 132 cmd[2] = (height << 16) | width; in mb86290fb_imageblit8() 138 while (i < height) { in mb86290fb_imageblit8() 160 u16 width, u16 height, u32 fgcolor, in mb86290fb_imageblit16() argument [all …]
|
| /kernel/linux/linux-4.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 …]
|
| /kernel/linux/linux-5.10/scripts/kconfig/lxdialog/ |
| D | yesno.c | 14 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument 17 int y = height - 2; in print_buttons() 29 int dialog_yesno(const char *title, const char *prompt, int height, int width) in dialog_yesno() argument 35 if (getmaxy(stdscr) < (height + YESNO_HEIGTH_MIN)) in dialog_yesno() 42 y = (getmaxy(stdscr) - height) / 2; in dialog_yesno() 44 draw_shadow(stdscr, y, x, height, width); in dialog_yesno() 46 dialog = newwin(height, width, y, x); in dialog_yesno() 49 draw_box(dialog, 0, 0, height, width, in dialog_yesno() 52 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_yesno() 63 print_buttons(dialog, height, width, 0); in dialog_yesno() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/rkisp1/ |
| D | rkisp1-resizer.c | 236 sink_crop->height == sink_fmt->height && in rkisp1_dcrop_config() 247 rkisp1_write(rkisp1, sink_crop->height, rsz->config->dual_crop.v_size); in rkisp1_dcrop_config() 253 sink_fmt->width, sink_fmt->height, in rkisp1_dcrop_config() 254 sink_crop->width, sink_crop->height); in rkisp1_dcrop_config() 368 if (sink_y->height != src_y->height) { in rkisp1_rsz_config_regs() 370 if (sink_y->height < src_y->height) in rkisp1_rsz_config_regs() 372 ratio = rkisp1_rsz_calc_ratio(sink_y->height, src_y->height); in rkisp1_rsz_config_regs() 376 if (sink_c->height != src_c->height) { in rkisp1_rsz_config_regs() 378 if (sink_c->height < src_c->height) in rkisp1_rsz_config_regs() 380 ratio = rkisp1_rsz_calc_ratio(sink_c->height, src_c->height); in rkisp1_rsz_config_regs() [all …]
|
| /kernel/linux/linux-4.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 …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/msm/disp/dpu1/ |
| D | msm_media_info.h | 28 * Y Y Y Y Y Y Y Y Y Y Y Y . . . . Height | 48 * Y_Scanlines: Height aligned to 32 49 * UV_Scanlines: Height/2 aligned to 16 66 * Y Y Y Y Y Y Y Y Y Y Y Y . . . . Height | 86 * Y_Scanlines: Height aligned to 32 87 * UV_Scanlines: Height/2 aligned to 16 106 * Y Y Y Y Y Y Y Y Y Y Y Y . . . . Height | | 124 * Y Y Y Y Y Y Y Y Y Y Y Y . . . . Height | | 144 * Y_Scanlines: Height aligned to 32 145 * UV_Scanlines: Height/2 aligned to 16 [all …]
|