mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 17:26:49 +08:00
Compare util show version. (bug fix for Mac)
BUG=71 TESTED=xcodebuild -project libyuv_test.xcodeproj -configuration Release Review URL: https://webrtc-codereview.appspot.com/745006 git-svn-id: http://libyuv.googlecode.com/svn/trunk@326 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
aeaefa8344
commit
051cef4a0a
@ -1,6 +1,6 @@
|
||||
Name: libyuv
|
||||
URL: http://code.google.com/p/libyuv/
|
||||
Version: 325
|
||||
Version: 326
|
||||
License: BSD
|
||||
License File: LICENSE
|
||||
|
||||
|
||||
@ -11,6 +11,6 @@
|
||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||
#define INCLUDE_LIBYUV_VERSION_H_
|
||||
|
||||
#define LIBYUV_VERSION 325
|
||||
#define LIBYUV_VERSION 326
|
||||
|
||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
if (argc < 1) {
|
||||
printf("libyuv compare v\n", LIBYUV_VERSION);
|
||||
printf("libyuv compare v%d\n", LIBYUV_VERSION);
|
||||
printf("compare file1.yuv file2.yuv\n");
|
||||
return -1;
|
||||
}
|
||||
@ -51,7 +51,7 @@ int main(int argc, char** argv) {
|
||||
|
||||
printf("hash1 %x", hash1);
|
||||
if (fin2) {
|
||||
printf(", hash2 %x", hash1, hash2);
|
||||
printf(", hash2 %x", hash2);
|
||||
double mse = static_cast<double>(sum_square_err) /
|
||||
static_cast<double>(size_min);
|
||||
printf(", mse %.2f", mse);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user