/external/libvpx/libvpx/test/ |
D | error_resilience_test.cc | 108 if (cfg_.ts_number_layers > 1) { in PreEncodeFrameHook() 110 cfg_.ts_number_layers, in PreEncodeFrameHook() 320 cfg_.ts_number_layers = 2; 369 cfg_.ts_number_layers = 2; 486 if (cfg_.ts_number_layers > 1) { in PreEncodeFrameHook() 487 int layer_id = SetLayerId(video->frame(), cfg_.ts_number_layers); in PreEncodeFrameHook() 488 int frame_flags = SetFrameFlags(video->frame(), cfg_.ts_number_layers); in PreEncodeFrameHook() 508 int layer = SetLayerId(tot_frame_number_, cfg_.ts_number_layers); in FramePktHook() 512 for (int i = layer; i < static_cast<int>(cfg_.ts_number_layers); ++i) { in FramePktHook() 522 if (cfg_.ts_number_layers > 1) { in EndPassHook() [all …]
|
D | datarate_test.cc | 370 if (cfg_.ts_number_layers > 1) { in PreEncodeFrameHook() 376 frame_flags_ = SetFrameFlags(video->frame(), cfg_.ts_number_layers); in PreEncodeFrameHook() 378 cfg_.ts_number_layers); in PreEncodeFrameHook() 402 int layer = SetLayerId(tot_frame_number_, cfg_.ts_number_layers); in FramePktHook() 416 for (int i = layer; i < static_cast<int>(cfg_.ts_number_layers); ++i) { in FramePktHook() 427 for (int layer = 0; layer < static_cast<int>(cfg_.ts_number_layers); in EndPassHook() 563 cfg_.ts_number_layers = 2; in TEST_P() 581 for (int j = 0; j < static_cast<int>(cfg_.ts_number_layers); ++j) { in TEST_P() 605 cfg_.ts_number_layers = 3; in TEST_P() 622 for (int j = 0; j < static_cast<int>(cfg_.ts_number_layers); ++j) { in TEST_P() [all …]
|
/external/libvpx/libvpx/examples/ |
D | vpx_temporal_svc_encoder.c | 91 for (i = 0; i < cfg->ts_number_layers; ++i) { in set_rate_control_metrics() 119 cfg->ts_number_layers); in printout_rate_control_summary() 120 for (i = 0; i < cfg->ts_number_layers; ++i) { in printout_rate_control_summary() 173 cfg->ts_number_layers = 1; in set_temporal_layer_pattern() 186 cfg->ts_number_layers = 2; in set_temporal_layer_pattern() 210 cfg->ts_number_layers = 2; in set_temporal_layer_pattern() 227 cfg->ts_number_layers = 3; in set_temporal_layer_pattern() 248 cfg->ts_number_layers = 3; in set_temporal_layer_pattern() 268 cfg->ts_number_layers = 3; in set_temporal_layer_pattern() 289 cfg->ts_number_layers = 3; in set_temporal_layer_pattern() [all …]
|
D | vp9_spatial_svc_encoder.c | 408 for (tl = 0; tl < cfg->ts_number_layers; ++tl) { in set_rate_control_stats() 409 const int layer = sl * cfg->ts_number_layers + tl; in set_rate_control_stats() 410 const int tlayer0 = sl * cfg->ts_number_layers; in set_rate_control_stats() 446 cfg->ss_number_layers, cfg->ts_number_layers); in printout_rate_control_summary() 448 for (tl = 0; tl < cfg->ts_number_layers; ++tl) { in printout_rate_control_summary() 449 const int layer = sl * cfg->ts_number_layers + tl; in printout_rate_control_summary() 676 for (tl = 0; tl < enc_cfg.ts_number_layers; ++tl) { in main() 765 ++rc.layer_input_frames[sl * enc_cfg.ts_number_layers + in main() 769 tl < enc_cfg.ts_number_layers; ++tl) { in main() 778 tl < enc_cfg.ts_number_layers; ++tl) { in main() [all …]
|
D | vp8_multi_resolution_encoder.c | 193 cfg->ts_number_layers = 1; in set_temporal_layer_pattern() 207 cfg->ts_number_layers = 2; in set_temporal_layer_pattern() 260 cfg->ts_number_layers = 3; in set_temporal_layer_pattern()
|
/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 | 196 RANGE_CHECK(cfg, ts_number_layers, 1, VPX_TS_MAX_LAYERS); in validate_config() 198 if (cfg->ss_number_layers * cfg->ts_number_layers > VPX_MAX_LAYERS) in validate_config() 200 if (cfg->ts_number_layers > 1) { in validate_config() 203 for (tl = 1; tl < cfg->ts_number_layers; ++tl) { in validate_config() 205 LAYER_IDS_TO_IDX(sl, tl, cfg->ts_number_layers); in validate_config() 212 RANGE_CHECK(cfg, ts_rate_decimator[cfg->ts_number_layers - 1], 1, 1); in validate_config() 213 for (tl = cfg->ts_number_layers - 2; tl > 0; --tl) in validate_config() 220 if ((cfg->ss_number_layers > 1 || cfg->ts_number_layers > 1) && in validate_config() 229 if (cfg->ss_number_layers * cfg->ts_number_layers > 3 && in validate_config() 272 if (cfg->ss_number_layers > 1 || cfg->ts_number_layers > 1) { in validate_config() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_svc_layercontext.c | 55 for (tl = 0; tl < oxcf->ts_number_layers; ++tl) { in vp9_init_layer_context() 56 int layer = LAYER_IDS_TO_IDX(sl, tl, oxcf->ts_number_layers); in vp9_init_layer_context() 141 for (tl = 0; tl < oxcf->ts_number_layers; ++tl) { in vp9_update_layer_context_change_config() 142 layer = LAYER_IDS_TO_IDX(sl, tl, oxcf->ts_number_layers); in vp9_update_layer_context_change_config() 147 layer = LAYER_IDS_TO_IDX(sl, ((oxcf->ts_number_layers - 1) < 0 ? in vp9_update_layer_context_change_config() 148 0 : (oxcf->ts_number_layers - 1)), oxcf->ts_number_layers); in vp9_update_layer_context_change_config() 153 for (tl = 0; tl < oxcf->ts_number_layers; ++tl) { in vp9_update_layer_context_change_config() 155 &svc->layer_context[sl * oxcf->ts_number_layers + tl]; in vp9_update_layer_context_change_config() 727 for (tl = 0; tl < oxcf->ts_number_layers; ++tl) { in vp9_free_svc_cyclic_refresh() 728 int layer = LAYER_IDS_TO_IDX(sl, tl, oxcf->ts_number_layers); in vp9_free_svc_cyclic_refresh()
|
D | vp9_encoder.h | 193 int ts_number_layers; // Number of temporal layers. member
|
D | vp9_encoder.c | 792 cpi->svc.number_temporal_layers = oxcf->ts_number_layers; in init_config()
|
/external/libvpx/libvpx/vp8/ |
D | vp8_cx_iface.c | 233 RANGE_CHECK(cfg, ts_number_layers, 1, 5); in validate_config() 235 if (cfg->ts_number_layers > 1) in validate_config() 240 for (i=1; i<cfg->ts_number_layers; i++) in validate_config() 245 RANGE_CHECK(cfg, ts_rate_decimator[cfg->ts_number_layers-1], 1, 1); in validate_config() 246 for (i=cfg->ts_number_layers-2; i>0; i--) in validate_config() 250 RANGE_CHECK_HI(cfg, ts_layer_id[i], cfg->ts_number_layers-1); in validate_config() 365 oxcf->number_of_layers = cfg.ts_number_layers; in set_vp8e_config() 1202 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 | 702 unsigned int ts_number_layers; member
|
/external/libvpx/libvpx/vpx/src/ |
D | svc_encodeframe.c | 477 enc_cfg->ts_number_layers = svc_ctx->temporal_layers; in vpx_svc_init()
|