<p dir="ltr">First, make sure there's a mentor available -- I doubt I'll have time to do it, but perhaps someone else will be able to.</p>
<p dir="ltr">I would recommend writing a minimal application that e.g. encodes a fixed group of frames. You should then trace this app under the blob with both mmiotrace to figure out how to configure the underlying engine (probably just firmware to upload), as well as get a mmt trace to figure out the fifo interface end of it.</p>
<p dir="ltr">You could then write a proof of concept app that ran on top of nouveau and encoded those same frames (with a cooked cmd stream). Once that works, it's just a question of generalizing the commands to deal with different parameters, etc. (And sticking the whole thing into Mesa.)</p>
<p dir="ltr">This is what I did when re'ing VP2, you can see some of the programs I used at <a href="http://github.com/imirkin/re-vp2">github.com/imirkin/re-vp2</a>. Obviously the ones needed here will be different but it should give an idea of what I mean.</p>
<p dir="ltr">Hope this helps,</p>
<p dir="ltr"> -ilia</p>
<div class="gmail_quote">On Mar 1, 2016 12:13 AM, "Saket Sinha" <<a href="mailto:saket.sinha89@gmail.com">saket.sinha89@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
First of all, congratulations to the X.org team for selection into<br>
Google Summer of Code 2016.<br>
<br>
I would like to participate to Google Summer of Code 2016 by<br>
contributing to Kepler Accelerated Video Encoding for Nouveau.<br>
<br>
I request you to kindly guide me as to how to get started with this project.<br>
<br>
<br>
Regards,<br>
Saket Sinha<br>
_______________________________________________<br>
Nouveau mailing list<br>
<a href="mailto:Nouveau@lists.freedesktop.org">Nouveau@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/nouveau" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/nouveau</a><br>
</blockquote></div>