Home
last modified time | relevance | path

Searched refs:bpix (Results 1 – 25 of 41) sorted by relevance

12

/external/u-boot/drivers/video/
Dvideo_bmp.c203 unsigned colours, bpix, bmp_bpix; in video_bmp_display() local
223 bpix = VNBITS(priv->bpix); in video_bmp_display()
225 if (bpix != 1 && bpix != 8 && bpix != 16 && bpix != 32) { in video_bmp_display()
227 bpix, bmp_bpix); in video_bmp_display()
236 if (bpix != bmp_bpix && in video_bmp_display()
237 !(bmp_bpix == 8 && bpix == 16) && in video_bmp_display()
238 !(bmp_bpix == 24 && bpix == 32)) { in video_bmp_display()
240 bpix, get_unaligned_le16(&bmp->header.bit_count)); in video_bmp_display()
245 (int)width, (int)height, (int)colours, 1 << bpix); in video_bmp_display()
264 (y + height - 1) * priv->line_length + x * bpix / 8); in video_bmp_display()
[all …]
Dsandbox_sdl.c28 ret = sandbox_sdl_init_display(plat->xres, plat->yres, plat->bpix); in sandbox_sdl_probe()
35 uc_priv->bpix = plat->bpix; in sandbox_sdl_probe()
53 plat->bpix = VIDEO_BPP16; in sandbox_sdl_bind()
54 uc_plat->size = plat->xres * plat->yres * (1 << plat->bpix) / 8; in sandbox_sdl_bind()
Dconsole_rotate.c17 int pbytes = VNBYTES(vid_priv->bpix); in console_set_row_1()
24 switch (vid_priv->bpix) { in console_set_row_1()
67 int pbytes = VNBYTES(vid_priv->bpix); in console_move_rows_1()
89 int pbytes = VNBYTES(vid_priv->bpix); in console_putc_xy_1()
101 switch (vid_priv->bpix) { in console_putc_xy_1()
155 switch (vid_priv->bpix) { in console_set_row_2()
222 VIDEO_FONT_WIDTH - 1) * VNBYTES(vid_priv->bpix); in console_putc_xy_2()
227 switch (vid_priv->bpix) { in console_putc_xy_2()
276 int pbytes = VNBYTES(vid_priv->bpix); in console_set_row_3()
282 switch (vid_priv->bpix) { in console_set_row_3()
[all …]
Dconsole_normal.c24 switch (vid_priv->bpix) { in console_normal_set_row()
81 VID_TO_PIXEL(x_frac) * VNBYTES(vid_priv->bpix); in console_normal_putc_xy()
89 switch (vid_priv->bpix) { in console_normal_putc_xy()
Dsimplefb.c50 uc_priv->bpix = VIDEO_BPP16; in simple_video_probe()
52 uc_priv->bpix = VIDEO_BPP32; in simple_video_probe()
Datmel_lcdfb.c114 static void atmel_fb_init(ulong addr, struct display_timing *timing, int bpix, in atmel_fb_init() argument
135 (1 << bpix)) / 32; in atmel_fb_init()
160 value |= bpix << 5; in atmel_fb_init()
259 uc_priv->bpix = VIDEO_BPP16; in atmel_fb_lcd_probe()
Dconsole_truetype.c133 switch (vid_priv->bpix) { in console_truetype_set_row()
255 VID_TO_PIXEL(x) * VNBYTES(vid_priv->bpix); in console_truetype_putc_xy()
266 switch (vid_priv->bpix) { in console_truetype_putc_xy()
325 line += xstart * VNBYTES(vid_priv->bpix); in console_truetype_erase()
327 switch (vid_priv->bpix) { in console_truetype_erase()
Dvideo-uclass.c93 switch (priv->bpix) { in video_clear()
216 priv->line_length = priv->xsize * VNBYTES(priv->bpix); in video_post_probe()
Dbcm2835.c42 uc_priv->bpix = VIDEO_BPP32; in bcm2835_video_probe()
/external/u-boot/common/
Dlcd_simplefb.c21 int bpix; /* log2 of bits per pixel */ in lcd_dt_simplefb_configure_node() local
37 bpix = uc_priv->bpix; in lcd_dt_simplefb_configure_node()
42 bpix = LCD_BPP; in lcd_dt_simplefb_configure_node()
45 switch (bpix) { in lcd_dt_simplefb_configure_node()
57 xsize * (1 << bpix) / 8, name); in lcd_dt_simplefb_configure_node()
Dlcd.c349 unsigned bpix = NBITS(panel_info.vl_bpix); in lcd_logo_plot() local
350 uchar *fb = (uchar *)(lcd_base + y * lcd_line_length + x * bpix / 8); in lcd_logo_plot()
356 if (bpix < 12) { in lcd_logo_plot()
578 unsigned colors, bpix, bmp_bpix; in lcd_display_bitmap() local
598 bpix = NBITS(panel_info.vl_bpix); in lcd_display_bitmap()
600 if (bpix != 1 && bpix != 8 && bpix != 16 && bpix != 32) { in lcd_display_bitmap()
602 bpix, bmp_bpix); in lcd_display_bitmap()
611 if (bpix != bmp_bpix && in lcd_display_bitmap()
612 !(bmp_bpix == 8 && bpix == 16) && in lcd_display_bitmap()
613 !(bmp_bpix == 24 && bpix == 32)) { in lcd_display_bitmap()
[all …]
/external/u-boot/include/
Dvideo.h48 #define VNBYTES(bpix) (1 << (bpix)) / 8 argument
50 #define VNBITS(bpix) (1 << (bpix)) argument
77 enum video_log2_bpp bpix; member
/external/u-boot/lib/efi_loader/
Defi_gop.c29 u32 bpix; member
219 switch (gopobj->bpix) { in gop_get_bpp()
388 u32 bpix, col, row; in efi_gop_register() local
404 bpix = priv->bpix; in efi_gop_register()
413 bpix = panel_info.vl_bpix; in efi_gop_register()
421 switch (bpix) { in efi_gop_register()
462 if (bpix == VIDEO_BPP32) in efi_gop_register()
464 if (bpix == LCD_COLOR32) in efi_gop_register()
478 gopobj->bpix = bpix; in efi_gop_register()
/external/u-boot/doc/device-tree-bindings/video/
Datmel-hlcdc.txt9 - atmel,vl-bpix: Bits per pixel.
22 atmel,vl-bpix = <4>;
Dexynos-fb.txt12 samsung,vl-bpix: Bits per pixel
86 samsung,vl-bpix = <4>;
/external/u-boot/drivers/pci/
Dpci_rom.c337 uc_priv->bpix = VIDEO_BPP32; in vbe_setup_video_priv()
340 uc_priv->bpix = VIDEO_BPP16; in vbe_setup_video_priv()
/external/u-boot/include/dm/
Dtest.h163 int bpix; member
/external/u-boot/arch/arm/dts/
Dat91sam9x5dm.dtsi28 atmel,vl-bpix = <4>;
Dsama5d3xdm.dtsi14 atmel,vl-bpix = <4>;
Dexynos5420-smdk5420.dts64 samsung,vl-bpix = <4>;
Dat91-sama5d2_xplained.dts45 atmel,vl-bpix = <4>;
Dexynos4210-universal_c210.dts49 samsung,vl-bpix = <4>;
Dexynos4210-trats.dts41 samsung,vl-bpix = <4>;
Dexynos5800-peach-pi.dts135 samsung,vl-bpix = <4>;
/external/u-boot/drivers/video/sunxi/
Dsunxi_de2.c222 uc_priv->bpix = l2bpp; in sunxi_de2_init()
398 VNBYTES(de2_priv->bpix) * de2_priv->xsize, in sunxi_simplefb_setup()

12