RE: [PATCH 2/2] V4L: remove unused .enum_mbus_fsizes() subdev video operation

2012-05-09 Thread Qing Xu
Hi Guennadi, Thanks for the patch! I am ok with it. > -Original Message- > From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] > Sent: Wednesday, May 09, 2012 5:01 AM > To: Linux Media Mailing List > Cc: Qing Xu > Subject: [PATCH 2/2] V4L: remove unused .enum_mb

RE: [PATCH 1/2] V4L: soc-camera: switch to using the existing .enum_framesizes()

2012-05-09 Thread Qing Xu
Thanks for the patch! I am ok with it. > -Original Message- > From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] > Sent: Wednesday, May 09, 2012 5:01 AM > To: Linux Media Mailing List > Cc: Qing Xu > Subject: [PATCH 1/2] V4L: soc-camera: switch to

RE: [RFD] frame-size switching: preview / single-shot use-case

2011-02-15 Thread Qing Xu
Add Kassey and Angela in the loop. Thanks! -Qing -Original Message- From: Qing Xu Sent: 2011年2月16日 10:51 To: 'Guennadi Liakhovetski'; Linux Media Mailing List Cc: Hans Verkuil; Neil Johnson; Robert Jarzmik; Uwe Taeubert; Karicheri, Muralidharan; Eino-Ville Talvala Subject

RE: [RFD] frame-size switching: preview / single-shot use-case

2011-02-15 Thread Qing Xu
of VIDIOC_BUFQ_SELECT queue-id for each fmt, then it could allocate/release the required buffer queue by new ioctl. Is my understanding correct? Thanks! -Qing -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年2月16日 1:34 To: Linux Media Mailing

RE: How to support MIPI CSI-2 controller in soc-camera framework?

2011-02-08 Thread Qing Xu
() to find out which is the common property supported by both. What do you think? -Qing -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年2月4日 15:45 To: Qing Xu Cc: Laurent Pinchart; Linux Media Mailing List Subject: RE: How to support MIPI CSI-2

RE: soc-camera: RGB888, RBG8888 and JPEG formats not supported in v4l2_mbus_pixelcode

2011-02-08 Thread Qing Xu
Yes, we have the similar JPEG issue, I will currently provide the patch of JPEG for review, thanks! -Qing -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年2月4日 16:11 To: Bhupesh SHARMA Cc: linux-media@vger.kernel.org; Qing Xu Subject: Re: soc

RE: soc-camera s_fmt question?

2011-01-29 Thread Qing Xu
Thanks for your information! I could try it on our driver. -Qing -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年1月30日 2:10 To: Hans Verkuil Cc: Qing Xu; Laurent Pinchart; linux-media@vger.kernel.org Subject: Re: soc-camera s_fmt question? On Mon

