Hi,

The code is already available in the driver for the RAW capture but it is not 
tested. You may also require some changes in order to make it work. You can add 
a new sensor driver and register it to the vpif capture driver. It supports 
some boot time parameters. You just need to set this to indicate that you are 
going to use raw capture mode. After this, I guess, all the required ioctl's 
are forwarded to the sensor driver instead of decoder driver. Let me know if 
you need anything further.

Thanks,
Brijesh Jadav


________________________________
From: davinci-linux-open-source-bounces+brijesh.j=ti....@linux.davincidsp.com 
[mailto:davinci-linux-open-source-bounces+brijesh.j=ti....@linux.davincidsp.com]
 On Behalf Of vivek kaushik
Sent: Tuesday, April 07, 2009 5:45 PM
To: [email protected]
Subject: RAW capture mode on DM6467

HI All,

My objective is to interface CMOS sensor to DM6467, that CMOS sensor will be 
giving data in RAW format(bayer).

As per SPRUER9B-december2008(TMS320DM646x DMSoC Video Port Interface User's 
Guide) VPIF is capable of capturing RAW data. my understanding of RAW data is 
getting seperate H-sync, V-sync and feild ID from sensor and giving it to 
DM6467.my sensor is able to genrate these signals.

Even SPRUFJ3 - May 2008(LSP 1.30 DM6467 VPIF Capture Video Driver User Guide) 
says that VPIF driver supports RAW capture mode.


But SPRS495 - Oct 2008(DaVinciTM Linux Drivers Datasheet) says that :

2.1.2.3.2 Features Not supported
Following are the features not supported by VPIF Capture Driver:
        *  Raw Capture mode

I am working on mvl4.0.1 and trying to analyse the VPIF driver files 
davincihd_capture.c and vpif.c and it looks like that using ioctl calls for 
e.g. "VIDIOC_S_FMT" to set the "storage format" and "pixel format" for RAW 
format can help me in my task.



Does any body have any pointer to this problem.

Thanks in advance...

Regards,

Vivek
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to