*_perf_test.cc: correct DoDecode signature
+ delete unused kMaxPsnr from decode_perf_test.cc Change-Id: Id93347631e7870491069a8b7c5bb1f6b2828425f
This commit is contained in:
parent
9c9d92ae3a
commit
2c17d54681
@ -28,7 +28,6 @@ namespace {
|
|||||||
#define VIDEO_NAME 0
|
#define VIDEO_NAME 0
|
||||||
#define THREADS 1
|
#define THREADS 1
|
||||||
|
|
||||||
const int kMaxPsnr = 100;
|
|
||||||
const double kUsecsInSec = 1000000.0;
|
const double kUsecsInSec = 1000000.0;
|
||||||
const char kNewEncodeOutputFile[] = "new_encode.ivf";
|
const char kNewEncodeOutputFile[] = "new_encode.ivf";
|
||||||
|
|
||||||
@ -176,7 +175,7 @@ class VP9NewEncodeDecodePerfTest
|
|||||||
pkt->data.frame.sz);
|
pkt->data.frame.sz);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual bool DoDecode() { return false; }
|
virtual bool DoDecode() const { return false; }
|
||||||
|
|
||||||
void set_speed(unsigned int speed) { speed_ = speed; }
|
void set_speed(unsigned int speed) { speed_ = speed; }
|
||||||
|
|
||||||
|
@ -105,7 +105,7 @@ class VP9EncodePerfTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
// for performance reasons don't decode
|
// for performance reasons don't decode
|
||||||
virtual bool DoDecode() { return 0; }
|
virtual bool DoDecode() const { return false; }
|
||||||
|
|
||||||
double min_psnr() const { return min_psnr_; }
|
double min_psnr() const { return min_psnr_; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user