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.

TDA4VM: Tda4vm output YUV color error

Part Number: TDA4VM

HI

  Because I want to process video on A72, I based on the demo built the linux driver of DRM and test program,but color error was found.

1. I configured the output mode as bt601 and set the input mode as uvuy. Finally, I got an image with normal shape but wrong color. As shown in the figure below.

some registers are configured as follows

DSS_VP_CONFIG              = 0x00100004

DSS_VP_CONTROL           = 0x00900041

DISPC_VP_POL_FREQ     = 0x00060000

DISPC_VID_ATTRIBUTES = 0x102002fc

Is my register configured correctly? Thank you a lot.

2. In the query process, we found that there is a way to realize YUV to YUV, that is, mask all transformations and directly output the value of the input pipeline from the VP port. But I turned off all the transformations I thought existed, but the result was still wrong. Can I ask if this method is OK? If so, what needs to be closed in addition to closing the following transformations

Closed modules: Scaler polyphase filter, Color space conversion YUV to RGB, Color space conversion RGB to YUV

3. In chapter 12.6.2.1.4, it is said that the discrete sync of YUV can only be realized by using two VPS. However,I first set the mode to RGB, the discrete sync signal is generated, and then enabling bt656, it is found that the discrete sync signal does not disappear, so I output YUV with one VP. Is this method OK? The above two problems are implemented based on this method