Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use VideoParameters::first/lastActiveFrameLine directly in more places #446

Merged
merged 4 commits into from
Jan 27, 2020

Conversation

atsampson
Copy link
Collaborator

Following #444, it's now possible to simplify ld-chroma-decoder's active region handling quite a bit -- the classes that used to keep track of the active region can just use the VideoParameters object they already have. Ditto for one place in ld-dropout-correct.

Because VideoParameters used to only contain the horizontal active
region bounds, several ld-chroma-decoder classes used to maintain their
own idea of the vertical bounds. Now that VideoParameters contains the
vertical bounds, this isn't needed any more.

SourceField's helpers to compute field lines are still needed because
the active lines can be different for the two fields.
For findPotentialReplacementLine, reorder the arguments to keep the
output at the end.
@atsampson atsampson added enhancement ld-decode-tools An issue only affecting the ld-decode-tools labels Jan 27, 2020
Copy link
Collaborator

@simoninns simoninns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@simoninns simoninns merged commit fdc4c7b into happycube:master Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ld-decode-tools An issue only affecting the ld-decode-tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants