Searched refs:log2_bpp (Results 1 - 3 of 3) sorted by relevance

/u-boot/arch/sandbox/include/asm/
H A Dsdl.h19 * @log2_bpp: Log to base 2 of the number of bits per pixel. So a 32bpp
26 int sandbox_sdl_init_display(int width, int height, int log2_bpp,
108 static inline int sandbox_sdl_init_display(int width, int height, int log2_bpp, argument
/u-boot/arch/sandbox/cpu/
H A Dsdl.c124 int sandbox_sdl_init_display(int width, int height, int log2_bpp, argument
155 sdl.src_depth = 1 << log2_bpp;
156 if (log2_bpp != 4 && log2_bpp != 5)
157 log2_bpp = 5;
158 sdl.depth = 1 << log2_bpp;
177 sdl.texture = SDL_CreateTexture(sdl.renderer, log2_bpp == 4 ?
/u-boot/drivers/video/tegra20/
H A Dtegra-dc.c42 enum video_log2_bpp log2_bpp; /* colour depth */ member in struct:tegra_lcd_priv
271 win->stride = priv->width * (1 << priv->log2_bpp) / 8;
272 debug("%s: depth = %d\n", __func__, priv->log2_bpp);
273 switch (priv->log2_bpp) {
431 uc_priv->bpix = priv->log2_bpp;
517 priv->log2_bpp = VIDEO_BPP16;

Completed in 97 milliseconds