/external/libvpx/libvpx/test/ |
D | error_resilience_test.cc | 97 if (cfg_.ts_number_layers > 1) { in PreEncodeFrameHook() 99 SetFrameFlags(video->frame(), cfg_.ts_number_layers, pattern_switch_); in PreEncodeFrameHook() 302 cfg_.ts_number_layers = 2; 349 cfg_.ts_number_layers = 2; 465 if (cfg_.ts_number_layers > 1) { in PreEncodeFrameHook() 466 int layer_id = SetLayerId(video->frame(), cfg_.ts_number_layers); in PreEncodeFrameHook() 467 int frame_flags = SetFrameFlags(video->frame(), cfg_.ts_number_layers); in PreEncodeFrameHook() 487 int layer = SetLayerId(tot_frame_number_, cfg_.ts_number_layers); in FramePktHook() 491 for (int i = layer; i < static_cast<int>(cfg_.ts_number_layers); ++i) { in FramePktHook() 501 if (cfg_.ts_number_layers > 1) { in EndPassHook() [all …]
|
D | vp9_datarate_test.cc | 141 if (cfg_.ts_number_layers > 1) { in PreEncodeFrameHook() 147 frame_flags_ = GetFrameFlags(video->frame(), cfg_.ts_number_layers); in PreEncodeFrameHook() 149 SetLayerId(video->frame(), cfg_.ts_number_layers); in PreEncodeFrameHook() 151 SetLayerId(video->frame(), cfg_.ts_number_layers); in PreEncodeFrameHook() 173 int layer = SetLayerId(tot_frame_number_, cfg_.ts_number_layers); in FramePktHook() 187 for (int i = layer; i < static_cast<int>(cfg_.ts_number_layers); ++i) { in FramePktHook() 198 for (int layer = 0; layer < static_cast<int>(cfg_.ts_number_layers); in EndPassHook() 484 cfg_.ts_number_layers = 2; in TEST_P() 505 for (int j = 0; j < static_cast<int>(cfg_.ts_number_layers); ++j) { in TEST_P() 530 cfg_.ts_number_layers = 3; in TEST_P() [all …]
|
D | svc_test.cc | 18 cfg_.ts_number_layers = num_temporal_layer; in SetSvcConfig() 36 number_temporal_layers_ = cfg_.ts_number_layers; in SetSvcConfig() 91 int temporal_layers = cfg_.ts_number_layers; in AssignLayerBitrates()
|
D | svc_datarate_test.cc | 795 cfg_.ts_number_layers = 1; in TEST_P() 813 number_temporal_layers_ = cfg_.ts_number_layers; in TEST_P() 1083 number_temporal_layers_ = cfg_.ts_number_layers; in TEST_P() 1270 cfg_.ts_number_layers = 1; in TEST_P() 1282 number_temporal_layers_ = cfg_.ts_number_layers; in TEST_P() 1342 cfg_.ts_number_layers = 1; in TEST_P() 1354 number_temporal_layers_ = cfg_.ts_number_layers; in TEST_P()
|
D | encode_api_test.cc | 171 cfg[i].ts_number_layers = 2; in TEST()
|
/external/libvpx/libvpx/examples/ |
D | vpx_temporal_svc_encoder.c | 102 for (i = 0; i < cfg->ts_number_layers; ++i) { in set_rate_control_metrics() 131 cfg->ts_number_layers); in printout_rate_control_summary() 132 for (i = 0; i < cfg->ts_number_layers; ++i) { in printout_rate_control_summary() 255 cfg->ts_number_layers = 1; in set_temporal_layer_pattern() 268 cfg->ts_number_layers = 2; in set_temporal_layer_pattern() 294 cfg->ts_number_layers = 2; in set_temporal_layer_pattern() 312 cfg->ts_number_layers = 3; in set_temporal_layer_pattern() 332 cfg->ts_number_layers = 3; in set_temporal_layer_pattern() 353 cfg->ts_number_layers = 3; in set_temporal_layer_pattern() 375 cfg->ts_number_layers = 3; in set_temporal_layer_pattern() [all …]
|
D | vp9_spatial_svc_encoder.c | 456 for (tl = 0; tl < cfg->ts_number_layers; ++tl) { in set_rate_control_stats() 457 const int layer = sl * cfg->ts_number_layers + tl; in set_rate_control_stats() 458 if (cfg->ts_number_layers == 1) in set_rate_control_stats() 494 cfg->ss_number_layers, cfg->ts_number_layers); in printout_rate_control_summary() 497 for (tl = 0; tl < cfg->ts_number_layers; ++tl) { in printout_rate_control_summary() 498 const int layer = sl * cfg->ts_number_layers + tl; in printout_rate_control_summary() 937 ++rc.layer_input_frames[sl * enc_cfg.ts_number_layers + in main() 943 if (enc_cfg.ts_number_layers == 2) in main() 945 else if (enc_cfg.ts_number_layers == 3) { in main() 950 ++rc.layer_input_frames[sl * enc_cfg.ts_number_layers + tl]; in main() [all …]
|
D | vp8_multi_resolution_encoder.c | 173 cfg->ts_number_layers = 1; in set_temporal_layer_pattern() 186 cfg->ts_number_layers = 2; in set_temporal_layer_pattern() 234 cfg->ts_number_layers = 3; in set_temporal_layer_pattern()
|
D | svc_encodeframe.c | 487 enc_cfg->ts_number_layers = svc_ctx->temporal_layers; in vpx_svc_init()
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
D | default_temporal_layers.cc | 55 cfg->ts_number_layers = number_of_temporal_layers_; in ConfigureBitrates() 68 cfg->ts_number_layers = number_of_temporal_layers_; in ConfigureBitrates() 94 cfg->ts_number_layers = number_of_temporal_layers_; in ConfigureBitrates() 128 cfg->ts_number_layers = 4; in ConfigureBitrates()
|
D | realtime_temporal_layers.cc | 113 cfg->ts_number_layers = temporal_layers_; in ConfigureBitrates()
|
/external/libvpx/libvpx/vp9/ |
D | vp9_cx_iface.c | 210 RANGE_CHECK(cfg, ts_number_layers, 1, VPX_TS_MAX_LAYERS); in validate_config() 223 if (cfg->ss_number_layers * cfg->ts_number_layers > VPX_MAX_LAYERS) in validate_config() 225 if (cfg->ts_number_layers > 1) { in validate_config() 228 for (tl = 1; tl < cfg->ts_number_layers; ++tl) { in validate_config() 229 const int layer = LAYER_IDS_TO_IDX(sl, tl, cfg->ts_number_layers); in validate_config() 236 RANGE_CHECK(cfg, ts_rate_decimator[cfg->ts_number_layers - 1], 1, 1); in validate_config() 237 for (tl = cfg->ts_number_layers - 2; tl > 0; --tl) in validate_config() 282 if (cfg->ss_number_layers > 1 || cfg->ts_number_layers > 1) { in validate_config() 570 oxcf->ts_number_layers = cfg->ts_number_layers; in set_encoder_config() 580 for (tl = 0; tl < oxcf->ts_number_layers; ++tl) { in set_encoder_config() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_svc_layercontext.c | 102 for (tl = 0; tl < oxcf->ts_number_layers; ++tl) { in vp9_init_layer_context() 103 int layer = LAYER_IDS_TO_IDX(sl, tl, oxcf->ts_number_layers); in vp9_init_layer_context() 199 for (tl = 0; tl < oxcf->ts_number_layers; ++tl) { in vp9_update_layer_context_change_config() 200 layer = LAYER_IDS_TO_IDX(sl, tl, oxcf->ts_number_layers); in vp9_update_layer_context_change_config() 207 ((oxcf->ts_number_layers - 1) < 0 ? 0 : (oxcf->ts_number_layers - 1)), in vp9_update_layer_context_change_config() 208 oxcf->ts_number_layers); in vp9_update_layer_context_change_config() 212 for (tl = 0; tl < oxcf->ts_number_layers; ++tl) { in vp9_update_layer_context_change_config() 214 &svc->layer_context[sl * oxcf->ts_number_layers + tl]; in vp9_update_layer_context_change_config() 930 for (tl = 0; tl < oxcf->ts_number_layers; ++tl) { in vp9_free_svc_cyclic_refresh() 931 int layer = LAYER_IDS_TO_IDX(sl, tl, oxcf->ts_number_layers); in vp9_free_svc_cyclic_refresh()
|
D | vp9_encoder.h | 219 int ts_number_layers; // Number of temporal layers. member
|
D | vp9_encoder.c | 1455 cpi->svc.number_temporal_layers = oxcf->ts_number_layers; in init_config()
|
/external/libvpx/libvpx/vp8/ |
D | vp8_cx_iface.c | 229 RANGE_CHECK(cfg, ts_number_layers, 1, 5); in validate_config() 231 if (cfg->ts_number_layers > 1) { in validate_config() 235 for (i = 1; i < cfg->ts_number_layers; ++i) { in validate_config() 241 RANGE_CHECK(cfg, ts_rate_decimator[cfg->ts_number_layers - 1], 1, 1); in validate_config() 242 for (i = cfg->ts_number_layers - 2; i > 0; i--) { in validate_config() 247 RANGE_CHECK_HI(cfg, ts_layer_id[i], cfg->ts_number_layers - 1); in validate_config() 345 oxcf->number_of_layers = cfg.ts_number_layers; in set_vp8e_config() 1109 if (layer_id < 0 || layer_id >= (int)ctx->cfg.ts_number_layers) { in vp8e_set_temporal_layer_id()
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/ |
D | vp9_impl.cc | 332 config_->ts_number_layers = num_temporal_layers_; in InitEncode() 338 config_->ts_number_layers = 1; in InitEncode() 345 config_->ts_number_layers = 2; in InitEncode() 354 config_->ts_number_layers = 3; in InitEncode()
|
/external/libvpx/libvpx/vpx/ |
D | vpx_encoder.h | 644 unsigned int ts_number_layers; member
|