| Index: source/libvpx/vp9/vp9_cx_iface.c
|
| diff --git a/source/libvpx/vp9/vp9_cx_iface.c b/source/libvpx/vp9/vp9_cx_iface.c
|
| index 251d2400ba7fe483bc28c16a2472b2df4cffa870..50d73791082605cfd5af478f5623a394bc497089 100644
|
| --- a/source/libvpx/vp9/vp9_cx_iface.c
|
| +++ b/source/libvpx/vp9/vp9_cx_iface.c
|
| @@ -51,7 +51,7 @@ static struct vp9_extracfg default_extra_cfg = {
|
| 0, // noise_sensitivity
|
| 0, // sharpness
|
| 0, // static_thresh
|
| - 0, // tile_columns
|
| + 6, // tile_columns
|
| 0, // tile_rows
|
| 7, // arnr_max_frames
|
| 5, // arnr_strength
|
| @@ -61,7 +61,7 @@ static struct vp9_extracfg default_extra_cfg = {
|
| 0, // rc_max_inter_bitrate_pct
|
| 0, // gf_cbr_boost_pct
|
| 0, // lossless
|
| - 0, // frame_parallel_decoding_mode
|
| + 1, // frame_parallel_decoding_mode
|
| NO_AQ, // aq_mode
|
| 0, // frame_periodic_delta_q
|
| VPX_BITS_8, // Bit depth
|
| @@ -158,8 +158,8 @@ static vpx_codec_err_t validate_config(vpx_codec_alg_priv_t *ctx,
|
| RANGE_CHECK_HI(cfg, g_threads, 64);
|
| RANGE_CHECK_HI(cfg, g_lag_in_frames, MAX_LAG_BUFFERS);
|
| RANGE_CHECK(cfg, rc_end_usage, VPX_VBR, VPX_Q);
|
| - RANGE_CHECK_HI(cfg, rc_undershoot_pct, 1000);
|
| - RANGE_CHECK_HI(cfg, rc_overshoot_pct, 1000);
|
| + RANGE_CHECK_HI(cfg, rc_undershoot_pct, 100);
|
| + RANGE_CHECK_HI(cfg, rc_overshoot_pct, 100);
|
| RANGE_CHECK_HI(cfg, rc_2pass_vbr_bias_pct, 100);
|
| RANGE_CHECK(cfg, kf_mode, VPX_KF_DISABLED, VPX_KF_AUTO);
|
| RANGE_CHECK_BOOL(cfg, rc_resize_allowed);
|
| @@ -550,6 +550,8 @@ static vpx_codec_err_t encoder_set_config(vpx_codec_alg_priv_t *ctx,
|
| if (res == VPX_CODEC_OK) {
|
| ctx->cfg = *cfg;
|
| set_encoder_config(&ctx->oxcf, &ctx->cfg, &ctx->extra_cfg);
|
| + // On profile change, request a key frame
|
| + force_key |= ctx->cpi->common.profile != ctx->oxcf.profile;
|
| vp9_change_config(ctx->cpi, &ctx->oxcf);
|
| }
|
|
|
| @@ -1412,7 +1414,7 @@ static vpx_codec_enc_cfg_map_t encoder_usage_cfg_map[] = {
|
| 0,
|
| { // NOLINT
|
| 0, // g_usage
|
| - 0, // g_threads
|
| + 8, // g_threads
|
| 0, // g_profile
|
|
|
| 320, // g_width
|
|
|