shithub: openh264

Download patch

ref: fe4a47a979fa7ac5f765c76faf93aab91231408d
parent: 68a5910f8fee7853a2323554a3d91329b743dc74
author: Sindre Aamås <saamas@cisco.com>
date: Wed Jun 8 17:53:30 EDT 2016

[UT] Add comment on X86_ASM checksum ifdef

--- a/test/api/decode_api_test.cpp
+++ b/test/api/decode_api_test.cpp
@@ -759,6 +759,8 @@
 const uint32_t kiFrameRate = 12; //DO NOT CHANGE!
 const uint32_t kiFrameNum = 100; //DO NOT CHANGE!
 const char* pHashStr[] = { //DO NOT CHANGE!
+// X86_ASM downsampling routines average vertically first, as opposed to
+// horizontally first, which results in different output.
 #ifdef X86_ASM
   "244eebcb51f4c2a56e83fc5da3373cad9ec0e1e5",
   "bbad99ef99e37b34bcb4f09a7ec4d144375f6be7",
--- a/test/api/encoder_test.cpp
+++ b/test/api/encoder_test.cpp
@@ -123,6 +123,8 @@
   },
   {
     "res/CiscoVT2people_320x192_12fps.yuv",
+// X86_ASM downsampling routines average vertically first, as opposed to
+// horizontally first, which results in different output.
 #ifdef X86_ASM
     "a5341d588b769809c1f1d983e5a0fcef7362f3ad",
 #else
@@ -136,6 +138,8 @@
   },
   {
     "res/Cisco_Absolute_Power_1280x720_30fps.yuv",
+// X86_ASM downsampling routines average vertically first, as opposed to
+// horizontally first, which results in different output.
 #ifdef X86_ASM
     "ec9d776a7d92cf0f6640065aee8af2450af0e993",
 #else