<div dir="ltr">Hi,<div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 29, 2013 at 9:57 PM, bradpitt <span dir="ltr"><<a href="mailto:hechuanbear@qq.com" target="_blank">hechuanbear@qq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm a master student from Peking University. I want to apply for this project, however I have a few questions about it so far. <br>
<br>1. I haven't any Xv driver implementation in glamor source code. Do I need to add a Xv driver(eg. glamor_video.c) first?<br></blockquote><div>Right, you need to create a new file to implement Xv support in glamor. </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2. The basic goal is to implement colorspace conversions for various YUV formats. You want me to use GPU to transfrom YUV to RGB?<br>
</blockquote><div style>IMO, you will have to use the GPU to accelerate the colorspace conversion eventually, otherwise I'm afraid that you will not get a usable Xv implementation.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3. Advanced goals. Improved scaling algorithms: I find some ddx drivers do this by calling xf86clipvideohelper, Do you want to use openGL to accelerate it?<br>4. and the rest: Support for brightness/contrast/saturation/hue adjustments;<span></span>Support for gamma adjustment<span></span>;Support for colorspace selection. I think it's quite easy to do it using CPU. And I have done this using hardware other than GPU. I suppose you want me to use GLSL to do it?  </blockquote>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In summary, I need some specific details about your requirement since I'm not quite familiar with glamor project. But I'm involved in developing a ddx driver using GPU through EXA to accelerate 2d render in our lab, so I'm very excited when I see this project, maybe I can learn a lot from it.<br>
</blockquote><div style>In general glamor's purpose is to use all the capacities provided by OpenGL to accelerate those 2D rendering operations, so you are always encouraged to use GLSL to implement/accelerate any operations if it's suitable to do so.  And you are welcome to participate this project.</div>
<div style>I personally don't have much time on this project, but I'm happy to provide help here. I suggest you to learn UXA firstly, as glamor is based on UXA's framework actually. And then you can implement Xv support by using CPU to do the color conversion, at last you can try to implement a GLSL version and see the performance improvement.</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:left;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:'Times New Roman';word-spacing:0px"></span><br>
<br>_______________________________________________<br>
Glamor mailing list<br>
<a href="mailto:Glamor@lists.freedesktop.org">Glamor@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/glamor" target="_blank">http://lists.freedesktop.org/mailman/listinfo/glamor</a><br>
<br></blockquote></div><br></div></div>