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

crack at #462 #464

Merged
merged 2 commits into from
Feb 17, 2020
Merged

crack at #462 #464

merged 2 commits into from
Feb 17, 2020

Conversation

Gamnn
Copy link
Contributor

@Gamnn Gamnn commented Feb 13, 2020

Output NTSC activeVideoEnd as 760 from activeVideoStart, if it doesn't exceed fieldWidth. There's probably a more elegant way to do this.

Output NTSC activeVideoEnd as 760 from activeVideoStart, if it doesn't exceed fieldWidth. There's probably a more elegant way to do this.
@Gamnn Gamnn requested a review from happycube February 13, 2020 13:04
@Gamnn
Copy link
Contributor Author

Gamnn commented Feb 13, 2020

This is a bit hack-y. I think changing line 73 in core.py to

    'activeVideoUS': (9.45, 63.555-1.0),

and line 93 to

SysParams_NTSC['activeVideoUS'] = (9.45, SysParams_NTSC['line_period'] - 1.0)

might be the proper solution, but I've not had time to test.

@simoninns
Copy link
Collaborator

The timings should be according to the NTSC specifications as-is? Either way, I'd advise a complete regression test of all tools for NTSC before this is merged as the timings are used by pretty much everything in the processing chain.

@simoninns
Copy link
Collaborator

simoninns commented Feb 13, 2020

In other words @Gamnn - did you test this change across all tools in your branch before requesting a merge?

@Gamnn
Copy link
Contributor Author

Gamnn commented Feb 13, 2020

I've tested the hacky-solution that only modifies the json output, but not the change to activeVideoUS, which I haven't committed yet, pending input from @happycube.

This seems to work, and is more elegant than the previous attempt.
@Gamnn
Copy link
Contributor Author

Gamnn commented Feb 14, 2020

activeVideoUS adjustment tested and committed. Seems good on what I've tested so far.

@happycube happycube merged commit 48a88a1 into happycube:master Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants