Skip to content
Commit 96048728 authored by David Plowman's avatar David Plowman Committed by popcornmix
Browse files

media: bcm2835-isp: fix bytes per line calculations for some image formats



The bytes per line numbers calculated by get_bytesperline was not
matching the equivalent calculation being performed by the VideoCore
(mostly by the calculate_pitch function there), resulting in failures
to set the image format with some image width values. This patches up
the RGB24 and YUYV type formats to match the VideoCore calculation.

Signed-off-by: default avatarDavid Plowman <david.plowman@raspberrypi.com>
parent edf90749
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment