FS-11425 update codec defaults

This commit is contained in:
Seven Du authored and Andrey Volk committed 2019-07-18 01:51:28 +04:00
1 parent ddb0661e39
commit 3bd78b7a20
1 file changed
+5 -1
+5 -1
View File
@@ -1517,6 +1517,8 @@ static void init_vp8(my_vpx_cfg_t *my_cfg)
my_cfg->dec_cfg.threads = vpx_globals.dec_threads;
my_cfg->enc_cfg.g_threads = vpx_globals.enc_threads;
my_cfg->static_thresh = 100;
my_cfg->noise_sensitivity = 1;
my_cfg->cpuused = -6;
my_cfg->enc_cfg.g_profile = 2;
@@ -1541,9 +1543,11 @@ static void init_vp9(my_vpx_cfg_t *my_cfg)
my_cfg->dec_cfg.threads = vpx_globals.dec_threads;
my_cfg->enc_cfg.g_threads = vpx_globals.enc_threads;
my_cfg->static_thresh = 1000;
my_cfg->cpuused = -6;
my_cfg->cpuused = -8;
my_cfg->enc_cfg.g_profile = 0;
my_cfg->enc_cfg.g_lag_in_frames = 0;
my_cfg->enc_cfg.g_timebase.den = 1000;
my_cfg->enc_cfg.g_error_resilient = VPX_ERROR_RESILIENT_PARTITIONS;
my_cfg->enc_cfg.rc_resize_allowed = 1;