Fix: deblocking RDO chroma distortion calculation for HDR-PQ coding
Deblocking RDO is enabled in ECM5.0 in RA test condition. It was found that the chroma distortion calculation is not properly done for HDR-PQ signal, which should use weighted SSE instead of SSE for cost calculation in order to optimize for the HDR chroma metrics (e.g. wPSNR, DE100 ). This is the fix to handle it properly. No impact to SDR and HLG coding.
Edited by Vadim Seregin