linux/drivers/staging/media
Jernej Skrabec b273deab2b media: hantro: postproc: Fix buffer size calculation
When allocating aux buffers for postprocessing, it's assumed that base
buffer size is the same as that of output. Coincidentally, that's true
most of the time, but not always. 10-bit source also needs aux buffer
size which is appropriate for 10-bit native format, even if the output
format is 8-bit. Similarly, mv sizes and other extra buffer size also
depends on source width/height, not destination.

Reviewed-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Tested-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-07-17 11:00:05 +01:00
..
atomisp media: staging/media/atomisp/pci/atomisp: Fix typo in string 2022-07-08 17:49:47 +01:00
av7110 media: av7110: Remove duplicate 'with' in two places. 2022-06-27 09:31:18 +01:00
hantro media: hantro: postproc: Fix buffer size calculation 2022-07-17 11:00:05 +01:00
imx media: staging: media: imx: imx7-media-csi: Drop usage of shared helpers 2022-07-08 18:03:11 +01:00
ipu3 media: staging: media: ipu3: Fix AWB x_start position when rightmost stripe is used 2022-04-24 08:28:44 +01:00
max96712 media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
meson/vdec media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
omap4iss media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
rkvdec media: rkvdec:Remove redundant memset 2022-06-27 09:13:03 +01:00
stkwebcam media: stkwebcam: deprecate driver, move to staging 2022-06-20 10:30:31 +01:00
sunxi media: uapi: Change data_bit_offset definition 2022-07-15 17:36:58 +01:00
tegra-video media: subdev: add subdev state locking 2022-04-24 08:21:45 +01:00
zoran media: staging: media: zoran: replace dprintk with new debugging macros 2022-06-20 10:30:29 +01:00
Kconfig media: stkwebcam: deprecate driver, move to staging 2022-06-20 10:30:31 +01:00
Makefile media: stkwebcam: deprecate driver, move to staging 2022-06-20 10:30:31 +01:00