Increase VPMVideoDecimator's initial max_frame_rate_ to 60, which allow us potentially do 60fps.
BUG= R=stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/21499006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6274 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -118,7 +118,6 @@ TEST_F(VideoProcessingModuleTest, HandleBadSize) {
|
||||
EXPECT_EQ(-3, vpm_->BrightnessDetection(video_frame_, stats));
|
||||
|
||||
EXPECT_EQ(VPM_PARAMETER_ERROR, vpm_->SetTargetResolution(0,0,0));
|
||||
EXPECT_EQ(VPM_PARAMETER_ERROR, vpm_->SetMaxFramerate(0));
|
||||
|
||||
I420VideoFrame *out_frame = NULL;
|
||||
EXPECT_EQ(VPM_PARAMETER_ERROR, vpm_->PreprocessFrame(video_frame_,
|
||||
@ -200,7 +199,6 @@ TEST_F(VideoProcessingModuleTest, PreprocessorLogic) {
|
||||
// Disable temporal sampling (frame dropping).
|
||||
vpm_->EnableTemporalDecimation(false);
|
||||
int resolution = 100;
|
||||
EXPECT_EQ(VPM_OK, vpm_->SetMaxFramerate(30));
|
||||
EXPECT_EQ(VPM_OK, vpm_->SetTargetResolution(resolution, resolution, 15));
|
||||
EXPECT_EQ(VPM_OK, vpm_->SetTargetResolution(resolution, resolution, 30));
|
||||
// Disable spatial sampling.
|
||||
|
||||
Reference in New Issue
Block a user