Home
last modified time | relevance | path

Searched refs:ts_number_layers (Results 1 – 18 of 18) sorted by relevance

/external/libvpx/libvpx/test/
Derror_resilience_test.cc97 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 …]
Dvp9_datarate_test.cc141 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 …]
Dsvc_test.cc18 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()
Dsvc_datarate_test.cc795 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()
Dencode_api_test.cc171 cfg[i].ts_number_layers = 2; in TEST()
/external/libvpx/libvpx/examples/
Dvpx_temporal_svc_encoder.c102 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 …]
Dvp9_spatial_svc_encoder.c456 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 …]
Dvp8_multi_resolution_encoder.c173 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()
Dsvc_encodeframe.c487 enc_cfg->ts_number_layers = svc_ctx->temporal_layers; in vpx_svc_init()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Ddefault_temporal_layers.cc55 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()
Drealtime_temporal_layers.cc113 cfg->ts_number_layers = temporal_layers_; in ConfigureBitrates()
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c210 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/
Dvp9_svc_layercontext.c102 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()
Dvp9_encoder.h219 int ts_number_layers; // Number of temporal layers. member
Dvp9_encoder.c1455 cpi->svc.number_temporal_layers = oxcf->ts_number_layers; in init_config()
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c229 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/
Dvp9_impl.cc332 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/
Dvpx_encoder.h644 unsigned int ts_number_layers; member