Skip to content

Commit

Permalink
fix: added g,p,a to frame_transform.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
firecraftgaming committed Apr 19, 2024
1 parent e7a6517 commit 67eaf00
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/frame/frame_transform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ image_transform image_transform::tween(double time,
result.edgeblend.top = do_tween(time, source.edgeblend.top, dest.edgeblend.top, duration, tween);
result.edgeblend.right = do_tween(time, source.edgeblend.right, dest.edgeblend.right, duration, tween);
result.edgeblend.left = do_tween(time, source.edgeblend.left, dest.edgeblend.left, duration, tween);
result.edgeblend.g = do_tween(time, source.edgeblend.g, dest.edgeblend.g, duration, tween);
result.edgeblend.p = do_tween(time, source.edgeblend.p, dest.edgeblend.p, duration, tween);
result.edgeblend.a = do_tween(time, source.edgeblend.a, dest.edgeblend.a, duration, tween);
result.chroma.target_hue = do_tween(time, source.chroma.target_hue, dest.chroma.target_hue, duration, tween);
result.chroma.hue_width = do_tween(time, source.chroma.hue_width, dest.chroma.hue_width, duration, tween);
result.chroma.min_saturation =
Expand Down Expand Up @@ -244,6 +247,9 @@ bool operator==(const image_transform& lhs, const image_transform& rhs)
eq(lhs.edgeblend.right, rhs.edgeblend.right) &&
eq(lhs.edgeblend.left, rhs.edgeblend.left) &&
eq(lhs.edgeblend.top, rhs.edgeblend.top) &&
eq(lhs.edgeblend.g, rhs.edgeblend.g) &&
eq(lhs.edgeblend.p, rhs.edgeblend.p) &&
eq(lhs.edgeblend.a, rhs.edgeblend.a) &&
lhs.crop == rhs.crop &&
lhs.perspective == rhs.perspective;
}
Expand Down

0 comments on commit 67eaf00

Please sign in to comment.