kernel_optimize_test/include/media
Philipp Zabel 33bdd5a88a [media] mem2mem: add support for hardware buffered queue
On mem2mem decoders with a hardware bitstream ringbuffer, to drain the
buffer at the end of the stream, remaining frames might need to be decoded
from the bitstream buffer without additional input buffers being provided.
To achieve this, allow a queue to be marked as buffered by the driver, and
allow scheduling of device_runs when buffered ready queues are empty.
This also allows a driver to copy input buffers into their bitstream
ringbuffer and immediately mark them as done to be dequeued.
The motivation for this patch is hardware assisted h.264 reordering support
in the coda driver. For high profile streams, the coda can hold back
out-of-order frames, causing a few mem2mem device runs in the beginning, that
don't produce any decompressed buffer at the v4l2 capture side. At the same
time, the last few frames can be decoded from the bitstream with mem2mem device
runs that don't need a new input buffer at the v4l2 output side. The decoder
command ioctl can be used to put the decoder into the ringbuffer draining
end-of-stream mode.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2013-07-26 10:00:33 -03:00
..
blackfin
davinci [media] media: davinci: vpbe: fix checkpatch warning for CamelCase 2013-05-21 08:19:17 -03:00
ad9389b.h
adp1653.h
adv7183.h
adv7343.h
adv7393.h
adv7604.h
ak881x.h
as3645a.h
atmel-isi.h
bt819.h
cs53l32a.h
cs5345.h
cx2341x.h
cx25840.h
gpio-ir-recv.h
i2c-addr.h
ir-kbd-i2c.h
ir-rx51.h
lirc_dev.h
lirc.h
m5mols.h
m52790.h
media-device.h [media] media: Change media device link_notify behaviour 2013-06-12 22:16:27 -03:00
media-devnode.h [media] media: Add 64--32 bit compat ioctl handler 2013-03-18 20:44:36 -03:00
media-entity.h [media] media: Add a function removing all links of a media entity 2013-06-19 08:59:54 -03:00
mmp-camera.h
msp3400.h
mt9m032.h
mt9p031.h [media] mt9p031: Use the common clock framework 2013-04-14 16:03:22 -03:00
mt9t001.h
mt9t112.h
mt9v011.h
mt9v022.h
mt9v032.h
noon010pc30.h
omap1_camera.h
omap3isp.h [media] omap3isp: Use the common clock framework 2013-04-14 20:21:12 -03:00
ov772x.h
ov7670.h
ov9650.h
radio-si4713.h
rc-core.h [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
rc-map.h [media] rc: Add rc-delock-61959 2013-05-21 08:18:19 -03:00
rj54n1cb0c.h
s3c_camif.h
s5c73m3.h
s5k4ecgx.h
s5k6aa.h
s5p_fimc.h [media] exynos4-is: Correct colorspace handling at FIMC-LITE 2013-06-28 15:33:27 -03:00
s5p_hdmi.h
saa6588.h
saa6752hs.h
saa7115.h [media] saa7115: add support for double-rate ASCLK 2013-03-24 12:10:18 -03:00
saa7127.h
saa7146_vv.h
saa7146.h
sh_mobile_ceu.h [media] V4L2: soc-camera: fix uninitialised use compiler warning 2013-06-28 14:57:18 -03:00
sh_mobile_csi2.h [media] sh_mobile_ceu_camera: add asynchronous subdevice probing support 2013-06-21 16:35:53 -03:00
sh_vou.h
si476x.h [media] v4l2: Add a V4L2 driver for SI476X MFD 2013-04-18 21:20:34 -03:00
si4713.h
sii9234.h
smiapp.h
soc_camera_platform.h
soc_camera.h [media] V4L2: soc-camera: fix uninitialised use compiler warning 2013-06-28 14:57:18 -03:00
soc_mediabus.h [media] soc_camera: Add RGB666 & RGB888 formats 2013-04-04 19:40:08 -03:00
sr030pc30.h
ths7303.h [media] media: i2c: ths7303: remove init_enable option from pdata 2013-06-13 11:41:18 -03:00
timb_radio.h
timb_video.h
tuner-types.h
tuner.h [media] tuner-core: Change config from unsigned int to void * 2013-04-08 07:01:36 -03:00
tvaudio.h
tveeprom.h [media] tveeprom: remove v4l2-chip-ident.h include 2013-06-17 08:48:03 -03:00
tvp514x.h
tvp5150.h
tvp7002.h [media] media: i2c: tvp7002: rearrange description of structure members 2013-05-27 09:29:56 -03:00
tw9910.h
uda1342.h [media] uda1342: add new uda1342 audio codec driver 2013-03-24 12:24:11 -03:00
upd64031a.h
upd64083.h
v4l2-async.h [media] V4L2: support asynchronous subdevice registration 2013-06-21 16:30:00 -03:00
v4l2-clk.h [media] V4L2: add temporary clock helpers 2013-06-21 16:28:02 -03:00
v4l2-common.h [media] v4l2-common: remove unused v4l2_chip_match/ident_i2c_client functions 2013-06-21 10:45:42 -03:00
v4l2-ctrls.h [media] v4l2-ctrls: eliminate lockdep false alarms for struct v4l2_ctrl_handler.lock 2013-03-24 11:47:09 -03:00
v4l2-dev.h [media] v4l2: always require v4l2_dev, rename parent to dev_parent 2013-06-21 11:07:12 -03:00
v4l2-device.h [media] v4l2-core: add code to check for specific ops 2013-03-24 11:59:02 -03:00
v4l2-event.h
v4l2-fh.h
v4l2-image-sizes.h
v4l2-int-device.h [media] v4l2-int-device: remove unused chip_ident reference 2013-06-21 10:45:58 -03:00
v4l2-ioctl.h [media] v4l2-core: remove support for obsolete VIDIOC_DBG_G_CHIP_IDENT 2013-06-21 10:46:44 -03:00
v4l2-mediabus.h
v4l2-mem2mem.h [media] mem2mem: add support for hardware buffered queue 2013-07-26 10:00:33 -03:00
v4l2-of.h [media] V4L: Remove incorrect EXPORT_SYMBOL() usage at v4l2-of.c 2013-04-04 19:57:13 -03:00
v4l2-subdev.h [media] V4L2: support asynchronous subdevice registration 2013-06-21 16:30:00 -03:00
videobuf2-core.h [media] videobuf2: add gfp_flags 2013-03-21 13:17:51 -03:00
videobuf2-dma-contig.h
videobuf2-dma-sg.h
videobuf2-memops.h
videobuf2-vmalloc.h
videobuf-core.h
videobuf-dma-contig.h [media] videobuf-dma-contig: remove support for cached mem 2013-04-25 09:50:19 -03:00
videobuf-dma-sg.h
videobuf-dvb.h
videobuf-vmalloc.h
wm8775.h