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.

添加scaler link 后,图像不对



我想单独运用scaler link,让它完成所需要的缩放功能。我的chains如下:

 

file read in -> ipcBitsOutHost -> ipcBitsInVideo  -> dec -> ipcFramesOutVideo   ->ipcFramesInVpssFromVedio ->  sclr ->  ipcFramesOutVpssToHost  

 ->  ipcFramesInHost ->  file out  播放

 视频file 的格式是YUV420SP ,在Scaler link 中设定的输出也是YUV420SP,

但是出来的图片效果如下:

当我只去掉这个scaler link的时候,而且保留其他的不变,图像正常。

 

我的scaler link配置如下:

    SclrLink_CreateParams_Init(&sclrPrm);

    sclrPrm.inQueParams.prevLinkId             = gVdecModuleContext.ipcFramesInVpssId;

    sclrPrm.inQueParams.prevLinkQueId          = 0;

    sclrPrm.outQueParams.nextLink              = gVdecModuleContext.ipcFramesOutVpssId;

 

    sclrPrm.tilerEnable                        = FALSE;

    sclrPrm.enableLineSkipSc                   = FALSE;

    sclrPrm.inputFrameRate                     = 20;

    sclrPrm.outputFrameRate                    = 20;

    sclrPrm.numBufsPerCh                                           = 6;

     #if 0

         sclrPrm.scaleMode                          = DEI_SCALE_MODE_RATIO;

         sclrPrm.outScaleFactor.ratio.widthRatio.numerator = 1;

         sclrPrm.outScaleFactor.ratio.widthRatio.denominator = 1;

         sclrPrm.outScaleFactor.ratio.heightRatio.numerator = 1;

         sclrPrm.outScaleFactor.ratio.heightRatio.denominator = 1;

     #else

         sclrPrm.scaleMode                                                       = DEI_SCALE_MODE_ABSOLUTE;

         sclrPrm.outScaleFactor.absoluteResolution.outWidth               = 320;

         sclrPrm.outScaleFactor.absoluteResolution.outHeight     = 240;

     #endif

         sclrPrm.outDataFormat = SYSTEM_DF_YUV420SP_UV;

         sclrPrm.pathId = SCLR_LINK_SEC0_SC3;

 

请问,

1、vpss 提供的scaler硬件是否支持 YUV420SP的格式输入,如果不支持,能够通过添加其他的link,来支持对420SP的视频源?

2、我这里用的是SC3,它最多可以同时支持多少路的缩放?

  • 你好;

           

    fu you 说:
    1、vpss 提供的scaler硬件是否支持 YUV420SP的格式输入,如果不支持,能够通过添加其他的link,来支持对420SP的视频源?

            你使用的是SCLR_LINK_SEC0_SC3 ,是支持yuv420sp的输出的;

           

    fu you 说:
    2、我这里用的是SC3,它最多可以同时支持多少路的缩放?

            可以支持多少路,需要通过的的输入输出分辨率和帧率来计算;

            你可以参考一下 DVRRDK_04.01.00.02/ti_tools/hdvpss/dvr_rdk_hdvpss/docs/HDVPSS_FeaturePerformanceGuide.pdf 这个手册

  • 如果你不调用sc 模块,输出的画面是否正常呢 ?

     

    你输出的画面,怎么会有ti 的logo信息呢 ?

  • 如果你不采用sclr link 的来处理,你还可以考虑 dei 模块或者 swms 模块来处理,达到相同的效果