From d0f0e8581b2368c5b187901d85f17ecc3421c347 Mon Sep 17 00:00:00 2001 From: Aaron Huang <34738252+Arhuan@users.noreply.github.com> Date: Tue, 18 Aug 2020 10:35:32 -0700 Subject: [PATCH] Svt-02 CLI features (#1408) * updating CLI support for RDOQ * updating CLI support for Spatial SSE * updating CLI support for Palette * updating CLI support for ALTREF * updating CLI for CDEF * updated user guide, sample cfg, --help, and macro use * Removed all added macros RDOQ_CLI, SSSE_CLI, PALETTE_CLI, ALTREF_CLI, and CDEF_CLI. Renaming and new changes are now made under existing active macros * removed unnecessary #else and #endif causing build failure * removed boolean conversion for static_config.cdef_level in non default case * update CDEF documentation to reflect naming changes * update altref and palette documentation to reflect naming changes --- subprojects/gst-plugins-bad/ext/svtav1/gstsvtav1enc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/subprojects/gst-plugins-bad/ext/svtav1/gstsvtav1enc.c b/subprojects/gst-plugins-bad/ext/svtav1/gstsvtav1enc.c index dec16eef30..59410db835 100644 --- a/subprojects/gst-plugins-bad/ext/svtav1/gstsvtav1enc.c +++ b/subprojects/gst-plugins-bad/ext/svtav1/gstsvtav1enc.c @@ -634,7 +634,7 @@ set_default_svt_configuration (EbSvtAv1EncConfiguration * svt_config) svt_config->film_grain_denoise_strength = FALSE; svt_config->enable_warped_motion = FALSE; svt_config->enable_global_motion = TRUE; - svt_config->cdef_mode = -1; + svt_config->cdef_level = -1; svt_config->enable_restoration_filtering = -1; svt_config->sg_filter_mode = -1; svt_config->wn_filter_mode = -1; @@ -645,7 +645,7 @@ set_default_svt_configuration (EbSvtAv1EncConfiguration * svt_config) svt_config->enable_smooth = -1; svt_config->enable_mfmv = -1; svt_config->enable_redundant_blk = -1; - svt_config->spatial_sse_fl = -1; + svt_config->spatial_sse_full_loop_level = -1; svt_config->over_bndry_blk = -1; svt_config->new_nearest_comb_inject = -1; svt_config->prune_ref_rec_part = -1; @@ -657,7 +657,7 @@ set_default_svt_configuration (EbSvtAv1EncConfiguration * svt_config) svt_config->set_chroma_mode = -1; svt_config->disable_cfl_flag = -1; svt_config->obmc_level = 1; - svt_config->enable_rdoq = -1; + svt_config->rdoq_level = -1; svt_config->filter_intra_level = 1; svt_config->enable_intra_edge_filter = -1; svt_config->pic_based_rate_est = -1; @@ -671,7 +671,7 @@ set_default_svt_configuration (EbSvtAv1EncConfiguration * svt_config) svt_config->search_area_width = 16; svt_config->search_area_height = 7; svt_config->enable_hbd_mode_decision = 1; - svt_config->enable_palette = -1; + svt_config->palette_level = -1; // HME parameters svt_config->number_hme_search_region_in_width = 2; svt_config->number_hme_search_region_in_height = 2; @@ -704,7 +704,7 @@ set_default_svt_configuration (EbSvtAv1EncConfiguration * svt_config) svt_config->unrestricted_motion_vector = 1; // alt-ref - svt_config->enable_altrefs = TRUE; + svt_config->tf_level = 1; svt_config->altref_strength = 5; svt_config->altref_nframes = 7; svt_config->enable_overlays = FALSE;