Home
last modified time | relevance | path

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

12345678910>>...56

/linux/drivers/media/platform/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/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/drivers/staging/media/atomisp/pci/runtime/frame/src/
A Dframe.c515 info->res.height = height; in ia_css_frame_info_init()
570 (info_a->res.height == info_b->res.height); in ia_css_frame_info_is_same_resolution()
626 plane->height = height; in frame_init_plane()
762 height = frame->info.res.height, stride, bytes; in frame_init_rgb_planes() local
868 me->info.res.height = height; in frame_create()
932 to->height = (uint16_t)from->height; in ia_css_resolution_to_sp_resolution()
947 in_res->height, out_res->width, out_res->height); in ia_css_frame_find_crop_resolution()
956 (out_res->height > in_res->height)) in ia_css_frame_find_crop_resolution()
969 crop_res->height = in_res->height; in ia_css_frame_find_crop_resolution()
977 crop_res->height = in_res->height; in ia_css_frame_find_crop_resolution()
[all …]
/linux/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/drivers/gpu/drm/selftests/
A Dtest-drm_framebuffer.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,
116 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_NV12,
171 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_NV12,
176 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_YVU420,
182 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_YVU420,
254 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_X0L2,
[all …]
/linux/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/drivers/video/fbdev/core/
A Dfbcon_rotate.h31 static inline void rotate_ud(const char *in, char *out, u32 width, u32 height) in rotate_ud() argument
38 for (i = 0; i < height; i++) { in rotate_ud()
42 height - (1 + i), in rotate_ud()
51 int i, j, h = height, w = width; in rotate_cw()
52 int shift = (8 - (height % 8)) & 7; in rotate_cw()
55 height = (height + 7) & ~7; in rotate_cw()
60 pattern_set_bit(height - 1 - i - shift, j, in rotate_cw()
61 height, out); in rotate_cw()
69 int i, j, h = height, w = width; in rotate_ccw()
73 height = (height + 7) & ~7; in rotate_ccw()
[all …]
A Dfbcon_cw.c48 int sx, int height, int width) in cw_clear() argument
55 region.dx = vxres - ((sy + height) * vc->vc_font.height); in cw_clear()
58 region.width = height * vc->vc_font.height; in cw_clear()
118 image.width = vc->vc_font.height; in cw_putcs()
142 image.dy += image.height; in cw_putcs()
159 unsigned int ch = vc->vc_font.height; in cw_clear_margins()
171 region.height = rw; in cw_clear_margins()
241 dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height); in cw_cursor()
291 cur_height = vc->vc_font.height/3; in cw_cursor()
301 cur_height = vc->vc_font.height; in cw_cursor()
[all …]
A Dfbcon_ccw.c30 int mod = vc->vc_font.height % 8; in ccw_update_attr()
63 int sx, int height, int width) in ccw_clear() argument
70 region.dx = sy * vc->vc_font.height; in ccw_clear()
73 region.width = height * vc->vc_font.height; in ccw_clear()
131 image.dx = yy * vc->vc_font.height; in ccw_putcs()
133 image.width = vc->vc_font.height; in ccw_putcs()
159 image.dy += image.height; in ccw_putcs()
188 region.height = rw; in ccw_clear_margins()
258 dx = y * vc->vc_font.height; in ccw_cursor()
318 cur_height = vc->vc_font.height; in ccw_cursor()
[all …]
A Dfbcon_ud.c56 region.dy = vyres - ((sy + height) * vc->vc_font.height); in ud_clear()
59 region.height = height * vc->vc_font.height; in ud_clear()
85 image->height); in ud_putcs_aligned()
88 image->height); in ud_putcs_aligned()
119 image->height, shift_high, in ud_putcs_unaligned()
153 image.dy = vyres - ((yy * vc->vc_font.height) + vc->vc_font.height); in ud_putcs()
155 image.height = vc->vc_font.height; in ud_putcs()
280 if (ops->cursor_state.image.height != vc->vc_font.height || in ud_cursor()
283 ops->cursor_state.image.height = vc->vc_font.height; in ud_cursor()
288 dy = vyres - ((y * vc->vc_font.height) + vc->vc_font.height); in ud_cursor()
[all …]
A Dbitblit.c47 int sx, int height, int width) in bit_clear() argument
54 region.dy = sy * vc->vc_font.height; in bit_clear()
56 region.height = height * vc->vc_font.height; in bit_clear()
82 image->height); in bit_putcs_aligned()
85 image->height); in bit_putcs_aligned()
116 image->height, shift_high, in bit_putcs_unaligned()
146 image.height = vc->vc_font.height; in bit_putcs()
216 region.height = bh; in bit_clear_margins()
273 if (ops->cursor_state.image.height != vc->vc_font.height || in bit_cursor()
276 ops->cursor_state.image.height = vc->vc_font.height; in bit_cursor()
[all …]
/linux/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/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/drivers/gpu/drm/
A 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/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/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/drivers/gpu/drm/panel/
A Dpanel-simple.c751 .height = 67,
775 .height = 91,
800 .height = 86,
872 .height = 91,
1141 .height = 90,
1168 .height = 86,
1190 .height = 90,
1216 .height = 54,
1241 .height = 86,
1268 .height = 86,
[all …]
/linux/lib/
A Dbtree.c210 int height = head->height; in btree_last() local
216 for ( ; height > 1; height--) in btree_last()
244 int i, height = head->height; in btree_lookup() local
250 for ( ; height > 1; height--) { in btree_lookup()
274 int i, height = head->height; in btree_update() local
280 for ( ; height > 1; height--) { in btree_update()
314 int i, height; in btree_get_prev() local
328 for (height = head->height ; height > 1; height--) { in btree_get_prev()
392 int i, height; in find_level() local
394 for (height = head->height; height > level; height--) { in find_level()
[all …]
/linux/drivers/firmware/efi/
A 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()
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()
201 for (i = 0; i < font->height; i++) in efi_earlycon_write()
238 efi_y = rounddown(yres, font->height) - font->height; in efi_earlycon_setup()
[all …]
/linux/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/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 …]
/linux/drivers/media/platform/rockchip/rkisp1/
A Drkisp1-resizer.c242 sink_crop->height == sink_fmt->height && in rkisp1_dcrop_config()
374 if (sink_y->height != src_y->height) { in rkisp1_rsz_config_regs()
376 if (sink_y->height < src_y->height) in rkisp1_rsz_config_regs()
382 if (sink_c->height != src_c->height) { in rkisp1_rsz_config_regs()
384 if (sink_c->height < src_c->height) in rkisp1_rsz_config_regs()
422 sink_y.height = sink_crop->height; in rkisp1_rsz_config()
424 src_y.height = src_fmt->height; in rkisp1_rsz_config()
552 src_fmt->height = clamp_t(u32, format->height, in rkisp1_rsz_set_src_fmt()
582 sink_crop->height = sink_fmt->height; in rkisp1_rsz_set_sink_crop()
591 sink_crop->height = r->height; in rkisp1_rsz_set_sink_crop()
[all …]
/linux/drivers/media/test-drivers/vivid/
A Dvivid-vid-cap.c413 dev->src_rect.height = bt->height; in vivid_update_format_cap()
531 mp->height = dev->fmt_cap_rect.height; in vivid_g_fmt_vid_cap()
578 height, mp->width, mp->height); in vivid_try_fmt_vid_cap()
610 mp->height = r.height / factor; in vivid_try_fmt_vid_cap()
761 webcam_sizes[i].height == mp->height) in vivid_s_fmt_vid_cap()
776 dev->fmt_cap_rect.height = mp->height; in vivid_s_fmt_vid_cap()
1029 compose->height != s->r.height)) { in vivid_vid_cap_s_selection()
1098 win->w.height = compose->height; in vidioc_g_fmt_vid_overlay()
1132 win->w.height = compose->height; in vidioc_try_fmt_vid_overlay()
1148 r->height = clamp_t(s32, r->height, 1, dev->fb_cap.fmt.height - r->top); in vidioc_try_fmt_vid_overlay()
[all …]

Completed in 63 milliseconds

12345678910>>...56