/openbmc/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() 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 …]
|
/openbmc/linux/drivers/media/platform/qcom/venus/ |
H A D | hfi_plat_bufs_v6.c | 76 (ALIGN((height), 16) * 32) 78 #define SIZE_H264D_QP(width, height) \ argument 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 1265 u32 height = params->height; in bufreq_enc() local [all …]
|
/openbmc/linux/include/media/ |
H A D | v4l2-rect.h | 22 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 …]
|
/openbmc/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, 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, 120 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_NV12, 177 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_NV12, 182 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_YVU420, 188 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_YVU420, 266 .cmd = { .width = 600, .height = 600, .pixel_format = DRM_FORMAT_X0L2, [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
H A D | frame.c | 71 unsigned int height, 77 unsigned int height, 343 info->res.height = height; in ia_css_frame_info_init() 396 (info_a->res.height == info_b->res.height); in ia_css_frame_info_is_same_resolution() 456 plane->height = height; in frame_init_plane() 576 height = frame->frame_info.res.height, stride, bytes; in frame_init_rgb_planes() local 592 height = frame->frame_info.res.height / 2, bytes, stride; in frame_init_qplane6_planes() local 630 height, in frame_allocate_with_data() 668 me->frame_info.res.height = height; in frame_create() 731 to->height = (uint16_t)from->height; in ia_css_resolution_to_sp_resolution() [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | msm_media_info.h | 899 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 …]
|
/openbmc/linux/drivers/video/fbdev/core/ |
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() 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() 78 int i, j, h = height, w = width; in rotate_ccw() 82 height = (height + 7) & ~7; in rotate_ccw() [all …]
|
H A D | fbcon_cw.c | 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() 66 int sx, int height, int width) in cw_clear() argument 74 region.dx = vxres - ((sy + height) * vc->vc_font.height); in cw_clear() 77 region.width = height * vc->vc_font.height; in cw_clear() 137 image.width = vc->vc_font.height; in cw_putcs() 161 image.dy += image.height; in cw_putcs() 190 region.height = rw; in cw_clear_margins() 260 dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height); in cw_cursor() [all …]
|
H A D | fbcon_ud.c | 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() 76 region.dy = vyres - ((sy + height) * vc->vc_font.height); in ud_clear() 79 region.height = height * vc->vc_font.height; in ud_clear() 173 image.dy = vyres - ((yy * vc->vc_font.height) + vc->vc_font.height); in ud_putcs() 175 image.height = vc->vc_font.height; in ud_putcs() 300 if (ops->cursor_state.image.height != vc->vc_font.height || in ud_cursor() 303 ops->cursor_state.image.height = vc->vc_font.height; in ud_cursor() 308 dy = vyres - ((y * vc->vc_font.height) + vc->vc_font.height); in ud_cursor() [all …]
|
H A D | bitblit.c | 52 area.sy = sy * vc->vc_font.height; in bit_bmove() 55 area.height = height * vc->vc_font.height; in bit_bmove() 71 region.height = height * vc->vc_font.height; in bit_clear() 97 image->height); in bit_putcs_aligned() 100 image->height); in bit_putcs_aligned() 131 image->height, shift_high, in bit_putcs_unaligned() 161 image.height = vc->vc_font.height; in bit_putcs() 231 region.height = bh; in bit_clear_margins() 291 if (ops->cursor_state.image.height != vc->vc_font.height || in bit_cursor() 294 ops->cursor_state.image.height = vc->vc_font.height; in bit_cursor() [all …]
|
H A D | fbcon_ccw.c | 30 int mod = vc->vc_font.height % 8; in ccw_update_attr() 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() 81 int sx, int height, int width) in ccw_clear() argument 92 region.width = height * vc->vc_font.height; in ccw_clear() 152 image.width = vc->vc_font.height; in ccw_putcs() 178 image.dy += image.height; in ccw_putcs() 207 region.height = rw; in ccw_clear_margins() 277 dx = y * vc->vc_font.height; in ccw_cursor() [all …]
|
/openbmc/qemu/hw/display/ |
H A D | ramfb.c | 27 uint32_t height; member 35 uint32_t width, height; member 47 static DisplaySurface *ramfb_create_display_surface(int width, int height, in ramfb_create_display_surface() argument 56 height < 16 || height > VBE_DISPI_MAX_YRES || in ramfb_create_display_surface() 65 mapsize = size = stride * (height - 1) + linesize; in ramfb_create_display_surface() 72 surface = qemu_create_displaysurface_from(width, height, in ramfb_create_display_surface() 84 uint32_t fourcc, format, width, height; in ramfb_fw_cfg_write() local 88 height = be32_to_cpu(s->cfg.height); in ramfb_fw_cfg_write() 94 surface = ramfb_create_display_surface(width, height, in ramfb_fw_cfg_write() 101 s->height = height; in ramfb_fw_cfg_write() [all …]
|
/openbmc/linux/drivers/video/fbdev/mb862xx/ |
H A D | mb862xxfb_accel.c | 97 cmd[8] = (height << 16) | width; in mb86290fb_imageblit1() 99 while (i < height) { in mb86290fb_imageblit1() 136 while (i < height) { in mb86290fb_imageblit8() 175 while (i < height) { in mb86290fb_imageblit16() 192 u16 width = image->width, height = image->height; in mb86290fb_imageblit() local 203 height = y2 - dy; in mb86290fb_imageblit() 208 cmdlen = 9 + height * step; in mb86290fb_imageblit() 225 cmdlen = 3 + height * step; in mb86290fb_imageblit() 231 cmdlen = 3 + height * step; in mb86290fb_imageblit() 265 y2 = rect->dy + rect->height; in mb86290fb_fillrect() [all …]
|
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | hvx_histogram.c | 25 const int height = 20; variable 30 static uint8_t input[height][stride] __attribute__((aligned(128))) = { 50 static void ref_histogram(uint8_t *src, int stride, int width, int height, in ref_histogram() argument 57 for (int i = 0; i < height; i++) { in ref_histogram() 64 static void hvx_histogram(uint8_t *src, int stride, int width, int height, in hvx_histogram() argument 73 for (int i = 0; i < height; i += n) { in hvx_histogram() 74 int k = height - i > n ? n : height - i; in hvx_histogram() 82 ref_histogram(&input[0][0], stride, width, height, expect); in main() 83 hvx_histogram(&input[0][0], stride, width, height, result); in main()
|
/openbmc/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_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 …]
|
/openbmc/qemu/ui/ |
H A D | cursor.c | 12 unsigned int width, height, colors, chars; in cursor_parse_xpm() local 48 c = cursor_alloc(width, height); in cursor_parse_xpm() 66 for (y = 0; y < c->height; y++) { in cursor_print_ascii_art() 99 if (width > 512 || height > 512) { in cursor_alloc() 105 c->height = height; in cursor_alloc() 147 for (y = 0; y < c->height; y++) { in cursor_set_mono() 180 for (y = 0; y < c->height; y++) { in cursor_set_mono() 207 memset(image, 0, bpl * c->height); in cursor_get_mono_image() 208 for (y = 0; y < c->height; y++) { in cursor_get_mono_image() 231 memset(mask, 0, bpl * c->height); in cursor_get_mono_mask() [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_panel_orientation_quirks.c | 28 int height; member 35 .height = 1280, 43 .height = 1920, 51 .height = 1920, 59 .height = 1920, 67 .height = 1280, 76 .height = 1280, 84 .height = 1280, 91 .height = 1920, 98 .height = 1280, [all …]
|
/openbmc/linux/drivers/video/fbdev/sis/ |
H A D | sis_accel.c | 126 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 …]
|
/openbmc/u-boot/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_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 …]
|
H A D | textbox.c | 48 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 …]
|
/openbmc/linux/drivers/media/pci/solo6x10/ |
H A D | solo6x10-enc.c | 26 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 …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | atafb_mfb.c | 25 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()
|
/openbmc/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-resizer.c | 181 sink_crop->height == sink_fmt->height && in rkisp1_dcrop_config() 277 if (sink_y->height != src_y->height) { in rkisp1_rsz_config_regs() 279 if (sink_y->height < src_y->height) in rkisp1_rsz_config_regs() 285 if (sink_c->height != src_c->height) { in rkisp1_rsz_config_regs() 287 if (sink_c->height < src_c->height) in rkisp1_rsz_config_regs() 325 sink_y.height = sink_crop->height; in rkisp1_rsz_config() 327 src_y.height = src_fmt->height; in rkisp1_rsz_config() 467 src_fmt->height = clamp_t(u32, format->height, in rkisp1_rsz_set_src_fmt() 497 sink_crop->height = sink_fmt->height; in rkisp1_rsz_set_sink_crop() 506 sink_crop->height = r->height; in rkisp1_rsz_set_sink_crop() [all …]
|
/openbmc/webui-vue/src/assets/styles/bmc/custom/ |
H A D | _base.scss | 7 line-height: 1.4285; 14 line-height: 1.238; 21 line-height: 1.3333; 28 line-height: 1.2857; 35 line-height: 1.3; 42 line-height: 1.375; 49 line-height: 1.2857;
|
/openbmc/linux/drivers/firmware/efi/ |
H A D | earlycon.c | 93 u32 i, height; in efi_earlycon_scroll_up() local 103 height = screen_info.lfb_height; in efi_earlycon_scroll_up() 105 for (i = 0; i < height - font->height; i++) { in efi_earlycon_scroll_up() 165 for (h = 0; h < font->height; h++) { in efi_earlycon_write() 192 efi_y += font->height; in efi_earlycon_write() 200 efi_y += font->height; in efi_earlycon_write() 209 efi_y -= font->height; in efi_earlycon_write() 212 for (i = 0; i < font->height; i++) in efi_earlycon_write() 261 efi_y = rounddown(yres, font->height); in efi_earlycon_setup() 264 max_line_y = efi_y / font->height + 1; in efi_earlycon_setup() [all …]
|