Some questions about "H-APha Dual Pol Decomposition" algorithm in SNAP

Hello, I want to make sure that the following is the algorithm of “H-Alpha Dual pol Decomposition”, is it the first picture or modify the second picture?

I want to know whether C2 in PolSARpro is a covariance matrix or a coherence matrix.