please apply timestamp_manager.patch to external/fsl_imx_omx.git (vendor/nxp/fsl_imx_omx.git in android 8.0)
it will fix widevine H264 issue.
About cases about H265, they are performance issue as i.mx6 use software decode for hevc codec. Please try to get waiver from google.