RE: [PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-21 Thread Qing Xu
-Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年1月21日 18:43 To: Hans Verkuil Cc: Qing Xu; linux-media@vger.kernel.org; Laurent Pinchart Subject: Re: [PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl On Fri, 21 Jan 2011, Hans Verkuil wrote

RE: [PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-20 Thread Qing Xu
Hi Guennadi, Hans, I update this patch, I use enum_framesizes instead of enum_mbus_fsizes, which is already defined in v4l2-subdev.h, so, do not need to modify v4l2-subdev.h now. Are you ok with it? -Qing -Original Message- From: Qing Xu [mailto:qi...@marvell.com] Sent: 2011年1月21日 9:48

[PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-20 Thread Qing Xu
add vidioc_enum_framesizes implementation, follow default_g_parm() and g_mbus_fmt() method Signed-off-by: Qing Xu --- drivers/media/video/soc_camera.c | 37 + include/media/soc_camera.h |1 + 2 files changed, 38 insertions(+), 0 deletions(-) diff

RE: [PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-20 Thread Qing Xu
Hi Guennadi, Thanks for your careful review and patient and your time!! -Qing -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年1月20日 16:28 To: Qing Xu Cc: Linux Media Mailing List; Hans Verkuil Subject: Re: [PATCH] [media] v4l: soc-camera: add

[PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-20 Thread Qing Xu
add vidioc_enum_framesizes implementation, follow default_g_parm() and g_mbus_fmt() method Signed-off-by: Qing Xu --- drivers/media/video/soc_camera.c | 37 + include/media/soc_camera.h |1 + include/media/v4l2-subdev.h |2 ++ 3 files

[PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-19 Thread Qing Xu
add vidioc_enum_framesizes implementation, follow default_g_parm() and g_mbus_fmt() method Signed-off-by: Qing Xu --- drivers/media/video/soc_camera.c | 36 include/media/soc_camera.h |1 + include/media/v4l2-subdev.h |2 ++ 3 files

RE: How to support MIPI CSI-2 controller in soc-camera framework?

2011-01-19 Thread Qing Xu
!buswidth) ? 0 : + return ((!hsync || !vsync || !pclk || !data || !mode || !buswidth) && (!mipi)) ? 0 : common_flags; } -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年1月20日 0:20 To: Qing Xu Cc: Laurent Pinchart; Li

How to support MIPI CSI-2 controller in soc-camera framework?

2011-01-18 Thread Qing Xu
a CSI-2 driver, but I don't quite understand how it works: 1) how the host controller call into this driver? 2) how the host controller/sensor negotiate MIPI variable with this driver, such as D-PHY timing(hs_settle/hs_termen/clk_settle/clk_termen), number of lanes...? Thanks a lot! Qin

RE: soc-camera jpeg support?

2011-01-18 Thread Qing Xu
driver. -Qing -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年1月19日 1:31 To: Qing Xu Cc: Laurent Pinchart; Linux Media Mailing List Subject: RE: soc-camera jpeg support? Thanks for the code! With it at hand it is going to be easier to understand

RE: [PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-18 Thread Qing Xu
Hi Guennadi, Thanks for reviewing my patch! I update it again following your suggestion, please take your time to review it again, Thanks a lot! -Qing Email: qi...@marvell.com Application Processor Systems Engineering, Marvell Technology Group Ltd. -Original Message- From: Qing Xu

[PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-18 Thread Qing Xu
add vidioc_enum_framesizes implementation Signed-off-by: Qing Xu --- drivers/media/video/soc_camera.c | 34 ++ include/media/soc_camera.h |1 + include/media/v4l2-subdev.h |2 ++ 3 files changed, 37 insertions(+), 0 deletions(-) diff --git a

RE: soc-camera s_fmt question?

2011-01-17 Thread Qing Xu
Hi, Thanks for your answer! So, we will be waiting and keeping sync with latest soc-camera + videobuf2 framework. -Qing -Original Message- From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: 2011年1月18日 1:54 To: Guennadi Liakhovetski Cc: Qing Xu; Laurent Pinchart; linux-media

RE: soc-camera s_fmt question?

2011-01-17 Thread Qing Xu
ormat from preview to still capture. Thanks! -Qing -Original Message- From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] Sent: 2011年1月18日 1:43 To: Qing Xu Cc: Laurent Pinchart; linux-media@vger.kernel.org Subject: Re: soc-camera s_fmt question? On Mon, 17 Jan 2011, Qing Xu wrote:

soc-camera s_fmt question?

2011-01-17 Thread Qing Xu
org/downloads/v4l-dvb-apis/vidioc-reqbufs.html "A count value of zero frees all buffers, after aborting or finishing any DMA in progress, an implicit VIDIOC_STREAMOFF." What do you think? Any ideas will be appreciated! Thanks! Qing Xu Email: qi...@marvell.com Application Processor System

soc-camera jpeg support?

2011-01-17 Thread Qing Xu
a/include/media/v4l2-mediabus.h +++ b/include/media/v4l2-mediabus.h @@ -41,6 +41,7 @@ enum v4l2_mbus_pixelcode { V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_BE, V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_BE, V4L2_MBUS_FMT_SGRBG8_1X8, + V4L2_MBUS_FMT_JPEG_1X8, }; Any ideas will be appreciate

[PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-17 Thread Qing Xu
add vidioc_enum_framesizes implementation, follow default_g_parm() and g_mbus_fmt() method Signed-off-by: Qing Xu --- drivers/media/video/soc_camera.c | 42 ++ include/media/soc_camera.h |1 + include/media/v4l2-subdev.h |2 + 3 files

RE: [PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-09 Thread Qing Xu
On Mon, 10 Jan 2011, Qing Xu wrote: > On Fri, 7 Jan 2011, Guennadi Liakhovetski wrote: > On Fri, 7 Jan 2011, Qing Xu wrote: > > > pass VIDIOC_ENUM_FRAMESIZES down to sub device drivers. So far no > > special handling in soc-camera core. > > Hm, no, guess what? I don

RE: [PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-09 Thread Qing Xu
On Mon, 10 Jan 2011, Qing Xu wrote: > On Fri, 7 Jan 2011, Guennadi Liakhovetski wrote: > On Fri, 7 Jan 2011, Qing Xu wrote: > > > pass VIDIOC_ENUM_FRAMESIZES down to sub device drivers. So far no > > special handling in soc-camera core. > > Hm, no, guess what? I don

[PATCH] [media] v4l: soc-camera: add enum-frame-size ioctl

2011-01-06 Thread Qing Xu
pass VIDIOC_ENUM_FRAMESIZES down to sub device drivers. So far no special handling in soc-camera core. Signed-off-by: Kassey Lee Signed-off-by: Qing Xu --- drivers/media/video/soc_camera.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/media/video

SOC-Camera VIDIOC_ENUM_FRAMESIZES interface?

2011-01-04 Thread Qing Xu
about vidioc_enum_framesizes, so that the application knows how many frame-size is supported by camera driver, and then show all the size options in UI, then allow user to choose one size from the list. Any ideas will be appreciated! Thanks! Qing Xu Email: qi...@marvell.com Application Processor Sy