| /freebsd/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_fbd.c | 58 #define FB_DEPTH 24 88 if (fb->bpp < FB_DEPTH) { in bcm_fb_init() 89 device_printf(sc->dev, "changing fb bpp from %d to %d\n", in bcm_fb_init() 90 fb->bpp, FB_DEPTH); in bcm_fb_init() 91 fb->bpp = FB_DEPTH; in bcm_fb_init() 93 device_printf(sc->dev, "keeping existing fb bpp of %d\n", in bcm_fb_init() 94 fb->bpp); in bcm_fb_init() 126 sc->info.fb_bpp = sc->info.fb_depth = fb.bpp; in bcm_fb_setup_fbd() 137 case 24: in bcm_fb_setup_fbd() 163 fb.vxres, fb.vyres, fb.xoffset, fb.yoffset, fb.bpp); in bcm_fb_setup_fbd()
|
| H A D | bcm2835_fb.c | 88 #define FB_DEPTH 24 157 fb.bpp = FB_DEPTH; in bcm_fb_attach() 167 sc->depth = fb.bpp; in bcm_fb_attach() 180 fb.vxres, fb.vyres, fb.xoffset, fb.yoffset, fb.bpp); in bcm_fb_attach() 377 case 24: in bcmrend_draw_cursor() 752 int size, int bpp, int bit_ltor, int byte_ltor) in bcmfb_putp() argument 792 case 24: in bcmfb_putc()
|
| /freebsd/sys/contrib/device-tree/Bindings/media/i2c/ |
| H A D | tda1997x.txt | 6 - RGB 8bit per color (24 bits total): R[11:4] B[11:4] G[11:4] 7 - YUV444 8bit per color (24 bits total): Y[11:4] Cr[11:4] Cb[11:4] 10 - YUV422 semi-planar 12bit per component (24 bits total): - Y[11:0] CbCr[11:0] 18 - YUV422 semi-planar 12bit per component (24 bits total): Y[11:0] CbCr[11:0] 76 * The 8bpp YUV422 semi-planar mode outputs CbCr[11:4] 118 * The 8bpp YUV422 semi-planar mode outputs CbCr[11:4] 160 * The 8bpp BT656 mode outputs YCbCr[11:4] across 8bits over
|
| /freebsd/contrib/pnglite/ |
| H A D | pnglite.c | 29 (PNG_32b(b1, 24) | PNG_32b(b2, 16) | PNG_32b(b3, 8) | PNG_32b(b4, 0)) 74 int bpp; in png_get_bpp() local 78 bpp = 1; break; in png_get_bpp() 80 bpp = 3; break; in png_get_bpp() 82 bpp = 1; break; in png_get_bpp() 84 bpp = 2; break; in png_get_bpp() 86 bpp = 4; break; in png_get_bpp() 91 bpp *= png->depth / 8; in png_get_bpp() 93 return (bpp); in png_get_bpp() 201 png->bpp = (uint8_t)result; in png_open() [all …]
|
| /freebsd/sys/arm/ti/am335x/ |
| H A D | am335x_lcd.c | 94 #define RASTER_CTRL_STN565 (1 << 24) 108 #define RASTER_TIMING_0_HBP_SHIFT 24 114 #define RASTER_TIMING_1_VBP_SHIFT 24 122 #define RASTER_TIMING_2_PHSVS_RISE (1 << 24) 123 #define RASTER_TIMING_2_PHSVS_FALL (0 << 24) 504 "bpp", &panel->bpp); in am335x_read_panel_info() 643 dma_size = round_page(sc->sc_panel.panel_width*sc->sc_panel.panel_height*sc->sc_panel.bpp/8); in am335x_lcd_configure() 681 sc->sc_fb_size = sc->sc_panel.panel_width*sc->sc_panel.panel_height*sc->sc_panel.bpp/8; in am335x_lcd_configure() 787 if (sc->sc_panel.bpp >= 24) in am335x_lcd_configure() 789 if (sc->sc_panel.bpp == 32) in am335x_lcd_configure() [all …]
|
| H A D | am335x_lcd_syscons.c | 115 #define FB_DEPTH 24 295 case 24: in am335x_rend_draw_cursor() 662 int size, int bpp, int bit_ltor, int byte_ltor) in am335x_syscons_putp() argument 709 case 24: in am335x_syscons_putc() 759 va_sc->depth = panel->bpp; in am335x_lcd_syscons_setup() 760 va_sc->stride = panel->bpp*panel->panel_width/8; in am335x_lcd_syscons_setup()
|
| /freebsd/sys/dev/vt/hw/fb/ |
| H A D | vt_fb.c | 286 int bpp, bpl, xi, yi; in vt_fb_bitblt_bitmap() local 290 bpp = FBTYPE_GET_BYTESPP(info); in vt_fb_bitblt_bitmap() 318 o = (y + yi) * info->fb_stride + (x + xi) * bpp; in vt_fb_bitblt_bitmap() 322 switch(bpp) { in vt_fb_bitblt_bitmap() 351 int bpp, xi, yi; in vt_fb_bitblt_argb() local 354 bpp = FBTYPE_GET_BYTESPP(info); in vt_fb_bitblt_argb() 355 if (bpp != 4) in vt_fb_bitblt_argb() 376 o = (y + yi) * info->fb_stride + (x + (xi / 4)) * bpp; in vt_fb_bitblt_argb() 381 (argb[yi * width * 4 + xi + 3] << 24); in vt_fb_bitblt_argb() 507 case 24: in vt_fb_init_colors()
|
| /freebsd/stand/common/ |
| H A D | gfx_fb.c | 44 * 32-bit to/from 24-bit is also simple - we just drop the alpha channel. 67 * - RGB (16/24/32) - 334 for (gray = 0; gray < 24; gray++) { in rgb_color_map() 346 * For 8, 24 and 32 bit depth, use mask size 8. 354 int roff, goff, boff, bpp; in gfx_fb_color_map() local 359 bpp = roundup2(gfx_state.tg_fb.fb_bpp, 8) >> 3; in gfx_fb_color_map() 361 if (bpp == 2) in gfx_fb_color_map() 366 if (bpp == 2) in gfx_fb_color_map() 371 if (bpp == 2) in gfx_fb_color_map() 485 uint32_t data, bpp, pitch, y, x; in gfxfb_blt_fill() local [all …]
|
| /freebsd/sys/dev/drm2/ |
| H A D | drm_fourcc.h | 28 ((__u32)(c) << 16) | ((__u32)(d) << 24)) 35 /* 8 bpp RGB */ 39 /* 16 bpp RGB */ 63 /* 24 bpp RGB */ 67 /* 32 bpp RGB */
|
| H A D | drm_crtc.c | 2076 uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth) in drm_mode_legacy_fb_format() argument 2080 switch (bpp) { in drm_mode_legacy_fb_format() 2090 case 24: in drm_mode_legacy_fb_format() 2094 if (depth == 24) in drm_mode_legacy_fb_format() 2102 DRM_ERROR("bad bpp, assuming x8r8g8b8 pixel format\n"); in drm_mode_legacy_fb_format() 2142 r.pixel_format = drm_mode_legacy_fb_format(or->bpp, or->depth); in drm_mode_addfb() 2453 r->bpp = fb->bits_per_pixel; in drm_mode_getfb() 3683 int *bpp) in drm_fb_get_bpp_depth() argument 3690 *bpp = 8; in drm_fb_get_bpp_depth() 3701 *bpp = 16; in drm_fb_get_bpp_depth() [all …]
|
| H A D | drm_fb_helper.c | 688 DRM_DEBUG("fb userspace requested width/height/bpp is greater than current fb " 701 depth = (var->transp.length > 0) ? 32 : 24; 739 case 24: 757 var->transp.offset = 24; 850 sizes.surface_depth = 24; in drm_fb_helper_single_fb_probe() 856 for both depth/bpp */ in drm_fb_helper_single_fb_probe() 868 switch (cmdline_mode->bpp) { in drm_fb_helper_single_fb_probe() 879 case 24: in drm_fb_helper_single_fb_probe() 880 sizes.surface_depth = sizes.surface_bpp = 24; in drm_fb_helper_single_fb_probe() 883 sizes.surface_depth = 24; in drm_fb_helper_single_fb_probe() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/display/bridge/ |
| H A D | fsl,imx8qxp-ldb.yaml | 19 For i.MX8qxp LDB, each channel supports up to 24bpp parallel input color 27 For i.MX8qm LDB, each channel additionally supports up to 30bpp parallel
|
| /freebsd/contrib/file/magic/Magdir/ |
| H A D | images | 25 # `xv' recognizes only a subset of the following (RGB with pixelsize = 24) 30 # and Color Map Entry Size 0 15 16 24 32 47 # skip arches.3200 , Finder.Root , Slp.1 by looking for low pixel depth 1 8 15 16 24 32 59 >>>>>16 ubyte 24 98 # Image Pixel depth 1 8 15 16 24 32 521 >24 string \x00\x00\x00\x0DIHDR PNG image data (CgBI) 630 >4 long 1 \b, rectangular 24-bit 632 >4 long 3 \b, rectangular 32-bit (24-bit with matte) 688 >24 string SunGKS \b, SunGKS 853 >>24 ulelong >0 \b, resolution %d x [all …]
|
| /freebsd/sys/sys/ |
| H A D | buf.h | 251 "\24iostarted\23invalonerr\22clusterok\21malloc\20nocache\17b14" \ 557 #define bread(vp, blkno, size, cred, bpp) \ argument 559 NULL, bpp) 560 #define bread_gb(vp, blkno, size, cred, gbflags, bpp) \ argument 562 gbflags, NULL, bpp) 563 #define breadn(vp, blkno, size, rablkno, rabsize, cnt, cred, bpp) \ argument 565 0, NULL, bpp) 586 int slpflag, int slptimeo, int flags, struct buf **bpp);
|
| /freebsd/sys/arm/nvidia/drm2/ |
| H A D | tegra_dc.c | 354 uint32_t h_offset, v_offset, h_size, v_size, bpp; in dc_setup_window() local 364 printf(" bpp: %d, color_mode: %d, swap: %d\n", in dc_setup_window() 369 bpp = win->is_yuv_planar ? 1 : 2; in dc_setup_window() 371 bpp = (win->bits_per_pixel + 7) / 8; in dc_setup_window() 374 h_size = win->src_w * bpp; in dc_setup_window() 377 h_size = win->src_h * bpp; in dc_setup_window() 381 h_offset = win->src_x * bpp; in dc_setup_window() 384 h_offset += win->src_w * bpp - 1; in dc_setup_window() 413 printf(" bpp: %d, size: h: %d v: %d, offset: h:%d v: %d\n", in dc_setup_window() 414 bpp, h_size, v_size, h_offset, v_offset); in dc_setup_window() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/display/ |
| H A D | arm,pl11x.txt | 80 max-memory-bandwidth = <94371840>; /* Bps, 1024x768@60 16bpp */ 103 hfront-porch = <24>;
|
| /freebsd/sys/contrib/device-tree/src/arm/arm/ |
| H A D | integratorcp.dts | 87 /* 24 MHz chrystal on the core module */ 124 /* The KMI clock is the 24 MHz oscillator divided to 8MHz */ 133 /* The timer clock is the 24 MHz oscillator divided to 1MHz */ 137 clock-div = <24>; 277 interrupts = <23 24>; 297 /* 640x480 16bpp @ 25.175MHz is 36827428 bytes/s */
|
| H A D | versatile-ab.dts | 151 /* The timer clock is the 24 MHz oscillator divided to 1MHz */ 155 clock-div = <24>; 283 /* 800x600 16bpp @ 36MHz works fine */ 420 interrupts = <24>;
|
| /freebsd/stand/i386/libi386/ |
| H A D | vbe.c | 669 int bpp, ret; in vbe_set_mode() local 688 case 24: in vbe_set_mode() 719 bpp = roundup2(mi.BitsPerPixel, NBBY) / NBBY; in vbe_set_mode() 756 gfx_state.tg_fb.fb_stride = mi.LinBytesPerScanLine / bpp; in vbe_set_mode() 758 gfx_state.tg_fb.fb_stride = mi.BytesPerScanLine / bpp; in vbe_set_mode() 761 bpp; in vbe_set_mode() 768 * dimensions. If depth is not given, walk values 32, 24, 16, 8.
|
| /freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
| H A D | am335x-sbc-t335.dts | 26 bpp = <32>; 51 hfront-porch = <24>;
|
| H A D | am335x-pdu001.dts | 61 bpp = <16>; 293 compatible = "atmel,24c256"; 307 compatible = "atmel,24c02"; 312 compatible = "atmel,24c02";
|
| /freebsd/sys/dev/fb/ |
| H A D | splash_bmp.c | 220 u_char depth; /* image depth (1, 4, 8, 24 bits) */ 221 u_char sdepth; /* screen depth (1, 4, 8 bpp) */ 578 /* XXX: this is ugly, but necessary for EGA/VGA 1bpp/4bpp modes */ in bmp_Draw()
|
| /freebsd/usr.sbin/bhyve/ |
| H A D | rfb.c | 161 uint8_t bpp; member 277 sinfo.pixfmt.bpp = 32; in rfb_send_server_init_msg() 354 if (pixfmt_msg.pixfmt.bpp != 32 || pixfmt_msg.pixfmt.truecolor != 1) { in rfb_recv_set_pixfmt_msg() 355 WPRINTF(("rfb: pixfmt unsupported bitdepth bpp: %d " in rfb_recv_set_pixfmt_msg() 357 pixfmt_msg.pixfmt.bpp, pixfmt_msg.pixfmt.truecolor)); in rfb_recv_set_pixfmt_msg() 952 /* Determine if its time to push screen; ~24hz */ in rfb_wr_thr()
|
| /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
| H A D | imx6qdl-gw551x.dtsi | 309 compatible = "atmel,24c02"; 315 compatible = "atmel,24c02"; 321 compatible = "atmel,24c02"; 327 compatible = "atmel,24c02"; 434 gpio_exp: pca9555@24 { 457 * The 8bpp YUV422 semi-planar mode outputs CbCr[11:4]
|
| /freebsd/sys/dev/syscons/ |
| H A D | scvidctl.c | 440 * - 4 bpp planar modes whose memory size does not exceed 64K in sc_support_pixel_mode() 441 * - 15, 16, 24 and 32 bpp linear modes in sc_support_pixel_mode() 457 info->vi_depth != 24 && info->vi_depth != 32) in sc_support_pixel_mode()
|