Home
last modified time | relevance | path

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

12345678910>>...41

/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()
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/drivers/media/platform/qcom/venus/
H A Dhfi_plat_bufs_v6.c55 #define SIZE_H264D_LB_FE_TOP_DATA(width, height) \ argument
58 #define SIZE_H264D_LB_FE_TOP_CTRL(width, height) \ argument
61 #define SIZE_H264D_LB_FE_LEFT_CTRL(width, height) \ argument
62 (MAX_FE_NBR_CTRL_LCU64_LINE_BUFFER_SIZE * (((height) + 15) >> 4))
64 #define SIZE_H264D_LB_SE_TOP_CTRL(width, height) \ argument
67 #define SIZE_H264D_LB_SE_LEFT_CTRL(width, height) \ argument
68 (MAX_SE_NBR_CTRL_LCU64_LINE_BUFFER_SIZE * (((height) + 15) >> 4))
70 #define SIZE_H264D_LB_PE_TOP_DATA(width, height) \ argument
73 #define SIZE_H264D_LB_VSP_TOP(width, height) (((((width) + 15) >> 4) << 7)) argument
75 #define SIZE_H264D_LB_RECON_DMA_METADATA_WR(width, height) \ argument
[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()
127 r->height = max(0, bottom - r->top); in v4l2_rect_intersect()
[all …]
/linux/drivers/staging/media/atomisp/pci/runtime/frame/src/
H A Dframe.c27 unsigned int height,
32 unsigned int height,
39 unsigned int height,
63 unsigned int height,
69 unsigned int height,
93 ia_css_frame_allocate(frame, info->res.width, info->res.height, in ia_css_frame_allocate_from_info()
103 unsigned int height, in ia_css_frame_allocate() argument
110 if (!frame || width == 0 || height == 0) in ia_css_frame_allocate()
115 width, height, format, padded_width, raw_bit_depth); in ia_css_frame_allocate()
117 err = frame_allocate_with_data(frame, width, height, format, in ia_css_frame_allocate()
[all …]
/linux/drivers/video/fbdev/core/
H A Dfb_logo.c124 for (i = 0; i < logo->height; i++) in fb_set_logo()
135 for (i = 0; i < logo->height; i++) { in fb_set_logo()
182 static void fb_rotate_logo_ud(const u8 *in, u8 *out, u32 width, u32 height) in fb_rotate_logo_ud() argument
184 u32 size = width * height, i; in fb_rotate_logo_ud()
192 static void fb_rotate_logo_cw(const u8 *in, u8 *out, u32 width, u32 height) in fb_rotate_logo_cw() argument
194 int i, j, h = height - 1; in fb_rotate_logo_cw()
196 for (i = 0; i < height; i++) in fb_rotate_logo_cw()
198 out[height * j + h - i] = *in++; in fb_rotate_logo_cw()
201 static void fb_rotate_logo_ccw(const u8 *in, u8 *out, u32 width, u32 height) in fb_rotate_logo_ccw() argument
205 for (i = 0; i < height; i++) in fb_rotate_logo_ccw()
[all …]
H A 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, int fg, int bg) in bit_clear() argument
68 region.dy = sy * vc->vc_font.height; in bit_clear()
70 region.height = height * vc->vc_font.height; in bit_clear()
100 image->height); in bit_putcs_aligned()
[all …]
/linux/drivers/gpu/drm/tests/
H A Ddrm_framebuffer_test.c36 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_ABGR8888,
41 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
46 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
51 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
56 .cmd = { .width = MAX_WIDTH + 1, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
61 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
66 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = 0,
71 .cmd = { .width = 0, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
76 .cmd = { .width = MAX_WIDTH, .height = 0, .pixel_format = DRM_FORMAT_ABGR8888,
81 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888,
[all …]
/linux/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb_accel.c61 cmd[5] = (area->height << 16) | area->width; in mb86290fb_copyarea()
70 u16 width, u16 height, u32 fgcolor, in mb86290fb_imageblit1() argument
95 (GDC_CMD_BITMAP << 16) | (2 + (step * height)); in mb86290fb_imageblit1()
97 cmd[8] = (height << 16) | width; in mb86290fb_imageblit1()
99 while (i < height) { in mb86290fb_imageblit1()
119 u16 width, u16 height, u32 fgcolor, in mb86290fb_imageblit8() argument
128 (GDC_CMD_BLT_DRAW << 16) | (2 + (height * step)); in mb86290fb_imageblit8()
130 cmd[2] = (height << 16) | width; in mb86290fb_imageblit8()
136 while (i < height) { in mb86290fb_imageblit8()
158 u16 width, u16 height, u32 fgcolor, in mb86290fb_imageblit16() argument
[all …]
/linux/drivers/video/fbdev/sis/
H A Dsis_accel.c105 int src_y, int dst_x, int dst_y, int width, int height) in SiS300SubsequentScreenToScreenCopy() argument
126 src_y += height-1; in SiS300SubsequentScreenToScreenCopy()
127 dst_y += height-1; in SiS300SubsequentScreenToScreenCopy()
129 SiS300SetupRect(width, height) in SiS300SubsequentScreenToScreenCopy()
192 int dst_x, int dst_y, int width, int height) in SiS310SubsequentScreenToScreenCopy() argument
208 if((mymax - mymin) < height) { in SiS310SubsequentScreenToScreenCopy()
231 SiS310SetupRect(width, height) in SiS310SubsequentScreenToScreenCopy()
311 int width, height; in fbcon_sis_fillrect() local
322 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) in fbcon_sis_fillrect()
327 height = ((rect->dy + rect->height) > vyres) ? (vyres - rect->dy) : rect->height; in fbcon_sis_fillrect()
[all …]
/linux/drivers/gpu/drm/panel/
H A Dpanel-simple.c86 unsigned int height; member
272 connector->display_info.height_mm = panel->desc->size.height; in panel_simple_get_non_edid_modes()
471 of_property_read_u32(np, "height-mm", &desc->size.height); in panel_dpi_probe()
816 .height = 136,
842 .height = 58,
881 .height = 67,
896 .height = 91,
922 .height = 122,
951 .height = 86,
975 .height = 125,
[all …]
/linux/drivers/media/platform/st/stm32/stm32-dcmipp/
H A Ddcmipp-byteproc.c107 .height = DCMIPP_FMT_HEIGHT_DEFAULT,
118 .height = DCMIPP_FRAME_MIN_HEIGHT,
143 r->height = fmt->height; in dcmipp_byteproc_adjust_compose()
151 r->height = fmt->height; in dcmipp_byteproc_adjust_compose()
156 if (r->height <= (fmt->height / 2)) in dcmipp_byteproc_adjust_compose()
157 r->height = fmt->height / 2; in dcmipp_byteproc_adjust_compose()
159 r->height = fmt->height; in dcmipp_byteproc_adjust_compose()
181 fmt->height = clamp_t(u32, fmt->height, DCMIPP_FRAME_MIN_HEIGHT, in dcmipp_byteproc_adjust_fmt()
210 r->height = DCMIPP_FMT_HEIGHT_DEFAULT; in dcmipp_byteproc_init_state()
260 fse->max_height = compose->height; in dcmipp_byteproc_enum_frame_size()
[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.c101 static void print_page(WINDOW *win, int height, int width) in print_page() argument
106 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()
178 if (height < TEXTBOX_HEIGHT_MIN || width < TEXTBOX_WIDTH_MIN) 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()
[all …]
H A Dinputbox.c16 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
19 int y = height - 2; in print_buttons()
31 int dialog_inputbox(const char *title, const char *prompt, int height, int width, in dialog_inputbox() argument
48 if (getmaxy(stdscr) <= (height - INPUTBOX_HEIGHT_MIN)) in dialog_inputbox()
55 y = (getmaxy(stdscr) - height) / 2; in dialog_inputbox()
57 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox()
59 dialog = newwin(height, width, y, x); in dialog_inputbox()
62 draw_box(dialog, 0, 0, height, width, in dialog_inputbox()
65 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_inputbox()
84 print_buttons(dialog, height, width, 0); in dialog_inputbox()
[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()
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/drivers/media/i2c/
H A Dtw9910.c218 unsigned short height; member
238 .height = 480,
245 .height = 480,
252 .height = 240,
259 .height = 240,
266 .height = 120,
273 .height = 120,
283 .height = 576,
290 .height = 576,
297 .height = 288,
[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/media/test-drivers/vivid/
H A Dvivid-vid-cap.c65 if (webcam_sizes[frmsize_idx].height >= 2160) in webcam_ival_count()
68 if (webcam_sizes[frmsize_idx].height >= 1080) in webcam_ival_count()
71 if (webcam_sizes[frmsize_idx].height >= 720) in webcam_ival_count()
84 unsigned h = dev->fmt_cap_rect.height; in vid_cap_queue_setup()
155 dev->fmt_cap_rect.height) / in vid_cap_buf_prepare()
360 dev->src_rect.width == 720 && dev->src_rect.height <= 576) in vivid_get_pixel_aspect()
361 return dev->src_rect.height == 480 ? in vivid_get_pixel_aspect()
382 dev->src_rect.height = webcam_sizes[dev->webcam_size_idx].height; in vivid_update_format_cap()
392 dev->src_rect.height = 480; in vivid_update_format_cap()
396 dev->src_rect.height = 576; in vivid_update_format_cap()
[all …]
/linux/drivers/staging/media/meson/vdec/
H A 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/lib/
H A Dbtree.c178 head->height = 0; in __btree_init()
209 int height = head->height; in btree_last() local
212 if (height == 0) in btree_last()
215 for ( ; height > 1; height--) in btree_last()
243 int i, height = head->height; in btree_lookup_node() local
246 if (height == 0) in btree_lookup_node()
249 for ( ; height > 1; height--) { in btree_lookup_node()
309 int i, height; in btree_get_prev() local
316 if (head->height == 0) in btree_get_prev()
323 for (height = head->height ; height > 1; height--) { in btree_get_prev()
[all …]
/linux/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_hdcs.c64 int width, height; member
276 unsigned int width, unsigned int height) in hdcs_set_size() argument
285 height = (height + 3) & ~0x3; in hdcs_set_size()
292 if (height + 2 * hdcs->array.border + HDCS_1020_BOTTOM_Y_SKIP in hdcs_set_size()
293 > hdcs->array.height) in hdcs_set_size()
294 height = hdcs->array.height - 2 * hdcs->array.border - in hdcs_set_size()
297 y = (hdcs->array.height - HDCS_1020_BOTTOM_Y_SKIP - height) / 2 in hdcs_set_size()
300 if (height > hdcs->array.height) in hdcs_set_size()
301 height = hdcs->array.height; in hdcs_set_size()
303 y = hdcs->array.top + (hdcs->array.height - height) / 2; in hdcs_set_size()
[all …]
/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_cmd.c215 curr_rules.height = isp->asd.fmt[ATOMISP_SUBDEV_PAD_SOURCE].fmt.height; in atomisp_freq_scaling()
224 if (curr_rules.height != dfs->dfs_table[i].height && in atomisp_freq_scaling()
225 dfs->dfs_table[i].height != ISP_FREQ_RULE_ANY) in atomisp_freq_scaling()
1454 config->height = tab.height; in atomisp_gdc_cac_table()
1458 tab.coordinates_x[i], tab.height * in atomisp_gdc_cac_table()
1466 tab.coordinates_y[i], tab.height * in atomisp_gdc_cac_table()
1486 config->height); in atomisp_gdc_cac_table()
1496 config->height * config->width * in atomisp_gdc_cac_table()
1507 config->height * config->width * in atomisp_gdc_cac_table()
1599 asd->sensor_array_res.height = config->height; in atomisp_set_array_res()
[all …]
/linux/include/video/
H 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/drivers/media/platform/chips-media/coda/
H A Dimx-vdoa.c86 unsigned int height; member
172 writel(dst_q_data->height << 16 | dst_q_data->width, in vdoa_device_run()
183 val = dst_q_data->bytesperline * dst_q_data->height; in vdoa_device_run()
190 val = round_up(src_q_data->bytesperline * src_q_data->height, 4096); in vdoa_device_run()
236 unsigned int width, unsigned int height, in vdoa_context_configure() argument
243 height < 16 || height > 4096 || height % 16 != 0) in vdoa_context_configure()
258 src_q_data->height = height; in vdoa_context_configure()
261 round_up(src_q_data->bytesperline * height, 4096) + in vdoa_context_configure()
262 src_q_data->bytesperline * height / 2; in vdoa_context_configure()
265 dst_q_data->height = height; in vdoa_context_configure()
[all …]
/linux/drivers/gpu/drm/i915/
H A Di915_syncmap.c75 unsigned int height; member
98 GEM_BUG_ON(p->height); in __sync_seqno()
104 GEM_BUG_ON(!p->height); in __sync_child()
111 return (id >> p->height) & MASK; in __sync_branch_idx()
117 GEM_BUG_ON(p->height); in __sync_leaf_idx()
123 return id >> p->height >> SHIFT; in __sync_branch_prefix()
128 GEM_BUG_ON(p->height); in __sync_leaf_prefix()
175 if (!p->height) in i915_syncmap_is_later()
205 p->height = 0; in __sync_alloc_leaf()
289 next->height = above + p->height; in __sync_set()
[all …]

12345678910>>...41