Lines Matching refs:pf
1339 int linesize, PixelFormat pf, int newflags) in qemu_alloc_display() argument
1345 surface->pf = pf; in qemu_alloc_display()
1367 surface->pf = qemu_default_pixelformat(bpp); in qemu_create_displaysurface_from()
1665 PixelFormat pf; in qemu_different_endianness_pixelformat() local
1667 memset(&pf, 0x00, sizeof(PixelFormat)); in qemu_different_endianness_pixelformat()
1669 pf.bits_per_pixel = bpp; in qemu_different_endianness_pixelformat()
1670 pf.bytes_per_pixel = bpp / 8; in qemu_different_endianness_pixelformat()
1671 pf.depth = bpp == 32 ? 24 : bpp; in qemu_different_endianness_pixelformat()
1675 pf.rmask = 0x000000FF; in qemu_different_endianness_pixelformat()
1676 pf.gmask = 0x0000FF00; in qemu_different_endianness_pixelformat()
1677 pf.bmask = 0x00FF0000; in qemu_different_endianness_pixelformat()
1678 pf.rmax = 255; in qemu_different_endianness_pixelformat()
1679 pf.gmax = 255; in qemu_different_endianness_pixelformat()
1680 pf.bmax = 255; in qemu_different_endianness_pixelformat()
1681 pf.rshift = 0; in qemu_different_endianness_pixelformat()
1682 pf.gshift = 8; in qemu_different_endianness_pixelformat()
1683 pf.bshift = 16; in qemu_different_endianness_pixelformat()
1684 pf.rbits = 8; in qemu_different_endianness_pixelformat()
1685 pf.gbits = 8; in qemu_different_endianness_pixelformat()
1686 pf.bbits = 8; in qemu_different_endianness_pixelformat()
1689 pf.rmask = 0x0000FF00; in qemu_different_endianness_pixelformat()
1690 pf.gmask = 0x00FF0000; in qemu_different_endianness_pixelformat()
1691 pf.bmask = 0xFF000000; in qemu_different_endianness_pixelformat()
1692 pf.amask = 0x00000000; in qemu_different_endianness_pixelformat()
1693 pf.amax = 255; in qemu_different_endianness_pixelformat()
1694 pf.rmax = 255; in qemu_different_endianness_pixelformat()
1695 pf.gmax = 255; in qemu_different_endianness_pixelformat()
1696 pf.bmax = 255; in qemu_different_endianness_pixelformat()
1697 pf.ashift = 0; in qemu_different_endianness_pixelformat()
1698 pf.rshift = 8; in qemu_different_endianness_pixelformat()
1699 pf.gshift = 16; in qemu_different_endianness_pixelformat()
1700 pf.bshift = 24; in qemu_different_endianness_pixelformat()
1701 pf.rbits = 8; in qemu_different_endianness_pixelformat()
1702 pf.gbits = 8; in qemu_different_endianness_pixelformat()
1703 pf.bbits = 8; in qemu_different_endianness_pixelformat()
1704 pf.abits = 8; in qemu_different_endianness_pixelformat()
1709 return pf; in qemu_different_endianness_pixelformat()
1714 PixelFormat pf; in qemu_default_pixelformat() local
1716 memset(&pf, 0x00, sizeof(PixelFormat)); in qemu_default_pixelformat()
1718 pf.bits_per_pixel = bpp; in qemu_default_pixelformat()
1719 pf.bytes_per_pixel = bpp / 8; in qemu_default_pixelformat()
1720 pf.depth = bpp == 32 ? 24 : bpp; in qemu_default_pixelformat()
1724 pf.bits_per_pixel = 16; in qemu_default_pixelformat()
1725 pf.bytes_per_pixel = 2; in qemu_default_pixelformat()
1726 pf.rmask = 0x00007c00; in qemu_default_pixelformat()
1727 pf.gmask = 0x000003E0; in qemu_default_pixelformat()
1728 pf.bmask = 0x0000001F; in qemu_default_pixelformat()
1729 pf.rmax = 31; in qemu_default_pixelformat()
1730 pf.gmax = 31; in qemu_default_pixelformat()
1731 pf.bmax = 31; in qemu_default_pixelformat()
1732 pf.rshift = 10; in qemu_default_pixelformat()
1733 pf.gshift = 5; in qemu_default_pixelformat()
1734 pf.bshift = 0; in qemu_default_pixelformat()
1735 pf.rbits = 5; in qemu_default_pixelformat()
1736 pf.gbits = 5; in qemu_default_pixelformat()
1737 pf.bbits = 5; in qemu_default_pixelformat()
1740 pf.rmask = 0x0000F800; in qemu_default_pixelformat()
1741 pf.gmask = 0x000007E0; in qemu_default_pixelformat()
1742 pf.bmask = 0x0000001F; in qemu_default_pixelformat()
1743 pf.rmax = 31; in qemu_default_pixelformat()
1744 pf.gmax = 63; in qemu_default_pixelformat()
1745 pf.bmax = 31; in qemu_default_pixelformat()
1746 pf.rshift = 11; in qemu_default_pixelformat()
1747 pf.gshift = 5; in qemu_default_pixelformat()
1748 pf.bshift = 0; in qemu_default_pixelformat()
1749 pf.rbits = 5; in qemu_default_pixelformat()
1750 pf.gbits = 6; in qemu_default_pixelformat()
1751 pf.bbits = 5; in qemu_default_pixelformat()
1754 pf.rmask = 0x00FF0000; in qemu_default_pixelformat()
1755 pf.gmask = 0x0000FF00; in qemu_default_pixelformat()
1756 pf.bmask = 0x000000FF; in qemu_default_pixelformat()
1757 pf.rmax = 255; in qemu_default_pixelformat()
1758 pf.gmax = 255; in qemu_default_pixelformat()
1759 pf.bmax = 255; in qemu_default_pixelformat()
1760 pf.rshift = 16; in qemu_default_pixelformat()
1761 pf.gshift = 8; in qemu_default_pixelformat()
1762 pf.bshift = 0; in qemu_default_pixelformat()
1763 pf.rbits = 8; in qemu_default_pixelformat()
1764 pf.gbits = 8; in qemu_default_pixelformat()
1765 pf.bbits = 8; in qemu_default_pixelformat()
1767 pf.rmask = 0x00FF0000; in qemu_default_pixelformat()
1768 pf.gmask = 0x0000FF00; in qemu_default_pixelformat()
1769 pf.bmask = 0x000000FF; in qemu_default_pixelformat()
1770 pf.amax = 255; in qemu_default_pixelformat()
1771 pf.rmax = 255; in qemu_default_pixelformat()
1772 pf.gmax = 255; in qemu_default_pixelformat()
1773 pf.bmax = 255; in qemu_default_pixelformat()
1774 pf.ashift = 24; in qemu_default_pixelformat()
1775 pf.rshift = 16; in qemu_default_pixelformat()
1776 pf.gshift = 8; in qemu_default_pixelformat()
1777 pf.bshift = 0; in qemu_default_pixelformat()
1778 pf.rbits = 8; in qemu_default_pixelformat()
1779 pf.gbits = 8; in qemu_default_pixelformat()
1780 pf.bbits = 8; in qemu_default_pixelformat()
1781 pf.abits = 8; in qemu_default_pixelformat()
1786 return pf; in qemu_default_pixelformat()
1821 surface->pf = qemu_default_pixelformat(bitspp); in android_display_reset()