/linux/drivers/media/platform/qcom/venus/ |
H A D | hfi_plat_bufs_v6.c | 55 #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/drivers/media/platform/ti/omap/ |
H A 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/include/media/ |
H A D | v4l2-rect.h | 14 * v4l2_rect_set_size_to() - copy the width/height values. 15 * @r: rect whose width and height fields will be set 16 * @size: rect containing the width and height fields you need. 22 r->height = size->height; in v4l2_rect_set_size_to() 26 * v4l2_rect_set_min_size() - width and height of r should be >= min_size. 27 * @r: rect whose width and height will be modified 28 * @min_size: rect containing the minimal width and height 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() 40 * v4l2_rect_set_max_size() - width and height of r should be <= max_size [all …]
|
/linux/drivers/video/fbdev/core/ |
H A 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() 49 int sx, int dy, int dx, int height, int width) in cw_bmove() argument 55 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() 60 area.height = width * vc->vc_font.width; 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() 76 region.height = width * vc->vc_font.width; in cw_clear() [all …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A D | fb_logo.c | 124 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 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/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
H A D | frame.c | 35 unsigned int height, 40 unsigned int height, 47 unsigned int height, 71 unsigned int height, 77 unsigned int height, 101 ia_css_frame_allocate(frame, info->res.width, info->res.height, in ia_css_frame_allocate_from_info() 111 unsigned int height, in ia_css_frame_allocate() argument 118 if (!frame || width == 0 || height == 0) in ia_css_frame_allocate() 122 …"ia_css_frame_allocate() enter: width=%d, height=%d, format=%d, padded_width=%d, raw_bit_depth=%d\… in ia_css_frame_allocate() 123 width, height, format, padded_width, raw_bit_depth); in ia_css_frame_allocate() [all …]
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_framebuffer_test.c | 30 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_ABGR8888, 35 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 40 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 45 .cmd = { .width = MAX_WIDTH, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 50 .cmd = { .width = MAX_WIDTH + 1, .height = MAX_HEIGHT, .pixel_format = DRM_FORMAT_ABGR8888, 55 .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, 69 { .buffer_created = 0, .name = "ABGR8888 Height 0", 70 .cmd = { .width = MAX_WIDTH, .height = 0, .pixel_format = DRM_FORMAT_ABGR8888, [all …]
|
/linux/Documentation/dev-tools/kunit/ |
H A D | kunit_suitememorydiagram.svg | 2 <svg width="796.93" height="555.73" version="1.1" viewBox="0 0 796.93 555.73" xmlns="http://www.w3.… 5 <rect x="323.56" y="18.443" width="115.75" height="41.331"/> 6 <rect x="323.56" y="463.09" width="115.75" height="41.331"/> 7 <rect x="323.56" y="531.84" width="115.75" height="41.331"/> 8 <rect x="323.56" y="88.931" width="115.75" height="74.231"/> 11 <rect x="323.56" y="421.76" width="115.75" height="41.331" fill="#b9dbc6" stroke="#1a1a1a"/> 12 …26" fill="#000000" font-family="sans-serif" font-size="16px" style="line-height:1.25" xml:space="p… 15 <rect x="323.56" y="421.76" width="115.75" height="41.331" fill="#b9dbc6" stroke="#1a1a1a"/> 16 …26" fill="#000000" font-family="sans-serif" font-size="16px" style="line-height:1.25" xml:space="p… 19 <rect x="323.56" y="421.76" width="115.75" height="41.331" fill="#b9dbc6" stroke="#1a1a1a"/> [all …]
|
/linux/Documentation/gpu/amdgpu/display/ |
H A D | dcn3_cm_drm_current.svg | 8 height="1845" 31 inkscape:window-height="1011" 44 height="486.09872" 51 height="55.320732" 58 height="55.320732" 65 height="55.320732" 72 height="55.320732" 79 height="55.320732" 93 height="1015.9909" 100 height="525.77448" [all …]
|
H A D | dcn2_cm_drm_current.svg | 8 height="1845" 31 inkscape:window-height="1011" 44 height="486.09872" 51 height="55.320732" 58 height="55.320732" 65 height="55.320732" 72 height="55.320732" 79 height="55.320732" 93 height="1015.9909" 100 height="525.77448" [all …]
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-resizer.c | 149 sink_crop->height == sink_fmt->height && in rkisp1_dcrop_config() 160 rkisp1_write(rkisp1, rsz->config->dual_crop.v_size, sink_crop->height); in rkisp1_dcrop_config() 166 sink_fmt->width, sink_fmt->height, in rkisp1_dcrop_config() 167 sink_crop->width, sink_crop->height); in rkisp1_dcrop_config() 245 if (sink_y->height != src_y->height) { in rkisp1_rsz_config_regs() 247 if (sink_y->height < src_y->height) in rkisp1_rsz_config_regs() 249 ratio = rkisp1_rsz_calc_ratio(sink_y->height, src_y->height); in rkisp1_rsz_config_regs() 253 if (sink_c->height != src_c->height) { in rkisp1_rsz_config_regs() 255 if (sink_c->height < src_c->height) in rkisp1_rsz_config_regs() 257 ratio = rkisp1_rsz_calc_ratio(sink_c->height, src_c->height); in rkisp1_rsz_config_regs() [all …]
|
/linux/drivers/media/platform/st/stm32/stm32-dcmipp/ |
H A D | dcmipp-byteproc.c | 86 .height = DCMIPP_FMT_HEIGHT_DEFAULT, 97 .height = DCMIPP_FRAME_MIN_HEIGHT, 123 r->height = fmt->height; in dcmipp_byteproc_adjust_compose() 127 /* Adjust height - we can only perform 1/2 decimation */ in dcmipp_byteproc_adjust_compose() 128 if (r->height <= (fmt->height / 2)) in dcmipp_byteproc_adjust_compose() 129 r->height = fmt->height / 2; in dcmipp_byteproc_adjust_compose() 131 r->height = fmt->height; in dcmipp_byteproc_adjust_compose() 153 fmt->height = clamp_t(u32, fmt->height, DCMIPP_FRAME_MIN_HEIGHT, in dcmipp_byteproc_adjust_fmt() 182 r->height = DCMIPP_FMT_HEIGHT_DEFAULT; in dcmipp_byteproc_init_state() 232 fse->max_height = compose->height; in dcmipp_byteproc_enum_frame_size() [all …]
|
/linux/drivers/video/fbdev/mb862xx/ |
H A D | mb862xxfb_accel.c | 61 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/gpu/drm/ |
H A D | drm_rect.c | 194 * (@src height) / (@dst height). 240 * @height: Height of the coordinate space 245 * @width and @height combined with @rotation define 248 * @width correcsponds to the horizontal and @height 253 int width, int height, in drm_rect_rotate() argument 267 r->y1 = height - tmp.y2; in drm_rect_rotate() 268 r->y2 = height - tmp.y1; in drm_rect_rotate() 286 r->y1 = height - tmp.y2; in drm_rect_rotate() 287 r->y2 = height - tmp.y1; in drm_rect_rotate() 291 r->x1 = height - tmp.y2; in drm_rect_rotate() [all …]
|
/linux/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-regs.c | 173 org_h = pix_mp->height; in mdp_try_fmt_mplane() 175 mdp_bound_align_image(&pix_mp->width, &pix_mp->height, &s, fmt->salign); in mdp_try_fmt_mplane() 176 if (org_w != pix_mp->width || org_h != pix_mp->height) in mdp_try_fmt_mplane() 178 org_w, org_h, pix_mp->width, pix_mp->height); in mdp_try_fmt_mplane() 196 di = (u64)bpl * pix_mp->height * fmt->depth[i]; in mdp_try_fmt_mplane() 240 s->target, s->r.left, s->r.top, s->r.width, s->r.height); in mdp_try_crop() 245 bottom = s->r.top + s->r.height; in mdp_try_crop() 247 frameh = frame->format.fmt.pix_mp.height; in mdp_try_crop() 276 r->height = bottom - top; in mdp_try_crop() 279 r->left, r->top, r->width, r->height); in mdp_try_crop() [all …]
|
/linux/Documentation/RCU/Design/Expedited-Grace-Periods/ |
H A D | Funnel5.svg | 13 height="125.78741" 91 inkscape:window-height="836" 119 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin… 123 height="11.428572" 128 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin… 141 height="26.33428" 148 height="26.33428" 155 height="26.33428" 162 height="26.33428" 169 height="26.33428" [all …]
|
H A D | Funnel6.svg | 13 height="125.78741" 91 inkscape:window-height="836" 119 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin… 123 height="11.428572" 128 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin… 141 height="26.33428" 148 height="26.33428" 155 height="26.33428" 162 height="26.33428" 169 height="26.33428" [all …]
|
H A D | Funnel1.svg | 13 height="125.78741" 91 inkscape:window-height="836" 119 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin… 123 height="11.428572" 128 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin… 141 height="26.33428" 148 height="26.33428" 155 height="26.33428" 162 height="26.33428" 169 height="26.33428" [all …]
|
H A D | Funnel0.svg | 13 height="125.78741" 91 inkscape:window-height="836" 119 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin… 123 height="11.428572" 128 …ant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacin… 141 height="26.33428" 148 height="26.33428" 155 height="26.33428" 162 height="26.33428" 169 height="26.33428" [all …]
|
/linux/scripts/kconfig/lxdialog/ |
H A D | yesno.c | 14 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 …]
|
/linux/drivers/staging/media/meson/vdec/ |
H A D | vdec_helpers.c | 54 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 …]
|