diff options
author | Jim Bankoski <jimbankoski@google.com> | 2014-01-29 08:39:39 -0800 |
---|---|---|
committer | Jim Bankoski <jimbankoski@google.com> | 2014-01-29 08:39:39 -0800 |
commit | ea8aaf15b55a19f569c328f26cc8d8ad82a9235c (patch) | |
tree | e0d0308cf23b90b30eb360875751b326a3357363 /test/svc_test.cc | |
parent | 00bfacb769d95c89b361aa57a9f0da10bc2810a3 (diff) | |
download | libvpx-ea8aaf15b55a19f569c328f26cc8d8ad82a9235c.tar libvpx-ea8aaf15b55a19f569c328f26cc8d8ad82a9235c.tar.gz libvpx-ea8aaf15b55a19f569c328f26cc8d8ad82a9235c.tar.bz2 libvpx-ea8aaf15b55a19f569c328f26cc8d8ad82a9235c.zip |
create super fast rtc mode
This patch only works if the video is a width and height that are both
a multiple of 32.. It sets every partition to 16x16, and does INTRADC
only on the first frame and ZEROMV on every other frame. It always does
does the largest possible transform, and loop filter level is set to 4.
Was ~20% faster than speed -5 of vp8
Now 20% slower but adds motion search ( every block ), nearest, near
and zeromv
The SVC test was changed because - while this realtime mode produces
bad quality albeit quickly, it isn't obeying all the rules it should
about which frames are available.
Change-Id: I235c0b22573957986d41497dfb84568ec1dec8c7
Diffstat (limited to 'test/svc_test.cc')
-rw-r--r-- | test/svc_test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/svc_test.cc b/test/svc_test.cc index 3ddd9c145..75659d50d 100644 --- a/test/svc_test.cc +++ b/test/svc_test.cc @@ -234,7 +234,7 @@ TEST_F(SvcTest, FirstFrameHasLayers) { video.Begin(); res = vpx_svc_encode(&svc_, &codec_, video.img(), video.pts(), - video.duration(), VPX_DL_REALTIME); + video.duration(), VPX_DL_GOOD_QUALITY); EXPECT_EQ(VPX_CODEC_OK, res); const vpx_codec_err_t res_dec = decoder_->DecodeFrame( @@ -262,7 +262,7 @@ TEST_F(SvcTest, EncodeThreeFrames) { video.Begin(); // This frame is a keyframe. res = vpx_svc_encode(&svc_, &codec_, video.img(), video.pts(), - video.duration(), VPX_DL_REALTIME); + video.duration(), VPX_DL_GOOD_QUALITY); ASSERT_EQ(VPX_CODEC_OK, res); EXPECT_EQ(1, vpx_svc_is_keyframe(&svc_)); @@ -275,7 +275,7 @@ TEST_F(SvcTest, EncodeThreeFrames) { video.Next(); // This is a P-frame. res = vpx_svc_encode(&svc_, &codec_, video.img(), video.pts(), - video.duration(), VPX_DL_REALTIME); + video.duration(), VPX_DL_GOOD_QUALITY); ASSERT_EQ(VPX_CODEC_OK, res); EXPECT_EQ(0, vpx_svc_is_keyframe(&svc_)); @@ -288,7 +288,7 @@ TEST_F(SvcTest, EncodeThreeFrames) { video.Next(); // This is a P-frame. res = vpx_svc_encode(&svc_, &codec_, video.img(), video.pts(), - video.duration(), VPX_DL_REALTIME); + video.duration(), VPX_DL_GOOD_QUALITY); ASSERT_EQ(VPX_CODEC_OK, res); EXPECT_EQ(0, vpx_svc_is_keyframe(&svc_)); |