Permalink
Browse files

Change default settings for CDEF

  • Loading branch information...
stemidts authored and Thomas Davies committed Oct 23, 2017
1 parent e3f2c55 commit 393041958d33946a5dc5343b88f8aeb2f494a40a
@@ -38,3 +38,5 @@
-encoder_speed 2 ; Encoder complexity parameter (0: Slow, 1: Moderate: 2: Fast)
-enable_cfl_intra 1 ; Enable chroma prediction from luma for intra
-enable_cfl_inter 0 ; Enable chroma prediction from luma for inter
-cdef 0 ; 0 = off, 1 = slow, 2 = moderate, 3 = fast
-clpf 1
@@ -35,6 +35,6 @@
-encoder_speed 2 ; Encoder complexity parameter (0: Slow, 1: Moderate: 2: Fast)
-enable_cfl_intra 1 ; Enable chroma prediction from luma for intra
-enable_cfl_inter 0 ; Enable chroma prediction from luma for inter
-cdef 2 ; 0 = off, 1 = slow, 2 = moderate, 3 = fast
-clpf 0
-bitdepth 8
-cdef 0 ; 0 = off, 1 = slow, 2 = moderate, 3 = fast
-clpf 1
@@ -17,3 +17,5 @@
-encoder_speed 2 ; Encoder complexity parameter (0: Slow, 1: Moderate: 2: Fast)
-enable_cfl_intra 1 ; Enable chroma prediction from luma for intra
-enable_cfl_inter 0 ; Enable chroma prediction from luma for inter
-cdef 0 ; 0 = off, 1 = slow, 2 = moderate, 3 = fast
-clpf 1
@@ -40,3 +40,5 @@
-encoder_speed 2 ; Encoder complexity parameter (0: Slow, 1: Moderate: 2: Fast)
-enable_cfl_intra 1 ; Enable chroma prediction from luma for intra
-enable_cfl_inter 0 ; Enable chroma prediction from luma for inter
-cdef 0 ; 0 = off, 1 = slow, 2 = moderate, 3 = fast
-clpf 1
@@ -38,3 +38,5 @@
-encoder_speed 2 ; Encoder complexity parameter (0: Slow, 1: Moderate: 2: Fast)
-enable_cfl_intra 1 ; Enable chroma prediction from luma for intra
-enable_cfl_inter 0 ; Enable chroma prediction from luma for inter
-cdef 0 ; 0 = off, 1 = slow, 2 = moderate, 3 = fast
-clpf 1
View
@@ -334,9 +334,9 @@ enc_params *parse_config_params(int argc, char **argv)
add_param_to_list(&list, "-sync", "0", ARG_INTEGER, &params->sync);
add_param_to_list(&list, "-deblocking", "1", ARG_INTEGER, &params->deblocking);
#if CDEF
add_param_to_list(&list, "-cdef", "0", ARG_INTEGER, &params->cdef); //0: off, 1: slow, 2: medium, 3: fast
add_param_to_list(&list, "-cdef", "2", ARG_INTEGER, &params->cdef); //0: off, 1: slow, 2: medium, 3: fast
#endif
add_param_to_list(&list, "-clpf", "1", ARG_INTEGER, &params->clpf); //0: off, 1: SB-level, 2: frame-level
add_param_to_list(&list, "-clpf", "0", ARG_INTEGER, &params->clpf); //0: off, 1: SB-level, 2: frame-level
add_param_to_list(&list, "-snrcalc", "1", ARG_INTEGER, &params->snrcalc);
add_param_to_list(&list, "-use_block_contexts", "0", ARG_INTEGER, &params->use_block_contexts);
add_param_to_list(&list, "-enable_bipred", "0", ARG_INTEGER, &params->enable_bipred); //TODO: enable_bipred=2 means disable SFP, use separate parameter for SFP instead for clarity

0 comments on commit 3930419

Please sign in to comment.