Skip to content

drm/vc4: Skip input lines when doing a large downscale#7387

Open
6by9 wants to merge 1 commit into
raspberrypi:rpi-6.18.yfrom
6by9:rpi-6.18.y-drm
Open

drm/vc4: Skip input lines when doing a large downscale#7387
6by9 wants to merge 1 commit into
raspberrypi:rpi-6.18.yfrom
6by9:rpi-6.18.y-drm

Conversation

@6by9
Copy link
Copy Markdown
Contributor

@6by9 6by9 commented May 20, 2026

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.

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

@jc-kynesim : This should solve your 10bittest massive downscale issue.

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.

This currently does not handle 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