This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

setting for 8-bit YUV sensor



Iam writing serial of drivers for a 8-bit Yuv output sensor in DM368 platform,  including ccd, ipipeif and resizer. My plan is to link those hardware to generate a YUV420(Y/C seperated) data. So far the output of ccdc is verified to be OK. And also I can get the Y data in resizer output dram. But the Cb/Cr data has never been written into specified dram.

I'm really doubting if there is any error in converting 8bit-Ycbcr to 16bit Ycbcr, as the resizer modules only accept 16bitYcbcr. I still don't know which register to set for Ycc8 Ycc16 conversion.  In  DM36x datasheet(VPFE), there might be a place in ipipeif which make this conversion. ipipe.cfg2.yuv8, it is describes:

"YUV 8bit mode When INPTYP is 1YUV16bit mode and YUV8 is 1, it converts 8bit data to 16bit data and drives to IPIPE."

The word is quite confusing. I have 2 concerns  for this sentence.

1. what does the "8bit data" here means. does it mean yuv8->yuv16? or just extend a 8bit data to to 16bit data by adding 0 in the front?

2. here the word "IPIPE" means ipipe module or combo ipipe(ipipe+resizer). if it is ipipe module only, does that mean we have to enable ipipe if we want to use this output as resizer's input.

Any comment is welcome.

Jeff