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.

DM388: RGB<->YUV conversion coefficients for DM388

Part Number: DM388

Hi All,

We are using IPNC_RDK_3.9.1 SDK and my aim is to is input RGB24bit(full rage 0-255) and output RGB24bit(full rage 0-255). The goal is achieved bit input RGB and Output RGB color is not matching.

Following are detailed info.

1. USECASE

----(RGB24_888)-------------->CAPTURE LINK-----------(YUV 420)-------------------------->DISPLAY LINK---------(RGB24_888)----------------------------->ONCHIP HDMI

2. CSC coefficents

We are  using  VPS_CSC_MODE_HDTV_VIDEO_R2Y in VIP Parser and VPS_CSC_MODE_HDTV_VIDEO_Y2R in VCOMP and HDCOMP. HDVENC is set as

pContext->deviceParams[VDIS_DEV_HDMI].enable = TRUE;
    pContext->deviceParams[VDIS_DEV_HDMI].outputInfo.vencNodeNum = VDIS_VENC_HDMI;
    pContext->deviceParams[VDIS_DEV_HDMI].outputInfo.aFmt = VDIS_A_OUTPUT_COMPOSITE;
    pContext->deviceParams[VDIS_DEV_HDMI].outputInfo.dvoFmt = VDIS_DVOFMT_TRIPLECHAN_EMBSYNC;
    pContext->deviceParams[VDIS_DEV_HDMI].outputInfo.dataFormat = SYSTEM_DF_RGB24_888;


Coefficients Table reference below:

3. Results

RGB in and Out values are not matching. Following are results.

Test Image: Grey Scale image ( 1920 x1080)

Original- orange color

Output of DM388 - blue color

Please suggest what is going wrong in the coefficients.

Thanks

Kailash