Exposed CalculateQualityFactor.
Added missing documentation.
Renamed Chroma to Chrominance and Luma to Luminance for consistency.
Refactored RGB->YCbCr conversion to perform in-place.
Added really test data and super ugly main.cpp for the demonstration.