Home
last modified time | relevance | path

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

123456

/linux-4.19.296/include/media/
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()
99 bottom = min(r1->top + r1->height, r2->top + r2->height); in v4l2_rect_intersect()
101 r->height = max(0, bottom - r->top); in v4l2_rect_intersect()
[all …]
Dv4l2-mediabus.h109 pix_fmt->height = mbus_fmt->height; in v4l2_fill_pix_format()
131 mbus_fmt->height = pix_fmt->height; in v4l2_fill_mbus_format()
152 pix_mp_fmt->height = mbus_fmt->height; in v4l2_fill_pix_format_mplane()
172 mbus_fmt->height = pix_mp_fmt->height; in v4l2_fill_mbus_format_mplane()
Dv4l2-common.h314 unsigned int *height, unsigned int hmin,
337 width, height) \ argument
345 width, height); \
350 size_t height_offset, s32 width, s32 height);
/linux-4.19.296/include/video/
Domapvrfb.h42 extern void omap_vrfb_adjust_size(u16 *width, u16 *height,
44 extern u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp);
47 u16 width, u16 height,
49 extern int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot);
56 static inline void omap_vrfb_adjust_size(u16 *width, u16 *height, in omap_vrfb_adjust_size() argument
58 static inline u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp) in omap_vrfb_min_phys_size() argument
63 u16 width, u16 height, unsigned bytespp, bool yuv_mode) {} in omap_vrfb_setup() argument
64 static inline int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot) in omap_vrfb_map_angle() argument
/linux-4.19.296/lib/
Dbtree.c181 head->height = 0; in __btree_init()
212 int height = head->height; in btree_last() local
215 if (height == 0) in btree_last()
218 for ( ; height > 1; height--) in btree_last()
246 int i, height = head->height; in btree_lookup() local
249 if (height == 0) in btree_lookup()
252 for ( ; height > 1; height--) { in btree_lookup()
276 int i, height = head->height; in btree_update() local
279 if (height == 0) in btree_update()
282 for ( ; height > 1; height--) { in btree_update()
[all …]
/linux-4.19.296/drivers/media/usb/gspca/stv06xx/
Dstv06xx_hdcs.c73 int width, height; member
285 unsigned int width, unsigned int height) in hdcs_set_size() argument
294 height = (height + 3) & ~0x3; in hdcs_set_size()
301 if (height + 2 * hdcs->array.border + HDCS_1020_BOTTOM_Y_SKIP in hdcs_set_size()
302 > hdcs->array.height) in hdcs_set_size()
303 height = hdcs->array.height - 2 * hdcs->array.border - in hdcs_set_size()
306 y = (hdcs->array.height - HDCS_1020_BOTTOM_Y_SKIP - height) / 2 in hdcs_set_size()
309 if (height > hdcs->array.height) in hdcs_set_size()
310 height = hdcs->array.height; in hdcs_set_size()
312 y = hdcs->array.top + (hdcs->array.height - height) / 2; in hdcs_set_size()
[all …]
/linux-4.19.296/drivers/media/common/saa7146/
Dsaa7146_hlp.c344 int height = vv->ov.win.w.height; in calculate_clipping_registers_rect() local
368 h[i] = vv->ov.clips[i].c.height; in calculate_clipping_registers_rect()
383 y[i] = height - y[i] - h[i]; in calculate_clipping_registers_rect()
395 line_list[ 2*i ] = min_t(int, t, height); in calculate_clipping_registers_rect()
396 line_list[(2*i)+1] = min_t(int, b, height); in calculate_clipping_registers_rect()
523 static void saa7146_set_window(struct saa7146_dev *dev, int width, int height, enum v4l2_field fiel… in saa7146_set_window() argument
535 …calculate_v_scale_registers(dev, field, vv->standard->v_field*2, height, &hps_v_scale, &hps_v_gain… in saa7146_set_window()
652 saa7146_set_window(dev, vv->ov.win.w.width, vv->ov.win.w.height, vv->ov.win.field); in saa7146_enable_overlay()
653 …saa7146_set_position(dev, vv->ov.win.w.left, vv->ov.win.w.top, vv->ov.win.w.height, vv->ov.win.fie… in saa7146_enable_overlay()
709 int height = buf->fmt->height; in calculate_video_dma_grab_packed() local
[all …]
Dsaa7146_video.c151 vv->ov.win.w.width, vv->ov.win.w.height, in saa7146_start_preview()
223 int size = buf->fmt->width*buf->fmt->height; in saa7146_pgtable_build()
653 field = (f->fmt.pix.height > maxh / 2) in vidioc_try_fmt_vid_cap()
679 if (f->fmt.pix.height > maxh) in vidioc_try_fmt_vid_cap()
680 f->fmt.pix.height = maxh; in vidioc_try_fmt_vid_cap()
690 f->fmt.pix.sizeimage = f->fmt.pix.bytesperline * f->fmt.pix.height; in vidioc_try_fmt_vid_cap()
692 f->fmt.pix.width, f->fmt.pix.height, in vidioc_try_fmt_vid_cap()
717 if (win->w.width < 48 || win->w.height < 32) { in vidioc_try_fmt_vid_overlay()
719 win->w.width, win->w.height); in vidioc_try_fmt_vid_overlay()
732 field = (win->w.height > maxh / 2) in vidioc_try_fmt_vid_overlay()
[all …]
/linux-4.19.296/drivers/media/usb/gspca/
Dstk1135.c310 u16 width, height; in stk1135_configure_mt9m112() local
317 height = gspca_dev->pixfmt.height; in stk1135_configure_mt9m112()
318 if (width <= 640 && height <= 512) { /* context A (half readout speed)*/ in stk1135_configure_mt9m112()
320 sensor_write(gspca_dev, 0x1aa, height); in stk1135_configure_mt9m112()
327 sensor_write(gspca_dev, 0x1a4, height); in stk1135_configure_mt9m112()
442 u16 width, height; in sd_start() local
457 height = gspca_dev->pixfmt.height; in sd_start()
460 reg_w(gspca_dev, STK1135_REG_CIEPO + 2, height & 0xff); in sd_start()
461 reg_w(gspca_dev, STK1135_REG_CIEPO + 3, height >> 8); in sd_start()
618 fmt->fmt.pix.height = clamp(fmt->fmt.pix.height, 32U, 1024U); in stk1135_try_fmt()
[all …]
/linux-4.19.296/fs/hfs/
Dbfind.c113 int height, res; in hfs_brec_find() local
122 height = tree->depth; in hfs_brec_find()
132 if (bnode->height != height) in hfs_brec_find()
134 if (bnode->type != (--height ? HFS_NODE_INDEX : HFS_NODE_LEAF)) in hfs_brec_find()
139 if (!height) in hfs_brec_find()
154 height, bnode->height, bnode->type, nidx, parent); in hfs_brec_find()
/linux-4.19.296/fs/hfsplus/
Dbfind.c170 int height, res; in hfs_brec_find() local
179 height = tree->depth; in hfs_brec_find()
189 if (bnode->height != height) in hfs_brec_find()
191 if (bnode->type != (--height ? HFS_NODE_INDEX : HFS_NODE_LEAF)) in hfs_brec_find()
196 if (!height) in hfs_brec_find()
211 height, bnode->height, bnode->type, nidx, parent); in hfs_brec_find()
/linux-4.19.296/include/xen/interface/io/
Dfbif.h49 int32_t height; /* rect height */ member
61 int32_t height; /* height in pixels */ member
113 int32_t height; /* height of the framebuffer (in pixels) */ member
Ddisplif.h504 uint32_t height; member
623 uint32_t height; member
705 uint32_t height; member
/linux-4.19.296/fs/gfs2/
Dbmap.c238 struct metapath *mp, unsigned int height) in find_metapath() argument
242 mp->mp_fheight = height; in find_metapath()
243 for (i = height; i--;) in find_metapath()
259 static inline __be64 *metaptr1(unsigned int height, const struct metapath *mp) in metaptr1() argument
261 struct buffer_head *bh = mp->mp_bh[height]; in metaptr1()
262 if (height == 0) in metaptr1()
277 static inline __be64 *metapointer(unsigned int height, const struct metapath *mp) in metapointer() argument
279 __be64 *p = metaptr1(height, mp); in metapointer()
280 return p + mp->mp_list[height]; in metapointer()
283 static inline const __be64 *metaend(unsigned int height, const struct metapath *mp) in metaend() argument
[all …]
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_iext_tree.c166 int height; in xfs_iext_find_first_leaf() local
171 for (height = ifp->if_height; height > 1; height--) { in xfs_iext_find_first_leaf()
184 int height, i; in xfs_iext_find_last_leaf() local
189 for (height = ifp->if_height; height > 1; height--) { in xfs_iext_find_last_leaf()
314 int height, i; in xfs_iext_find_level() local
319 for (height = ifp->if_height; height > level; height--) { in xfs_iext_find_level()
438 int height, i; in xfs_iext_update_node() local
440 for (height = ifp->if_height; height > level; height--) { in xfs_iext_update_node()
/linux-4.19.296/drivers/media/usb/gspca/m5602/
Dm5602_po1030.c289 int height = cam->cam_mode[sd->gspca_dev.curr_mode].height; in po1030_start() local
310 data = ((height + 1) >> 8) & 0xff; in po1030_start()
315 data = (height + 1) & 0xff; in po1030_start()
318 height += 6; in po1030_start()
338 data = ((height + 3) >> 8) & 0xff; in po1030_start()
343 data = (height + 3) & 0xff; in po1030_start()
346 height += 12; in po1030_start()
380 err = m5602_write_bridge(sd, M5602_XB_VSYNC_PARA, (height >> 8) & 0xff); in po1030_start()
384 err = m5602_write_bridge(sd, M5602_XB_VSYNC_PARA, (height & 0xff)); in po1030_start()
/linux-4.19.296/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c95 tpg->crop.height = tpg->compose.height = h; in tpg_init()
437 void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height, in tpg_reset_source() argument
443 tpg->src_height = height; in tpg_reset_source()
445 tpg->buf_height = height; in tpg_reset_source()
451 tpg->crop.height = height; in tpg_reset_source()
454 tpg->compose.height = tpg->buf_height; in tpg_reset_source()
1545 tpg->square.height = sq_h; in tpg_calculate_square_border()
1550 tpg->border.height = h; in tpg_calculate_square_border()
1562 tpg->border.height = ((3 * w) / 4) & ~1; in tpg_calculate_square_border()
1563 tpg->border.top = (h - tpg->border.height) / 2; in tpg_calculate_square_border()
[all …]
/linux-4.19.296/include/uapi/linux/
Dfb.h261 __u32 height; /* height of picture in mm */ member
345 __u32 height; member
354 __u32 height; member
363 __u32 height; member
Domapfb.h113 __u32 width, height; member
122 __u32 width, height; member
218 __u32 height; /* phys height of the display in micrometers */ member
Dvirtio_gpu.h124 __le32 height; member
140 __le32 height; member
226 __le32 height; member
Dkd.h162 unsigned int width, height; /* font size */ member
168 unsigned int width, height; /* font size */ member
/linux-4.19.296/include/linux/
Dfb.h106 __u32 height; member
336 __u32 height; /* height of each tile in scanlines */ member
347 __u32 height; /* number of tiles in the y-axis */ member
360 __u32 height; /* number of tiles in the y-axis */ member
367 __u32 height; /* number of tiles in the y-axis */ member
641 u32 height, u32 shift_high, u32 shift_low, u32 mod);
642 extern void fb_pad_aligned_buffer(u8 *dst, u32 d_pitch, u8 *src, u32 s_pitch, u32 height);
665 u8 *src, u32 s_pitch, u32 height) in __fb_pad_aligned_buffer() argument
671 for (i = height; i--; ) { in __fb_pad_aligned_buffer()
/linux-4.19.296/include/uapi/drm/
Ddrm_mode.h468 __u32 height; member
482 __u32 height; member
586 __u32 height; member
597 __u32 height; member
704 __u32 height; member
/linux-4.19.296/lib/fonts/
Dfonts.c137 if ((yres < 400) == (f->height <= 8)) in get_default_font()
141 (font_h & (1 << (f->height - 1)))) in get_default_font()
/linux-4.19.296/include/drm/
Ddrm_framebuffer.h177 unsigned int height; member
313 int drm_framebuffer_plane_height(int height,

123456