RE: RFC: Problem of using v4l2 spec with codec function

2010-12-06 Thread Kamil Debski
Hello, From: Jonghun Han [mailto:jonghun@samsung.com] Sent: 06 December 2010 07:57 Hi, If MFC(encoder/decoder) has a single node, how to know application's object before VIDIOC_S_FMT calling ? You're right. No way to know that before. VIDIOC_S_CTRL can be called before

RE: RFC: Problem of using v4l2 spec with codec function

2010-12-06 Thread Jaeryul Oh
Hi, Kamil Hello, From: Jonghun Han [mailto:jonghun@samsung.com] Sent: 06 December 2010 07:57 Hi, If MFC(encoder/decoder) has a single node, how to know application's object before VIDIOC_S_FMT calling ? You're right. No way to know that before. VIDIOC_S_CTRL can be

RE: RFC: Problem of using v4l2 spec with codec function

2010-12-05 Thread Jonghun Han
...@samsung.com; linux- me...@vger.kernel.org Subject: Re: RFC: Problem of using v4l2 spec with codec function Hi all, I would side with Laurent on this. Judging by formats seems to be enough for this driver and it has great, in my opinion, advantages of a) not overcomplicating things

Re: RFC: Problem of using v4l2 spec with codec function

2010-12-04 Thread Pawel Osciak
Hi all, I would side with Laurent on this. Judging by formats seems to be enough for this driver and it has great, in my opinion, advantages of a) not overcomplicating things for applications b) not adding new pieces to the API... -- Best regards, Pawel Osciak -- To unsubscribe from this list:

RE: RFC: Problem of using v4l2 spec with codec function

2010-11-30 Thread Kamil Debski
Hi, Hans Verkuil [hverk...@xs4all.nl] wrote: In two nodes case, application cannot know the feature via VIDIOC_QUERYCAP. Because decoder and encoder return the same CAPABILITY. OUTPUT and CAPTURE So application should call VIDIOC_G_FMT to recognize the feature. The current V4L API

Re: RFC: Problem of using v4l2 spec with codec function

2010-11-29 Thread Laurent Pinchart
Hi, On Monday 29 November 2010 08:34:06 Hans Verkuil wrote: On Monday, November 29, 2010 00:52:15 Jaeryul Oh wrote: Hello, everyone. When it comes to using v4l2 standard spec, I have a question about that. A month ago, Kamil Debski posted second version for the driver of a hw video

Re: RFC: Problem of using v4l2 spec with codec function

2010-11-29 Thread Hans Verkuil
Hi, On Monday 29 November 2010 08:34:06 Hans Verkuil wrote: On Monday, November 29, 2010 00:52:15 Jaeryul Oh wrote: Hello, everyone. When it comes to using v4l2 standard spec, I have a question about that. A month ago, Kamil Debski posted second version for the driver of a hw

RE: RFC: Problem of using v4l2 spec with codec function

2010-11-29 Thread Jonghun Han
: RFC: Problem of using v4l2 spec with codec function Hi, snip If so, then I think creating a so-called 'private' control for your hardware would be the best way to go. As an example of private controls search for the V4L2_CID_MPEG_CX2341X_BASE define in videodev2.h. I would rely

RE: RFC: Problem of using v4l2 spec with codec function

2010-11-29 Thread Jonghun Han
[mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Jonghun Han Sent: Monday, November 29, 2010 8:49 PM To: 'Laurent Pinchart'; 'Hans Verkuil' Cc: jaeryul...@samsung.com; linux-media@vger.kernel.org Subject: RE: RFC: Problem of using v4l2 spec with codec function Laurent Pinchart

RE: RFC: Problem of using v4l2 spec with codec function

2010-11-29 Thread Hans Verkuil
...@samsung.com; linux-media@vger.kernel.org Subject: Re: RFC: Problem of using v4l2 spec with codec function Hi, snip If so, then I think creating a so-called 'private' control for your hardware would be the best way to go. As an example of private controls search

Re: RFC: Problem of using v4l2 spec with codec function

2010-11-29 Thread Laurent Pinchart
Hi Hans, On Monday 29 November 2010 11:36:03 Hans Verkuil wrote: On Monday 29 November 2010 08:34:06 Hans Verkuil wrote: [snip] I *think* that what you are saying is that your hardware can have just a single 'm2m' video instance and so you want to allow the user to switch between the

RE: RFC: Problem of using v4l2 spec with codec function

2010-11-29 Thread Jonghun Han
To: Jonghun Han Cc: 'Laurent Pinchart'; jaeryul...@samsung.com; linux-media@vger.kernel.org Subject: RE: RFC: Problem of using v4l2 spec with codec function Hi, In two nodes case, application cannot know the feature via VIDIOC_QUERYCAP. Because decoder and encoder return the same

Re: RFC: Problem of using v4l2 spec with codec function

2010-11-28 Thread Hans Verkuil
On Monday, November 29, 2010 00:52:15 Jaeryul Oh wrote: Hello, everyone. When it comes to using v4l2 standard spec, I have a question about that. A month ago, Kamil Debski posted second version for the driver of a hw video codec. To be exact, it is decoding function of hw video codec