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.

Problem with VFCC Scalar when capturing 1080i resolution in EZSDK



Hi,

  • We are working on dm8148 processor with ezsdk_dm814x-evm_5_05_01_04.
  • In one of our application we have to enable scalar in VFCC component as we need 720x480 ouput from capture component.
  • It is working fine with 480i,576i,720p,1080p.
  • But we can't able to capture with 1080i resolution

Please suggest.


Thanks,

Devang

  • Hello,

    What error you are seeing?

    What is the  PG version?

    Best Regards,

    Margarita

  • Hi,

    We are getiing error as below while 1080I resolution:

    N:VPSS  P:2 #:06857 T:0000001b7c6d4c99 M:xdc.runtime.Main S:VFCC VIP Id:0
    N:VPSS  P:2 #:06858 T:0000001b7cbb5d75 M:xdc.runtime.Main S:RESET Count:: 905 , curTime:: 293664
    N:VPSS  P:2 #:06859 T:0000001b7d9795a5 M:xdc.runtime.Main S:VFCC Capture_drvOverflowDetectAndReset::Line 3661::VIP Reset Happend, reset count:: 906 portId : 0

    can you explain what is PG version? I don't have a idea about that.
    if you are talking about ezsdk version then we using ezsdk_dm814x-evm_5_05_01_04.

    Thanks,
    Devang

  • Hi Margarita,

    Sorry, We are using PG version TI8148-PG rev 3.0.

    Thanks,
    Devang

  • Hello,

    Devang panchal said:
    we have to enable scalar in VFCC component

    I am not sure what you mean by this.

    Devang panchal said:
    • It is working fine with 480i,576i,720p,1080p.
    • But we can't able to capture with 1080i resolution

    It is not working with your application or with capture_encode demo in the ezsdk? If it is with your application please try with the default OMX demo.

    By TI8148-GP  I mean revision.

    Best Regards,

    Margarita

  • Hi Margarita,

    Yes, We using PG Version 3.0 (PG2_1).

    And actually we customize the one of demo application like capture and directly send the data to display component.
    But we are not getting actual video on the display as VFCC scalar is not enable by default in ezsdk.

    So that we configure the VFCC scalar parameters as below:

    file : omx-ti81xx-src_05_02_00_46/src/ti/omx/comp/vfcc/src/omx_vfcc.c
    function: OMX_TI_VFCC_SetConfig
    ChResolutionCfg.inCropCfg.cropStartX = 0;
    ChResolutionCfg.inCropCfg.cropStartY = 0;
    ChResolutionCfg.inWidth = pChResnCfg->inWidth;
    ChResolutionCfg.inHeight = pChResnCfg->inHeight;
    ChResolutionCfg.outWidth = 720;
    ChResolutionCfg.outHeight = 480;
    ChResolutionCfg.inCropCfg.cropWidth = pChResnCfg->inCropCfg.cropWidth;
    ChResolutionCfg.inCropCfg.cropHeight = pChResnCfg->inCropCfg.cropHeight;
    ChResolutionCfg.scConfig = NULL;
    ChResolutionCfg.scCoeffConfig = NULL;
    ChResolutionCfg.enableCoeffLoad = TRUE;
    ChResolutionCfg.inScanFormat = pChResnCfg->inScanFormat;  // Interlaced or progressive

    function:   _OMX_VFCCInitDrvCreateArgs
    pOutInfo->scEnable = TRUE;         // As scEnable is required for configure scalar.


    Thanks,
    Devang

  • Hi Margarita,

    Any update on this..?
    Please ask if you have any query.

    Thanks,
    Devang

  • Hello,

    Devang panchal said:
    N:VPSS  P:2 #:06859 T:0000001b7d9795a5 M:xdc.runtime.Main S:VFCC Capture_drvOverflowDetectAndReset::Line 3661::VIP Reset Happend, reset count:: 906 portId : 0

    You will see this even when there is no video source connected on VIP0. Could you attach the full log.

    Your application is working(+ the changes in the overlay) for all resolution except 1080i, right?

    Are you using EVM or it is a custom board?

    Could you try the default capture_encode demo in EZSDK without any changes with the default VPSS firmware?

    Let me know is it working for 1080i.

    Best Regards,

    Margarita

  • Hi Margarita,

    Yes, our application is working fine for all resolution expect 1080i.

    We are using custom board based on dm8148 DaVinci video processor.

    Yes, we tried with default capture_encode demo in EZSDK without any changes with the VPSS firmware and It's working fine. Even we can able to capture and dump the video data for 1080I.

    We suspect that VFCC scalar may not be able to scale down 1080I Resolution. but it is able to scale down other interlaced resolution like 576i and 480i.

    Please find attached full log of VPSS.2313.putty.rar

    Thanks,
    Devang

  • Hi Devang,

     

    What is your input and output format? What is your input interface?

     

    Rgds,

    Brijesh

  • Hi Brijesh,


    We are using adv7611 decoder chip and feed decoded data directly to VFCC component.

    As per OpenMax we only configure the output port of the capture component in OMX_COLOR_FormatYCbYCr format
    as display componet supported OMX_COLOR_FormatYCbYCr format as input.

    Thanks,
    Devang

  • Is it embedded sync input or discrete sync input?

     

    Regards,

    Brijesh

  • Hi Brijesh,

    We are using embedded sync input.

    Thanks,
    Devang

  • hi devang,

     

    embedded sync should not create any overflow,

    can you try inverting pixel clock polarity?

     

    regards,

    Brijesh

  • Hi Brijesh,

    We inverted pixel clock polarity as below:

    File: component-sources/hdvpss_01_00_01_37/packages/ti/psp/vps/drivers/capture/src/vpsdrv_captureVip.c
    Function: Vps_captVipParserConfigSetup

    vipPortConfig->pixClkEdgePol = VPS_VIP_PIX_CLK_EDGE_POL_FALLING;

    We changed this parameter value from VPS_VIP_PIX_CLK_EDGE_POL_RISING to VPS_VIP_PIX_CLK_EDGE_POL_FALLING,
    But still we are getting that overflow error with 1080I resolution.

    Thanks,
    Devang

  • ok, is it possible to find out what all modules in vip path are used?

     

    Rgds,

    Brijesh

  • Hi Brijesh,

    We are Just using VFCC component with scalar for scale down each resolution in 720x480 as our display required  720x480 resolution.

    our video data comes from decoder chip to capture component VFCC which is scale down each resolution and give input to the display component.

    All resolutions are working fine expect 1080I.

    Let me know if you want any more information.

    Thanks,
    Devang

  • Hi Brijesh,

    Pelase note that we are not using Dei component scalar we are using VFCC scalar,
    Please Let me know if you have any query.


    Thakns,
    Devang