linux/drivers/media/platform
Philipp Zabel ad532d37b2 [media] coda: allocate bitstream buffer from REQBUFS, size depends on the format
Allocating the bitstream buffer only when the format is set allows to guarantee
that at least two frames fit into the bitstream buffer. For small frame sizes
a smaller bitstream buffer can be allocated. Since the bitstream buffer size now
depends on the format, replace CODA_MAX_FRAME_SIZE with ctx->bitstream.size
where appropriate and remove the now unused constant.
Since REQBUFS can be called multiple times, but the format can't be changed
unless REQBUFS 0 was called before, we can just keep the allocated context and
bitstream buffers if REQBUFS is called multiple times with a non-zero buffer
count.

[fixed a resource leak preventing repeatedly decoding]

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
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>
2015-04-10 10:07:58 -03:00
..
am437x [media] media: am437x-vpfe: embed video_device struct in vpfe_device 2015-04-02 18:10:44 -03:00
blackfin [media] media: blackfin: bfin_capture: embed video_device struct in bcap_device 2015-04-02 18:11:50 -03:00
coda [media] coda: allocate bitstream buffer from REQBUFS, size depends on the format 2015-04-10 10:07:58 -03:00
davinci [media] media: davinci: vpfe_capture: embed video_device 2015-04-02 23:54:00 -03:00
exynos-gsc [media] media: exynos-gsc: use vb2_ops_wait_prepare/finish helper 2014-12-22 14:34:35 -02:00
exynos4-is [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
marvell-ccic [media] v4l2-subdev: add support for the new enum_frame_interval 'which' field 2015-03-23 12:01:15 -07:00
omap [media] media: omap/omap_vout: fix type of input members to omap_vout_setup_vrfb_bufs() 2015-03-03 11:22:58 -03:00
omap3isp [media] omap3isp: Deprecate platform data support 2015-04-02 16:48:07 -03:00
s3c-camif [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
s5p-g2d [media] s5p-g2d: remove unnecessary version.h inclusion 2015-02-02 09:58:23 -02:00
s5p-jpeg [media] s5p-jpeg: Remove some unused functions 2015-04-07 08:15:15 -03:00
s5p-mfc [media] s5p-mfc: set allow_zero_bytesused flag for vb2_queue_init 2015-04-10 09:47:15 -03:00
s5p-tv [media] v4l2_plane_pix_format: use __u32 bytesperline instead of __u16 2015-04-02 23:54:47 -03:00
soc_camera [media] rcar-vin: Don't implement empty optional clock operations 2015-04-02 18:37:37 -03:00
ti-vpe [media] media: ti-vpe: Use mem-to-mem ioctl helpers 2015-02-02 13:34:18 -02:00
vivid [media] vivid: use V4L2_DV_FL_IS_CE_VIDEO instead of V4L2_DV_BT_STD_CEA861 2015-04-08 06:38:56 -03:00
vsp1 [media] v4l2-subdev: add support for the new enum_frame_size 'which' field 2015-03-23 11:48:55 -07:00
xilinx [media] v4l: xilinx: Add Test Pattern Generator driver 2015-04-03 01:04:18 -03:00
Kconfig [media] v4l: xilinx: Add Xilinx Video IP core 2015-04-03 00:59:49 -03:00
Makefile [media] v4l: xilinx: Add Xilinx Video IP core 2015-04-03 00:59:49 -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 Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
m2m-deinterlace.c [media] m2m-deinterlace: embed video_device 2015-04-02 23:35:21 -03:00
mx2_emmaprp.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
sh_veu.c [media] media: sh_veu: use vb2_ops_wait_prepare/finish helper 2014-12-22 14:35:13 -02:00
sh_vou.c [media] media: sh_vou: embed video_device 2015-04-02 23:55:50 -03:00
timblogiw.c media: platform: drop owner assignment from platform_drivers 2014-10-20 16:20:44 +02:00
via-camera.c [media] v4l2-subdev: add support for the new enum_frame_interval 'which' field 2015-03-23 12:01:15 -07:00
via-camera.h
vim2m.c [media] vim2m: embed video_device 2015-04-02 23:24:40 -03:00