linux/drivers/media/platform/ti-vpe
Nikhil Devshatwar 0f469c1acf [media] media: ti-vpe: vpe: Setup srcdst parameters in start_streaming
For deinterlacing operation, each operation needs 2 fields in the
history. This is achieved by holding three buffers in
ctx->src_vbs[0,1,2] (f,f-1,f-2)

This is achieved by using the ctx->sequence which gets reset via the
s_fmt ioctl.

These buffers are dequeued in stream OFF by calling free_vbs()
But the corresponding references aren't removed anywhere.

When application tries to stream ON and OFF continuously, s_fmt ioctl
won't be called and it won't setup the srcdst parameters.

Setting source/destination parameters in stream ON ioctl would make
sure that the context is re-initialized before it is being used by
the driver.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-11-22 07:59:59 -02:00
..
cal_regs.h [media] media: ti-vpe: Add CAL v4l2 camera capture driver 2016-02-01 08:45:26 -02:00
cal.c [media] media: platform: ti-vpe: call of_node_put on non-null pointer 2016-11-18 14:23:33 -02:00
csc.c [media] ti-vpe: fix sparse warnings 2014-11-05 09:09:26 -02:00
csc.h
Makefile [media] media: ti-vpe: vpdma: Make vpdma library into its own module 2016-11-22 06:24:25 -02:00
sc_coeff.h
sc.c [media] ti-vpe: fix sparse warnings 2014-11-05 09:09:26 -02:00
sc.h
vpdma_priv.h [media] media: ti-vpe: vpdma: Add support for setting max width height 2016-11-22 07:10:49 -02:00
vpdma.c [media] media: ti-vpe: vpdma: Clear IRQs for individual lists 2016-11-22 07:49:55 -02:00
vpdma.h [media] media: ti-vpe: vpdma: Clear IRQs for individual lists 2016-11-22 07:49:55 -02:00
vpe_regs.h
vpe.c [media] media: ti-vpe: vpe: Setup srcdst parameters in start_streaming 2016-11-22 07:59:59 -02:00