shithub: openh264

Download patch

ref: eb9c7c9f2c9f614dfde867a6132aead833de9de7
parent: ed499b9f93a4d4ae21ac4ab7b8d18ca25f703626
parent: 2cc9f51571017ed67930ac043b523192841a6928
author: Ethan Hugg <[email protected]>
date: Wed Feb 26 04:37:52 EST 2014

Merge pull request #359 from licaiguo/add-unit-test-cases

Add unit test cases

binary files /dev/null b/res/BA1_FT_C.264 differ
binary files /dev/null b/res/BA1_Sony_D.jsv differ
binary files /dev/null b/res/BAMQ1_JVC_C.264 differ
binary files /dev/null b/res/BAMQ2_JVC_C.264 differ
binary files /dev/null b/res/BANM_MW_D.264 differ
binary files /dev/null b/res/BASQP1_Sony_C.jsv differ
binary files /dev/null b/res/BA_MW_D.264 differ
binary files /dev/null b/res/CI1_FT_B.264 differ
binary files /dev/null b/res/CI_MW_D.264 differ
binary files /dev/null b/res/CVFC1_Sony_C.jsv differ
binary files /dev/null b/res/CVPCMNL1_SVA_C.264 differ
binary files /dev/null b/res/LS_SVA_D.264 differ
binary files /dev/null b/res/MIDR_MW_D.264 differ
binary files /dev/null b/res/MPS_MW_A.264 differ
binary files /dev/null b/res/MR1_BT_A.h264 differ
binary files /dev/null b/res/MR1_MW_A.264 differ
binary files /dev/null b/res/MR2_MW_A.264 differ
binary files /dev/null b/res/MR2_TANDBERG_E.264 differ
binary files /dev/null b/res/NL1_Sony_D.jsv differ
binary files /dev/null b/res/NLMQ1_JVC_C.264 differ
binary files /dev/null b/res/NLMQ2_JVC_C.264 differ
binary files /dev/null b/res/NRF_MW_E.264 differ
binary files /dev/null b/res/SVA_BA1_B.264 differ
binary files /dev/null b/res/SVA_BA2_D.264 differ
binary files /dev/null b/res/SVA_Base_B.264 differ
binary files /dev/null b/res/SVA_CL1_E.264 differ
binary files /dev/null b/res/SVA_FM1_E.264 differ
binary files /dev/null b/res/SVA_NL1_B.264 differ
binary files /dev/null b/res/SVA_NL2_E.264 differ
--- a/test/decoder_test.cpp
+++ b/test/decoder_test.cpp
@@ -64,7 +64,36 @@
 static const FileParam kFileParamArray[] = {
   {"res/test_vd_1d.264", "5827d2338b79ff82cd091c707823e466197281d3"},
   {"res/test_vd_rc.264", "eea02e97bfec89d0418593a8abaaf55d02eaa1ca"},
-  {"res/Static.264", "91dd4a7a796805b2cd015cae8fd630d96c663f42"}
+  {"res/Static.264", "91dd4a7a796805b2cd015cae8fd630d96c663f42"},
+  {"res/BA1_FT_C.264", "418d152fb85709b6f172799dcb239038df437cfa"},
+  {"res/BA1_Sony_D.jsv", "d94b5ceed5686a03ea682b53d415dee999d27eb6"}, 
+  {"res/BAMQ1_JVC_C.264", "613cf662c23e5d9e1d7da7fe880a3c427411d171"},
+  {"res/BAMQ2_JVC_C.264", "11bcf3713f520e606a8326d37e00e5fd6c9fd4a0"},
+  {"res/BA_MW_D.264", "afd7a9765961ca241bb4bdf344b31397bec7465a"},
+  {"res/BANM_MW_D.264", "92d924a857a1a7d7d9b224eaa3887830f15dee7f"},
+  {"res/BASQP1_Sony_C.jsv", "3986c8c9d2876d2f0748b925101b152c6ec8b811"},
+  {"res/CI1_FT_B.264", "cbfec15e17a504678b19a1191992131c92a1ac26"},
+  {"res/CI_MW_D.264", "289f29a103c8d95adf2909c646466904be8b06d7"},
+  {"res/CVFC1_Sony_C.jsv", "4641abd7419a5580b97f16e83fd1d566339229d0"}, 
+  {"res/CVPCMNL1_SVA_C.264", "c2b0d964de727c64b9fccb58f63b567c82bda95a"},
+  {"res/LS_SVA_D.264", "72118f4d1674cf14e58bed7e67cb3aeed3df62b9"},
+  {"res/MIDR_MW_D.264", "9467030f4786f75644bf06a7fc809c36d1959827"},
+  {"res/MPS_MW_A.264", "67f1cfbef0e8025ed60dedccf8d9558d0636be5f"},
+  {"res/MR1_BT_A.h264", "6e585f8359667a16b03e5f49a06f5ceae8d991e0"},
+  {"res/MR1_MW_A.264", "d9e2bf34e9314dcc171ddaea2c5015d0421479f2"},
+  {"res/MR2_MW_A.264", "628b1d4eff04c2d277f7144e23484957dad63cbe"},
+  {"res/MR2_TANDBERG_E.264", "74d618bc7d9d41998edf4c85d51aa06111db6609"},
+  {"res/NL1_Sony_D.jsv", "e401e30669938443c2f02522fd4d5aa1382931a0"},
+  {"res/NLMQ1_JVC_C.264", "f3265c6ddf8db1b2bf604d8a2954f75532e28cda"},
+  {"res/NLMQ2_JVC_C.264", "350ae86ef9ba09390d63a09b7f9ff54184109ca8"},
+  {"res/NRF_MW_E.264", "20732198c04cd2591350a361e4510892f6eed3f0"},
+  {"res/SVA_BA1_B.264", "c4543b24823b16c424c673616c36c7f537089b2d"},
+  {"res/SVA_BA2_D.264", "98ff2d67860462d8d8bcc9352097c06cc401d97e"},
+  {"res/SVA_Base_B.264", "91f514d81cd33de9f6fbf5dbefdb189cc2e7ecf4"},
+  {"res/SVA_CL1_E.264", "4fe09ab6cdc965ea10a20f1d6dd38aca954412bb"},
+  {"res/SVA_FM1_E.264", "fad08c4ff7cf2307b6579853d0f4652fc26645d3"},
+  {"res/SVA_NL1_B.264", "6d63f72a0c0d833b1db0ba438afff3b4180fb3e6"},
+  {"res/SVA_NL2_E.264", "70453ef8097c94dd190d6d2d1d5cb83c67e66238"}
 };
 
 INSTANTIATE_TEST_CASE_P(DecodeFile, DecoderOutputTest,