Home
last modified time | relevance | path

Searched refs:palette_size (Results 1 – 20 of 20) sorted by relevance

/openbmc/qemu/ui/
H A Dvnc-enc-zrle.c144 if (palette_size(palette) < 128) { in zrle_choose_palette_rle()
147 palette_rle_bytes = (bpp_out / 8) * palette_size(palette); in zrle_choose_palette_rle()
156 if (palette_size(palette) < 17) { in zrle_choose_palette_rle()
159 packed_bytes = (bpp_out / 8) * palette_size(palette); in zrle_choose_palette_rle()
161 bits_per_packed_pixel[palette_size(palette)-1] / 8; in zrle_choose_palette_rle()
H A Dvnc-palette.c108 size_t palette_size(const VncPalette *palette) in palette_size() function
156 return palette_size(palette); in palette_fill()
H A Dvnc-enc-zrle.c.inc129 if (palette_size(palette) == 1) {
145 size_t size = palette_size(palette);
206 assert (palette_size(palette) < 17);
208 bppp = bits_per_packed_pixel[palette_size(palette)-1];
H A Dvnc-palette.h57 size_t palette_size(const VncPalette *palette);
H A Dvnc-enc-tight.c413 return palette_size(palette); \
1091 colors = palette_size(palette); in send_palette_rect()
1100 size_t old_offset, offset, palette_sz = palette_size(palette); in send_palette_rect()
1118 size_t palette_sz = palette_size(palette); in send_palette_rect()
1335 palette_size(palette)); in send_png_rect()
1341 png_set_PLTE(png_ptr, info_ptr, png_palette, palette_size(palette)); in send_png_rect()
/openbmc/linux/drivers/video/fbdev/
H A Dvt8500lcdfb.h13 size_t palette_size; member
H A Dacornfb.c270 if (regno >= current_par.palette_size) in acornfb_setcolreg()
524 current_par.palette_size = 2; in acornfb_set_par()
528 current_par.palette_size = 4; in acornfb_set_par()
532 current_par.palette_size = 16; in acornfb_set_par()
536 current_par.palette_size = VIDC_PALETTE_SIZE; in acornfb_set_par()
541 current_par.palette_size = 32; in acornfb_set_par()
545 current_par.palette_size = VIDC_PALETTE_SIZE; in acornfb_set_par()
1016 current_par.palette_size = VIDC_PALETTE_SIZE; in acornfb_probe()
H A Dvt8500lcdfb.c362 fbi->palette_size = PAGE_ALIGN(512); in vt8500lcd_probe()
364 fbi->palette_size, in vt8500lcd_probe()
432 dma_free_coherent(&pdev->dev, fbi->palette_size, in vt8500lcd_probe()
457 dma_free_coherent(&pdev->dev, fbi->palette_size, in vt8500lcd_remove()
H A Dsa1100fb.h52 u_int palette_size; member
H A Dacornfb.h47 unsigned int palette_size; member
H A Dpxafb.h125 u_int palette_size; member
H A Dsa1100fb.c275 if (regno < fbi->palette_size) { in sa1100fb_setpalettereg()
459 fbi->palette_size = var->bits_per_pixel == 8 ? 256 : 16; in sa1100fb_set_par()
461 palette_mem_size = fbi->palette_size * sizeof(u16); in sa1100fb_set_par()
544 for (i = 0; i < fbi->palette_size; i++) in sa1100fb_blank()
H A Dimxfb.c177 u_int palette_size; member
285 if (regno < fbi->palette_size) { in imxfb_setpalettereg()
505 fbi->palette_size = var->bits_per_pixel == 8 ? 256 : 16; in imxfb_set_par()
H A Dpxafb.c148 if (regno >= fbi->palette_size) in pxafb_setpalettereg()
520 fbi->palette_size = 0; in pxafb_set_par()
522 fbi->palette_size = var->bits_per_pixel == 1 ? in pxafb_set_par()
583 for (i = 0; i < fbi->palette_size; i++) in pxafb_blank()
1090 pal_desc->ldcmd = fbi->palette_size * sizeof(u16); in setup_frame_dma()
1092 pal_desc->ldcmd = fbi->palette_size * sizeof(u32); in setup_frame_dma()
H A Ds3c-fb.c1178 int palette_size; in s3c_fb_probe_win() local
1185 palette_size = variant->palette_sz * 4; in s3c_fb_probe_win()
1188 palette_size * sizeof(u32), sfb->dev); in s3c_fb_probe_win()
/openbmc/linux/drivers/video/fbdev/omap/
H A Dlcdc.c55 int palette_size; member
316 lcdc.palette_size = 512; in omap_lcdc_setup_plane()
321 lcdc.palette_size = 32; in omap_lcdc_setup_plane()
326 lcdc.palette_size = 32; in omap_lcdc_setup_plane()
393 lcdc.palette_size / 4 + 1, 1, OMAP_DMA_DATA_TYPE_S32); in load_palette()
H A Domapfb.h201 int palette_size; member
/openbmc/u-boot/drivers/video/
H A Dpxa_lcd.c366 if (regno < fbi->palette_size) { in lcd_setcolreg()
417 fbi->palette_size = NBITS(vid->vl_bpix) == 8 ? 256 : 16; in pxafb_init_mem()
418 palette_mem_size = fbi->palette_size * sizeof(u16); in pxafb_init_mem()
575 fbi->dmadesc_palette->ldcmd = (fbi->palette_size * 2) | LDCMD_PAL; in pxafb_init()
/openbmc/u-boot/tools/easylogo/
H A Deasylogo.c53 int width, height, pixels, bpp, pixel_size, size, palette_size, yuyv; member
176 image->palette_size = 0; in image_load_tga()
259 yuyv_image->palette_size = 0; in image_rgb_to_yuyv()
295 rgb565_image->palette_size = 0; in image_rgb888_to_rgb565()
/openbmc/u-boot/include/
H A Dpxa_lcd.h41 u_int palette_size; member