SAD_THRESH 960 source/encoder/motion.cpp if (bcost == ucost2 && SAD_THRESH(2000)) SAD_THRESH 964 source/encoder/motion.cpp if (bcost == ucost1 && SAD_THRESH(500)) SAD_THRESH 1025 source/encoder/motion.cpp sad_ctx = SAD_THRESH(1000) ? 0 SAD_THRESH 1026 source/encoder/motion.cpp : SAD_THRESH(2000) ? 1 SAD_THRESH 1027 source/encoder/motion.cpp : SAD_THRESH(4000) ? 2 : 3;