Home
last modified time | relevance | path

Searched refs:scanline (Results 1 – 4 of 4) sorted by relevance

/rk3399_rockchip-uboot/drivers/video/drm/
H A Dlibnsbmp.c515 uint32_t *scanline; in bmp_decode_rgb32() local
544 scanline = (void *)(top + (y * swidth)); in bmp_decode_rgb32()
546 scanline = (void *)(bottom - (y * swidth)); in bmp_decode_rgb32()
552scanline[x] |= ((word & bmp->mask[i]) << bmp->shift[i]); in bmp_decode_rgb32()
554scanline[x] |= ((word & bmp->mask[i]) >> (-bmp->shift[i])); in bmp_decode_rgb32()
557 scanline[x] |= ((unsigned)0xff << 24); in bmp_decode_rgb32()
559 scanline[x] = read_uint32((uint8_t *)&scanline[x],0); in bmp_decode_rgb32()
563 scanline[x] = data[2] | (data[1] << 8) | (data[0] << 16); in bmp_decode_rgb32()
564 … if ((bmp->limited_trans) && (scanline[x] == bmp->transparent_index)) { in bmp_decode_rgb32()
565 scanline[x] = bmp->trans_colour; in bmp_decode_rgb32()
[all …]
H A Ddrm_mipi_dsi.c737 int mipi_dsi_dcs_set_tear_scanline(struct mipi_dsi_device *dsi, u16 scanline) in mipi_dsi_dcs_set_tear_scanline() argument
739 u8 payload[3] = { MIPI_DCS_SET_TEAR_SCANLINE, scanline >> 8, in mipi_dsi_dcs_set_tear_scanline()
740 scanline & 0xff }; in mipi_dsi_dcs_set_tear_scanline()
/rk3399_rockchip-uboot/drivers/video/
H A Dstb_truetype.h1721 static void stbtt__fill_active_edges(unsigned char *scanline, int len, stbtt__active_edge *e, int m… in stbtt__fill_active_edges() argument
1740scanline[i] = scanline[i] + (stbtt_uint8) ((x1 - x0) * max_weight >> STBTT_FIXSHIFT); in stbtt__fill_active_edges()
1743scanline[i] = scanline[i] + (stbtt_uint8) (((STBTT_FIX - (x0 & STBTT_FIXMASK)) * max_weight) >> ST… in stbtt__fill_active_edges()
1748scanline[j] = scanline[j] + (stbtt_uint8) (((x1 & STBTT_FIXMASK) * max_weight) >> STBTT_FIXSHIFT); in stbtt__fill_active_edges()
1753 scanline[i] = scanline[i] + (stbtt_uint8) max_weight; in stbtt__fill_active_edges()
1770 unsigned char scanline_data[512], *scanline; in stbtt__rasterize_sorted_edges() local
1773 scanline = (unsigned char *) STBTT_malloc(result->w, userdata); in stbtt__rasterize_sorted_edges()
1775 scanline = scanline_data; in stbtt__rasterize_sorted_edges()
1781 STBTT_memset(scanline, 0, result->w); in stbtt__rasterize_sorted_edges()
1847 stbtt__fill_active_edges(scanline, result->w, active, max_weight); in stbtt__rasterize_sorted_edges()
[all …]
/rk3399_rockchip-uboot/include/drm/
H A Ddrm_mipi_dsi.h251 int mipi_dsi_dcs_set_tear_scanline(struct mipi_dsi_device *dsi, u16 scanline);