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.

VFPC (DEI-H/DEI-M) components in Bypass mode

Hi,

My query is that when the input and output size is same, whether scaling operation is bypassed or not?

Our Encoder pipeline has Capture -> Dei-H (De-interlacing/Scaling) -> Encoder components. We support scaling and de-interlacing so DEI-H is included in the pipeline. Even when the input and output are same both in size and format, we still include DEI-H in the pipeline. We had believed that the DEI-H component just bypasses both scaling and de-interlacing and copies the input buffer content to output buffer.

But we are now suspecting that the Scaler may be doing some filter operation on the input buffer and generate output buffer even though the input and output parameters are same. This we are suspecting to degrade the output quality.

Can someone please confirm if the Scaler is actually bypassed, that is, no filter operations are done on the input buffer when the input and output parameters are same OR irrespective of the input and output buffer parameters, filter operations are done on the input buffers before generating output.

There is a piece of code in VFPC component src in OMX, where if the input and output parameters/size are same, "bDeiScBypass" is enabled.

Please let me know if any clarifications are required on the above query.

Thanks

durgesh 

  • Hello,

    Durgesh M N said:
    There is a piece of code in VFPC component src in OMX, where if the input and output parameters/size are same, "bDeiScBypass" is enabled.

    Yes, the scaler is enable only if the input and output not the same(OMX_ERRORTYPE _OMX_VFPCDeiDualOut_SetFVIDFrameInfo).

    If I understand you right please check this function  vpsVfpcDeiDualInitDefaultScCropParams in omx_vfpc_dei_if.c and this thread:

    You could check vps_cfgSc.h also.

    BR

    Margarita