Skip to content

Commit

Permalink
Enable restoration filters for 4:2:2
Browse files Browse the repository at this point in the history
  • Loading branch information
barrbrain committed May 11, 2020
1 parent c49c6c4 commit 9c4e982
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,8 @@ impl Sequence {
enable_ref_frame_mvs: false,
enable_warped_motion: false,
enable_superres: false,
enable_cdef: config.speed_settings.cdef
&& config.chroma_sampling != ChromaSampling::Cs422
&& enable_restoration_filters,
enable_cdef: config.speed_settings.cdef && enable_restoration_filters,
enable_restoration: config.speed_settings.lrf
&& config.chroma_sampling != ChromaSampling::Cs422
&& enable_restoration_filters,
enable_large_lru: true,
enable_delayed_loopfilter_rdo: true,
Expand Down

0 comments on commit 9c4e982

Please sign in to comment.