Lines Matching full:low

548 inline uint32_t getBits(uint64_t src, int low, int high)  in getBits()  argument
550 const int numBits = (high - low) + 1; in getBits()
553 return (uint32_t)((src >> low) & ((1u << numBits) - 1)); in getBits()
555 return (uint32_t)((src >> low) & 0xFFFFFFFFu); in getBits()
1389 inline uint32_t getBits128(uint64_t low, uint64_t high, uint32_t first, uint32_t last) in getBits128() argument
1391 const uint64_t d[2] = {low, high}; in getBits128()
1420 const uint32_t data0 = (uint32_t)(low >> first) & mask0; in getBits128()
1775 const uint64_t low = ((uint64_t *)src)[0]; in decompressBc6H() local
1777 const uint32_t d = mode < 10 ? getBits128(low, high, 77, 81) : 0; in decompressBc6H()
1788 g[2] |= getBits128(low, high, 2, 2) << 4; in decompressBc6H()
1789 b[2] |= getBits128(low, high, 3, 3) << 4; in decompressBc6H()
1790 b[3] |= getBits128(low, high, 4, 4) << 4; in decompressBc6H()
1791 r[0] |= getBits128(low, high, 5, 14); in decompressBc6H()
1792 g[0] |= getBits128(low, high, 15, 24); in decompressBc6H()
1793 b[0] |= getBits128(low, high, 25, 34); in decompressBc6H()
1794 r[1] |= getBits128(low, high, 35, 39); in decompressBc6H()
1795 g[3] |= getBits128(low, high, 40, 40) << 4; in decompressBc6H()
1796 g[2] |= getBits128(low, high, 41, 44); in decompressBc6H()
1797 g[1] |= getBits128(low, high, 45, 49); in decompressBc6H()
1798 b[3] |= getBits128(low, high, 50, 50); in decompressBc6H()
1799 g[3] |= getBits128(low, high, 51, 54); in decompressBc6H()
1800 b[1] |= getBits128(low, high, 55, 59); in decompressBc6H()
1801 b[3] |= getBits128(low, high, 60, 60) << 1; in decompressBc6H()
1802 b[2] |= getBits128(low, high, 61, 64); in decompressBc6H()
1803 r[2] |= getBits128(low, high, 65, 69); in decompressBc6H()
1804 b[3] |= getBits128(low, high, 70, 70) << 2; in decompressBc6H()
1805 r[3] |= getBits128(low, high, 71, 75); in decompressBc6H()
1806 b[3] |= getBits128(low, high, 76, 76) << 3; in decompressBc6H()
1811 g[2] |= getBits128(low, high, 2, 2) << 5; in decompressBc6H()
1812 g[3] |= getBits128(low, high, 3, 3) << 4; in decompressBc6H()
1813 g[3] |= getBits128(low, high, 4, 4) << 5; in decompressBc6H()
1814 r[0] |= getBits128(low, high, 5, 11); in decompressBc6H()
1815 b[3] |= getBits128(low, high, 12, 12); in decompressBc6H()
1816 b[3] |= getBits128(low, high, 13, 13) << 1; in decompressBc6H()
1817 b[2] |= getBits128(low, high, 14, 14) << 4; in decompressBc6H()
1818 g[0] |= getBits128(low, high, 15, 21); in decompressBc6H()
1819 b[2] |= getBits128(low, high, 22, 22) << 5; in decompressBc6H()
1820 b[3] |= getBits128(low, high, 23, 23) << 2; in decompressBc6H()
1821 g[2] |= getBits128(low, high, 24, 24) << 4; in decompressBc6H()
1822 b[0] |= getBits128(low, high, 25, 31); in decompressBc6H()
1823 b[3] |= getBits128(low, high, 32, 32) << 3; in decompressBc6H()
1824 b[3] |= getBits128(low, high, 33, 33) << 5; in decompressBc6H()
1825 b[3] |= getBits128(low, high, 34, 34) << 4; in decompressBc6H()
1826 r[1] |= getBits128(low, high, 35, 40); in decompressBc6H()
1827 g[2] |= getBits128(low, high, 41, 44); in decompressBc6H()
1828 g[1] |= getBits128(low, high, 45, 50); in decompressBc6H()
1829 g[3] |= getBits128(low, high, 51, 54); in decompressBc6H()
1830 b[1] |= getBits128(low, high, 55, 60); in decompressBc6H()
1831 b[2] |= getBits128(low, high, 61, 64); in decompressBc6H()
1832 r[2] |= getBits128(low, high, 65, 70); in decompressBc6H()
1833 r[3] |= getBits128(low, high, 71, 76); in decompressBc6H()
1838 r[0] |= getBits128(low, high, 5, 14); in decompressBc6H()
1839 g[0] |= getBits128(low, high, 15, 24); in decompressBc6H()
1840 b[0] |= getBits128(low, high, 25, 34); in decompressBc6H()
1841 r[1] |= getBits128(low, high, 35, 39); in decompressBc6H()
1842 r[0] |= getBits128(low, high, 40, 40) << 10; in decompressBc6H()
1843 g[2] |= getBits128(low, high, 41, 44); in decompressBc6H()
1844 g[1] |= getBits128(low, high, 45, 48); in decompressBc6H()
1845 g[0] |= getBits128(low, high, 49, 49) << 10; in decompressBc6H()
1846 b[3] |= getBits128(low, high, 50, 50); in decompressBc6H()
1847 g[3] |= getBits128(low, high, 51, 54); in decompressBc6H()
1848 b[1] |= getBits128(low, high, 55, 58); in decompressBc6H()
1849 b[0] |= getBits128(low, high, 59, 59) << 10; in decompressBc6H()
1850 b[3] |= getBits128(low, high, 60, 60) << 1; in decompressBc6H()
1851 b[2] |= getBits128(low, high, 61, 64); in decompressBc6H()
1852 r[2] |= getBits128(low, high, 65, 69); in decompressBc6H()
1853 b[3] |= getBits128(low, high, 70, 70) << 2; in decompressBc6H()
1854 r[3] |= getBits128(low, high, 71, 75); in decompressBc6H()
1855 b[3] |= getBits128(low, high, 76, 76) << 3; in decompressBc6H()
1861 r[0] |= getBits128(low, high, 5, 14); in decompressBc6H()
1862 g[0] |= getBits128(low, high, 15, 24); in decompressBc6H()
1863 b[0] |= getBits128(low, high, 25, 34); in decompressBc6H()
1864 r[1] |= getBits128(low, high, 35, 38); in decompressBc6H()
1865 r[0] |= getBits128(low, high, 39, 39) << 10; in decompressBc6H()
1866 g[3] |= getBits128(low, high, 40, 40) << 4; in decompressBc6H()
1867 g[2] |= getBits128(low, high, 41, 44); in decompressBc6H()
1868 g[1] |= getBits128(low, high, 45, 49); in decompressBc6H()
1869 g[0] |= getBits128(low, high, 50, 50) << 10; in decompressBc6H()
1870 g[3] |= getBits128(low, high, 51, 54); in decompressBc6H()
1871 b[1] |= getBits128(low, high, 55, 58); in decompressBc6H()
1872 b[0] |= getBits128(low, high, 59, 59) << 10; in decompressBc6H()
1873 b[3] |= getBits128(low, high, 60, 60) << 1; in decompressBc6H()
1874 b[2] |= getBits128(low, high, 61, 64); in decompressBc6H()
1875 r[2] |= getBits128(low, high, 65, 68); in decompressBc6H()
1876 b[3] |= getBits128(low, high, 69, 69); in decompressBc6H()
1877 b[3] |= getBits128(low, high, 70, 70) << 2; in decompressBc6H()
1878 r[3] |= getBits128(low, high, 71, 74); in decompressBc6H()
1879 g[2] |= getBits128(low, high, 75, 75) << 4; in decompressBc6H()
1880 b[3] |= getBits128(low, high, 76, 76) << 3; in decompressBc6H()
1886 r[0] |= getBits128(low, high, 5, 14); in decompressBc6H()
1887 g[0] |= getBits128(low, high, 15, 24); in decompressBc6H()
1888 b[0] |= getBits128(low, high, 25, 34); in decompressBc6H()
1889 r[1] |= getBits128(low, high, 35, 38); in decompressBc6H()
1890 r[0] |= getBits128(low, high, 39, 39) << 10; in decompressBc6H()
1891 b[2] |= getBits128(low, high, 40, 40) << 4; in decompressBc6H()
1892 g[2] |= getBits128(low, high, 41, 44); in decompressBc6H()
1893 g[1] |= getBits128(low, high, 45, 48); in decompressBc6H()
1894 g[0] |= getBits128(low, high, 49, 49) << 10; in decompressBc6H()
1895 b[3] |= getBits128(low, high, 50, 50); in decompressBc6H()
1896 g[3] |= getBits128(low, high, 51, 54); in decompressBc6H()
1897 b[1] |= getBits128(low, high, 55, 59); in decompressBc6H()
1898 b[0] |= getBits128(low, high, 60, 60) << 10; in decompressBc6H()
1899 b[2] |= getBits128(low, high, 61, 64); in decompressBc6H()
1900 r[2] |= getBits128(low, high, 65, 68); in decompressBc6H()
1901 b[3] |= getBits128(low, high, 69, 69) << 1; in decompressBc6H()
1902 b[3] |= getBits128(low, high, 70, 70) << 2; in decompressBc6H()
1903 r[3] |= getBits128(low, high, 71, 74); in decompressBc6H()
1904 b[3] |= getBits128(low, high, 75, 75) << 4; in decompressBc6H()
1905 b[3] |= getBits128(low, high, 76, 76) << 3; in decompressBc6H()
1911 r[0] |= getBits128(low, high, 5, 13); in decompressBc6H()
1912 b[2] |= getBits128(low, high, 14, 14) << 4; in decompressBc6H()
1913 g[0] |= getBits128(low, high, 15, 23); in decompressBc6H()
1914 g[2] |= getBits128(low, high, 24, 24) << 4; in decompressBc6H()
1915 b[0] |= getBits128(low, high, 25, 33); in decompressBc6H()
1916 b[3] |= getBits128(low, high, 34, 34) << 4; in decompressBc6H()
1917 r[1] |= getBits128(low, high, 35, 39); in decompressBc6H()
1918 g[3] |= getBits128(low, high, 40, 40) << 4; in decompressBc6H()
1919 g[2] |= getBits128(low, high, 41, 44); in decompressBc6H()
1920 g[1] |= getBits128(low, high, 45, 49); in decompressBc6H()
1921 b[3] |= getBits128(low, high, 50, 50); in decompressBc6H()
1922 g[3] |= getBits128(low, high, 51, 54); in decompressBc6H()
1923 b[1] |= getBits128(low, high, 55, 59); in decompressBc6H()
1924 b[3] |= getBits128(low, high, 60, 60) << 1; in decompressBc6H()
1925 b[2] |= getBits128(low, high, 61, 64); in decompressBc6H()
1926 r[2] |= getBits128(low, high, 65, 69); in decompressBc6H()
1927 b[3] |= getBits128(low, high, 70, 70) << 2; in decompressBc6H()
1928 r[3] |= getBits128(low, high, 71, 75); in decompressBc6H()
1929 b[3] |= getBits128(low, high, 76, 76) << 3; in decompressBc6H()
1934 r[0] |= getBits128(low, high, 5, 12); in decompressBc6H()
1935 g[3] |= getBits128(low, high, 13, 13) << 4; in decompressBc6H()
1936 b[2] |= getBits128(low, high, 14, 14) << 4; in decompressBc6H()
1937 g[0] |= getBits128(low, high, 15, 22); in decompressBc6H()
1938 b[3] |= getBits128(low, high, 23, 23) << 2; in decompressBc6H()
1939 g[2] |= getBits128(low, high, 24, 24) << 4; in decompressBc6H()
1940 b[0] |= getBits128(low, high, 25, 32); in decompressBc6H()
1941 b[3] |= getBits128(low, high, 33, 33) << 3; in decompressBc6H()
1942 b[3] |= getBits128(low, high, 34, 34) << 4; in decompressBc6H()
1943 r[1] |= getBits128(low, high, 35, 40); in decompressBc6H()
1944 g[2] |= getBits128(low, high, 41, 44); in decompressBc6H()
1945 g[1] |= getBits128(low, high, 45, 49); in decompressBc6H()
1946 b[3] |= getBits128(low, high, 50, 50); in decompressBc6H()
1947 g[3] |= getBits128(low, high, 51, 54); in decompressBc6H()
1948 b[1] |= getBits128(low, high, 55, 59); in decompressBc6H()
1949 b[3] |= getBits128(low, high, 60, 60) << 1; in decompressBc6H()
1950 b[2] |= getBits128(low, high, 61, 64); in decompressBc6H()
1951 r[2] |= getBits128(low, high, 65, 70); in decompressBc6H()
1952 r[3] |= getBits128(low, high, 71, 76); in decompressBc6H()
1958 r[0] |= getBits128(low, high, 5, 12); in decompressBc6H()
1959 b[3] |= getBits128(low, high, 13, 13); in decompressBc6H()
1960 b[2] |= getBits128(low, high, 14, 14) << 4; in decompressBc6H()
1961 g[0] |= getBits128(low, high, 15, 22); in decompressBc6H()
1962 g[2] |= getBits128(low, high, 23, 23) << 5; in decompressBc6H()
1963 g[2] |= getBits128(low, high, 24, 24) << 4; in decompressBc6H()
1964 b[0] |= getBits128(low, high, 25, 32); in decompressBc6H()
1965 g[3] |= getBits128(low, high, 33, 33) << 5; in decompressBc6H()
1966 b[3] |= getBits128(low, high, 34, 34) << 4; in decompressBc6H()
1967 r[1] |= getBits128(low, high, 35, 39); in decompressBc6H()
1968 g[3] |= getBits128(low, high, 40, 40) << 4; in decompressBc6H()
1969 g[2] |= getBits128(low, high, 41, 44); in decompressBc6H()
1970 g[1] |= getBits128(low, high, 45, 50); in decompressBc6H()
1971 g[3] |= getBits128(low, high, 51, 54); in decompressBc6H()
1972 b[1] |= getBits128(low, high, 55, 59); in decompressBc6H()
1973 b[3] |= getBits128(low, high, 60, 60) << 1; in decompressBc6H()
1974 b[2] |= getBits128(low, high, 61, 64); in decompressBc6H()
1975 r[2] |= getBits128(low, high, 65, 69); in decompressBc6H()
1976 b[3] |= getBits128(low, high, 70, 70) << 2; in decompressBc6H()
1977 r[3] |= getBits128(low, high, 71, 75); in decompressBc6H()
1978 b[3] |= getBits128(low, high, 76, 76) << 3; in decompressBc6H()
1984 r[0] |= getBits128(low, high, 5, 12); in decompressBc6H()
1985 b[3] |= getBits128(low, high, 13, 13) << 1; in decompressBc6H()
1986 b[2] |= getBits128(low, high, 14, 14) << 4; in decompressBc6H()
1987 g[0] |= getBits128(low, high, 15, 22); in decompressBc6H()
1988 b[2] |= getBits128(low, high, 23, 23) << 5; in decompressBc6H()
1989 g[2] |= getBits128(low, high, 24, 24) << 4; in decompressBc6H()
1990 b[0] |= getBits128(low, high, 25, 32); in decompressBc6H()
1991 b[3] |= getBits128(low, high, 33, 33) << 5; in decompressBc6H()
1992 b[3] |= getBits128(low, high, 34, 34) << 4; in decompressBc6H()
1993 r[1] |= getBits128(low, high, 35, 39); in decompressBc6H()
1994 g[3] |= getBits128(low, high, 40, 40) << 4; in decompressBc6H()
1995 g[2] |= getBits128(low, high, 41, 44); in decompressBc6H()
1996 g[1] |= getBits128(low, high, 45, 49); in decompressBc6H()
1997 b[3] |= getBits128(low, high, 50, 50); in decompressBc6H()
1998 g[3] |= getBits128(low, high, 51, 54); in decompressBc6H()
1999 b[1] |= getBits128(low, high, 55, 60); in decompressBc6H()
2000 b[2] |= getBits128(low, high, 61, 64); in decompressBc6H()
2001 r[2] |= getBits128(low, high, 65, 69); in decompressBc6H()
2002 b[3] |= getBits128(low, high, 70, 70) << 2; in decompressBc6H()
2003 r[3] |= getBits128(low, high, 71, 75); in decompressBc6H()
2004 b[3] |= getBits128(low, high, 76, 76) << 3; in decompressBc6H()
2010 r[0] |= getBits128(low, high, 5, 10); in decompressBc6H()
2011 g[3] |= getBits128(low, high, 11, 11) << 4; in decompressBc6H()
2012 b[3] |= getBits128(low, high, 12, 13); in decompressBc6H()
2013 b[2] |= getBits128(low, high, 14, 14) << 4; in decompressBc6H()
2014 g[0] |= getBits128(low, high, 15, 20); in decompressBc6H()
2015 g[2] |= getBits128(low, high, 21, 21) << 5; in decompressBc6H()
2016 b[2] |= getBits128(low, high, 22, 22) << 5; in decompressBc6H()
2017 b[3] |= getBits128(low, high, 23, 23) << 2; in decompressBc6H()
2018 g[2] |= getBits128(low, high, 24, 24) << 4; in decompressBc6H()
2019 b[0] |= getBits128(low, high, 25, 30); in decompressBc6H()
2020 g[3] |= getBits128(low, high, 31, 31) << 5; in decompressBc6H()
2021 b[3] |= getBits128(low, high, 32, 32) << 3; in decompressBc6H()
2022 b[3] |= getBits128(low, high, 33, 33) << 5; in decompressBc6H()
2023 b[3] |= getBits128(low, high, 34, 34) << 4; in decompressBc6H()
2024 r[1] |= getBits128(low, high, 35, 40); in decompressBc6H()
2025 g[2] |= getBits128(low, high, 41, 44); in decompressBc6H()
2026 g[1] |= getBits128(low, high, 45, 50); in decompressBc6H()
2027 g[3] |= getBits128(low, high, 51, 54); in decompressBc6H()
2028 b[1] |= getBits128(low, high, 55, 60); in decompressBc6H()
2029 b[2] |= getBits128(low, high, 61, 64); in decompressBc6H()
2030 r[2] |= getBits128(low, high, 65, 70); in decompressBc6H()
2031 r[3] |= getBits128(low, high, 71, 76); in decompressBc6H()
2036 r[0] |= getBits128(low, high, 5, 14); in decompressBc6H()
2037 g[0] |= getBits128(low, high, 15, 24); in decompressBc6H()
2038 b[0] |= getBits128(low, high, 25, 34); in decompressBc6H()
2039 r[1] |= getBits128(low, high, 35, 44); in decompressBc6H()
2040 g[1] |= getBits128(low, high, 45, 54); in decompressBc6H()
2041 b[1] |= getBits128(low, high, 55, 64); in decompressBc6H()
2046 r[0] |= getBits128(low, high, 5, 14); in decompressBc6H()
2047 g[0] |= getBits128(low, high, 15, 24); in decompressBc6H()
2048 b[0] |= getBits128(low, high, 25, 34); in decompressBc6H()
2049 r[1] |= getBits128(low, high, 35, 43); in decompressBc6H()
2050 r[0] |= getBits128(low, high, 44, 44) << 10; in decompressBc6H()
2051 g[1] |= getBits128(low, high, 45, 53); in decompressBc6H()
2052 g[0] |= getBits128(low, high, 54, 54) << 10; in decompressBc6H()
2053 b[1] |= getBits128(low, high, 55, 63); in decompressBc6H()
2054 b[0] |= getBits128(low, high, 64, 64) << 10; in decompressBc6H()
2059 r[0] |= getBits128(low, high, 5, 14); in decompressBc6H()
2060 g[0] |= getBits128(low, high, 15, 24); in decompressBc6H()
2061 b[0] |= getBits128(low, high, 25, 34); in decompressBc6H()
2062 r[1] |= getBits128(low, high, 35, 42); in decompressBc6H()
2063 r[0] |= getBits128(low, high, 44, 43) << 10; in decompressBc6H()
2064 g[1] |= getBits128(low, high, 45, 52); in decompressBc6H()
2065 g[0] |= getBits128(low, high, 54, 53) << 10; in decompressBc6H()
2066 b[1] |= getBits128(low, high, 55, 62); in decompressBc6H()
2067 b[0] |= getBits128(low, high, 64, 63) << 10; in decompressBc6H()
2072 r[0] |= getBits128(low, high, 5, 14); in decompressBc6H()
2073 g[0] |= getBits128(low, high, 15, 24); in decompressBc6H()
2074 b[0] |= getBits128(low, high, 25, 34); in decompressBc6H()
2075 r[1] |= getBits128(low, high, 35, 38); in decompressBc6H()
2076 r[0] |= getBits128(low, high, 44, 39) << 10; in decompressBc6H()
2077 g[1] |= getBits128(low, high, 45, 48); in decompressBc6H()
2078 g[0] |= getBits128(low, high, 54, 49) << 10; in decompressBc6H()
2079 b[1] |= getBits128(low, high, 55, 58); in decompressBc6H()
2080 b[0] |= getBits128(low, high, 64, 59) << 10; in decompressBc6H()
2175 const uint64_t low = ((uint64_t *)src)[0]; in decompressBc7() local
2189 partitionSetId = getBits128(low, high, offset, offset + partitionBits[mode] - 1); in decompressBc7()
2196 rotation = getBits128(low, high, offset, offset + 1); in decompressBc7()
2200 idxMode = getBits128(low, high, offset, offset); in decompressBc7()
2218 endpoints[ep][cpnt] = getBits128(low, high, offset, offset + n - 1); in decompressBc7()
2330 …const uint32_t colorIdx = getBits128(low, high, colorIdxOffset, colorIdxOffset + colorIndexBits - … in decompressBc7()
2331 … const uint32_t alphaIdx = (mode == 4 || mode == 5) ? getBits128(low, high, alphaIdxOffset, in decompressBc7()