Kwiboo / linux-rockchip

Linux kernel for Rockchip SoC
Other
26 stars 10 forks source link

RK3328 : color space & sdr/hdr path missing #24

Closed Kwiboo closed 4 years ago

Kwiboo commented 7 years ago

The 4.4 kernel tree is missing csc / hdr2sdr code for rk3328 resulting in video colors looking bad compared to Android and the 3.10.104 kernel. Colorspace path appears to be implemented only for rk3399 in 4.4.

yanghanxing commented 7 years ago

This feature is WIP. I will notice you to update once it completed.

mcerveny commented 6 years ago

I think that it is sometimes working. Example HDR->SDR:

But, I looked to rockchip-linux code and some up-conversion (like SDR2HDR_FOR_HLG_HDR), down-conversion and whole HDR cross-coversion code missing (between different plane and connector EOTF>0 (PQ<->HLG<->LOG) check slide 15).