kernel_optimize_test/drivers/media/platform
Hans Verkuil 49a56266f9 media: vicodec: process all 4 components for RGB32 formats
Only ARGB32-type pixelformat were assumed to have 4 components, which is
wrong since RGB32-type pixelformats may have an alpha channel, so they
should also assume 4 color components.

The XRGB32-type pixelformats really have only 3 color components, but this
complicated matters since that creates strides that are sometimes width * 3
and sometimes width * 4, and in fact this can result in buffer overflows.

Keep things simple by just always processing all 4 color components.

In the future we might want to optimize this again for the XRGB32-type
pixelformats, but for now keep it simple and robust.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: <stable@vger.kernel.org>      # for v5.4 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-02-24 15:08:18 +01:00
..
am437x
atmel media: atmel: atmel-isi: initialize the try_crop for the pads in try_fmt 2019-12-16 10:17:49 +01:00
cadence
cec-gpio
coda media: coda: avoid hardware lockups with more than 13 capture buffers 2019-12-16 10:09:12 +01:00
cros-ec-cec cros_ec: treewide: Remove 'include/linux/mfd/cros_ec.h' 2020-01-07 17:36:46 +01:00
davinci media updates for v5.6-rc1 2020-01-31 14:43:23 -08:00
exynos-gsc
exynos4-is
marvell-ccic
meson
mtk-jpeg
mtk-mdp media: platform: mtk-mdp: add missed destroy_workqueue in remove 2019-12-13 09:18:35 +01:00
mtk-vcodec media: mtk-vcodec: use v4l2_m2m_buffer where appropriate 2020-01-09 14:46:41 +01:00
mtk-vpu
omap
omap3isp Linux 5.5-rc5 2020-01-08 11:13:25 +01:00
qcom
rcar-vin media: rcar-vin: Use correct pixel format when aligning format 2020-01-23 13:09:08 +01:00
rockchip/rga
s3c-camif
s5p-cec
s5p-g2d
s5p-jpeg
s5p-mfc
seco-cec
sti media: platform: sti: c8sectpfe: c8sectpfe-dvb: convert to use i2c_new_client_device() 2020-01-09 16:03:20 +01:00
stm32
sunxi media: sun4i-csi: Add support for A10 CSI1 camera sensor interface 2020-01-04 08:21:35 +01:00
tegra-cec remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
ti-vpe media: ti-vpe: csc: fix single vs multiplanar format handling 2019-12-13 09:29:52 +01:00
vicodec media: vicodec: process all 4 components for RGB32 formats 2020-02-24 15:08:18 +01:00
vimc media: vimc: Implement get/set selection in sink 2019-12-16 10:22:00 +01:00
vivid media updates for v5.6-rc1 2020-01-31 14:43:23 -08:00
vsp1
xilinx
aspeed-video.c
fsl-viu.c
imx-pxp.c
imx-pxp.h
Kconfig media: platform: VIDEO_MEDIATEK_JPEG can also depend on MTK_IOMMU 2020-01-23 13:18:22 +01:00
m2m-deinterlace.c
Makefile
mx2_emmaprp.c
pxa_camera.c media: pxa_camera: add missed tasklet_kill 2019-12-13 09:23:33 +01:00
rcar_drif.c
rcar_fdp1.c
rcar_jpu.c
rcar-fcp.c
renesas-ceu.c
sh_veu.c
sh_vou.c
via-camera.c
via-camera.h
video-mux.c
vim2m.c