Move src/ -> webrtc/
TBR=niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/915006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2963 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
39
webrtc/modules/video_coding/codecs/vp8/test/benchmark.cc
Normal file
39
webrtc/modules/video_coding/codecs/vp8/test/benchmark.cc
Normal file
@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license
|
||||
* that can be found in the LICENSE file in the root of the source
|
||||
* tree. An additional intellectual property rights grant can be found
|
||||
* in the file PATENTS. All contributing project authors may
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#include "benchmark.h"
|
||||
#include "testsupport/fileutils.h"
|
||||
#include "vp8.h"
|
||||
|
||||
using namespace webrtc;
|
||||
|
||||
VP8Benchmark::VP8Benchmark()
|
||||
: Benchmark("VP8Benchmark", "VP8 benchmark over a range of test cases",
|
||||
webrtc::test::OutputPath() + "VP8Benchmark.txt", "VP8") {
|
||||
}
|
||||
|
||||
VP8Benchmark::VP8Benchmark(std::string name, std::string description)
|
||||
: Benchmark(name, description,
|
||||
webrtc::test::OutputPath() + "VP8Benchmark.txt",
|
||||
"VP8") {
|
||||
}
|
||||
|
||||
VP8Benchmark::VP8Benchmark(std::string name, std::string description,
|
||||
std::string resultsFileName)
|
||||
: Benchmark(name, description, resultsFileName, "VP8") {
|
||||
}
|
||||
|
||||
VideoEncoder* VP8Benchmark::GetNewEncoder() {
|
||||
return VP8Encoder::Create();
|
||||
}
|
||||
|
||||
VideoDecoder* VP8Benchmark::GetNewDecoder() {
|
||||
return VP8Decoder::Create();
|
||||
}
|
||||
Reference in New Issue
Block a user