This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM814x CGS registers

Hello E2E!

I am trying to use the CGS module, but I don't understand how to configure it.
The doc says:

Cb_output = (total_gain * Cb_input) / 256
Cr_output = (total_gain * Cr_input) / 256

This part is fine, but after it says:

"The gain value is determined by the formula show in Figure 181."
Figure 181:
gain1 = { some function };
gain2 = { some other formula }

My problem is that, I can't figure out what's the correlation between total gain and the functions used to determine gain1, and gain2.

To keep my question simple: What is the total_gain? What is gain1 and gain2? What is the connection between these numbers?

Thanks in advance,

-- Tamás