Home
last modified time | relevance | path

Searched refs:height (Results 1 – 25 of 1340) sorted by relevance

12345678910>>...54

/linux-6.1.9/drivers/media/platform/ti/omap/
Domap_voutlib.c48 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-6.1.9/drivers/media/platform/qcom/venus/
Dhfi_plat_bufs_v6.c55 #define SIZE_H264D_LB_FE_TOP_DATA(width, height) \ argument
58 #define SIZE_H264D_LB_FE_TOP_CTRL(width, height) \ argument
61 #define SIZE_H264D_LB_FE_LEFT_CTRL(width, height) \ argument
62 (MAX_FE_NBR_CTRL_LCU64_LINE_BUFFER_SIZE * (((height) + 15) >> 4))
64 #define SIZE_H264D_LB_SE_TOP_CTRL(width, height) \ argument
67 #define SIZE_H264D_LB_SE_LEFT_CTRL(width, height) \ argument
68 (MAX_SE_NBR_CTRL_LCU64_LINE_BUFFER_SIZE * (((height) + 15) >> 4))
70 #define SIZE_H264D_LB_PE_TOP_DATA(width, height) \ argument
73 #define SIZE_H264D_LB_VSP_TOP(width, height) (((((width) + 15) >> 4) << 7)) argument
75 #define SIZE_H264D_LB_RECON_DMA_METADATA_WR(width, height) \ argument
[all …]
/linux-6.1.9/include/media/
Dv4l2-rect.h22 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 …]
/linux-6.1.9/drivers/gpu/drm/tests/
Ddrm_framebuffer_test.c30 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_ABGR8888,
35 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
40 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
45 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
50 .cmd = { .width = MAX_WIDTH + 1, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
55 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
60 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = 0,
65 .cmd = { .width = 0, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
70 .cmd = { .width = MAX_WIDTH, .height = 0, .pixel_format = DRM_FORMAT_ABGR8888,
75 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
[all …]
/linux-6.1.9/drivers/staging/media/atomisp/pci/runtime/frame/src/
Dframe.c35 unsigned int height,
40 unsigned int height,
47 unsigned int height,
71 unsigned int height,
77 unsigned int height,
107 ia_css_frame_allocate(frame, info->res.width, info->res.height, in ia_css_frame_allocate_from_info()
117 unsigned int height, in ia_css_frame_allocate() argument
124 if (!frame || width == 0 || height == 0) in ia_css_frame_allocate()
129 width, height, format, padded_width, raw_bit_depth); in ia_css_frame_allocate()
131 err = frame_allocate_with_data(frame, width, height, format, in ia_css_frame_allocate()
[all …]
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Dmsm_media_info.h895 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 …]
/linux-6.1.9/drivers/video/fbdev/core/
Dfbcon_rotate.h40 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 …]
Dfbcon_cw.c28 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 …]
Dfbcon_ud.c28 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 …]
Dbitblit.c28 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 …]
Dfbcon_ccw.c28 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-6.1.9/drivers/video/fbdev/mb862xx/
Dmb862xxfb_accel.c63 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 …]
/linux-6.1.9/drivers/video/fbdev/sis/
Dsis_accel.c105 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 …]
/linux-6.1.9/drivers/gpu/drm/
Ddrm_panel_orientation_quirks.c28 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 …]
/linux-6.1.9/scripts/kconfig/lxdialog/
Dyesno.c14 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 …]
Dtextbox.c12 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 …]
Dinputbox.c16 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 …]
/linux-6.1.9/drivers/media/pci/solo6x10/
Dsolo6x10-enc.c26 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 …]
/linux-6.1.9/drivers/gpu/drm/panel/
Dpanel-simple.c84 unsigned int height; member
266 connector->display_info.height_mm = panel->desc->size.height; in panel_simple_get_non_edid_modes()
492 of_property_read_u32(np, "height-mm", &desc->size.height); in panel_dpi_probe()
737 .height = 136,
763 .height = 67,
787 .height = 91,
813 .height = 122,
842 .height = 86,
866 .height = 125,
892 .height = 125,
[all …]
/linux-6.1.9/drivers/media/platform/rockchip/rkisp1/
Drkisp1-resizer.c181 sink_crop->height == sink_fmt->height && in rkisp1_dcrop_config()
192 rkisp1_write(rkisp1, rsz->config->dual_crop.v_size, sink_crop->height); in rkisp1_dcrop_config()
198 sink_fmt->width, sink_fmt->height, in rkisp1_dcrop_config()
199 sink_crop->width, sink_crop->height); in rkisp1_dcrop_config()
277 if (sink_y->height != src_y->height) { in rkisp1_rsz_config_regs()
279 if (sink_y->height < src_y->height) in rkisp1_rsz_config_regs()
281 ratio = rkisp1_rsz_calc_ratio(sink_y->height, src_y->height); in rkisp1_rsz_config_regs()
285 if (sink_c->height != src_c->height) { in rkisp1_rsz_config_regs()
287 if (sink_c->height < src_c->height) in rkisp1_rsz_config_regs()
289 ratio = rkisp1_rsz_calc_ratio(sink_c->height, src_c->height); in rkisp1_rsz_config_regs()
[all …]
/linux-6.1.9/drivers/firmware/efi/
Dearlycon.c89 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 …]
/linux-6.1.9/drivers/video/fbdev/
Datafb_mfb.c25 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()
/linux-6.1.9/drivers/staging/media/atomisp/i2c/
Dov2680.h147 int height; member
759 .height = 1216,
772 .height = 1082,
785 .height = 916,
798 .height = 1096,
811 .height = 976,
824 .height = 720,
837 .height = 600,
850 .height = 592,
863 .height = 496,
[all …]
/linux-6.1.9/include/video/
Domapvrfb.h30 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
/linux-6.1.9/drivers/media/i2c/
Dtw9910.c223 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 …]

12345678910>>...54