Mercurial > libavcodec.hg
comparison dsputil.c @ 857:b510a7b6decd libavcodec
100l for kabi (fixing qpel)
author | michaelni |
---|---|
date | Mon, 11 Nov 2002 16:17:25 +0000 |
parents | eacc2dd8fd9d |
children | 43cf04688a38 |
comparison
equal
deleted
inserted
replaced
856:3c6df37177dd | 857:b510a7b6decd |
---|---|
1650 c->avg_no_rnd_pixels_tab[1][0] = avg_no_rnd_pixels8; | 1650 c->avg_no_rnd_pixels_tab[1][0] = avg_no_rnd_pixels8; |
1651 c->avg_no_rnd_pixels_tab[1][1] = avg_no_rnd_pixels8_x2; | 1651 c->avg_no_rnd_pixels_tab[1][1] = avg_no_rnd_pixels8_x2; |
1652 c->avg_no_rnd_pixels_tab[1][2] = avg_no_rnd_pixels8_y2; | 1652 c->avg_no_rnd_pixels_tab[1][2] = avg_no_rnd_pixels8_y2; |
1653 c->avg_no_rnd_pixels_tab[1][3] = avg_no_rnd_pixels8_xy2; | 1653 c->avg_no_rnd_pixels_tab[1][3] = avg_no_rnd_pixels8_xy2; |
1654 | 1654 |
1655 c->put_qpel_pixels_tab[0][ 0]= put_qpel16_mc00_c; | |
1656 c->put_qpel_pixels_tab[0][ 1]= put_qpel16_mc10_c; | |
1657 c->put_qpel_pixels_tab[0][ 2]= put_qpel16_mc20_c; | |
1658 c->put_qpel_pixels_tab[0][ 3]= put_qpel16_mc30_c; | |
1659 c->put_qpel_pixels_tab[0][ 4]= put_qpel16_mc01_c; | |
1660 c->put_qpel_pixels_tab[0][ 5]= put_qpel16_mc11_c; | |
1661 c->put_qpel_pixels_tab[0][ 6]= put_qpel16_mc21_c; | |
1662 c->put_qpel_pixels_tab[0][ 7]= put_qpel16_mc31_c; | |
1663 c->put_qpel_pixels_tab[0][ 8]= put_qpel16_mc02_c; | |
1664 c->put_qpel_pixels_tab[0][ 9]= put_qpel16_mc12_c; | |
1665 c->put_qpel_pixels_tab[0][10]= put_qpel16_mc22_c; | |
1666 c->put_qpel_pixels_tab[0][11]= put_qpel16_mc32_c; | |
1667 c->put_qpel_pixels_tab[0][12]= put_qpel16_mc03_c; | |
1668 c->put_qpel_pixels_tab[0][13]= put_qpel16_mc13_c; | |
1669 c->put_qpel_pixels_tab[0][14]= put_qpel16_mc23_c; | |
1670 c->put_qpel_pixels_tab[0][15]= put_qpel16_mc33_c; | |
1671 | |
1672 c->put_no_rnd_qpel_pixels_tab[0][ 0]= put_no_rnd_qpel16_mc00_c; | |
1673 c->put_no_rnd_qpel_pixels_tab[0][ 1]= put_no_rnd_qpel16_mc10_c; | |
1674 c->put_no_rnd_qpel_pixels_tab[0][ 2]= put_no_rnd_qpel16_mc20_c; | |
1675 c->put_no_rnd_qpel_pixels_tab[0][ 3]= put_no_rnd_qpel16_mc30_c; | |
1676 c->put_no_rnd_qpel_pixels_tab[0][ 4]= put_no_rnd_qpel16_mc01_c; | |
1677 c->put_no_rnd_qpel_pixels_tab[0][ 5]= put_no_rnd_qpel16_mc11_c; | |
1678 c->put_no_rnd_qpel_pixels_tab[0][ 6]= put_no_rnd_qpel16_mc21_c; | |
1679 c->put_no_rnd_qpel_pixels_tab[0][ 7]= put_no_rnd_qpel16_mc31_c; | |
1680 c->put_no_rnd_qpel_pixels_tab[0][ 8]= put_no_rnd_qpel16_mc02_c; | |
1681 c->put_no_rnd_qpel_pixels_tab[0][ 9]= put_no_rnd_qpel16_mc12_c; | |
1682 c->put_no_rnd_qpel_pixels_tab[0][10]= put_no_rnd_qpel16_mc22_c; | |
1683 c->put_no_rnd_qpel_pixels_tab[0][11]= put_no_rnd_qpel16_mc32_c; | |
1684 c->put_no_rnd_qpel_pixels_tab[0][12]= put_no_rnd_qpel16_mc03_c; | |
1685 c->put_no_rnd_qpel_pixels_tab[0][13]= put_no_rnd_qpel16_mc13_c; | |
1686 c->put_no_rnd_qpel_pixels_tab[0][14]= put_no_rnd_qpel16_mc23_c; | |
1687 c->put_no_rnd_qpel_pixels_tab[0][15]= put_no_rnd_qpel16_mc33_c; | |
1688 | |
1689 c->avg_qpel_pixels_tab[0][ 0]= avg_qpel16_mc00_c; | |
1690 c->avg_qpel_pixels_tab[0][ 1]= avg_qpel16_mc10_c; | |
1691 c->avg_qpel_pixels_tab[0][ 2]= avg_qpel16_mc20_c; | |
1692 c->avg_qpel_pixels_tab[0][ 3]= avg_qpel16_mc30_c; | |
1693 c->avg_qpel_pixels_tab[0][ 4]= avg_qpel16_mc01_c; | |
1694 c->avg_qpel_pixels_tab[0][ 5]= avg_qpel16_mc11_c; | |
1695 c->avg_qpel_pixels_tab[0][ 6]= avg_qpel16_mc21_c; | |
1696 c->avg_qpel_pixels_tab[0][ 7]= avg_qpel16_mc31_c; | |
1697 c->avg_qpel_pixels_tab[0][ 8]= avg_qpel16_mc02_c; | |
1698 c->avg_qpel_pixels_tab[0][ 9]= avg_qpel16_mc12_c; | |
1699 c->avg_qpel_pixels_tab[0][10]= avg_qpel16_mc22_c; | |
1700 c->avg_qpel_pixels_tab[0][11]= avg_qpel16_mc32_c; | |
1701 c->avg_qpel_pixels_tab[0][12]= avg_qpel16_mc03_c; | |
1702 c->avg_qpel_pixels_tab[0][13]= avg_qpel16_mc13_c; | |
1703 c->avg_qpel_pixels_tab[0][14]= avg_qpel16_mc23_c; | |
1704 c->avg_qpel_pixels_tab[0][15]= avg_qpel16_mc33_c; | |
1705 /* | |
1706 c->avg_no_rnd_qpel_pixels_tab[0][ 0]= avg_no_rnd_qpel16_mc00_c; | |
1707 c->avg_no_rnd_qpel_pixels_tab[0][ 1]= avg_no_rnd_qpel16_mc10_c; | |
1708 c->avg_no_rnd_qpel_pixels_tab[0][ 2]= avg_no_rnd_qpel16_mc20_c; | |
1709 c->avg_no_rnd_qpel_pixels_tab[0][ 3]= avg_no_rnd_qpel16_mc30_c; | |
1710 c->avg_no_rnd_qpel_pixels_tab[0][ 4]= avg_no_rnd_qpel16_mc01_c; | |
1711 c->avg_no_rnd_qpel_pixels_tab[0][ 5]= avg_no_rnd_qpel16_mc11_c; | |
1712 c->avg_no_rnd_qpel_pixels_tab[0][ 6]= avg_no_rnd_qpel16_mc21_c; | |
1713 c->avg_no_rnd_qpel_pixels_tab[0][ 7]= avg_no_rnd_qpel16_mc31_c; | |
1714 c->avg_no_rnd_qpel_pixels_tab[0][ 8]= avg_no_rnd_qpel16_mc02_c; | |
1715 c->avg_no_rnd_qpel_pixels_tab[0][ 9]= avg_no_rnd_qpel16_mc12_c; | |
1716 c->avg_no_rnd_qpel_pixels_tab[0][10]= avg_no_rnd_qpel16_mc22_c; | |
1717 c->avg_no_rnd_qpel_pixels_tab[0][11]= avg_no_rnd_qpel16_mc32_c; | |
1718 c->avg_no_rnd_qpel_pixels_tab[0][12]= avg_no_rnd_qpel16_mc03_c; | |
1719 c->avg_no_rnd_qpel_pixels_tab[0][13]= avg_no_rnd_qpel16_mc13_c; | |
1720 c->avg_no_rnd_qpel_pixels_tab[0][14]= avg_no_rnd_qpel16_mc23_c; | |
1721 c->avg_no_rnd_qpel_pixels_tab[0][15]= avg_no_rnd_qpel16_mc33_c; | |
1722 */ | |
1723 | |
1724 c->put_qpel_pixels_tab[1][ 0]= put_qpel8_mc00_c; | |
1725 c->put_qpel_pixels_tab[1][ 1]= put_qpel8_mc10_c; | |
1726 c->put_qpel_pixels_tab[1][ 2]= put_qpel8_mc20_c; | |
1727 c->put_qpel_pixels_tab[1][ 3]= put_qpel8_mc30_c; | |
1728 c->put_qpel_pixels_tab[1][ 4]= put_qpel8_mc01_c; | |
1729 c->put_qpel_pixels_tab[1][ 5]= put_qpel8_mc11_c; | |
1730 c->put_qpel_pixels_tab[1][ 6]= put_qpel8_mc21_c; | |
1731 c->put_qpel_pixels_tab[1][ 7]= put_qpel8_mc31_c; | |
1732 c->put_qpel_pixels_tab[1][ 8]= put_qpel8_mc02_c; | |
1733 c->put_qpel_pixels_tab[1][ 9]= put_qpel8_mc12_c; | |
1734 c->put_qpel_pixels_tab[1][10]= put_qpel8_mc22_c; | |
1735 c->put_qpel_pixels_tab[1][11]= put_qpel8_mc32_c; | |
1736 c->put_qpel_pixels_tab[1][12]= put_qpel8_mc03_c; | |
1737 c->put_qpel_pixels_tab[1][13]= put_qpel8_mc13_c; | |
1738 c->put_qpel_pixels_tab[1][14]= put_qpel8_mc23_c; | |
1739 c->put_qpel_pixels_tab[1][15]= put_qpel8_mc33_c; | |
1740 | |
1741 c->put_no_rnd_qpel_pixels_tab[1][ 0]= put_no_rnd_qpel8_mc00_c; | |
1742 c->put_no_rnd_qpel_pixels_tab[1][ 1]= put_no_rnd_qpel8_mc10_c; | |
1743 c->put_no_rnd_qpel_pixels_tab[1][ 2]= put_no_rnd_qpel8_mc20_c; | |
1744 c->put_no_rnd_qpel_pixels_tab[1][ 3]= put_no_rnd_qpel8_mc30_c; | |
1745 c->put_no_rnd_qpel_pixels_tab[1][ 4]= put_no_rnd_qpel8_mc01_c; | |
1746 c->put_no_rnd_qpel_pixels_tab[1][ 5]= put_no_rnd_qpel8_mc11_c; | |
1747 c->put_no_rnd_qpel_pixels_tab[1][ 6]= put_no_rnd_qpel8_mc21_c; | |
1748 c->put_no_rnd_qpel_pixels_tab[1][ 7]= put_no_rnd_qpel8_mc31_c; | |
1749 c->put_no_rnd_qpel_pixels_tab[1][ 8]= put_no_rnd_qpel8_mc02_c; | |
1750 c->put_no_rnd_qpel_pixels_tab[1][ 9]= put_no_rnd_qpel8_mc12_c; | |
1751 c->put_no_rnd_qpel_pixels_tab[1][10]= put_no_rnd_qpel8_mc22_c; | |
1752 c->put_no_rnd_qpel_pixels_tab[1][11]= put_no_rnd_qpel8_mc32_c; | |
1753 c->put_no_rnd_qpel_pixels_tab[1][12]= put_no_rnd_qpel8_mc03_c; | |
1754 c->put_no_rnd_qpel_pixels_tab[1][13]= put_no_rnd_qpel8_mc13_c; | |
1755 c->put_no_rnd_qpel_pixels_tab[1][14]= put_no_rnd_qpel8_mc23_c; | |
1756 c->put_no_rnd_qpel_pixels_tab[1][15]= put_no_rnd_qpel8_mc33_c; | |
1757 | |
1758 c->avg_qpel_pixels_tab[1][ 0]= avg_qpel8_mc00_c; | |
1759 c->avg_qpel_pixels_tab[1][ 1]= avg_qpel8_mc10_c; | |
1760 c->avg_qpel_pixels_tab[1][ 2]= avg_qpel8_mc20_c; | |
1761 c->avg_qpel_pixels_tab[1][ 3]= avg_qpel8_mc30_c; | |
1762 c->avg_qpel_pixels_tab[1][ 4]= avg_qpel8_mc01_c; | |
1763 c->avg_qpel_pixels_tab[1][ 5]= avg_qpel8_mc11_c; | |
1764 c->avg_qpel_pixels_tab[1][ 6]= avg_qpel8_mc21_c; | |
1765 c->avg_qpel_pixels_tab[1][ 7]= avg_qpel8_mc31_c; | |
1766 c->avg_qpel_pixels_tab[1][ 8]= avg_qpel8_mc02_c; | |
1767 c->avg_qpel_pixels_tab[1][ 9]= avg_qpel8_mc12_c; | |
1768 c->avg_qpel_pixels_tab[1][10]= avg_qpel8_mc22_c; | |
1769 c->avg_qpel_pixels_tab[1][11]= avg_qpel8_mc32_c; | |
1770 c->avg_qpel_pixels_tab[1][12]= avg_qpel8_mc03_c; | |
1771 c->avg_qpel_pixels_tab[1][13]= avg_qpel8_mc13_c; | |
1772 c->avg_qpel_pixels_tab[1][14]= avg_qpel8_mc23_c; | |
1773 c->avg_qpel_pixels_tab[1][15]= avg_qpel8_mc33_c; | |
1774 /* | |
1775 c->avg_no_rnd_qpel_pixels_tab[1][ 0]= avg_no_rnd_qpel8_mc00_c; | |
1776 c->avg_no_rnd_qpel_pixels_tab[1][ 1]= avg_no_rnd_qpel8_mc10_c; | |
1777 c->avg_no_rnd_qpel_pixels_tab[1][ 2]= avg_no_rnd_qpel8_mc20_c; | |
1778 c->avg_no_rnd_qpel_pixels_tab[1][ 3]= avg_no_rnd_qpel8_mc30_c; | |
1779 c->avg_no_rnd_qpel_pixels_tab[1][ 4]= avg_no_rnd_qpel8_mc01_c; | |
1780 c->avg_no_rnd_qpel_pixels_tab[1][ 5]= avg_no_rnd_qpel8_mc11_c; | |
1781 c->avg_no_rnd_qpel_pixels_tab[1][ 6]= avg_no_rnd_qpel8_mc21_c; | |
1782 c->avg_no_rnd_qpel_pixels_tab[1][ 7]= avg_no_rnd_qpel8_mc31_c; | |
1783 c->avg_no_rnd_qpel_pixels_tab[1][ 8]= avg_no_rnd_qpel8_mc02_c; | |
1784 c->avg_no_rnd_qpel_pixels_tab[1][ 9]= avg_no_rnd_qpel8_mc12_c; | |
1785 c->avg_no_rnd_qpel_pixels_tab[1][10]= avg_no_rnd_qpel8_mc22_c; | |
1786 c->avg_no_rnd_qpel_pixels_tab[1][11]= avg_no_rnd_qpel8_mc32_c; | |
1787 c->avg_no_rnd_qpel_pixels_tab[1][12]= avg_no_rnd_qpel8_mc03_c; | |
1788 c->avg_no_rnd_qpel_pixels_tab[1][13]= avg_no_rnd_qpel8_mc13_c; | |
1789 c->avg_no_rnd_qpel_pixels_tab[1][14]= avg_no_rnd_qpel8_mc23_c; | |
1790 c->avg_no_rnd_qpel_pixels_tab[1][15]= avg_no_rnd_qpel8_mc33_c; | |
1791 */ | |
1792 | |
1655 #ifdef HAVE_MMX | 1793 #ifdef HAVE_MMX |
1656 dsputil_init_mmx(c, mask); | 1794 dsputil_init_mmx(c, mask); |
1657 #endif | 1795 #endif |
1658 #ifdef ARCH_ARMV4L | 1796 #ifdef ARCH_ARMV4L |
1659 dsputil_init_armv4l(c, mask); | 1797 dsputil_init_armv4l(c, mask); |