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.

RTOS/DRA76P: VIP capture use VPE link to convert UYUV to YUV_SP not show correct

Part Number: DRA76P

Tool/software: TI-RTOS

hi all,

can VPE convert SYSTEM_DF_YUV422I_UYVY to SYSTEM_DF_YUV420SP_UV ?

my link design as following:

NullSource_Animation (A15) -> Decode -> Merge_Vid3 -> Display_vid3

Capture -> Dup_Cap -> VPE_Cap -> Merge_Vid3

        Dup_Cap -> Gate_Cap -> Null_Cap (A15)

As animation output is SYSTEM_DF_YUV420SP_UV fomat, so i need convert Capture to SYSTEM_DF_YUV420SP_UV,

my capture output is 720x480 , format is SYSTEM_DF_YUV422I_UYVY,  and screen size is 1920x720, so i add the VPE link setting as following:

         pPrm->enableOut[0] = TRUE;

pPrm->chParams[0].outParams[0].numBufsPerCh = VPE_LINK_NUM_BUFS_PER_CH_DEFAULT;

            pPrm->chParams[0].outParams[0].width = 1920;
            pPrm->chParams[0].outParams[0].height = 720;
            pPrm->chParams[0].outParams[0].dataFormat = SYSTEM_DF_YUV420SP_UV; //SYSTEM_DF_YUV422I_UYVY;

            pPrm->chParams[0].scCfg.bypass       = FALSE;
            pPrm->chParams[0].scCfg.nonLinear    = FALSE;
            pPrm->chParams[0].scCfg.stripSize    = 0;

            pPrm->chParams[0].scCropCfg.cropStartX = 0;
            pPrm->chParams[0].scCropCfg.cropStartY = 0;
            pPrm->chParams[0].scCropCfg.cropWidth = 1920;
            pPrm->chParams[0].scCropCfg.cropHeight = 720;

animation can show well, but when i switch to capture it not show correct. why?

if just only capture without animation, VIP link work well. whether the index of chParams and outParams are wrong ?