History

Add file for rate control interface test.

Jerome Jiang committed 6 years ago

Commit 73681bf1 parent aea63123 files · +6 −2Browse files

Unified · Split

3 files
  1. test/ratectrl_rtc_test.cc +2 −2
  2. test/test-data.mk +2 −0
  3. test/test-data.sha1 +2 −0
test/ratectrl_rtc_test.cc+2−2
@@ -79,7 +79,7 @@ class RcInterfaceTest : public ::testing::Test { · 78 unmodified lines
7979 protected:
8080 void RunOneLayer() {
8181 SetConfigOneLayer();
82− rc_api_->Create(rc_cfg_);
82+ rc_api_ = libvpx::VP9RateControlRTC::Create(rc_cfg_);
8383 FrameInfo frame_info;
8484 libvpx::VP9FrameParamsQpRTC frame_params;
8585 frame_params.frame_type = KEY_FRAME;
@@ -110,7 +110,7 @@ class RcInterfaceTest : public ::testing::Test { · 24 unmodified lines
110110
111111 void RunSVC() {
112112 SetConfigSVC();
113− rc_api_->Create(rc_cfg_);
113+ rc_api_ = libvpx::VP9RateControlRTC::Create(rc_cfg_);
114114 FrameInfo frame_info;
115115 libvpx::VP9FrameParamsQpRTC frame_params;
116116 frame_params.frame_type = KEY_FRAME;
test/test-data.mk+2−0
@@ -27,6 +27,8 @@ LIBVPX_TEST_DATA-$(CONFIG_VP9_ENCODER) += noisy_clip_640_360.y4m · 26 unmodified lines
2727 LIBVPX_TEST_DATA-$(CONFIG_VP9_ENCODER) += rush_hour_444.y4m
2828 LIBVPX_TEST_DATA-$(CONFIG_VP9_ENCODER) += screendata.y4m
2929 LIBVPX_TEST_DATA-$(CONFIG_VP9_ENCODER) += niklas_640_480_30.yuv
30+LIBVPX_TEST_DATA-$(CONFIG_VP9_ENCODER) += rc_interface_test_one_layer
31+LIBVPX_TEST_DATA-$(CONFIG_VP9_ENCODER) += rc_interface_test_svc
3032 LIBVPX_TEST_DATA-$(CONFIG_RATE_CTRL) += bus_352x288_420_f20_b8.yuv
3133
3234 # Test vectors
test/test-data.sha1+2−0
@@ -869,3 +869,5 @@ bac455906360b45338a16dd626ac5f19bc36a307 *desktop_office1.1280_720-020.yuv · 868 unmodified lines
869869 518a0be998afece76d3df76047d51e256c591ff2 *invalid-bug-148271109.ivf
870870 d3964f9dad9f60363c81b688324d95b4ec7c8038 *invalid-bug-148271109.ivf.res
871871 ad18ca16f0a249fb3b7c38de0d9b327fed273f96 *hantro_collage_w352h288_nv12.yuv
872+03f827c0e36ff9a6e23c5cc11936924e4f1827ab *rc_interface_test_one_layer
873+99e4f4c2961d46dc286db230090a39d78460b25d *rc_interface_test_svc

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t