Commit 589d7598 authored by Dave Stevenson's avatar Dave Stevenson Committed by popcornmix
Browse files

staging: bcm2835-camera: Fix stride on RGB3/BGR3 formats



RGB3/BGR3 end up being 3 bytes per pixel, which meant that
the alignment code ended up trying to align using bitmasking
with a mask of 96.
That doesn't work, so switch to an arithmetic alignment for
those formats.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.org>
parent 000a6476
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment