/linux-3.3/drivers/media/video/omap/ |
D | omap_voutlib.c | 48 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-3.3/drivers/video/console/ |
D | fbcon_cw.c | 28 int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2; in cw_update_attr() 29 int width = (vc->vc_font.height + 7) >> 3; in cw_update_attr() 50 int sx, int dy, int dx, int height, int width) in cw_bmove() argument 56 area.sx = vxres - ((sy + height) * vc->vc_font.height); in cw_bmove() 58 area.dx = vxres - ((dy + height) * vc->vc_font.height); in cw_bmove() 60 area.width = height * vc->vc_font.height; in cw_bmove() 61 area.height = width * vc->vc_font.width; in cw_bmove() 67 int sx, int height, int width) in cw_clear() argument 75 region.dx = vxres - ((sy + height) * vc->vc_font.height); in cw_clear() 77 region.height = width * vc->vc_font.width; in cw_clear() [all …]
|
D | bitblit.c | 28 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) in bit_clear() argument 69 region.dy = sy * vc->vc_font.height; in bit_clear() 71 region.height = height * vc->vc_font.height; in bit_clear() 97 image->height); in bit_putcs_aligned() [all …]
|
D | fbcon_ud.c | 28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2; in ud_update_attr() 30 unsigned int cellsize = vc->vc_font.height * width; in ud_update_attr() 49 int sx, int dy, int dx, int height, int width) in ud_bmove() argument 56 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() 67 int sx, int height, int width) in ud_clear() argument 76 region.dy = vyres - ((sy + height) * vc->vc_font.height); in ud_clear() 79 region.height = height * vc->vc_font.height; in ud_clear() 105 image->height); in ud_putcs_aligned() [all …]
|
D | fbcon_ccw.c | 28 int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2; in ccw_update_attr() 29 int width = (vc->vc_font.height + 7) >> 3; in ccw_update_attr() 30 int mod = vc->vc_font.height % 8; in ccw_update_attr() 64 int sx, int dy, int dx, int height, int width) in ccw_bmove() argument 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() 75 area.height = width * vc->vc_font.width; in ccw_bmove() 81 int sx, int height, int width) in ccw_clear() argument 89 region.dx = sy * vc->vc_font.height; in ccw_clear() [all …]
|
D | fbcon_rotate.h | 40 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() 58 static inline void rotate_cw(const char *in, char *out, u32 width, u32 height) in rotate_cw() argument 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() 76 static inline void rotate_ccw(const char *in, char *out, u32 width, u32 height) in rotate_ccw() argument [all …]
|
/linux-3.3/lib/ |
D | radix-tree.c | 49 unsigned int height; /* Height from the bottom */ member 65 * path as height 0 holds only 1 entry. 244 * radix tree with height HEIGHT. 246 static inline unsigned long radix_tree_maxindex(unsigned int height) in radix_tree_maxindex() argument 248 return height_to_maxindex[height]; in radix_tree_maxindex() 258 unsigned int height; in radix_tree_extend() local 261 /* Figure out what the height should be. */ in radix_tree_extend() 262 height = root->height + 1; in radix_tree_extend() 263 while (index > radix_tree_maxindex(height)) in radix_tree_extend() 264 height++; in radix_tree_extend() [all …]
|
D | btree.c | 179 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() local 246 if (height == 0) in btree_lookup() 249 for ( ; height > 1; height--) { in btree_lookup() 273 int i, height = head->height; in btree_update() local 276 if (height == 0) in btree_update() 279 for ( ; height > 1; height--) { in btree_update() [all …]
|
/linux-3.3/drivers/media/video/s5p-tv/ |
D | mixer_grp_layer.c | 26 { .width = 1, .height = 1, .size = 2 }, 38 { .width = 1, .height = 1, .size = 2 }, 50 { .width = 1, .height = 1, .size = 2 }, 62 { .width = 1, .height = 1, .size = 4 }, 165 y_center = dst->y_offset + dst->height / 2; in mxr_graph_fix_geometry() 169 dst->height = round_down(dst->height, 2); in mxr_graph_fix_geometry() 172 dst->height = round_up(dst->height, 2); in mxr_graph_fix_geometry() 176 dst->height = min(dst->height, dst->full_height); in mxr_graph_fix_geometry() 180 dst->height = min(dst->height, 2 * src->full_height); in mxr_graph_fix_geometry() 185 dst->y_offset = do_center(y_center, dst->height, in mxr_graph_fix_geometry() [all …]
|
D | mixer_vp_layer.c | 27 { .width = 1, .height = 1, .size = 1 }, 28 { .width = 2, .height = 2, .size = 2 }, 40 { .width = 1, .height = 1, .size = 1 }, 41 { .width = 2, .height = 2, .size = 2 }, 53 { .width = 1, .height = 1, .size = 1 }, 54 { .width = 2, .height = 2, .size = 2 }, 67 { .width = 128, .height = 32, .size = 4096 }, 68 { .width = 128, .height = 32, .size = 2048 }, 156 y_center = dst->y_offset + dst->height / 2; in mxr_vp_fix_geometry() 160 dst->height = clamp(dst->height, 1U, 16 * src->full_height); in mxr_vp_fix_geometry() [all …]
|
/linux-3.3/drivers/media/video/ |
D | sh_mobile_ceu_camera.c | 129 unsigned int height; member 210 unsigned int height; in sh_mobile_ceu_videobuf_setup() local 219 height = fmt->fmt.pix.height; in sh_mobile_ceu_videobuf_setup() 224 height = icd->user_height; in sh_mobile_ceu_videobuf_setup() 229 sizes[0] = bytes_per_line * height; in sh_mobile_ceu_videobuf_setup() 661 unsigned int height, width, cdwdr_width, in_width, in_height; in sh_mobile_ceu_set_rect() local 704 height = icd->user_height; in sh_mobile_ceu_set_rect() 705 in_height = cam->height; in sh_mobile_ceu_set_rect() 707 height = (height / 2) & ~3; in sh_mobile_ceu_set_rect() 724 (in_height << 16) | in_width, (height << 16) | width, in sh_mobile_ceu_set_rect() [all …]
|
D | tw9910.c | 224 unsigned short height; member 241 .height = 480, 248 .height = 480, 255 .height = 240, 262 .height = 240, 269 .height = 120, 276 .height = 120, 286 .height = 576, 293 .height = 576, 300 .height = 288, [all …]
|
D | mt9m111.c | 212 int height; /* sizes */ member 321 unsigned int width, unsigned int height) in mt9m111_setup_rect_ctx() argument 326 ret = mt9m111_reg_write(client, ctx->reducer_yzoom, rect->height); in mt9m111_setup_rect_ctx() 330 ret = mt9m111_reg_write(client, ctx->reducer_ysize, height); in mt9m111_setup_rect_ctx() 335 int width, int height, enum v4l2_mbus_pixelcode code) in mt9m111_setup_geometry() argument 347 ret = reg_write(WINDOW_HEIGHT, rect->height); in mt9m111_setup_geometry() 353 rect, width, height); in mt9m111_setup_geometry() 356 rect, width, height); in mt9m111_setup_geometry() 360 __func__, code, rect->width, rect->height, rect->left, rect->top, in mt9m111_setup_geometry() 361 width, height, ret); in mt9m111_setup_geometry() [all …]
|
/linux-3.3/drivers/video/mb862xx/ |
D | mb862xxfb_accel.c | 67 cmd[5] = (area->height << 16) | area->width; in mb86290fb_copyarea() 76 u16 width, u16 height, u32 fgcolor, in mb86290fb_imageblit1() argument 101 (GDC_CMD_BITMAP << 16) | (2 + (step * height)); in mb86290fb_imageblit1() 103 cmd[8] = (height << 16) | width; in mb86290fb_imageblit1() 105 while (i < height) { in mb86290fb_imageblit1() 125 u16 width, u16 height, u32 fgcolor, in mb86290fb_imageblit8() argument 134 (GDC_CMD_BLT_DRAW << 16) | (2 + (height * step)); in mb86290fb_imageblit8() 136 cmd[2] = (height << 16) | width; in mb86290fb_imageblit8() 142 while (i < height) { in mb86290fb_imageblit8() 164 u16 width, u16 height, u32 fgcolor, in mb86290fb_imageblit16() argument [all …]
|
/linux-3.3/drivers/staging/media/solo6x10/ |
D | enc.c | 34 unsigned long height; in solo_capture_config() local 48 height = solo_dev->video_vsize; in solo_capture_config() 51 SOLO_DIM_V_MB_NUM_FRAME(height / 8) | in solo_capture_config() 52 SOLO_DIM_V_MB_NUM_FIELD(height / 16)); in solo_capture_config() 56 height = solo_dev->video_vsize; in solo_capture_config() 59 SOLO_DIM_V_MB_NUM_FRAME(height / 8) | in solo_capture_config() 60 SOLO_DIM_V_MB_NUM_FIELD(height / 16)); in solo_capture_config() 64 height = solo_dev->video_vsize / 2; in solo_capture_config() 67 SOLO_DIM_V_MB_NUM_FRAME(height / 8) | in solo_capture_config() 68 SOLO_DIM_V_MB_NUM_FIELD(height / 16)); in solo_capture_config() [all …]
|
/linux-3.3/fs/gfs2/ |
D | bmap.c | 112 * that the height can be grown in the traditional way. 182 * @height: The pre-calculated height of the metadata tree 188 * Given: "ip" is a height 3 file, "offset" is 101342453, and this is a 238 struct metapath *mp, unsigned int height) in find_metapath() argument 242 for (i = height; i--;) in find_metapath() 256 * @height: The metadata height (0 = dinode) 259 * Return a pointer to the block number of the next height of the metadata 260 * tree given a buffer containing the pointer to the current height of the 264 static inline __be64 *metapointer(unsigned int height, const struct metapath *mp) in metapointer() argument 266 struct buffer_head *bh = mp->mp_bh[height]; in metapointer() [all …]
|
/linux-3.3/scripts/kconfig/lxdialog/ |
D | inputbox.c | 29 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument 32 int y = height - 2; in print_buttons() 44 int dialog_inputbox(const char *title, const char *prompt, int height, int width, in dialog_inputbox() argument 58 if (getmaxy(stdscr) <= (height - 2)) in dialog_inputbox() 65 y = (LINES - height) / 2; in dialog_inputbox() 67 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox() 69 dialog = newwin(height, width, y, x); in dialog_inputbox() 72 draw_box(dialog, 0, 0, height, width, in dialog_inputbox() 75 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_inputbox() 94 print_buttons(dialog, height, width, 0); in dialog_inputbox() [all …]
|
D | yesno.c | 27 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument 30 int y = height - 2; in print_buttons() 42 int dialog_yesno(const char *title, const char *prompt, int height, int width) in dialog_yesno() argument 48 if (getmaxy(stdscr) < (height + 4)) in dialog_yesno() 55 y = (LINES - height) / 2; in dialog_yesno() 57 draw_shadow(stdscr, y, x, height, width); in dialog_yesno() 59 dialog = newwin(height, width, y, x); in dialog_yesno() 62 draw_box(dialog, 0, 0, height, width, in dialog_yesno() 65 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_yesno() 76 print_buttons(dialog, height, width, 0); in dialog_yesno() [all …]
|
/linux-3.3/drivers/video/ |
D | atafb.h | 5 int dx, int height, int width); 7 int sy, int sx, int height, int width); 13 int dx, int height, int width); 15 int sy, int sx, int height, int width); 21 int dx, int height, int width); 23 int sy, int sx, int height, int width); 29 int dx, int height, int width); 31 int sy, int sx, int height, int width);
|
D | atafb_mfb.c | 26 int height, int width) in atafb_mfb_copyarea() argument 34 fb_memmove(dest, src, height * (width >> 3)); in atafb_mfb_copyarea() 38 for (rows = height; rows--;) { in atafb_mfb_copyarea() 44 src = (u8 *)info->screen_base + (sy + height - 1) * next_line + (sx >> 3); in atafb_mfb_copyarea() 45 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); in atafb_mfb_copyarea() 46 for (rows = height; rows--;) { in atafb_mfb_copyarea() 55 int sy, int sx, int height, int width) in atafb_mfb_fillrect() argument 64 fb_memset255(dest, height * (width >> 3)); in atafb_mfb_fillrect() 66 fb_memclear(dest, height * (width >> 3)); in atafb_mfb_fillrect() 68 for (rows = height; rows--; dest += next_line) { in atafb_mfb_fillrect()
|
/linux-3.3/drivers/video/matrox/ |
D | matroxfb_accel.c | 200 int sx, int dy, int dx, int height, int width) in matrox_accel_bmove() argument 223 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove() 225 dy += height-1; in matrox_accel_bmove() 231 mga_ydstlen(dy, height); in matrox_accel_bmove() 238 int sy, int sx, int dy, int dx, int height, in matrox_accel_bmove_lin() argument 262 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove_lin() 264 dy += height-1; in matrox_accel_bmove_lin() 271 mga_outl(M_LEN | M_EXEC, height); in matrox_accel_bmove_lin() 283 …es_virtual >> 1, area->sy, area->sx >> 1, area->dy, area->dx >> 1, area->height, area->width >> 1); in matroxfb_cfb4_copyarea() 289 … minfo->fbcon.var.xres_virtual, area->sy, area->sx, area->dy, area->dx, area->height, area->width); in matroxfb_copyarea() [all …]
|
/linux-3.3/drivers/video/omap2/ |
D | vrfb.c | 115 void omap_vrfb_adjust_size(u16 *width, u16 *height, in omap_vrfb_adjust_size() argument 119 *height = ALIGN(*height, VRFB_PAGE_HEIGHT); in omap_vrfb_adjust_size() 123 u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp) in omap_vrfb_min_phys_size() argument 131 return (width * height * bytespp) + get_extra_physical_size( in omap_vrfb_min_phys_size() 140 unsigned long height; in omap_vrfb_max_height() local 151 height = (phys_size - extra) / (width * bytespp); in omap_vrfb_max_height() 154 return min_t(unsigned long, height, 2048); in omap_vrfb_max_height() 159 u16 width, u16 height, in omap_vrfb_setup() argument 170 width, height, bytespp, yuv_mode); in omap_vrfb_setup() 187 vrfb_height = ALIGN(height, VRFB_PAGE_HEIGHT); in omap_vrfb_setup() [all …]
|
/linux-3.3/arch/arm/plat-omap/include/plat/ |
D | vrfb.h | 41 extern void omap_vrfb_adjust_size(u16 *width, u16 *height, 43 extern u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp); 46 u16 width, u16 height, 48 extern int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot); 54 static inline void omap_vrfb_adjust_size(u16 *width, u16 *height, in omap_vrfb_adjust_size() argument 56 static inline u32 omap_vrfb_min_phys_size(u16 width, u16 height, u8 bytespp) in omap_vrfb_min_phys_size() argument 61 u16 width, u16 height, unsigned bytespp, bool yuv_mode) {} in omap_vrfb_setup() argument 62 static inline int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot) in omap_vrfb_map_angle() argument
|
/linux-3.3/drivers/video/sis/ |
D | sis_accel.c | 118 int src_y, int dst_x, int dst_y, int width, int height) in SiS300SubsequentScreenToScreenCopy() argument 139 src_y += height-1; in SiS300SubsequentScreenToScreenCopy() 140 dst_y += height-1; in SiS300SubsequentScreenToScreenCopy() 142 SiS300SetupRect(width, height) in SiS300SubsequentScreenToScreenCopy() 205 int dst_x, int dst_y, int width, int height) in SiS310SubsequentScreenToScreenCopy() argument 221 if((mymax - mymin) < height) { in SiS310SubsequentScreenToScreenCopy() 244 SiS310SetupRect(width, height) in SiS310SubsequentScreenToScreenCopy() 324 int width, height; in fbcon_sis_fillrect() local 335 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) in fbcon_sis_fillrect() 340 height = ((rect->dy + rect->height) > vyres) ? (vyres - rect->dy) : rect->height; in fbcon_sis_fillrect() [all …]
|
/linux-3.3/drivers/media/video/s5p-fimc/ |
D | fimc-capture.c | 484 u32 *width, u32 *height, in fimc_capture_try_format() argument 517 height, max_t(u32, *height, 32), in fimc_capture_try_format() 526 *height = ctx->s_frame.f_height; in fimc_capture_try_format() 532 min_h = ctx->state & FIMC_DST_CROP ? dst->height : var->min_out_pixsize; in fimc_capture_try_format() 539 height, min_h, FIMC_CAMIF_MAX_HEIGHT, in fimc_capture_try_format() 544 pad, code ? *code : 0, *width, *height, in fimc_capture_try_format() 565 r->height = sink->f_height; in fimc_capture_try_crop() 573 max_sc_v = min(SCALER_MAX_VRATIO, 1 << (ffs(sink->height) - 1)); in fimc_capture_try_crop() 588 * - the sink pad format width/height must be 4 multiple of the in fimc_capture_try_crop() 605 &r->height, min_h, max_h, align_h, in fimc_capture_try_crop() [all …]
|