forked from luck/tmp_suning_uos_patched
33bdd5a88a
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> |
||
---|---|---|
.. | ||
blackfin | ||
davinci | ||
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-devnode.h | ||
media-entity.h | ||
mmp-camera.h | ||
msp3400.h | ||
mt9m032.h | ||
mt9p031.h | ||
mt9t001.h | ||
mt9t112.h | ||
mt9v011.h | ||
mt9v022.h | ||
mt9v032.h | ||
noon010pc30.h | ||
omap1_camera.h | ||
omap3isp.h | ||
ov772x.h | ||
ov7670.h | ||
ov9650.h | ||
radio-si4713.h | ||
rc-core.h | ||
rc-map.h | ||
rj54n1cb0c.h | ||
s3c_camif.h | ||
s5c73m3.h | ||
s5k4ecgx.h | ||
s5k6aa.h | ||
s5p_fimc.h | ||
s5p_hdmi.h | ||
saa6588.h | ||
saa6752hs.h | ||
saa7115.h | ||
saa7127.h | ||
saa7146_vv.h | ||
saa7146.h | ||
sh_mobile_ceu.h | ||
sh_mobile_csi2.h | ||
sh_vou.h | ||
si476x.h | ||
si4713.h | ||
sii9234.h | ||
smiapp.h | ||
soc_camera_platform.h | ||
soc_camera.h | ||
soc_mediabus.h | ||
sr030pc30.h | ||
ths7303.h | ||
timb_radio.h | ||
timb_video.h | ||
tuner-types.h | ||
tuner.h | ||
tvaudio.h | ||
tveeprom.h | ||
tvp514x.h | ||
tvp5150.h | ||
tvp7002.h | ||
tw9910.h | ||
uda1342.h | ||
upd64031a.h | ||
upd64083.h | ||
v4l2-async.h | ||
v4l2-clk.h | ||
v4l2-common.h | ||
v4l2-ctrls.h | ||
v4l2-dev.h | ||
v4l2-device.h | ||
v4l2-event.h | ||
v4l2-fh.h | ||
v4l2-image-sizes.h | ||
v4l2-int-device.h | ||
v4l2-ioctl.h | ||
v4l2-mediabus.h | ||
v4l2-mem2mem.h | ||
v4l2-of.h | ||
v4l2-subdev.h | ||
videobuf2-core.h | ||
videobuf2-dma-contig.h | ||
videobuf2-dma-sg.h | ||
videobuf2-memops.h | ||
videobuf2-vmalloc.h | ||
videobuf-core.h | ||
videobuf-dma-contig.h | ||
videobuf-dma-sg.h | ||
videobuf-dvb.h | ||
videobuf-vmalloc.h | ||
wm8775.h |