Home
last modified time | relevance | path

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

12345678910>>...59

/linux-6.3-rc2/drivers/media/platform/ti/omap/
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-6.3-rc2/drivers/media/platform/qcom/venus/
A Dhfi_plat_bufs_v6.c76 (ALIGN((height), 16) * 32)
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
1238 width, height); in bufreq_dec()
1260 u32 height = params->height; in bufreq_enc() local
[all …]
/linux-6.3-rc2/include/media/
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-6.3-rc2/drivers/staging/media/atomisp/pci/runtime/frame/src/
A Dframe.c71 unsigned int height,
77 unsigned int height,
332 info->res.height = height; in ia_css_frame_info_init()
385 (info_a->res.height == info_b->res.height); in ia_css_frame_info_is_same_resolution()
445 plane->height = height; in frame_init_plane()
565 height = frame->frame_info.res.height, stride, bytes; in frame_init_rgb_planes() local
581 height = frame->frame_info.res.height / 2, bytes, stride; in frame_init_qplane6_planes() local
622 height, in frame_allocate_with_data()
664 me->frame_info.res.height = height; in frame_create()
727 to->height = (uint16_t)from->height; in ia_css_resolution_to_sp_resolution()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/tests/
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-6.3-rc2/drivers/gpu/drm/msm/disp/dpu1/
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-6.3-rc2/drivers/video/fbdev/core/
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 …]
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 …]
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 …]
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()
288 if (ops->cursor_state.image.height != vc->vc_font.height || in bit_cursor()
291 ops->cursor_state.image.height = vc->vc_font.height; in bit_cursor()
[all …]
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-6.3-rc2/drivers/video/fbdev/mb862xx/
A Dmb862xxfb_accel.c99 cmd[8] = (height << 16) | width; in mb86290fb_imageblit1()
101 while (i < height) { in mb86290fb_imageblit1()
138 while (i < height) { in mb86290fb_imageblit8()
177 while (i < height) { in mb86290fb_imageblit16()
194 u16 width = image->width, height = image->height; in mb86290fb_imageblit() local
205 height = y2 - dy; in mb86290fb_imageblit()
210 cmdlen = 9 + height * step; in mb86290fb_imageblit()
227 cmdlen = 3 + height * step; in mb86290fb_imageblit()
233 cmdlen = 3 + height * step; in mb86290fb_imageblit()
267 y2 = rect->dy + rect->height; in mb86290fb_fillrect()
[all …]
/linux-6.3-rc2/drivers/video/fbdev/sis/
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-6.3-rc2/drivers/gpu/drm/
A Ddrm_panel_orientation_quirks.c28 int height; member
35 .height = 1280,
43 .height = 1920,
51 .height = 1920,
59 .height = 1280,
68 .height = 1280,
76 .height = 1280,
83 .height = 1920,
90 .height = 1280,
96 .height = 1280,
[all …]
/linux-6.3-rc2/scripts/kconfig/lxdialog/
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_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 …]
A Dtextbox.c48 int height, width, boxh, boxw; in dialog_textbox() local
69 getmaxyx(stdscr, height, width); 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()
97 boxh = height - 4; in dialog_textbox()
231 back_lines(height); in dialog_textbox()
307 for (i = 0; i < height; i++) in print_page()
310 back_lines(height); in print_page()
[all …]
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-6.3-rc2/drivers/media/pci/solo6x10/
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-6.3-rc2/drivers/gpu/drm/panel/
A Dpanel-simple.c763 .height = 67,
787 .height = 91,
842 .height = 86,
914 .height = 91,
1183 .height = 90,
1210 .height = 86,
1232 .height = 90,
1258 .height = 54,
1283 .height = 86,
1310 .height = 86,
[all …]
/linux-6.3-rc2/drivers/firmware/efi/
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()
251 efi_y = rounddown(yres, font->height); in efi_earlycon_setup()
254 max_line_y = efi_y / font->height + 1; in efi_earlycon_setup()
[all …]
/linux-6.3-rc2/drivers/media/platform/rockchip/rkisp1/
A Drkisp1-resizer.c181 sink_crop->height == sink_fmt->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()
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()
325 sink_y.height = sink_crop->height; in rkisp1_rsz_config()
327 src_y.height = src_fmt->height; in rkisp1_rsz_config()
457 src_fmt->height = clamp_t(u32, format->height, in rkisp1_rsz_set_src_fmt()
487 sink_crop->height = sink_fmt->height; in rkisp1_rsz_set_sink_crop()
496 sink_crop->height = r->height; in rkisp1_rsz_set_sink_crop()
[all …]
/linux-6.3-rc2/drivers/video/fbdev/
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-6.3-rc2/include/video/
A 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.3-rc2/drivers/media/i2c/
A Dtw9910.c243 .height = 480,
250 .height = 480,
257 .height = 240,
264 .height = 240,
271 .height = 120,
448 abs(height - scale[i].height); in tw9910_select_norm()
710 *height = priv->scale->height; in tw9910_set_frame()
766 mf->height = priv->scale->height; in tw9910_get_fmt()
777 u32 width = mf->width, height = mf->height; in tw9910_s_fmt() local
794 mf->height = height; in tw9910_s_fmt()
[all …]
/linux-6.3-rc2/tools/perf/util/
A Dsvghelper.c143 if (height < 0.25) in normalize_height()
156 height = normalize_height(height); in svg_ubox()
167 SLOT_HALF * height, in svg_ubox()
175 height = normalize_height(height); in svg_lbox()
186 SLOT_HALF * height, in svg_lbox()
194 height = normalize_height(height); in svg_fbox()
475 double height = 0; in svg_pstate() local
484 height = 1 + cpu2y(cpu) + SLOT_MULT + SLOT_HEIGHT - height; in svg_pstate()
486 time2pixels(start), time2pixels(end), height, height); in svg_pstate()
496 double height; in svg_partial_wakeline() local
[all …]

Completed in 65 milliseconds

12345678910>>...59