Lines Matching refs:spatial_layers

151   int num_layers = svc_ctx->spatial_layers;  in parse_layer_options_from_string()
153 num_layers = svc_ctx->spatial_layers * svc_ctx->temporal_layers; in parse_layer_options_from_string()
214 svc_ctx->spatial_layers = atoi(option_value); in parse_options()
251 for (i = 0; i < svc_ctx->spatial_layers; ++i) { in parse_options()
260 (svc_ctx->spatial_layers > 3 || in parse_options()
261 svc_ctx->spatial_layers * svc_ctx->temporal_layers > 4)) in parse_options()
264 for (i = 0; i < svc_ctx->spatial_layers; ++i) in parse_options()
266 if (alt_ref_enabled > REF_FRAMES - svc_ctx->spatial_layers) { in parse_options()
270 REF_FRAMES - svc_ctx->spatial_layers, alt_ref_enabled); in parse_options()
296 for (sl = 0; sl < svc_ctx->spatial_layers; ++sl) { in assign_layer_bitrates()
315 for (sl = 0; sl < svc_ctx->spatial_layers; ++sl) { in assign_layer_bitrates()
322 for (sl = 0; sl < svc_ctx->spatial_layers; ++sl) { in assign_layer_bitrates()
348 for (i = 0; i < svc_ctx->spatial_layers; ++i) { in assign_layer_bitrates()
359 for (i = 0; i < svc_ctx->spatial_layers; ++i) { in assign_layer_bitrates()
399 if (svc_ctx->spatial_layers == 0) in vpx_svc_init()
400 svc_ctx->spatial_layers = VPX_SS_DEFAULT_LAYERS; in vpx_svc_init()
401 if (svc_ctx->spatial_layers < 1 || in vpx_svc_init()
402 svc_ctx->spatial_layers > VPX_SS_MAX_LAYERS) { in vpx_svc_init()
404 svc_ctx->spatial_layers); in vpx_svc_init()
423 svc_ctx->spatial_layers <= 3) { in vpx_svc_init()
424 for (sl = 0; sl < svc_ctx->spatial_layers; ++sl) { in vpx_svc_init()
425 int sl2 = (svc_ctx->spatial_layers == 2) ? sl + 1 : sl; in vpx_svc_init()
429 if (svc_ctx->spatial_layers == 1) { in vpx_svc_init()
435 for (sl = 0; sl < svc_ctx->spatial_layers; ++sl) { in vpx_svc_init()
452 if (svc_ctx->spatial_layers < 1) svc_ctx->spatial_layers = 1; in vpx_svc_init()
453 if (svc_ctx->spatial_layers > VPX_SS_MAX_LAYERS) in vpx_svc_init()
454 svc_ctx->spatial_layers = VPX_SS_MAX_LAYERS; in vpx_svc_init()
460 if (svc_ctx->temporal_layers * svc_ctx->spatial_layers > VPX_MAX_LAYERS) { in vpx_svc_init()
465 svc_ctx->spatial_layers * svc_ctx->temporal_layers, VPX_MAX_LAYERS); in vpx_svc_init()
490 enc_cfg->ss_number_layers = svc_ctx->spatial_layers; in vpx_svc_init()
505 for (sl = 0; sl < svc_ctx->spatial_layers; ++sl) { in vpx_svc_init()
524 if (svc_ctx->spatial_layers > 1 || svc_ctx->temporal_layers > 1) { in vpx_svc_init()
585 for (i = 0; i < svc_ctx->spatial_layers; ++i) { in vpx_svc_dump_statistics()