Home
last modified time | relevance | path

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

12345678910>>...58

/linux/drivers/media/platform/ti/omap/
H A 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()
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()
133 if ((crop->height/win->w.height) >= 2) in omap_vout_new_window()
134 crop->height = win->w.height * 2; in omap_vout_new_window()
144 if (crop->height != win->w.height) in omap_vout_new_window()
150 crop->height = win->w.height * 4; in omap_vout_new_window()
190 try_crop.height = (try_crop.height < pix->height) ? in omap_vout_new_crop()
191 try_crop.height : pix->height; in omap_vout_new_crop()
[all …]
/linux/drivers/media/platform/qcom/venus/
H A Dhfi_plat_bufs_v6.c76 (ALIGN((height), 16) * 32)
78 #define SIZE_H264D_QP(width, height) \ argument
132 #define SIZE_H265D_LB_VSP_LEFT(width, height) ((((height) + 63) >> 6) * 128) argument
137 #define SIZE_H265D_QP(width, height) SIZE_H264D_QP(width, height) argument
274 product = width * height; in size_h264d_hw_bin_buffer()
305 product = width * height; in size_h265d_hw_bin_buffer()
378 frame_size = width * height * 3; in calculate_enc_output_frame_size()
959 chroma_height = height >> 1; in enc_scratch2_size()
1187 u32 width = params->width, height = params->height, out_min_count; in bufreq_dec() local
1265 u32 height = params->height; in bufreq_enc() local
[all …]
/linux/include/media/
H A 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()
155 r->height = (r->height * to->height) / from->height; in v4l2_rect_scale()
[all …]
/linux/drivers/staging/media/atomisp/pci/runtime/frame/src/
H A Dframe.c71 unsigned int height,
77 unsigned int height,
343 info->res.height = height; in ia_css_frame_info_init()
396 (info_a->res.height == info_b->res.height); in ia_css_frame_info_is_same_resolution()
456 plane->height = height; in frame_init_plane()
576 height = frame->frame_info.res.height, stride, bytes; in frame_init_rgb_planes() local
592 height = frame->frame_info.res.height / 2, bytes, stride; in frame_init_qplane6_planes() local
630 height, in frame_allocate_with_data()
668 me->frame_info.res.height = height; in frame_create()
731 to->height = (uint16_t)from->height; in ia_css_resolution_to_sp_resolution()
[all …]
/linux/drivers/gpu/drm/tests/
H A 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,
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,
120 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_NV12,
177 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_NV12,
182 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_YVU420,
188 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_YVU420,
266 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_X0L2,
[all …]
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Dmsm_media_info.h899 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()
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()
991 if (!height) in VENUS_Y_META_SCANLINES()
1051 if (!height) in VENUS_UV_META_SCANLINES()
1100 if (!height) in VENUS_RGB_SCANLINES()
1116 return MSM_MEDIA_ALIGN(height, alignment); in VENUS_RGB_SCANLINES()
[all …]
/linux/drivers/video/fbdev/core/
H A 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()
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()
78 int i, j, h = height, w = width; in rotate_ccw()
82 height = (height + 7) & ~7; in rotate_ccw()
[all …]
H A Dfb_logo.c217 image->height); in fb_rotate_logo()
222 image->height); in fb_rotate_logo()
344 image.height = logo->height; in fb_show_logo_line()
396 height += fb_logo_ex[i].logo->height; in fb_prepare_extra_logos()
398 height -= fb_logo_ex[i].logo->height; in fb_prepare_extra_logos()
403 return height; in fb_prepare_extra_logos()
422 int height; in fb_prepare_logo() local
483 height = fb_logo.logo->height; in fb_prepare_logo()
485 height += (yres - fb_logo.logo->height) / 2; in fb_prepare_logo()
487 height = fb_prepare_extra_logos(info, height, yres); in fb_prepare_logo()
[all …]
H A Dfbcon_cw.c55 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()
66 int sx, int height, int width) in cw_clear() argument
74 region.dx = vxres - ((sy + height) * vc->vc_font.height); in cw_clear()
77 region.width = height * vc->vc_font.height; in cw_clear()
137 image.width = vc->vc_font.height; in cw_putcs()
161 image.dy += image.height; in cw_putcs()
190 region.height = rw; in cw_clear_margins()
260 dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height); in cw_cursor()
[all …]
H A Dfbcon_ud.c56 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()
76 region.dy = vyres - ((sy + height) * vc->vc_font.height); in ud_clear()
79 region.height = height * vc->vc_font.height; in ud_clear()
173 image.dy = vyres - ((yy * vc->vc_font.height) + vc->vc_font.height); in ud_putcs()
175 image.height = vc->vc_font.height; in ud_putcs()
300 if (ops->cursor_state.image.height != vc->vc_font.height || in ud_cursor()
303 ops->cursor_state.image.height = vc->vc_font.height; in ud_cursor()
308 dy = vyres - ((y * vc->vc_font.height) + vc->vc_font.height); in ud_cursor()
[all …]
H A Dbitblit.c52 area.sy = sy * vc->vc_font.height; in bit_bmove()
55 area.height = height * vc->vc_font.height; in bit_bmove()
71 region.height = height * vc->vc_font.height; in bit_clear()
97 image->height); in bit_putcs_aligned()
100 image->height); in bit_putcs_aligned()
131 image->height, shift_high, in bit_putcs_unaligned()
161 image.height = vc->vc_font.height; in bit_putcs()
231 region.height = bh; in bit_clear_margins()
291 if (ops->cursor_state.image.height != vc->vc_font.height || in bit_cursor()
294 ops->cursor_state.image.height = vc->vc_font.height; in bit_cursor()
[all …]
H A Dfbcon_ccw.c30 int mod = vc->vc_font.height % 8; in ccw_update_attr()
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()
81 int sx, int height, int width) in ccw_clear() argument
92 region.width = height * vc->vc_font.height; in ccw_clear()
152 image.width = vc->vc_font.height; in ccw_putcs()
178 image.dy += image.height; in ccw_putcs()
207 region.height = rw; in ccw_clear_margins()
277 dx = y * vc->vc_font.height; in ccw_cursor()
[all …]
/linux/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb_accel.c97 cmd[8] = (height << 16) | width; in mb86290fb_imageblit1()
99 while (i < height) { in mb86290fb_imageblit1()
136 while (i < height) { in mb86290fb_imageblit8()
175 while (i < height) { in mb86290fb_imageblit16()
192 u16 width = image->width, height = image->height; in mb86290fb_imageblit() local
203 height = y2 - dy; in mb86290fb_imageblit()
208 cmdlen = 9 + height * step; in mb86290fb_imageblit()
225 cmdlen = 3 + height * step; in mb86290fb_imageblit()
231 cmdlen = 3 + height * step; in mb86290fb_imageblit()
265 y2 = rect->dy + rect->height; in mb86290fb_fillrect()
[all …]
/linux/drivers/video/fbdev/sis/
H A Dsis_accel.c126 src_y += height-1; in SiS300SubsequentScreenToScreenCopy()
127 dst_y += height-1; in SiS300SubsequentScreenToScreenCopy()
129 SiS300SetupRect(width, height) in SiS300SubsequentScreenToScreenCopy()
208 if((mymax - mymin) < height) { in SiS310SubsequentScreenToScreenCopy()
231 SiS310SetupRect(width, height) in SiS310SubsequentScreenToScreenCopy()
311 int width, height; in fbcon_sis_fillrect() local
327 height = ((rect->dy + rect->height) > vyres) ? (vyres - rect->dy) : rect->height; in fbcon_sis_fillrect()
362 int height = area->height; in fbcon_sis_copyarea() local
373 if(!width || !height || in fbcon_sis_copyarea()
381 if((area->sy + height) > vyres) height = vyres - area->sy; in fbcon_sis_copyarea()
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_panel_orientation_quirks.c28 int height; member
35 .height = 1280,
43 .height = 1920,
51 .height = 1920,
59 .height = 1920,
67 .height = 1280,
76 .height = 1280,
84 .height = 1280,
91 .height = 1920,
98 .height = 1280,
[all …]
H A Ddrm_panic.c205 for (y = 0; y < height; y++) { in drm_panic_blit16()
221 for (y = 0; y < height; y++) { in drm_panic_blit24()
243 for (y = 0; y < height; y++) { in drm_panic_blit32()
275 height, width, fg_color, bg_color); in drm_panic_blit()
279 height, width, fg_color, bg_color); in drm_panic_blit()
296 for (y = 0; y < height; y++) in drm_panic_fill16()
307 for (y = 0; y < height; y++) { in drm_panic_fill24()
325 for (y = 0; y < height; y++) in drm_panic_fill32()
407 font->height, font->width, in draw_txt_rectangle()
434 logo_lines * font->height); in draw_panic_static()
[all …]
/linux/scripts/kconfig/lxdialog/
H A 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_HEIGHT_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 …]
H A Dtextbox.c106 for (i = 0; i < height; i++) { in print_page()
156 int height, width, boxh, boxw; in dialog_textbox() local
177 getmaxyx(stdscr, height, width); in dialog_textbox()
181 height = initial_height; in dialog_textbox()
183 if (height > 4) in dialog_textbox()
184 height -= 4; in dialog_textbox()
186 height = 0; in dialog_textbox()
197 y = (getmaxy(stdscr) - height) / 2; in dialog_textbox()
201 dialog = newwin(height, width, y, x); in dialog_textbox()
205 boxh = height - 4; in dialog_textbox()
[all …]
H A Dinputbox.c19 int y = height - 2; in print_buttons()
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()
235 print_buttons(dialog, height, width, 1); in dialog_inputbox()
239 print_buttons(dialog, height, width, 0); in dialog_inputbox()
245 print_buttons(dialog, height, width, 0); in dialog_inputbox()
[all …]
/linux/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-resizer.c149 sink_crop->height == sink_fmt->height && in rkisp1_dcrop_config()
245 if (sink_y->height != src_y->height) { in rkisp1_rsz_config_regs()
247 if (sink_y->height < src_y->height) in rkisp1_rsz_config_regs()
253 if (sink_c->height != src_c->height) { in rkisp1_rsz_config_regs()
255 if (sink_c->height < src_c->height) in rkisp1_rsz_config_regs()
296 src_y.height = src_fmt->height; in rkisp1_rsz_config()
429 src_fmt->height = clamp_t(u32, format->height, in rkisp1_rsz_set_src_fmt()
456 sink_crop->height = sink_fmt->height; in rkisp1_rsz_set_sink_crop()
465 sink_crop->height = r->height; in rkisp1_rsz_set_sink_crop()
498 sink_fmt->height = clamp_t(u32, format->height, in rkisp1_rsz_set_sink_fmt()
[all …]
/linux/drivers/media/platform/st/stm32/stm32-dcmipp/
H A Ddcmipp-byteproc.c123 r->height = fmt->height; in dcmipp_byteproc_adjust_compose()
128 if (r->height <= (fmt->height / 2)) in dcmipp_byteproc_adjust_compose()
129 r->height = fmt->height / 2; in dcmipp_byteproc_adjust_compose()
131 r->height = fmt->height; in dcmipp_byteproc_adjust_compose()
153 fmt->height = clamp_t(u32, fmt->height, DCMIPP_FRAME_MIN_HEIGHT, in dcmipp_byteproc_adjust_fmt()
257 fmt->format.height = crop->height; in dcmipp_byteproc_set_fmt()
263 crop->height = fmt->format.height; in dcmipp_byteproc_set_fmt()
317 s->r.height = sink_fmt->height; in dcmipp_byteproc_get_selection()
359 mf->height = s->r.height; in dcmipp_byteproc_set_selection()
372 mf->height = s->r.height; in dcmipp_byteproc_set_selection()
[all …]
/linux/drivers/gpu/drm/panel/
H A Dpanel-simple.c813 .height = 58,
852 .height = 67,
867 .height = 91,
922 .height = 86,
1026 .height = 91,
1328 .height = 90,
1355 .height = 86,
1454 .height = 90,
1480 .height = 53,
1506 .height = 54,
[all …]
/linux/drivers/media/pci/solo6x10/
H A 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()
67 height = solo_dev->video_vsize / 2; in solo_capture_config()
70 SOLO_DIM_V_MB_NUM_FRAME(height / 8) | in solo_capture_config()
75 height = solo_dev->video_vsize / 3; in solo_capture_config()
83 height = solo_dev->video_vsize / 2; in solo_capture_config()
[all …]
/linux/drivers/video/fbdev/
H A 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/drivers/firmware/efi/
H A Dearlycon.c93 u32 i, height; in efi_earlycon_scroll_up() local
103 height = screen_info.lfb_height; in efi_earlycon_scroll_up()
105 for (i = 0; i < height - font->height; i++) { in efi_earlycon_scroll_up()
165 for (h = 0; h < font->height; h++) { in efi_earlycon_write()
192 efi_y += font->height; in efi_earlycon_write()
200 efi_y += font->height; in efi_earlycon_write()
209 efi_y -= font->height; in efi_earlycon_write()
212 for (i = 0; i < font->height; i++) in efi_earlycon_write()
261 efi_y = rounddown(yres, font->height); in efi_earlycon_setup()
264 max_line_y = efi_y / font->height + 1; in efi_earlycon_setup()
[all …]

12345678910>>...58