Can DM6467 raw video input accept/capture 12-bit YCbCr 4:2:2 video format?
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.
Yes, this is possible. In RAW capture mode (up to 12-bit input), it can capture whatever data is present at video input interface to SDRAM
As I understood from spruer9c document about the VPIF, when RAW mode is used, every pixel clock the VPIF captures the pixel data (12-bit in my case) that is incident on its input port (r0 - r11) and copies it to SDRAM regardless if it is luminance data or chrominance data. So, if I want to capture this 12-bit YCrCb data, color convert it to 4:2:0 and send it to the h.264 BP encoder, I cannot do it until I re-arrange the luminance and chrominance data to be in the form the color conversion engine expects (As opposed to BT.1120 and BT.656 where luminance and chrominance data are saved in SDRAM in the expected form). Am I correct?
By the way, I did not see any register that sets the VPIF in RAW/BT.656/BT.1120 mode. How the VPIF knows what mode is active?
Nir Aloni said:As I understood from spruer9c document about the VPIF, when RAW mode is used, every pixel clock the VPIF captures the pixel data (12-bit in my case) that is incident on its input port (r0 - r11) and copies it to SDRAM regardless if it is luminance data or chrominance data. So, if I want to capture this 12-bit YCrCb data, color convert it to 4:2:0 and send it to the h.264 BP encoder, I cannot do it until I re-arrange the luminance and chrominance data to be in the form the color conversion engine expects (As opposed to BT.1120 and BT.656 where luminance and chrominance data are saved in SDRAM in the expected form). Am I correct?
correct.
Nir Aloni said:By the way, I did not see any register that sets the VPIF in RAW/BT.656/BT.1120 mode. How the VPIF knows what mode is active?
The mode is selected via CH0_CTRL:CH0_FORMAT register fields (similarly for other channels, e.g. CH1_CTRL register). This lets you select between BT and RAW modes; once you are in a BT mode, the SAV and EAV codes will differentiate between BT.656 or BT.1120.