shithub: openh264

Download patch

ref: 420a81afe411e3bf471550160c439ef84d4da22b
parent: 9fc9acfd14450eaa45d7d471ee1c379628d85ea7
author: Martin Storsjö <martin@martin.st>
date: Mon Jan 26 06:58:33 EST 2015

Unify the order of iX and iY in DecUT_MotionCompensation

They are in the order iX, iY in the rest of the file.

--- a/test/decoder/DecUT_MotionCompensation.cpp
+++ b/test/decoder/DecUT_MotionCompensation.cpp
@@ -116,7 +116,7 @@
 }
 
 /**********************MC Unit Test OPENH264 Code Begin******************************/
-#define DEF_MCCOPYTEST(iH,iW, forceC) \
+#define DEF_MCCOPYTEST(iW,iH, forceC) \
 TEST(McCopy_c,iW##x##iH) \
 {                             \
     SMcFunc sMcFunc;      \
@@ -158,8 +158,8 @@
 }
 
 DEF_MCCOPYTEST (2, 2, 1)
-DEF_MCCOPYTEST (2, 4, 0)
-DEF_MCCOPYTEST (4, 2, 1)
+DEF_MCCOPYTEST (2, 4, 1)
+DEF_MCCOPYTEST (4, 2, 0)
 DEF_MCCOPYTEST (4, 4, 0)
 DEF_MCCOPYTEST (4, 8, 0)
 DEF_MCCOPYTEST (8, 4, 0)