linux/drivers/media/platform
Mauro Carvalho Chehab 24cc418b5b media: vim2m: better handle cap/out buffers with different sizes
The vim2m driver doesn't enforce that the capture and output
buffers would have the same size. Do the right thing if the
buffers are different, zeroing the buffer before writing,
ensuring that lines will be aligned and it won't write past
the buffer area.

This is a temporary fix.

A proper fix is to either implement a simple scaler at vim2m,
or to better define the behaviour of M2M transform drivers
at V4L2 API with regards to its capability of scaling the
image or not.

In any case, such changes would deserve a separate patch
anyway, as it would imply on some behavoral change.

Also, as we have an actual bug of writing data at wrong
places, let's fix this here, and add a mental note that
we need to properly address it.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-03-01 11:12:23 -05:00
..
am437x media: vidioc_cropcap -> vidioc_g_pixelaspect 2018-11-20 13:57:21 -05:00
atmel media: platform: fix several typos 2019-03-01 09:35:21 -05:00
cadence media: v4l: fwnode: Initialise the V4L2 fwnode endpoints to zero 2018-10-04 16:21:02 -04:00
cec-gpio media: cec-gpio: support 5v testing 2018-07-25 07:12:36 -04:00
coda media: platform: fix several typos 2019-03-01 09:35:21 -05:00
cros-ec-cec media: platform: Add ChromeOS EC CEC driver 2018-07-13 08:44:46 +01:00
davinci media: platform: fix several typos 2019-03-01 09:35:21 -05:00
exynos4-is media: platform: fix several typos 2019-03-01 09:35:21 -05:00
exynos-gsc media: exynos-gsc: replace v4l2_crop by v4l2_selection 2018-11-20 13:46:06 -05:00
marvell-ccic media: platform: fix several typos 2019-03-01 09:35:21 -05:00
meson media: platform: meson-ao-cec: make busy TX warning silent 2018-07-24 17:52:20 -04:00
mtk-jpeg media: mtk-jpeg: Correct return type for mem2mem buffer helpers 2019-02-18 15:28:43 -05:00
mtk-mdp media: platform: fix several typos 2019-03-01 09:35:21 -05:00
mtk-vcodec media: platform: fix several typos 2019-03-01 09:35:21 -05:00
mtk-vpu mm: convert totalram_pages and totalhigh_pages variables to atomic 2018-12-28 12:11:47 -08:00
omap media: platform: fix several typos 2019-03-01 09:35:21 -05:00
omap3isp media: platform: fix several typos 2019-03-01 09:35:21 -05:00
qcom media: platform: fix several typos 2019-03-01 09:35:21 -05:00
rcar-vin media: platform: fix several typos 2019-03-01 09:35:21 -05:00
rockchip/rga media: platform: fix several typos 2019-03-01 09:35:21 -05:00
s3c-camif media: platform: fix several typos 2019-03-01 09:35:21 -05:00
s5p-cec
s5p-g2d media: s5p-g2d: Correct return type for mem2mem buffer helpers 2019-02-18 15:30:45 -05:00
s5p-jpeg media: platform: fix several typos 2019-03-01 09:35:21 -05:00
s5p-mfc media: platform: fix several typos 2019-03-01 09:35:21 -05:00
seco-cec media: secocec: fix ir address shift 2019-01-16 11:44:50 -05:00
sti media: platform: fix several typos 2019-03-01 09:35:21 -05:00
stm32 media: platform: fix several typos 2019-03-01 09:35:21 -05:00
sunxi/sun6i-csi media: platform: fix several typos 2019-03-01 09:35:21 -05:00
tegra-cec
ti-vpe media: a few more typos at staging, pci, platform, radio and usb 2019-03-01 10:02:25 -05:00
vicodec media: vicodec: Add a flag for I-frames in fwht header 2019-02-18 15:36:23 -05:00
vimc media: vimc: fix memory leak 2019-02-18 12:32:21 -05:00
vivid media: vivid: Add definitions for the 32-bit packed YUV formats 2019-02-18 14:32:42 -05:00
vsp1 media: platform: fix several typos 2019-03-01 09:35:21 -05:00
xilinx media: platform: fix several typos 2019-03-01 09:35:21 -05:00
aspeed-video.c media: platform: Fix missing spin_lock_init() 2019-01-07 13:54:01 -05:00
fsl-viu.c media: videobuf: use u64 for the timestamp internally 2019-02-07 12:11:19 -05:00
imx-pxp.c media: imx-pxp: Start using the format VUYA32 instead of YUV32 (v2) 2019-02-18 14:34:47 -05:00
imx-pxp.h media: imx-pxp: add i.MX Pixel Pipeline driver 2018-09-11 13:32:17 -04:00
Kconfig media: platform: fix several typos 2019-03-01 09:35:21 -05:00
m2m-deinterlace.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
Makefile media: soc_camera: Move to the staging tree 2019-02-18 12:09:19 -05:00
mx2_emmaprp.c media: mx2_emmaprp: Correct return type for mem2mem buffer helpers 2019-02-18 15:30:02 -05:00
pxa_camera.c media: platform: fix several typos 2019-03-01 09:35:21 -05:00
rcar_drif.c media updates for v4.20-rc1 2018-10-31 10:53:29 -07:00
rcar_fdp1.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
rcar_jpu.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
rcar-fcp.c Char/Misc driver patches for 4.19-rc1 2018-08-18 11:04:51 -07:00
renesas-ceu.c media: renesas-ceu: Use default mbus settings 2018-10-04 16:25:33 -04:00
sh_veu.c media: sh_veu: Correct return type for mem2mem buffer helpers 2019-02-18 15:31:28 -05:00
sh_vou.c media: doc-rst: Fix broken references 2018-11-23 05:42:49 -05:00
via-camera.c media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
via-camera.h
video-mux.c media: video-mux: add bayer formats 2019-02-18 15:59:00 -05:00
vim2m.c media: vim2m: better handle cap/out buffers with different sizes 2019-03-01 11:12:23 -05:00