Home
last modified time | relevance | path

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

12345678910>>...64

/linux-5.10/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-5.10/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-5.10/drivers/staging/media/atomisp/pci/runtime/frame/src/
Dframe.c35 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 …]
/linux-5.10/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-5.10/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-5.10/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-5.10/drivers/gpu/drm/
Ddrm_rect.c195 * (@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 …]
/linux-5.10/drivers/staging/media/rkisp1/
Drkisp1-resizer.c236 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 …]
/linux-5.10/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-5.10/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-5.10/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-5.10/Documentation/RCU/Design/Expedited-Grace-Periods/
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 …]
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 …]
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 …]
/linux-5.10/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-5.10/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-5.10/drivers/staging/media/meson/vdec/
Dvdec_helpers.c54 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 …]
/linux-5.10/drivers/media/test-drivers/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()
229 dev->sink_rect.height = 480; in vivid_update_format_out()
233 dev->sink_rect.height = 576; in vivid_update_format_out()
241 dev->sink_rect.height = bt->height; in vivid_update_format_out()
257 if (bt->width == 720 && bt->height <= 576) in vivid_update_format_out()
274 dev->crop_out.height /= 2; in vivid_update_format_out()
310 dev->sink_rect.width == 720 && dev->sink_rect.height <= 576) in vivid_get_pixel_aspect()
311 return dev->sink_rect.height == 480 ? in vivid_get_pixel_aspect()
326 mp->height = dev->fmt_out_rect.height; in vivid_g_fmt_vid_out()
[all …]

12345678910>>...64