linux_dsm_epyc7002/drivers/media/platform
Philipp Zabel d4c6a416b9 [media] coda: allow userspace to set compressed buffer size in a certain range
For small frame sizes, allocating 1 MiB per compressed buffer is a waste of
space. On the other hand, incompressible 1080p data can produce JPEGs larger
than 1 MiB at higher quality settings. Allow userspace to set the compressed
buffer size and clamp the value to a sensible range.
Also set the initial sizeimage to a value inside the range allowed by try_fmt.
While at it, reduce the default image size to a maximum of 1920*1088 (otherwise
JPEG will default to 8k*8k and 96 MiB buffers).

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-10-28 15:39:30 -02:00
..
blackfin [media] be sure that HAS_DMA is enabled for vb2-dma-contig 2014-08-26 18:52:19 -03:00
coda [media] coda: allow userspace to set compressed buffer size in a certain range 2014-10-28 15:39:30 -02:00
davinci [media] davinci: remove an unneeded check 2014-09-23 16:13:45 -03:00
exynos4-is [media] s5p-fimc: Only build suspend/resume for PM 2014-10-24 09:36:38 -02:00
exynos-gsc [media] gsc: Use %pad for dma_addr_t 2014-08-26 18:52:04 -03:00
marvell-ccic [media] marvel-ccic: don't initialize static vars with 0 2014-09-03 16:12:33 -03:00
omap [media] omap: simplify test logic 2014-09-03 17:59:25 -03:00
omap3isp [media] omap3isp: use true/false for boolean vars 2014-09-03 17:59:18 -03:00
s3c-camif [media] s3c-camif: fix dma_addr_t printks 2014-09-26 06:49:35 -03:00
s5p-g2d [media] g2d: remove unused var 2014-08-26 18:52:11 -03:00
s5p-jpeg [media] s5p-jpeg: Avoid -Wuninitialized warning in s5p_jpeg_parse_hdr 2014-10-24 09:36:59 -02:00
s5p-mfc [media] s5p-mfc: Fix several printk warnings 2014-09-26 06:50:59 -03:00
s5p-tv [media] Remove references to non-existent PLAT_S5P symbol 2014-10-24 09:35:27 -02:00
soc_camera Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma 2014-10-18 18:11:04 -07:00
ti-vpe [media] ti-vpe: Fix typecast 2014-09-26 06:50:58 -03:00
vivid [media] vivid: fix buffer overrun 2014-10-21 08:52:11 -02:00
vsp1 [media] v4l: vsp1: uds: Fix scaling of alpha layer 2014-07-17 12:45:00 -03:00
arv.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
fsl-viu.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
indycam.c [media] indycam: remove g_chip_ident op 2013-06-17 08:49:47 -03:00
indycam.h
Kconfig [media] mem2mem_testdev: rename to vim2m 2014-10-28 13:49:13 -02:00
m2m-deinterlace.c [media] m2m-deinterlace: Convert to devm* API 2014-06-17 12:04:46 -03:00
Makefile [media] mem2mem_testdev: rename to vim2m 2014-10-28 13:49:13 -02:00
mx2_emmaprp.c [media] enable COMPILE_TEST for MX2 eMMa-PrP driver 2014-08-26 18:52:16 -03:00
sh_veu.c [media] sh_veu: Include media/v4l2-image-sizes.h 2014-08-21 15:25:37 -05:00
sh_vou.c [media] sh_vou: comment unused vars 2014-01-13 11:30:26 -02:00
timblogiw.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
via-camera.c [media] via-camera: simplify boolean tests 2014-09-03 17:59:26 -03:00
via-camera.h
vim2m.c [media] mem2mem_testdev: rename to vim2m 2014-10-28 13:49:13 -02:00
vino.c [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
vino.h