Re: Pause/Resume and flush for V4L2 codec drivers.

2012-01-11 Thread Laurent Pinchart
Hi Vinay, On Friday 06 January 2012 03:31:37 vka...@codeaurora.org wrote: > Hi > > I am trying to implement v4l2 driver for video decoders. The problem I am > facing is how to send pause/resume and flush commands from user-space to > v4l2 driver. I am thinking of using controls for this. Has anyo

Re: Pause/Resume and flush for V4L2 codec drivers.

2012-01-11 Thread Hans Verkuil
On Saturday 07 January 2012 02:55:08 vka...@codeaurora.org wrote: > Thanks Hans. > > Yes it does solve a part of my problem - Pause/Resume. But I dont see any > command defined for Flush yet. Do you think we should add one more command > to Flush. What exactly does flush do? Is it the equivalent

Re: Pause/Resume and flush for V4L2 codec drivers.

2012-01-06 Thread vkalia
Thanks Hans. Yes it does solve a part of my problem - Pause/Resume. But I dont see any command defined for Flush yet. Do you think we should add one more command to Flush. Also, I see two more commands #define V4L2_DEC_CMD_START (0) #define V4L2_DEC_CMD_STOP(1) How should I use the

Re: Pause/Resume and flush for V4L2 codec drivers.

2012-01-06 Thread Hans Verkuil
On Friday, January 06, 2012 03:31:37 vka...@codeaurora.org wrote: > Hi > > I am trying to implement v4l2 driver for video decoders. The problem I am > facing is how to send pause/resume and flush commands from user-space to > v4l2 driver. I am thinking of using controls for this. Has anyone done >

Pause/Resume and flush for V4L2 codec drivers.

2012-01-05 Thread vkalia
Hi I am trying to implement v4l2 driver for video decoders. The problem I am facing is how to send pause/resume and flush commands from user-space to v4l2 driver. I am thinking of using controls for this. Has anyone done this before or if anyone has any ideas please let me know. Appreciate your he