554 |
backupMV.y + iDiamondSize, 8); |
backupMV.y + iDiamondSize, 8); |
555 |
|
|
556 |
|
|
557 |
if (iDirection) |
if (iDirection) { |
558 |
while (!iFound) { |
while (!iFound) { |
559 |
iFound = 1; |
iFound = 1; |
560 |
backupMV = *currMV; |
backupMV = *currMV; |
563 |
case 1: |
case 1: |
564 |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
565 |
backupMV.y, 1); |
backupMV.y, 1); |
566 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
567 |
backupMV.y - iDiamondSize, 5); |
backupMV.y - iDiamondSize, 5); |
568 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x + iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
569 |
backupMV.y - iDiamondSize, 7); |
backupMV.y - iDiamondSize, 7); |
570 |
break; |
break; |
571 |
case 2: |
case 2: |
572 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x + iDiamondSize, backupMV.y, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x + iDiamondSize, backupMV.y, |
573 |
2); |
2); |
574 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
575 |
backupMV.y + iDiamondSize, 6); |
backupMV.y + iDiamondSize, 6); |
576 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x + iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
577 |
backupMV.y + iDiamondSize, 8); |
backupMV.y + iDiamondSize, 8); |
578 |
break; |
break; |
579 |
|
|
580 |
case 3: |
case 3: |
581 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x, backupMV.y + iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x, backupMV.y + iDiamondSize, |
582 |
4); |
4); |
583 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x + iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
584 |
backupMV.y - iDiamondSize, 7); |
backupMV.y - iDiamondSize, 7); |
585 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x + iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
586 |
backupMV.y + iDiamondSize, 8); |
backupMV.y + iDiamondSize, 8); |
587 |
break; |
break; |
588 |
|
|
589 |
case 4: |
case 4: |
590 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x, backupMV.y - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x, backupMV.y - iDiamondSize, |
591 |
3); |
3); |
592 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
593 |
backupMV.y - iDiamondSize, 5); |
backupMV.y - iDiamondSize, 5); |
594 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
595 |
backupMV.y + iDiamondSize, 6); |
backupMV.y + iDiamondSize, 6); |
596 |
break; |
break; |
597 |
|
|
598 |
case 5: |
case 5: |
599 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x - iDiamondSize, backupMV.y, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, backupMV.y, |
600 |
1); |
1); |
601 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x, backupMV.y - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x, backupMV.y - iDiamondSize, |
602 |
3); |
3); |
603 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
604 |
backupMV.y - iDiamondSize, 5); |
backupMV.y - iDiamondSize, 5); |
605 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
606 |
backupMV.y + iDiamondSize, 6); |
backupMV.y + iDiamondSize, 6); |
607 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x + iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
608 |
backupMV.y - iDiamondSize, 7); |
backupMV.y - iDiamondSize, 7); |
609 |
break; |
break; |
610 |
|
|
611 |
case 6: |
case 6: |
612 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x + iDiamondSize, backupMV.y, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x + iDiamondSize, backupMV.y, |
613 |
2); |
2); |
614 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x, backupMV.y - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x, backupMV.y - iDiamondSize, |
615 |
3); |
3); |
616 |
|
|
617 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
618 |
backupMV.y - iDiamondSize, 5); |
backupMV.y - iDiamondSize, 5); |
619 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
620 |
backupMV.y + iDiamondSize, 6); |
backupMV.y + iDiamondSize, 6); |
621 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x + iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
622 |
backupMV.y + iDiamondSize, 8); |
backupMV.y + iDiamondSize, 8); |
623 |
|
|
624 |
break; |
break; |
626 |
case 7: |
case 7: |
627 |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
628 |
backupMV.y, 1); |
backupMV.y, 1); |
629 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x, backupMV.y + iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x, backupMV.y + iDiamondSize, |
630 |
4); |
4); |
631 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
632 |
backupMV.y - iDiamondSize, 5); |
backupMV.y - iDiamondSize, 5); |
633 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x + iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
634 |
backupMV.y - iDiamondSize, 7); |
backupMV.y - iDiamondSize, 7); |
635 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x + iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
636 |
backupMV.y + iDiamondSize, 8); |
backupMV.y + iDiamondSize, 8); |
637 |
break; |
break; |
638 |
|
|
639 |
case 8: |
case 8: |
640 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x + iDiamondSize, backupMV.y, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x + iDiamondSize, backupMV.y, |
641 |
2); |
2); |
642 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x, backupMV.y + iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x, backupMV.y + iDiamondSize, |
643 |
4); |
4); |
644 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
645 |
backupMV.y + iDiamondSize, 6); |
backupMV.y + iDiamondSize, 6); |
646 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x + iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
647 |
backupMV.y - iDiamondSize, 7); |
backupMV.y - iDiamondSize, 7); |
648 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x + iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
649 |
backupMV.y + iDiamondSize, 8); |
backupMV.y + iDiamondSize, 8); |
650 |
break; |
break; |
651 |
default: |
default: |
652 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x - iDiamondSize, backupMV.y, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, backupMV.y, |
653 |
1); |
1); |
654 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x + iDiamondSize, backupMV.y, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x + iDiamondSize, backupMV.y, |
655 |
2); |
2); |
656 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x, backupMV.y - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x, backupMV.y - iDiamondSize, |
657 |
3); |
3); |
658 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x, backupMV.y + iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x, backupMV.y + iDiamondSize, |
659 |
4); |
4); |
660 |
|
|
661 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
662 |
backupMV.y - iDiamondSize, 5); |
backupMV.y - iDiamondSize, 5); |
663 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x - iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
664 |
backupMV.y + iDiamondSize, 6); |
backupMV.y + iDiamondSize, 6); |
665 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x + iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
666 |
backupMV.y - iDiamondSize, 7); |
backupMV.y - iDiamondSize, 7); |
667 |
CHECK_MV16_CANDIDATE_DIR(backupMV.x + iDiamondSize, |
CHECK_MV16_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
668 |
backupMV.y + iDiamondSize, 8); |
backupMV.y + iDiamondSize, 8); |
669 |
break; |
break; |
670 |
} |
} |
671 |
|
} |
672 |
} else { |
} else { |
673 |
currMV->x = start_x; |
currMV->x = start_x; |
674 |
currMV->y = start_y; |
currMV->y = start_y; |
1657 |
return iMinSAD; |
return iMinSAD; |
1658 |
} |
} |
1659 |
|
|
1660 |
|
|
1661 |
|
|
1662 |
|
|
1663 |
|
int32_t |
1664 |
|
Square8_MainSearch(const uint8_t * const pRef, |
1665 |
|
const uint8_t * const pRefH, |
1666 |
|
const uint8_t * const pRefV, |
1667 |
|
const uint8_t * const pRefHV, |
1668 |
|
const uint8_t * const cur, |
1669 |
|
const int x, |
1670 |
|
const int y, |
1671 |
|
int32_t start_x, |
1672 |
|
int32_t start_y, |
1673 |
|
int32_t iMinSAD, |
1674 |
|
VECTOR * const currMV, |
1675 |
|
const int center_x, |
1676 |
|
const int center_y, |
1677 |
|
const int32_t min_dx, |
1678 |
|
const int32_t max_dx, |
1679 |
|
const int32_t min_dy, |
1680 |
|
const int32_t max_dy, |
1681 |
|
const int32_t iEdgedWidth, |
1682 |
|
const int32_t iDiamondSize, |
1683 |
|
const int32_t iFcode, |
1684 |
|
const int32_t iQuant, |
1685 |
|
int iFound) |
1686 |
|
{ |
1687 |
|
/* Do a square search around given starting point, return SAD of best */ |
1688 |
|
|
1689 |
|
int32_t iDirection = 0; |
1690 |
|
int32_t iSAD; |
1691 |
|
VECTOR backupMV; |
1692 |
|
|
1693 |
|
backupMV.x = start_x; |
1694 |
|
backupMV.y = start_y; |
1695 |
|
|
1696 |
|
/* It's one search with full square pattern, and new parts for all following diamonds */ |
1697 |
|
|
1698 |
|
/* new direction are extra, so 1-4 is normal diamond |
1699 |
|
537 |
1700 |
|
1*2 |
1701 |
|
648 |
1702 |
|
*/ |
1703 |
|
|
1704 |
|
CHECK_MV8_CANDIDATE_DIR(backupMV.x - iDiamondSize, backupMV.y, 1); |
1705 |
|
CHECK_MV8_CANDIDATE_DIR(backupMV.x + iDiamondSize, backupMV.y, 2); |
1706 |
|
CHECK_MV8_CANDIDATE_DIR(backupMV.x, backupMV.y - iDiamondSize, 3); |
1707 |
|
CHECK_MV8_CANDIDATE_DIR(backupMV.x, backupMV.y + iDiamondSize, 4); |
1708 |
|
|
1709 |
|
CHECK_MV8_CANDIDATE_DIR(backupMV.x - iDiamondSize, |
1710 |
|
backupMV.y - iDiamondSize, 5); |
1711 |
|
CHECK_MV8_CANDIDATE_DIR(backupMV.x - iDiamondSize, |
1712 |
|
backupMV.y + iDiamondSize, 6); |
1713 |
|
CHECK_MV8_CANDIDATE_DIR(backupMV.x + iDiamondSize, |
1714 |
|
backupMV.y - iDiamondSize, 7); |
1715 |
|
CHECK_MV8_CANDIDATE_DIR(backupMV.x + iDiamondSize, |
1716 |
|
backupMV.y + iDiamondSize, 8); |
1717 |
|
|
1718 |
|
|
1719 |
|
if (iDirection) { |
1720 |
|
while (!iFound) { |
1721 |
|
iFound = 1; |
1722 |
|
backupMV = *currMV; |
1723 |
|
|
1724 |
|
switch (iDirection) { |
1725 |
|
case 1: |
1726 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
1727 |
|
backupMV.y, 1); |
1728 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
1729 |
|
backupMV.y - iDiamondSize, 5); |
1730 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
1731 |
|
backupMV.y - iDiamondSize, 7); |
1732 |
|
break; |
1733 |
|
case 2: |
1734 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x + iDiamondSize, backupMV.y, |
1735 |
|
2); |
1736 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
1737 |
|
backupMV.y + iDiamondSize, 6); |
1738 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
1739 |
|
backupMV.y + iDiamondSize, 8); |
1740 |
|
break; |
1741 |
|
|
1742 |
|
case 3: |
1743 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x, backupMV.y + iDiamondSize, |
1744 |
|
4); |
1745 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
1746 |
|
backupMV.y - iDiamondSize, 7); |
1747 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
1748 |
|
backupMV.y + iDiamondSize, 8); |
1749 |
|
break; |
1750 |
|
|
1751 |
|
case 4: |
1752 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x, backupMV.y - iDiamondSize, |
1753 |
|
3); |
1754 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
1755 |
|
backupMV.y - iDiamondSize, 5); |
1756 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
1757 |
|
backupMV.y + iDiamondSize, 6); |
1758 |
|
break; |
1759 |
|
|
1760 |
|
case 5: |
1761 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x - iDiamondSize, backupMV.y, |
1762 |
|
1); |
1763 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x, backupMV.y - iDiamondSize, |
1764 |
|
3); |
1765 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
1766 |
|
backupMV.y - iDiamondSize, 5); |
1767 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
1768 |
|
backupMV.y + iDiamondSize, 6); |
1769 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
1770 |
|
backupMV.y - iDiamondSize, 7); |
1771 |
|
break; |
1772 |
|
|
1773 |
|
case 6: |
1774 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x + iDiamondSize, backupMV.y, |
1775 |
|
2); |
1776 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x, backupMV.y - iDiamondSize, |
1777 |
|
3); |
1778 |
|
|
1779 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
1780 |
|
backupMV.y - iDiamondSize, 5); |
1781 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
1782 |
|
backupMV.y + iDiamondSize, 6); |
1783 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
1784 |
|
backupMV.y + iDiamondSize, 8); |
1785 |
|
|
1786 |
|
break; |
1787 |
|
|
1788 |
|
case 7: |
1789 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
1790 |
|
backupMV.y, 1); |
1791 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x, backupMV.y + iDiamondSize, |
1792 |
|
4); |
1793 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
1794 |
|
backupMV.y - iDiamondSize, 5); |
1795 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
1796 |
|
backupMV.y - iDiamondSize, 7); |
1797 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
1798 |
|
backupMV.y + iDiamondSize, 8); |
1799 |
|
break; |
1800 |
|
|
1801 |
|
case 8: |
1802 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x + iDiamondSize, backupMV.y, |
1803 |
|
2); |
1804 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x, backupMV.y + iDiamondSize, |
1805 |
|
4); |
1806 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
1807 |
|
backupMV.y + iDiamondSize, 6); |
1808 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
1809 |
|
backupMV.y - iDiamondSize, 7); |
1810 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
1811 |
|
backupMV.y + iDiamondSize, 8); |
1812 |
|
break; |
1813 |
|
default: |
1814 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x - iDiamondSize, backupMV.y, |
1815 |
|
1); |
1816 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x + iDiamondSize, backupMV.y, |
1817 |
|
2); |
1818 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x, backupMV.y - iDiamondSize, |
1819 |
|
3); |
1820 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x, backupMV.y + iDiamondSize, |
1821 |
|
4); |
1822 |
|
|
1823 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
1824 |
|
backupMV.y - iDiamondSize, 5); |
1825 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x - iDiamondSize, |
1826 |
|
backupMV.y + iDiamondSize, 6); |
1827 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
1828 |
|
backupMV.y - iDiamondSize, 7); |
1829 |
|
CHECK_MV8_CANDIDATE_FOUND(backupMV.x + iDiamondSize, |
1830 |
|
backupMV.y + iDiamondSize, 8); |
1831 |
|
break; |
1832 |
|
} |
1833 |
|
} |
1834 |
|
} else { |
1835 |
|
currMV->x = start_x; |
1836 |
|
currMV->y = start_y; |
1837 |
|
} |
1838 |
|
return iMinSAD; |
1839 |
|
} |
1840 |
|
|
1841 |
|
|
1842 |
|
|
1843 |
|
|
1844 |
|
|
1845 |
int32_t |
int32_t |
1846 |
Halfpel8_Refine_c(const uint8_t * const pRef, |
Halfpel8_Refine_c(const uint8_t * const pRef, |
1847 |
const uint8_t * const pRefH, |
const uint8_t * const pRefH, |
1980 |
|
|
1981 |
// Prepare for main loop |
// Prepare for main loop |
1982 |
|
|
1983 |
// if (MotionFlags & PMV_USESQUARES8) |
if (MotionFlags & PMV_USESQUARES8) |
1984 |
// MainSearchPtr = Square8_MainSearch; |
MainSearchPtr = Square8_MainSearch; |
1985 |
// else |
else |
1986 |
|
|
1987 |
if (MotionFlags & PMV_ADVANCEDDIAMOND8) |
if (MotionFlags & PMV_ADVANCEDDIAMOND8) |
1988 |
MainSearchPtr = AdvDiamond8_MainSearch; |
MainSearchPtr = AdvDiamond8_MainSearch; |
2660 |
|
|
2661 |
// there is no EPZS^2 for inter4v at the moment |
// there is no EPZS^2 for inter4v at the moment |
2662 |
|
|
2663 |
// if (MotionFlags & PMV_USESQUARES8) |
if (MotionFlags & PMV_USESQUARES8) |
2664 |
// MainSearchPtr = Square8_MainSearch; |
MainSearchPtr = Square8_MainSearch; |
2665 |
// else |
else |
2666 |
|
|
2667 |
if (MotionFlags & PMV_ADVANCEDDIAMOND8) |
if (MotionFlags & PMV_ADVANCEDDIAMOND8) |
2668 |
MainSearchPtr = AdvDiamond8_MainSearch; |
MainSearchPtr = AdvDiamond8_MainSearch; |