Added more statistics during SSIM/PSNR calculation, including calculation of min/max value.

Moved video_metrics.h into a GYP library so it can be used from other projects.

Review URL: http://webrtc-codereview.appspot.com/132013

git-svn-id: http://webrtc.googlecode.com/svn/trunk@582 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
kjellander@webrtc.org
2011-09-12 13:45:39 +00:00
parent d3185fe219
commit f0a8464b74
7 changed files with 124 additions and 33 deletions

View File

@@ -8,10 +8,30 @@
{
'targets': [
{
'target_name': 'video_coding_test_lib',
'type': '<(library)',
'dependencies': [
],
'include_dirs': [
],
'direct_dependent_settings': {
'include_dirs': [
'../test',
],
},
'sources': [
# headers
'../test/video_metrics.h',
# sources
'../test/video_metrics.cc',
],
},
{
'target_name': 'video_coding_test',
'type': 'executable',
'dependencies': [
'video_coding_test_lib',
'webrtc_video_coding',
'rtp_rtcp',
'webrtc_utility',
@@ -39,7 +59,6 @@
'../test/release_test.h',
'../test/rtp_player.h',
'../test/test_util.h',
'../test/video_metrics.h',
'../test/video_source.h',
# sources
@@ -56,7 +75,6 @@
'../test/rtp_player.cc',
'../test/test_util.cc',
'../test/tester_main.cc',
'../test/video_metrics.cc',
'../test/video_rtp_play_mt.cc',
'../test/video_rtp_play.cc',
'../test/video_source.cc',