Hi all,
I build a DM816x link chain like:
Capture -> DEI HQ -> ( transfer frames between A8 and m3_vpss for overlay )
-> DEI -----------H264 Enc
|____MJPEG Enc
The first DEI HQ will do the de-interlacing job, and the second DEI link will do scaling job by setting enableDeiForceBypass to TRUE, but I find the video quality after DEI is bad compared to that if I bypass the scalar by setting bypass to TRUE in Vps_ScConfig structure of Vps_M2mDeiChParams structure. Please see the following snap for quality difference, and this problem happens even the output resolution of scalar is same as the input resolution.
Bypass
Not bypass
So I want to bypass scalar if I find the input and output resolution are same. Can anyone help me with how to bypass it at runtime? I try to set deiScRtCfg->scBypass to TRUE in DeiLink_drvSetChDynamicOutputRes, but it does not work.
Any advice is welcome too.
Thanks !
Rafael