Re: Question regarding developing V4L2 device driver and Streaming IO in v4l2-ctl

2013-04-08 Thread Hans Verkuil
On Tue April 9 2013 05:57:40 Tzu-Jung Lee wrote: > Hi Hans, > > > On Mon, Apr 8, 2013 at 10:07 PM, Hans Verkuil wrote: > > > > But try the patch below for v4l2-ctl: if you combine streaming with > > --decoder-cmd > > then instead of doing a STREAMOFF it will call the decoder command. And the > >

Re: Question regarding developing V4L2 device driver and Streaming IO in v4l2-ctl

2013-04-08 Thread Tzu-Jung Lee
Hi Hans, > On Mon, Apr 8, 2013 at 10:07 PM, Hans Verkuil wrote: > > But try the patch below for v4l2-ctl: if you combine streaming with > --decoder-cmd > then instead of doing a STREAMOFF it will call the decoder command. And the > encoder now listens to the EOS event. > Note that --en/decoder-c

Re: Question regarding developing V4L2 device driver and Streaming IO in v4l2-ctl

2013-04-08 Thread Hans Verkuil
On Sat April 6 2013 18:23:46 Tzu-Jung Lee wrote: > Hi Hans, > > Thanks for the pointer to the EVENT and the ENC/DEC CMD :) > I just noticed that v4l2-ctl has a command category for them as well. > > If I configure the codec as a transcoder, and would like to transcode > a input bitstream with v4l

Re: Question regarding developing V4L2 device driver and Streaming IO in v4l2-ctl

2013-04-06 Thread Tzu-Jung Lee
Hi Hans, Thanks for the pointer to the EVENT and the ENC/DEC CMD :) I just noticed that v4l2-ctl has a command category for them as well. If I configure the codec as a transcoder, and would like to transcode a input bitstream with v4l2-ctl, I should use the following command instance to test our

Re: Question regarding developing V4L2 device driver and Streaming IO in v4l2-ctl

2013-04-06 Thread Hans Verkuil
On Sat April 6 2013 14:28:12 Tzu-Jung Lee wrote: > Hi, > > I'm writing device v4l2 driver for our video codec, which can be configured > to: > > 1. decode bitstream and output to TV (output device) > 2. capture video input, and generate encoded bitstream. (capture device) > 3. transc

Question regarding developing V4L2 device driver and Streaming IO in v4l2-ctl

2013-04-06 Thread Tzu-Jung Lee
Hi, I'm writing device v4l2 driver for our video codec, which can be configured to: 1. decode bitstream and output to TV (output device) 2. capture video input, and generate encoded bitstream. (capture device) 3. transcode input bitstream to another format output bitstream. (mem2mem d