fyi @quietvoid @cpm
Here calculate avg_pq using mean of pq CDF · doppingkoala/dovi_tool@cbcc56f · GitHub is my change to the HDR10+ to DV conversion.
Change is in the calculation of the avg_pq. Essentially convert the different values of the CDF from nits to PQ, and then approximate average pq from those converted points. Improves over the original method as, due to the nonlinearity of the nits to pq calculation, the average nits converted to pq does not equal the average pq.