/external/libvpx/libvpx/test/ |
D | vp9_datarate_test.cc | 34 bits_in_buffer_model_ = cfg_.rc_target_bitrate * cfg_.rc_buf_initial_sz; in ResetModel() 177 duration * timebase_ * cfg_.rc_target_bitrate * 1000); in FramePktHook() 275 cfg_.rc_target_bitrate = bitrates[bitrate_index]; in TEST_P() 278 ASSERT_GE(effective_datarate_[0], cfg_.rc_target_bitrate * 0.75) in TEST_P() 280 ASSERT_LE(effective_datarate_[0], cfg_.rc_target_bitrate * 1.36) in TEST_P() 302 cfg_.rc_target_bitrate = bitrates[bitrate_index]; in TEST_P() 305 ASSERT_GE(effective_datarate_[0], cfg_.rc_target_bitrate * 0.75) in TEST_P() 307 ASSERT_LE(effective_datarate_[0], cfg_.rc_target_bitrate * 1.35) in TEST_P() 331 cfg_.rc_target_bitrate = bitrates[bitrate_index]; in TEST_P() 335 ASSERT_GE(effective_datarate_[0], cfg_.rc_target_bitrate * 0.75) in TEST_P() [all …]
|
D | vp8_datarate_test.cc | 39 bits_in_buffer_model_ = cfg_.rc_target_bitrate * cfg_.rc_buf_initial_sz; in ResetModel() 89 duration * timebase_ * cfg_.rc_target_bitrate * 1000); in FramePktHook() 173 cfg_.rc_target_bitrate = 300; in TEST_P() 176 ASSERT_GE(cfg_.rc_target_bitrate, effective_datarate_ * 0.95) in TEST_P() 179 ASSERT_LE(cfg_.rc_target_bitrate, file_datarate_ * 1.4) in TEST_P() 193 cfg_.rc_target_bitrate = 300; in TEST_P() 201 ASSERT_GE(cfg_.rc_target_bitrate, effective_datarate_ * 0.95) in TEST_P() 203 ASSERT_LE(cfg_.rc_target_bitrate, file_datarate_ * 1.4) in TEST_P() 229 cfg_.rc_target_bitrate = i; in TEST_P() 232 ASSERT_GE(cfg_.rc_target_bitrate, effective_datarate_ * 0.95) in TEST_P() [all …]
|
D | svc_datarate_test.cc | 204 cfg_.rc_target_bitrate -= cfg_.layer_target_bitrate[8]; in PreEncodeFrameHook() 217 cfg_.rc_target_bitrate += cfg_.layer_target_bitrate[8]; in PreEncodeFrameHook() 263 cfg_.rc_target_bitrate = cfg_.rc_target_bitrate >> 1; in PreEncodeFrameHook() 281 cfg_.rc_target_bitrate -= in PreEncodeFrameHook() 293 cfg_.rc_target_bitrate += in PreEncodeFrameHook() 299 cfg_.rc_target_bitrate -= in PreEncodeFrameHook() 310 cfg_.rc_target_bitrate += cfg_.layer_target_bitrate[1]; in PreEncodeFrameHook() 316 cfg_.rc_target_bitrate += cfg_.layer_target_bitrate[2]; in PreEncodeFrameHook() 599 cfg_.rc_target_bitrate = 500; in TEST_P() 629 cfg_.rc_target_bitrate = 100; in TEST_P() [all …]
|
D | error_resilience_test.cc | 199 cfg_.rc_target_bitrate = 2000; in TEST_P() 234 cfg_.rc_target_bitrate = 500; in TEST_P() 296 cfg_.rc_target_bitrate = 500; 306 cfg_.ts_target_bitrate[0] = 60 * cfg_.rc_target_bitrate / 100; 307 cfg_.ts_target_bitrate[1] = cfg_.rc_target_bitrate; 343 cfg_.rc_target_bitrate = 500; 353 cfg_.ts_target_bitrate[0] = 60 * cfg_.rc_target_bitrate / 100; 354 cfg_.ts_target_bitrate[1] = cfg_.rc_target_bitrate; 556 cfg_.rc_target_bitrate = i; in TEST_P() 559 cfg_.ts_target_bitrate[0] = 40 * cfg_.rc_target_bitrate / 100; in TEST_P() [all …]
|
D | svc_end_to_end_test.cc | 80 cfg_.rc_target_bitrate = 800; in TEST_P() 253 cfg_.rc_target_bitrate = 600; in TEST_P() 280 cfg_.rc_target_bitrate = 400; in TEST_P() 307 cfg_.rc_target_bitrate = 600; in TEST_P() 334 cfg_.rc_target_bitrate = 600; in TEST_P() 363 cfg_.rc_target_bitrate = 400; in TEST_P() 393 cfg_.rc_target_bitrate = 600; in TEST_P() 422 cfg_.rc_target_bitrate = 600; in TEST_P() 447 cfg_.rc_target_bitrate = 600; in TEST_P()
|
D | level_test.cc | 39 cfg_.rc_target_bitrate = 400; in SetUp() 74 cfg_.rc_target_bitrate = 150; in TEST_P() 84 cfg_.rc_target_bitrate = 1200; in TEST_P() 94 cfg_.rc_target_bitrate = 8000; in TEST_P() 108 cfg_.rc_target_bitrate = 1600; in TEST_P() 127 cfg.rc_target_bitrate = 100; in TEST_P()
|
D | alt_ref_aq_segment_test.cc | 58 cfg_.rc_target_bitrate = 300; in TEST_P() 79 cfg_.rc_target_bitrate = 300; in TEST_P() 100 cfg_.rc_target_bitrate = 300; in TEST_P() 121 cfg_.rc_target_bitrate = 300; in TEST_P() 142 cfg_.rc_target_bitrate = 300; in TEST_P()
|
D | cpu_speed_test.cc | 76 cfg_.rc_target_bitrate = 400; in TEST_P() 94 cfg_.rc_target_bitrate = 400; in TEST_P() 109 cfg_.rc_target_bitrate = 2000; in TEST_P() 126 cfg_.rc_target_bitrate = 12000; in TEST_P() 142 cfg_.rc_target_bitrate = 200; in TEST_P()
|
D | aq_segment_test.cc | 55 cfg_.rc_target_bitrate = 300; in TEST_P() 75 cfg_.rc_target_bitrate = 300; in TEST_P() 95 cfg_.rc_target_bitrate = 300; in TEST_P()
|
D | vp9_lossless_test.cc | 70 cfg_.rc_target_bitrate = 2000; in TEST_P() 90 cfg_.rc_target_bitrate = 2000; in TEST_P() 105 cfg_.rc_target_bitrate = 2000; in TEST_P()
|
D | borders_test.cc | 57 cfg_.rc_target_bitrate = 2000; in TEST_P() 73 cfg_.rc_target_bitrate = 200; in TEST_P()
|
D | vp9_end_to_end_test.cc | 213 cfg_.rc_target_bitrate = 500; in SetUp() 241 cfg_.rc_target_bitrate = kBitrate; in TEST_P() 266 cfg_.rc_target_bitrate = kBitrate; in TEST_P() 293 cfg_.rc_target_bitrate = kBitrate; in TEST_P()
|
D | cq_test.cc | 108 cfg_.rc_target_bitrate = kCQTargetBitrate; in TEST_P() 123 cfg_.rc_target_bitrate = cq_actual_bitrate; in TEST_P()
|
D | encode_api_test.cc | 161 cfg[0].rc_target_bitrate = target_bitrate; /* Set target bitrate */ in TEST() 166 cfg[1].rc_target_bitrate = 500; in TEST()
|
D | active_map_test.cc | 76 cfg_.rc_target_bitrate = 400; in TEST_P()
|
/external/libaom/libaom/test/ |
D | datarate_test.cc | 42 bits_in_buffer_model_ = cfg_.rc_target_bitrate * cfg_.rc_buf_initial_sz; in ResetModel() 90 duration * timebase_ * cfg_.rc_target_bitrate * 1000); in FramePktHook() 140 cfg_.rc_target_bitrate = i; in TEST_P() 143 ASSERT_GE(effective_datarate_, cfg_.rc_target_bitrate * 0.75) in TEST_P() 145 ASSERT_LE(effective_datarate_, cfg_.rc_target_bitrate * 1.25) in TEST_P() 164 cfg_.rc_target_bitrate = i; in TEST_P() 167 ASSERT_GE(effective_datarate_, cfg_.rc_target_bitrate * 0.85) in TEST_P() 169 ASSERT_LE(effective_datarate_, cfg_.rc_target_bitrate * 1.15) in TEST_P() 190 cfg_.rc_target_bitrate = i; in TEST_P() 193 ASSERT_GE(static_cast<double>(cfg_.rc_target_bitrate), in TEST_P() [all …]
|
D | cpu_speed_test.cc | 83 cfg_.rc_target_bitrate = 400; in TestQ0() 101 cfg_.rc_target_bitrate = 400; in TestScreencastQ0() 116 cfg_.rc_target_bitrate = 2000; in TestTuneScreen() 133 cfg_.rc_target_bitrate = 12000; in TestEncodeHighBitrate() 149 cfg_.rc_target_bitrate = 200; in TestLowBitrate()
|
D | lossless_test.cc | 72 cfg_.rc_target_bitrate = 2000; in TEST_P() 92 cfg_.rc_target_bitrate = 2000; in TEST_P() 107 cfg_.rc_target_bitrate = 2000; in TEST_P()
|
D | borders_test.cc | 58 cfg_.rc_target_bitrate = 2000; in TEST_P() 74 cfg_.rc_target_bitrate = 200; in TEST_P()
|
D | horz_superres_test.cc | 93 cfg_.rc_target_bitrate = kBitrate; in SetUp() 196 cfg_.rc_target_bitrate = kBitrate; in SetUp() 307 cfg_.rc_target_bitrate = kBitrate; in SetUp()
|
D | qm_test.cc | 57 cfg_.rc_target_bitrate = 300; in DoTest()
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
D | screenshare_layers_unittest.cc | 56 frame_size_ = ((vpx_cfg.rc_target_bitrate * 1000) / 8) / kFrameRate; in ConfigureBitrates() 371 cfg.rc_target_bitrate); in TEST_F() 381 cfg.rc_target_bitrate); in TEST_F() 389 EXPECT_EQ(100U, cfg.rc_target_bitrate); in TEST_F()
|
/external/libvpx/libvpx/examples/ |
D | svc_encodeframe.c | 305 if (total_bitrate != enc_cfg->rc_target_bitrate) in assign_layer_bitrates() 320 (unsigned int)(enc_cfg->rc_target_bitrate * alloc_ratio[sl] / in assign_layer_bitrates() 349 if (total_bitrate != enc_cfg->rc_target_bitrate) in assign_layer_bitrates() 367 (unsigned int)(enc_cfg->rc_target_bitrate * alloc_ratio[i] / in assign_layer_bitrates() 478 enc_cfg->rc_target_bitrate / svc_ctx->temporal_layers; in vpx_svc_init()
|
D | vp9_spatial_svc_encoder.c | 222 enc_cfg->rc_target_bitrate = default_bitrate; in parse_command_line() 245 enc_cfg->rc_target_bitrate = arg_parse_uint(&arg); in parse_command_line() 377 if (enc_cfg->rc_target_bitrate > 0) { in parse_command_line() 380 min_bitrate * 100 / enc_cfg->rc_target_bitrate; in parse_command_line() 384 max_bitrate * 100 / enc_cfg->rc_target_bitrate; in parse_command_line() 413 enc_cfg->rc_target_bitrate, enc_cfg->kf_max_dist); in parse_command_line()
|
/external/libaom/libaom/stats/ |
D | rate_hist.c | 90 if (!cfg->rc_target_bitrate) return; in update_rate_histogram() 106 idx = (int)(avg_bitrate * (RATE_BINS / 2) / (cfg->rc_target_bitrate * 1000)); in update_rate_histogram()
|