OPPO O-Log 2 / O-Gamut

Fig. 1: OPPO O-Log 2 / O-Gamut — CIE 1931 xy.
Fig. 2: OPPO O-Log 2 / O-Gamut encoding curve, L = 0.18 × 2^stops.
xy
Red0.70800.2920
Green0.17000.7970
Blue0.13100.0460
White (D65)0.31270.3290

O-Gamut primaries are identical to ITU-R BT.2020-2.

Transfer function

CurveOPPO O-Log 2
Black / white point (10-bit code values)0 / 1023
Linear 0 → code0.1199
18% grey → code0.4879
Linear 1.0 → code0.6942

Encoding: convertFromLinear

// OLog2 Curve Encoding Function
float relativeSceneLinearToNormalizedOLog2( float x) {
    return (0.0855 * log(x + 0.0096) / log(2.0) + 0.693);
}

Decoding: convertToLinear

// OLog2 Curve Decoding Function
float normalizedOLog2ToRelativeSceneLinear( float x) {
    return (exp((x - 0.693) / 0.0855 * log(2.0)) - 0.0096);
}

RGB → XYZ matrix

RGB → XYZ
[ 0.636958048301 0.144616903586 0.168880975164 ]
[ 0.262700212011 0.677998071519 0.059301716470 ]
[ 0.000000000000 0.028072693049 1.060985057711 ]

Use this space Gamut compare ↗ Transfer compare ↗

Sources

  1. OPPO: O-Log Technical Downloads (incl. O-Log2 ACES workflow, CTL/DCTL)