Adds a couple of CONFIG_SPATIAL_SVC macros to allow compilation
when spatial-svc is disabled.
Change-Id: I67f84406d1d3fa26f225d9c6518161a0841f2d29
}
}
+#if CONFIG_SPATIAL_SVC
for (i = 0; i < si->layers; ++i)
enc_cfg->ss_enable_auto_alt_ref[i] = si->enable_auto_alt_ref[i];
+#endif
// modify encoder configuration
enc_cfg->ss_number_layers = si->layers;
si->rc_stats_buf_used += cx_pkt->data.twopass_stats.sz;
break;
}
+#if CONFIG_SPATIAL_SVC
case VPX_CODEC_SPATIAL_SVC_LAYER_SIZES: {
int i;
for (i = 0; i < si->layers; ++i)
si->bytes_sum[i] += cx_pkt->data.layer_sizes[i];
break;
}
+#endif
default: {
break;
}