Home
last modified time | relevance | path

Searched full:height (Results 1 – 25 of 1422) sorted by relevance

12345678910>>...57

/Linux-v5.4/drivers/media/platform/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-v5.4/include/media/
Dv4l2-rect.h14 * 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 …]
/Linux-v5.4/drivers/video/fbdev/core/
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 …]
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 …]
/Linux-v5.4/drivers/gpu/drm/selftests/
Dtest-drm_framebuffer.c29 .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 …]
/Linux-v5.4/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-v5.4/drivers/gpu/drm/
Ddrm_rect.c185 * (@src height) / (@dst height).
231 * @height: Height of the coordinate space
236 * @width and @height combined with @rotation define
239 * @width correcsponds to the horizontal and @height
244 int width, int height, in drm_rect_rotate() argument
258 r->y1 = height - tmp.y2; in drm_rect_rotate()
259 r->y2 = height - tmp.y1; in drm_rect_rotate()
277 r->y1 = height - tmp.y2; in drm_rect_rotate()
278 r->y2 = height - tmp.y1; in drm_rect_rotate()
282 r->x1 = height - tmp.y2; in drm_rect_rotate()
[all …]
Ddrm_panel_orientation_quirks.c28 int height; member
35 .height = 1280,
41 .height = 1280,
47 .height = 1280,
55 .height = 1920,
63 .height = 1920,
71 .height = 1280,
80 .height = 1280,
88 .height = 1280,
95 .height = 1280,
[all …]
/Linux-v5.4/drivers/firmware/efi/
Dearlycon.c49 u32 i, height; in efi_earlycon_scroll_up() local
52 height = screen_info.lfb_height; in efi_earlycon_scroll_up()
54 for (i = 0; i < height - font->height; i++) { in efi_earlycon_scroll_up()
59 src = efi_earlycon_map((i + font->height) * len, len); in efi_earlycon_scroll_up()
80 src = font->data + c * font->height; in efi_earlycon_write_char()
117 for (h = 0; h < font->height; h++) { in efi_earlycon_write()
143 efi_y += font->height; in efi_earlycon_write()
150 efi_y += font->height; in efi_earlycon_write()
153 if (efi_y + font->height > si->lfb_height) { in efi_earlycon_write()
156 efi_y -= font->height; in efi_earlycon_write()
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/lib/
Dbtree.c179 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 …]
/Linux-v5.4/Documentation/RCU/Design/Expedited-Grace-Periods/
DFunnel0.svg13 height="125.78741"
91 inkscape:window-height="836"
119 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin…
123 height="11.428572"
128 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin…
141 height="26.33428"
148 height="26.33428"
155 height="26.33428"
162 height="26.33428"
169 height="26.33428"
[all …]
DFunnel1.svg13 height="125.78741"
91 inkscape:window-height="836"
119 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin…
123 height="11.428572"
128 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin…
141 height="26.33428"
148 height="26.33428"
155 height="26.33428"
162 height="26.33428"
169 height="26.33428"
[all …]
DFunnel5.svg13 height="125.78741"
91 inkscape:window-height="836"
119 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin…
123 height="11.428572"
128 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin…
141 height="26.33428"
148 height="26.33428"
155 height="26.33428"
162 height="26.33428"
169 height="26.33428"
[all …]
DFunnel6.svg13 height="125.78741"
91 inkscape:window-height="836"
119 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin…
123 height="11.428572"
128 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin…
141 height="26.33428"
148 height="26.33428"
155 height="26.33428"
162 height="26.33428"
169 height="26.33428"
[all …]
DFunnel8.svg13 height="125.78741"
91 inkscape:window-height="836"
119 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin…
123 height="11.428572"
128 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin…
141 height="26.33428"
148 height="26.33428"
155 height="26.33428"
162 height="26.33428"
169 height="26.33428"
[all …]
DFunnel2.svg13 height="125.78741"
91 inkscape:window-height="836"
119 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin…
123 height="11.428572"
128 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin…
141 height="26.33428"
148 height="26.33428"
155 height="26.33428"
162 height="26.33428"
169 height="26.33428"
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/drivers/media/platform/vivid/
Dvivid-vid-out.c30 unsigned h = dev->fmt_out_rect.height; in vid_out_queue_setup()
107 unsigned int h = dev->fmt_out_rect.height; in vid_out_buf_prepare()
232 dev->sink_rect.height = 480; in vivid_update_format_out()
236 dev->sink_rect.height = 576; in vivid_update_format_out()
244 dev->sink_rect.height = bt->height; in vivid_update_format_out()
260 if (bt->width == 720 && bt->height <= 576) in vivid_update_format_out()
277 dev->crop_out.height /= 2; in vivid_update_format_out()
313 dev->sink_rect.width == 720 && dev->sink_rect.height <= 576) in vivid_get_pixel_aspect()
314 return dev->sink_rect.height == 480 ? in vivid_get_pixel_aspect()
329 mp->height = dev->fmt_out_rect.height; in vivid_g_fmt_vid_out()
[all …]
/Linux-v5.4/drivers/media/platform/rcar-vin/
Drcar-v4l2.c101 return pix->bytesperline * pix->height * 2; in rvin_format_sizeimage()
103 return pix->bytesperline * pix->height; in rvin_format_sizeimage()
128 pix->height *= 2; in rvin_format_align()
140 &pix->height, 4, vin->info->max_height, 2, 0); in rvin_format_align()
146 pix->width, pix->height, pix->bytesperline, pix->sizeimage); in rvin_format_align()
172 vin->source.height = vin->format.height; in rvin_reset_format()
191 u32 width, height; in rvin_try_format() local
206 height = pix->height; in rvin_try_format()
218 crop->height = pix->height; in rvin_try_format()
222 * to INTERLACE it. The crop height then needs to be doubled. in rvin_try_format()
[all …]

12345678910>>...57