Skip to content

Conversation

@6by9
Copy link
Contributor

@6by9 6by9 commented Jan 13, 2026

Draft PR for @jc-kynesim to test whilst I fix up SAND and T-Format handling.

The TPZ filter wants ideally 3 lines of image to give good quality downscaling. More than that leads to excessive SDRAM bandwidth for no gain.

If the downsample factor allows for it, reduce the programmed image height and increase the pitch to compensate.

FIXME: This currently does not handle SAND or T-format images where we need to configure it slightly differently.

The TPZ filter wants ideally 3 lines of image to give good quality
downscaling. More than that leads to excessive SDRAM bandwidth
for no gain.

If the downsample factor allows for it, reduce the programmed image
height and increase the pitch to compensate.

FIXME: This currently does not handle SAND or T-format images where
we need to configure it slightly differently.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
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.

1 participant