make the parameter constant to match the base class and mark the
function virtual. virtual is used to match the rest of the code base,
but now that c++11 is required all such functions could be changed to
override.
Change-Id: I551a05bbd9d05a9eddb653f42eaad68880c88141
bool denoiser_enable_layers_;
private:
- void SetConfig(int num_temporal_layer) {
+ virtual void SetConfig(const int num_temporal_layer) {
cfg_.rc_end_usage = VPX_CBR;
cfg_.g_lag_in_frames = 0;
cfg_.g_error_resilient = 1;
vpx_svc_spatial_layer_sync_t svc_layer_sync_;
private:
- void SetConfig(int num_temporal_layer) {
+ virtual void SetConfig(const int num_temporal_layer) {
cfg_.rc_buf_initial_sz = 500;
cfg_.rc_buf_optimal_sz = 500;
cfg_.rc_buf_sz = 1000;