/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-5.10/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->top + boundary->height) in v4l2_rect_map_inside() 69 r->top = boundary->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() 125 bottom = min(r1->top + r1->height, r2->top + r2->height); in v4l2_rect_intersect() 127 r->height = max(0, bottom - r->top); in v4l2_rect_intersect() [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() 137 width, height, format, padded_width, raw_bit_depth); in ia_css_frame_allocate() [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, 69 .cmd = { .width = MAX_WIDTH, .height = 0, .pixel_format = DRM_FORMAT_ABGR8888, 74 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | msm_media_info.h | 895 static unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) in VENUS_Y_SCANLINES() argument 899 if (!height) in VENUS_Y_SCANLINES() 908 sclines = MSM_MEDIA_ALIGN(height, 32); in VENUS_Y_SCANLINES() 912 sclines = MSM_MEDIA_ALIGN(height, 16); in VENUS_Y_SCANLINES() 926 static unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) in VENUS_UV_SCANLINES() argument 930 if (!height) in VENUS_UV_SCANLINES() 940 sclines = MSM_MEDIA_ALIGN((height + 1) >> 1, 16); in VENUS_UV_SCANLINES() 943 sclines = MSM_MEDIA_ALIGN((height + 1) >> 1, 32); in VENUS_UV_SCANLINES() 987 static unsigned int VENUS_Y_META_SCANLINES(int color_fmt, int height) in VENUS_Y_META_SCANLINES() argument 991 if (!height) in VENUS_Y_META_SCANLINES() [all …]
|
/kernel/linux/linux-5.10/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 | 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 …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_panel_orientation_quirks.c | 28 int height; member 35 .height = 1280, 41 .height = 1280, 49 .height = 1920, 57 .height = 1920, 65 .height = 1280, 74 .height = 1280, 82 .height = 1280, 89 .height = 1920, 96 .height = 1280, [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-5.10/drivers/video/fbdev/sis/ |
D | sis_accel.c | 105 int src_y, int dst_x, int dst_y, int width, int height) in SiS300SubsequentScreenToScreenCopy() argument 126 src_y += height-1; in SiS300SubsequentScreenToScreenCopy() 127 dst_y += height-1; in SiS300SubsequentScreenToScreenCopy() 129 SiS300SetupRect(width, height) in SiS300SubsequentScreenToScreenCopy() 192 int dst_x, int dst_y, int width, int height) in SiS310SubsequentScreenToScreenCopy() argument 208 if((mymax - mymin) < height) { in SiS310SubsequentScreenToScreenCopy() 231 SiS310SetupRect(width, height) in SiS310SubsequentScreenToScreenCopy() 311 int width, height; in fbcon_sis_fillrect() local 322 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) in fbcon_sis_fillrect() 327 height = ((rect->dy + rect->height) > vyres) ? (vyres - rect->dy) : rect->height; in fbcon_sis_fillrect() [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 …]
|
D | textbox.c | 12 static void print_page(WINDOW *win, int height, int width, update_text_fn 48 int height, width, boxh, boxw; in dialog_textbox() local 69 getmaxyx(stdscr, height, width); in dialog_textbox() 70 if (height < TEXTBOX_HEIGTH_MIN || width < TEXTBOX_WIDTH_MIN) in dialog_textbox() 73 height = initial_height; in dialog_textbox() 75 if (height > 4) in dialog_textbox() 76 height -= 4; in dialog_textbox() 78 height = 0; in dialog_textbox() 89 y = (getmaxy(stdscr) - height) / 2; in dialog_textbox() 91 draw_shadow(stdscr, y, x, height, width); in dialog_textbox() [all …]
|
D | inputbox.c | 16 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument 19 int y = height - 2; in print_buttons() 31 int dialog_inputbox(const char *title, const char *prompt, int height, int width, in dialog_inputbox() argument 46 if (getmaxy(stdscr) <= (height - INPUTBOX_HEIGTH_MIN)) in dialog_inputbox() 53 y = (getmaxy(stdscr) - height) / 2; in dialog_inputbox() 55 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox() 57 dialog = newwin(height, width, y, x); in dialog_inputbox() 60 draw_box(dialog, 0, 0, height, width, in dialog_inputbox() 63 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_inputbox() 82 print_buttons(dialog, height, width, 0); in dialog_inputbox() [all …]
|
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/ |
D | solo6x10-enc.c | 26 unsigned long height; in solo_capture_config() local 51 height = solo_dev->video_vsize; in solo_capture_config() 54 SOLO_DIM_V_MB_NUM_FRAME(height / 8) | in solo_capture_config() 55 SOLO_DIM_V_MB_NUM_FIELD(height / 16)); in solo_capture_config() 59 height = solo_dev->video_vsize; in solo_capture_config() 62 SOLO_DIM_V_MB_NUM_FRAME(height / 8) | in solo_capture_config() 63 SOLO_DIM_V_MB_NUM_FIELD(height / 16)); in solo_capture_config() 67 height = solo_dev->video_vsize / 2; in solo_capture_config() 70 SOLO_DIM_V_MB_NUM_FRAME(height / 8) | in solo_capture_config() 71 SOLO_DIM_V_MB_NUM_FIELD(height / 16)); in solo_capture_config() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/ |
D | panel-simple.c | 71 unsigned int height; member 224 connector->display_info.height_mm = panel->desc->size.height; in panel_simple_get_non_edid_modes() 440 of_property_read_u32(np, "height-mm", &desc->size.height); in panel_dpi_probe() 681 .height = 136, 707 .height = 67, 731 .height = 91, 756 .height = 86, 780 .height = 125, 805 .height = 136, 828 .height = 125, [all …]
|
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
D | earlycon.c | 89 u32 i, height; in efi_earlycon_scroll_up() local 92 height = screen_info.lfb_height; in efi_earlycon_scroll_up() 94 for (i = 0; i < height - font->height; i++) { in efi_earlycon_scroll_up() 99 src = efi_earlycon_map((i + font->height) * len, len); in efi_earlycon_scroll_up() 121 src = font->data + c * font->height * bytes + h * bytes; in efi_earlycon_write_char() 159 for (h = 0; h < font->height; h++) { in efi_earlycon_write() 185 efi_y += font->height; in efi_earlycon_write() 192 efi_y += font->height; in efi_earlycon_write() 195 if (efi_y + font->height > si->lfb_height) { in efi_earlycon_write() 198 efi_y -= font->height; in efi_earlycon_write() [all …]
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | atafb_mfb.c | 25 int height, int width) in atafb_mfb_copyarea() argument 33 fb_memmove(dest, src, height * (width >> 3)); in atafb_mfb_copyarea() 37 for (rows = height; rows--;) { in atafb_mfb_copyarea() 43 src = (u8 *)info->screen_base + (sy + height - 1) * next_line + (sx >> 3); in atafb_mfb_copyarea() 44 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); in atafb_mfb_copyarea() 45 for (rows = height; rows--;) { in atafb_mfb_copyarea() 54 int sy, int sx, int height, int width) in atafb_mfb_fillrect() argument 63 fb_memset255(dest, height * (width >> 3)); in atafb_mfb_fillrect() 65 fb_memclear(dest, height * (width >> 3)); in atafb_mfb_fillrect() 67 for (rows = height; rows--; dest += next_line) { in atafb_mfb_fillrect()
|
/kernel/linux/linux-5.10/lib/ |
D | btree.c | 179 head->height = 0; in __btree_init() 210 int height = head->height; in btree_last() local 213 if (height == 0) in btree_last() 216 for ( ; height > 1; height--) in btree_last() 244 int i, height = head->height; in btree_lookup() local 247 if (height == 0) in btree_lookup() 250 for ( ; height > 1; height--) { in btree_lookup() 274 int i, height = head->height; in btree_update() local 277 if (height == 0) in btree_update() 280 for ( ; height > 1; height--) { in btree_update() [all …]
|
/kernel/linux/linux-5.10/include/video/ |
D | omapvrfb.h | 30 extern void omap_vrfb_adjust_size(u16 *width, u16 *height, 32 extern u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp); 35 u16 width, u16 height, 37 extern int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot); 44 static inline void omap_vrfb_adjust_size(u16 *width, u16 *height, in omap_vrfb_adjust_size() argument 46 static inline u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp) in omap_vrfb_min_phys_size() argument 51 u16 width, u16 height, unsigned bytespp, bool yuv_mode) {} in omap_vrfb_setup() argument 52 static inline int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot) in omap_vrfb_map_angle() argument
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | tw9910.c | 223 unsigned short height; member 243 .height = 480, 250 .height = 480, 257 .height = 240, 264 .height = 240, 271 .height = 120, 278 .height = 120, 288 .height = 576, 295 .height = 576, 302 .height = 288, [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | svghelper.c | 141 static double normalize_height(double height) in normalize_height() argument 143 if (height < 0.25) in normalize_height() 145 else if (height < 0.50) in normalize_height() 147 else if (height < 0.75) in normalize_height() 153 void svg_ubox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int … in svg_ubox() argument 156 height = normalize_height(height); in svg_ubox() 167 SLOT_HALF * height, in svg_ubox() 172 void svg_lbox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int … in svg_lbox() argument 175 height = normalize_height(height); in svg_lbox() 185 Yslot * SLOT_MULT + SLOT_HEIGHT - SLOT_HALF * height, in svg_lbox() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/ |
D | vdec_helpers.c | 54 u32 amvdec_am21c_body_size(u32 width, u32 height) in amvdec_am21c_body_size() argument 57 u32 height_32 = ALIGN(height, 32) / 32; in amvdec_am21c_body_size() 64 u32 amvdec_am21c_head_size(u32 width, u32 height) in amvdec_am21c_head_size() argument 67 u32 height_64 = ALIGN(height, 64) / 64; in amvdec_am21c_head_size() 73 u32 amvdec_am21c_size(u32 width, u32 height) in amvdec_am21c_size() argument 75 return ALIGN(amvdec_am21c_body_size(width, height) + in amvdec_am21c_size() 76 amvdec_am21c_head_size(width, height), SZ_64K); in amvdec_am21c_size() 99 u32 height, u32 reg) in set_canvas_yuv420m() argument 117 width, height, MESON_CANVAS_WRAP_NONE, in set_canvas_yuv420m() 123 width / 2, height / 2, MESON_CANVAS_WRAP_NONE, in set_canvas_yuv420m() [all …]
|