class="memdoc">

<p>This function calculates the following Main Stream Attributes (MSA): </p>
<pre class="fragment"> - Transfer unit size
 - User pixel width
 - Horizontal start
 - Vertical start
 - Horizontal total clock
 - Vertical total clock
 - Misc0
 - Misc1
 - Data per lane
 - Average number of bytes per transfer unit
 - Number of initial wait cycles
</pre><p> These values are derived from:</p>
<ul>
<li>Bits per color</li>
<li>Horizontal resolution</li>
<li>Vertical resolution</li>
<li>Pixel clock (in