/external/libvpx/libvpx/test/ |
D | datarate_test.cc | 37 bits_in_buffer_model_ = cfg_.rc_target_bitrate * cfg_.rc_buf_initial_sz; in ResetModel() 79 duration * timebase_ * cfg_.rc_target_bitrate * 1000); in FramePktHook() 123 / (cfg_.rc_buf_initial_sz / 1000.0 + duration_); in EndPassHook() 148 cfg_.rc_buf_initial_sz = 500; in TEST_P() 149 cfg_.rc_dropframe_thresh = 1; in TEST_P() 150 cfg_.rc_max_quantizer = 56; in TEST_P() 151 cfg_.rc_end_usage = VPX_CBR; in TEST_P() 163 cfg_.rc_target_bitrate = 300; in TEST_P() 166 ASSERT_GE(cfg_.rc_target_bitrate, effective_datarate_ * 0.95) in TEST_P() 169 ASSERT_LE(cfg_.rc_target_bitrate, file_datarate_ * 1.3) in TEST_P() [all …]
|
D | error_resilience_test.cc | 108 if (cfg_.ts_number_layers > 1) { in PreEncodeFrameHook() 110 cfg_.ts_number_layers, in PreEncodeFrameHook() 120 (cfg_.g_pass == VPX_RC_LAST_PASS || cfg_.g_pass == VPX_RC_ONE_PASS)) { in PreEncodeFrameHook() 149 (cfg_.g_pass == VPX_RC_LAST_PASS || cfg_.g_pass == VPX_RC_ONE_PASS)) { in DoDecode() 214 cfg_.g_timebase = timebase; in TEST_P() 215 cfg_.rc_target_bitrate = 2000; in TEST_P() 216 cfg_.g_lag_in_frames = 10; in TEST_P() 224 cfg_.g_error_resilient = 0; in TEST_P() 230 cfg_.g_error_resilient = 1; in TEST_P() 249 cfg_.g_timebase = timebase; in TEST_P() [all …]
|
D | aq_segment_test.cc | 48 cfg_.rc_min_quantizer = 8; in TEST_P() 49 cfg_.rc_max_quantizer = 56; in TEST_P() 50 cfg_.rc_end_usage = VPX_CBR; in TEST_P() 51 cfg_.g_lag_in_frames = 0; in TEST_P() 52 cfg_.rc_buf_initial_sz = 500; in TEST_P() 53 cfg_.rc_buf_optimal_sz = 500; in TEST_P() 54 cfg_.rc_buf_sz = 1000; in TEST_P() 55 cfg_.rc_target_bitrate = 300; in TEST_P() 68 cfg_.rc_min_quantizer = 8; in TEST_P() 69 cfg_.rc_max_quantizer = 56; in TEST_P() [all …]
|
D | cpu_speed_test.cc | 36 cfg_.g_lag_in_frames = 25; in SetUp() 37 cfg_.rc_end_usage = VPX_VBR; in SetUp() 39 cfg_.g_lag_in_frames = 0; in SetUp() 40 cfg_.rc_end_usage = VPX_CBR; in SetUp() 76 cfg_.rc_2pass_vbr_minsection_pct = 5; in TEST_P() 77 cfg_.rc_2pass_vbr_minsection_pct = 2000; in TEST_P() 78 cfg_.rc_target_bitrate = 400; in TEST_P() 79 cfg_.rc_max_quantizer = 0; in TEST_P() 80 cfg_.rc_min_quantizer = 0; in TEST_P() 93 cfg_.g_timebase = video.timebase(); in TEST_P() [all …]
|
D | resize_test.cc | 147 cfg_.g_lag_in_frames = 0; in TEST_P() 190 write_ivf_file_header(&cfg_, out_frames_, outfile_); in EndPassHook() 208 cfg_.rc_min_quantizer = cfg_.rc_max_quantizer = new_q; in PreEncodeFrameHook() 209 encoder->Config(&cfg_); in PreEncodeFrameHook() 235 write_ivf_file_header(&cfg_, 0, outfile_); in FramePktHook() 258 cfg_.rc_min_quantizer = cfg_.rc_max_quantizer = 48; in TEST_P() 264 cfg_.g_lag_in_frames = 0; in TEST_P() 283 cfg_.g_w = 352; in TEST_P() 284 cfg_.g_h = 288; in TEST_P() 304 cfg_.rc_target_bitrate = 500; in PreEncodeFrameHook() [all …]
|
D | vp9_lossless_test.cc | 46 if (cfg_.rc_max_quantizer > 0 || cfg_.rc_min_quantizer > 0) { in PreEncodeFrameHook() 74 cfg_.g_timebase = timebase; in TEST_P() 75 cfg_.rc_target_bitrate = 2000; in TEST_P() 76 cfg_.g_lag_in_frames = 25; in TEST_P() 77 cfg_.rc_min_quantizer = 0; in TEST_P() 78 cfg_.rc_max_quantizer = 0; in TEST_P() 93 cfg_.g_profile = 1; in TEST_P() 94 cfg_.g_timebase = video.timebase(); in TEST_P() 95 cfg_.rc_target_bitrate = 2000; in TEST_P() 96 cfg_.g_lag_in_frames = 25; in TEST_P() [all …]
|
D | borders_test.cc | 53 cfg_.g_lag_in_frames = 25; in TEST_P() 54 cfg_.rc_2pass_vbr_minsection_pct = 5; in TEST_P() 55 cfg_.rc_2pass_vbr_minsection_pct = 2000; in TEST_P() 56 cfg_.rc_target_bitrate = 2000; in TEST_P() 57 cfg_.rc_max_quantizer = 10; in TEST_P() 69 cfg_.g_lag_in_frames = 25; in TEST_P() 70 cfg_.rc_2pass_vbr_minsection_pct = 5; in TEST_P() 71 cfg_.rc_2pass_vbr_maxsection_pct = 2000; in TEST_P() 72 cfg_.rc_target_bitrate = 200; in TEST_P() 73 cfg_.rc_min_quantizer = 40; in TEST_P()
|
D | encode_perf_test.cc | 77 cfg_.g_lag_in_frames = 0; in SetUp() 78 cfg_.rc_min_quantizer = 2; in SetUp() 79 cfg_.rc_max_quantizer = 56; in SetUp() 80 cfg_.rc_dropframe_thresh = 0; in SetUp() 81 cfg_.rc_undershoot_pct = 50; in SetUp() 82 cfg_.rc_overshoot_pct = 50; in SetUp() 83 cfg_.rc_buf_sz = 1000; in SetUp() 84 cfg_.rc_buf_initial_sz = 500; in SetUp() 85 cfg_.rc_buf_optimal_sz = 600; in SetUp() 86 cfg_.rc_resize_allowed = 0; in SetUp() [all …]
|
D | vp9_ethread_test.cc | 48 cfg_.g_lag_in_frames = 3; in SetUp() 49 cfg_.rc_end_usage = VPX_VBR; in SetUp() 50 cfg_.rc_2pass_vbr_minsection_pct = 5; in SetUp() 51 cfg_.rc_2pass_vbr_minsection_pct = 2000; in SetUp() 53 cfg_.g_lag_in_frames = 0; in SetUp() 54 cfg_.rc_end_usage = VPX_CBR; in SetUp() 55 cfg_.g_error_resilient = 1; in SetUp() 57 cfg_.rc_max_quantizer = 56; in SetUp() 58 cfg_.rc_min_quantizer = 0; in SetUp() 113 cfg_.rc_target_bitrate = 1000; in TEST_P() [all …]
|
D | vp9_end_to_end_test.cc | 101 cfg_.g_lag_in_frames = 5; in SetUp() 102 cfg_.rc_end_usage = VPX_VBR; in SetUp() 104 cfg_.g_lag_in_frames = 0; in SetUp() 105 cfg_.rc_end_usage = VPX_CBR; in SetUp() 106 cfg_.rc_buf_sz = 1000; in SetUp() 107 cfg_.rc_buf_initial_sz = 500; in SetUp() 108 cfg_.rc_buf_optimal_sz = 600; in SetUp() 158 cfg_.rc_target_bitrate = kBitrate; in TEST_P() 159 cfg_.g_error_resilient = 0; in TEST_P() 160 cfg_.g_profile = test_video_param_.profile; in TEST_P() [all …]
|
D | decode_perf_test.cc | 132 cfg_.g_lag_in_frames = 25; in SetUp() 133 cfg_.rc_min_quantizer = 2; in SetUp() 134 cfg_.rc_max_quantizer = 56; in SetUp() 135 cfg_.rc_dropframe_thresh = 0; in SetUp() 136 cfg_.rc_undershoot_pct = 50; in SetUp() 137 cfg_.rc_overshoot_pct = 50; in SetUp() 138 cfg_.rc_buf_sz = 1000; in SetUp() 139 cfg_.rc_buf_initial_sz = 500; in SetUp() 140 cfg_.rc_buf_optimal_sz = 600; in SetUp() 141 cfg_.rc_resize_allowed = 0; in SetUp() [all …]
|
D | vp9_arf_freq_test.cc | 99 cfg_.g_lag_in_frames = 25; in SetUp() 100 cfg_.rc_end_usage = VPX_VBR; in SetUp() 102 cfg_.g_lag_in_frames = 0; in SetUp() 103 cfg_.rc_end_usage = VPX_CBR; in SetUp() 104 cfg_.rc_buf_sz = 1000; in SetUp() 105 cfg_.rc_buf_initial_sz = 500; in SetUp() 106 cfg_.rc_buf_optimal_sz = 600; in SetUp() 194 cfg_.rc_target_bitrate = kBitrate; in TEST_P() 195 cfg_.g_error_resilient = 0; in TEST_P() 196 cfg_.g_profile = test_video_param_.profile; in TEST_P() [all …]
|
D | encode_test_driver.cc | 28 cfg_.g_w = img->d_w; in InitEncoder() 29 cfg_.g_h = img->d_h; in InitEncoder() 30 cfg_.g_timebase = video->timebase(); in InitEncoder() 31 cfg_.rc_twopass_stats_in = stats_->buf(); in InitEncoder() 33 res = vpx_codec_enc_init(&encoder_, CodecInterface(), &cfg_, in InitEncoder() 87 if (cfg_.g_w != img->d_w || cfg_.g_h != img->d_h) { in EncodeFrameInternal() 88 cfg_.g_w = img->d_w; in EncodeFrameInternal() 89 cfg_.g_h = img->d_h; in EncodeFrameInternal() 90 res = vpx_codec_enc_config_set(&encoder_, &cfg_); in EncodeFrameInternal() 111 const vpx_codec_err_t res = codec_->DefaultEncoderConfig(&cfg_, 0); in InitializeConfig() [all …]
|
D | active_map_refresh_test.cc | 106 cfg_.g_lag_in_frames = 0; in TEST_P() 107 cfg_.g_profile = 1; in TEST_P() 108 cfg_.rc_target_bitrate = 600; in TEST_P() 109 cfg_.rc_resize_allowed = 0; in TEST_P() 110 cfg_.rc_min_quantizer = 8; in TEST_P() 111 cfg_.rc_max_quantizer = 30; in TEST_P() 112 cfg_.g_pass = VPX_RC_ONE_PASS; in TEST_P() 113 cfg_.rc_end_usage = VPX_CBR; in TEST_P() 114 cfg_.kf_max_dist = 90000; in TEST_P()
|
D | active_map_test.cc | 73 cfg_.g_lag_in_frames = 0; in TEST_P() 74 cfg_.rc_target_bitrate = 400; in TEST_P() 75 cfg_.rc_resize_allowed = 0; in TEST_P() 76 cfg_.g_pass = VPX_RC_ONE_PASS; in TEST_P() 77 cfg_.rc_end_usage = VPX_CBR; in TEST_P() 78 cfg_.kf_max_dist = 90000; in TEST_P()
|
D | cq_test.cc | 71 if (cfg_.rc_end_usage == VPX_CQ) { in PreEncodeFrameHook() 109 cfg_.g_timebase = timebase; in TEST_P() 110 cfg_.rc_target_bitrate = kCQTargetBitrate; in TEST_P() 111 cfg_.g_lag_in_frames = 25; in TEST_P() 113 cfg_.rc_end_usage = VPX_CQ; in TEST_P() 124 cfg_.rc_end_usage = VPX_VBR; in TEST_P() 125 cfg_.rc_target_bitrate = cq_actual_bitrate; in TEST_P()
|
D | decode_test_driver.h | 44 : cfg_(cfg), flags_(0), deadline_(deadline), init_done_(false) { in Decoder() 50 : cfg_(cfg), flags_(flag), deadline_(deadline), init_done_(false) { in Decoder() 121 &cfg_, flags_); in InitOnce() 128 vpx_codec_dec_cfg_t cfg_; variable 169 cfg_(), in DecoderTest() 175 vpx_codec_dec_cfg_t cfg_; variable
|
D | tile_independence_test.cc | 87 cfg_.g_timebase = timebase; in TEST_P() 88 cfg_.rc_target_bitrate = 500; in TEST_P() 89 cfg_.g_lag_in_frames = 25; in TEST_P() 90 cfg_.rc_end_usage = VPX_VBR; in TEST_P()
|
D | keyframe_test.cc | 73 cfg_.kf_mode = VPX_KF_DISABLED; in TEST_P() 83 cfg_.kf_mode = VPX_KF_DISABLED; in TEST_P() 97 cfg_.kf_max_dist = 25; in TEST_P() 110 cfg_.kf_mode = VPX_KF_AUTO; in TEST_P()
|
D | altref_test.cc | 56 cfg_.g_timebase = timebase; in TEST_P() 57 cfg_.rc_target_bitrate = 1000; in TEST_P() 58 cfg_.g_lag_in_frames = GET_PARAM(1); in TEST_P()
|
D | encode_test_driver.h | 96 : cfg_(cfg), deadline_(deadline), init_flags_(init_flags), stats_(stats) { in Encoder() 156 cfg_ = *cfg; in Config() 179 vpx_codec_enc_cfg_t cfg_; variable 198 cfg_.g_threads = 1; in EncoderTest() 266 vpx_codec_enc_cfg_t cfg_; variable
|
D | vp9_encoder_parms_get_to_decoder.cc | 68 cfg_.g_lag_in_frames = 25; in SetUp() 69 cfg_.g_error_resilient = encode_parms.error_resilient; in SetUp() 72 cfg_.rc_target_bitrate = test_video_.bitrate; in SetUp()
|
D | decode_test_driver.cc | 116 memcpy(&cfg_, &dec_cfg, sizeof(cfg_)); in set_cfg()
|
D | config_test.cc | 51 cfg_.g_lag_in_frames = 15; in TEST_P()
|
D | superframe_test.cc | 98 cfg_.g_lag_in_frames = 25; in TEST_P()
|