SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
In both primary (PRI) and auxiliary (AUX) paths, the mode in which the VPDMA needs to be operated depends whether the chroma upsampler and de-interlacers are enabled or not. Table 1-12 shows the modes of operation.
Mode A | Mode B |
---|---|
Input data is 4:2:0 | Input data is 4:2:2 |
These modes need to be set in the following register bit-fields of particular instances being used:
VPE_REG0[17:16] CFG_MODE
LINE_MODE bitfield in VPDMA registers of format RD_LB_CLIENT_CTL_STATUS need to configured as follows:
Mode A corresponds to MMR value 0
Mode B corresponds to MMR value 1
The following are the VPDMA client related bit-fields that need to be configured:
VPE_PRI_CHROMA_CSTAT[9:8] LINE_MODE
VPE_PRI_FLD1_CHROMA_CSTAT[9:8] LINE_MODE
VPE_PRI_FLD2_CHROMA_CSTAT[9:8] LINE_MODE
1. For VPDMA luma clients, Mode B should always be used.
2. For VPDMA chroma clients, Mode A is used for 420 data and Mode B is used for 422 data.