Regarding PACK8 - I'm perplexed what the data format *should* look like for captured BT.656. In the VPFE, they have plenty of examples for 8-bit mode, but nary a one for 10-bit. For example, the VPFE user guide specifies the following for "BT.656 Mode Data Format in SDRAM" | Pixel3 (Y1) | Pixel2 (Cr0) | Pixel1 (Y0) | Pixel0 (Cb0) | Where each of these is 8 bits.
In 10-bit mode, is each pixel stored as 16 bits with the 10-bits in the lower half? ________________________________ From: Albert Burbea [mailto:[email protected]] Sent: Saturday, September 03, 2011 11:50 PM To: Paul Stuart Cc: [email protected] Subject: Re: DM365 with TVP5147M1 in bt656 10-bit mode? Hi Paul, this seems wrong to me. I think you do NOT have to specify CCD_DATA_PACK8 - this is for 8 bit values - but leave this bit at zero - so you will get all your ten bits in a 16 bit memory address. Also, please recheck your connections. I am not sure they are correct. Look in the VPFE users' guide - there are many examples. Albert On Fri, Sep 2, 2011 at 6:04 PM, Paul Stuart <[email protected]<mailto:[email protected]>> wrote: Hi, We have a TVP5147M1 running in 10-bit BT656 with embedded syncs mode to our DM365, but getting "horrible video" (skewed color space, tons o' rolling noise). HW connection: Lines Y_0 - Y_7 from the TVP are running to CIN0-CIN7 on the DM365. Lines Y_8 and Y_9 from the TVP are running to YIN0 and YIN1 respectively on the DM365 SW setup: In our board config file, I specified if_type = VPFE_BT656_10BIT In the same file, the output route for the TVP5147 is set to OUTPUT_10BIT_422_EMBEDDED_SYNC In dm365_ccd.c: ccd_config_ycbcr for the case of VPFE_BT656_10BIT, I configure ccdcfg as follows: ccdcfg = ccdcfg | CCD_DATA_PACK8; In the same file I've changed the pix_fmt to CCDC_PIXFMT_YCBCR_16BIT, per the VPFE frontend user guide. TVP Setup: I've set it up to output 10-bit 656 with embedded syncs. We get interrupts, get "video", it just looks really bad. Am I missing something obvious in my setup? Has anyone had success with 10-bit BT.656 on the DM365? Thanks, Paul _______________________________________________ Davinci-linux-open-source mailing list [email protected]<mailto:[email protected]> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source -- Albert Burbea Harishonim 8 Ramat Gan 52502, Israel Tel/Fax + 972-3-7526016 Mobile: +972-52-3541842
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
