ref: cc81020875b1a19c595b5e46f7036edaca4381ac
parent: 2e5700d32d78130c05b610840223d7cd4bb1e33a
parent: 8c10cd220f54a36fe9d9d1d7a407dcf90e317e34
author: sijchen <sijchen@cisco.com>
date: Tue May 20 09:09:17 EDT 2014
Merge pull request #843 from mstorsjo/remove-unused-function Remove an unused static function
--- a/codec/encoder/core/src/svc_base_layer_md.cpp
+++ b/codec/encoder/core/src/svc_base_layer_md.cpp
@@ -1887,9 +1887,6 @@
static inline bool IsSameMv (const SMVUnitXY& sMv0, const SMVUnitXY& sMv1) {
return ((sMv0.iMvX == sMv1.iMvX) && (sMv0.iMvY == sMv1.iMvY));
}
-static inline int32_t Mvd (const SMVUnitXY& sMv, const SMVUnitXY& sMvp) {
- return (WELS_ABS (sMv.iMvX - sMvp.iMvX) + WELS_ABS (sMv.iMvY - sMvp.iMvY));
-}
bool TryModeMerge (SMbCache* pMbCache, SWelsMD* pWelsMd, SMB* pCurMb) {
SWelsME* pMe8x8 = & (pWelsMd->sMe.sMe8x8[0]);
const bool bSameMv16x8_0 = IsSameMv (pMe8x8[0].sMv, pMe8x8[1].sMv);