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

piolib: examples: Overhaul dpi_interlace, now named dpi_csync #105

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

njhollinghurst
Copy link
Contributor

This preserves some PIO bits and pieces from raspberrypi/linux#6529 that didn't go into the kernel.

The progressive case is potentially useful and instructive (how to generate CSync from HSync and VSync).

For interlaced modes things are a bit more obscure; it depends on DPI having modified VSync in a certain way (as noted in a comment).

@@ -0,0 +1,358 @@
/**
* Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is the copyright date correct or copy pasta?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops. It was copied from "dpi_interlace.c". It looks like several of the examples have it.
Should be 2024 of course - I'll correct it.

The program now generates Composite Sync for both progressive and
interlaced DPI. Equalizing pulses have been removed, to generalize.

Signed-off-by: Nick Hollinghurst <[email protected]>
@pelwell pelwell merged commit bf27369 into raspberrypi:master Dec 11, 2024
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.

2 participants