raspberrypi / libcamera

Other
223 stars 95 forks source link

pipeline: rpi: pisp: Fix software downscale for multi-planar formats #130

Closed davidplowman closed 5 months ago

davidplowman commented 5 months ago

The software downscale code was expecting some formats always to appear multi-planar even when they can legitimately be allocated in a single buffer. Fix up the pointer arithmetic for these cases.

davidplowman commented 5 months ago

@will-v-pi This should fix the problem! @naushir Does this look OK?