Skip to content

Commit

Permalink
run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
SwareJonge committed Jan 29, 2025
1 parent f7a896d commit dc491f5
Showing 1 changed file with 20 additions and 24 deletions.
44 changes: 20 additions & 24 deletions av1an-core/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -916,14 +916,12 @@ impl Av1anContext {
|| self.args.video_params.clone(),
|ovr| ovr.video_params.clone(),
),
passes: overrides.as_ref().map_or(
self.args.passes,
|ovr| ovr.passes,
),
encoder: overrides.as_ref().map_or(
self.args.encoder.clone(),
|ovr| ovr.encoder.clone(),
),
passes: overrides
.as_ref()
.map_or(self.args.passes, |ovr| ovr.passes),
encoder: overrides
.as_ref()
.map_or(self.args.encoder.clone(), |ovr| ovr.encoder.clone()),
noise_size: self.args.photon_noise_size,
tq_cq: None,
ignore_frame_mismatch: self.args.ignore_frame_mismatch,
Expand Down Expand Up @@ -978,14 +976,14 @@ impl Av1anContext {
|| self.args.video_params.clone(),
|ovr| ovr.video_params.clone(),
),
passes: scene.zone_overrides.as_ref().map_or(
self.args.passes,
|ovr| ovr.passes,
),
encoder: scene.zone_overrides.as_ref().map_or(
self.args.encoder.clone(),
|ovr| ovr.encoder.clone(),
),
passes: scene
.zone_overrides
.as_ref()
.map_or(self.args.passes, |ovr| ovr.passes),
encoder: scene
.zone_overrides
.as_ref()
.map_or(self.args.encoder.clone(), |ovr| ovr.encoder.clone()),
noise_size: self.args.photon_noise_size,
tq_cq: None,
ignore_frame_mismatch: self.args.ignore_frame_mismatch,
Expand Down Expand Up @@ -1187,14 +1185,12 @@ impl Av1anContext {
|| self.args.video_params.clone(),
|ovr| ovr.video_params.clone(),
),
passes: overrides.as_ref().map_or(
self.args.passes,
|ovr| ovr.passes,
),
encoder: overrides.as_ref().map_or(
self.args.encoder.clone(),
|ovr| ovr.encoder.clone(),
),
passes: overrides
.as_ref()
.map_or(self.args.passes, |ovr| ovr.passes),
encoder: overrides
.as_ref()
.map_or(self.args.encoder.clone(), |ovr| ovr.encoder.clone()),
noise_size: self.args.photon_noise_size,
tq_cq: None,
ignore_frame_mismatch: self.args.ignore_frame_mismatch,
Expand Down

0 comments on commit dc491f5

Please sign in to comment.