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.

scalar用lazy loading模式图像被裁剪



我用scalar缩放功能,按绝对值宽、高缩放模式。然后打开lazy loading模式,图像不完全,被裁剪掉了。

关闭lazy loading模式,图像就是全的, 但是缩放后的图像质量部如开lazy loading模式。有人知道怎么

解决这个问题吗?

  • 你好,我在用VIP-SC的时候,输入输出的格式均设为了420sp-uv ,但是出来的图像不对,这是我的参数配置,能帮我看看有什么不对吗?

        SclrLink_CreateParams_Init(&sclrPrm);

        sclrPrm.inQueParams.prevLinkId             = gVdecModuleContext.ipcFramesInVpssId;

        sclrPrm.inQueParams.prevLinkQueId          = 0;

        //sclrPrm.outQueParams.nextLink              = gVdecModuleContext.ipcFramesOutVpssId;

        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;

  • yongde he 说:

    我用scalar缩放功能,按绝对值宽、高缩放模式。然后打开lazy loading模式,图像不完全,被裁剪掉了。

    关闭lazy loading模式,图像就是全的, 但是缩放后的图像质量部如开lazy loading模式。有人知道怎么

    解决这个问题吗?

    你好,

    请问你使用的是哪个SC?你是否有参考过论坛讨论“http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_processors/f/39/t/91211.aspx”,看是否有帮助?