Hi everyone
I'm trying to get input from an Aptina mt9v135 imager into my DM6437 using the BIOS VPFE driver. The imager outputs YCbCr 4:2:2 data by default, which is exactly the format I want.
My first try was to test my imager, using the SD test code that came with my DVM. Here the imager works perfectly following their video_loopback example (<SD install directory>\boards\evmdm6437_v2\tests\video_loopback)
Next, I'm trying to get the imager to work through DSP/BIOS. I've specified my parameters as:
static PSP_VPFECcdcConfigParams ccdcParamsVideo1 =
{
FVID_YCbCr422_INTERLEAVED, /* dataFlow */
FVID_FRAME_MODE, /* ffMode */
480, /* height */
720, /* width */
(720*2), /* pitch */
0, /* horzStartPix */
0, /* vertStartPix */
NULL, /* appCallback */
{
NULL, /* extVD Fxn */
NULL,
NULL,
},
0
};
This always comes back with a NULL. Stepping through the PSP code, I find that in DDC_VPFEConfigCcdcParams() in C:\dvsdk_1_01_00_15\psp_1_00_02_00\pspdrivers\drivers\vpfe\srcddc_vpfeCcdc.c only the FVID_CCDC_YCBCR_8 and FVID_CCDC_RAW_FORMAT cases seem to be handled.
What would be the best way for me to get my code to work with DSP/BIOS? Should I try to extend the current driver to deal with my imager?
Any help/pointers would be appreciated