Home
last modified time | relevance | path

Searched refs:rc_target_bitrate (Results 1 – 25 of 79) sorted by relevance

1234

/external/libvpx/libvpx/test/
Dvp9_datarate_test.cc34 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 …]
Dvp8_datarate_test.cc39 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 …]
Dsvc_datarate_test.cc204 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 …]
Derror_resilience_test.cc199 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 …]
Dsvc_end_to_end_test.cc80 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()
Dlevel_test.cc39 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()
Dalt_ref_aq_segment_test.cc58 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()
Dcpu_speed_test.cc76 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()
Daq_segment_test.cc55 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()
Dvp9_lossless_test.cc70 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()
Dborders_test.cc57 cfg_.rc_target_bitrate = 2000; in TEST_P()
73 cfg_.rc_target_bitrate = 200; in TEST_P()
Dvp9_end_to_end_test.cc213 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()
Dcq_test.cc108 cfg_.rc_target_bitrate = kCQTargetBitrate; in TEST_P()
123 cfg_.rc_target_bitrate = cq_actual_bitrate; in TEST_P()
Dencode_api_test.cc161 cfg[0].rc_target_bitrate = target_bitrate; /* Set target bitrate */ in TEST()
166 cfg[1].rc_target_bitrate = 500; in TEST()
Dactive_map_test.cc76 cfg_.rc_target_bitrate = 400; in TEST_P()
/external/libaom/libaom/test/
Ddatarate_test.cc42 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 …]
Dcpu_speed_test.cc83 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()
Dlossless_test.cc72 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()
Dborders_test.cc58 cfg_.rc_target_bitrate = 2000; in TEST_P()
74 cfg_.rc_target_bitrate = 200; in TEST_P()
Dhorz_superres_test.cc93 cfg_.rc_target_bitrate = kBitrate; in SetUp()
196 cfg_.rc_target_bitrate = kBitrate; in SetUp()
307 cfg_.rc_target_bitrate = kBitrate; in SetUp()
Dqm_test.cc57 cfg_.rc_target_bitrate = 300; in DoTest()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dscreenshare_layers_unittest.cc56 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/
Dsvc_encodeframe.c305 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()
Dvp9_spatial_svc_encoder.c222 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/
Drate_hist.c90 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()

1234