<span style="font-size: 12pt;" lang="EN-US">Hi, Cairo,<br><br>I am sorry to
update my status of my GSoC project so late.</span><div class="gmail_quote">
<p><span style="font-size: 12pt;" lang="EN-US">At the beginning,
I was familiar with cairo
nouns and verbs, like destination, source and so on. I spent much time on the cairo and didn't know how to add my code into cairo. Then I sent an
email to Soren to discuss the question and knew that my attention should be
changed into pixman library.</span></p>
<p><span style="font-size: 12pt;" lang="EN-US">In the project, first I
implemented half-precision floats in C from OpenEXR project. There are two
functions:</span></p>
<p><span style="font-size: 12pt;" lang="EN-US">half
float_to_half(float f);</span></p>
<p><span style="font-size: 12pt;" lang="EN-US">float
half_to_float(half h);</span></p>
<p><span style="font-size: 12pt;" lang="EN-US">I want to convert
an entire scanline to float, then do the compositing in float directly, then
convert the entire scanline back. </span></p>
<p><span style="font-size: 12pt;" lang="EN-US"><br>The most part of
the project is to get pixman image composited together. To support scRGB
precision, I did:</span></p>
<p><span style="font-size: 12pt;" lang="EN-US">1) In enum
pixman_format_code_t, I added four 64bpp formats: PIXMAN_F_a16r16g16b16, PIXMAN_F_x16r16g16b16<span> </span>,
PIXMAN_F_a16b16g16r16 , PIXMAN_F_x16b16g16r16.<br><br>2) I added
routines that can convert from arbitrary formats into scRGB and back in pixman-access.c.</span></p><p><span style="font-size: 12pt;" lang="EN-US"><br></span></p>
<p><span style="font-size: 12pt;" lang="EN-US">Then I will add
compositing routines in pixman-combine-float.c like pixman-combine32.c and add
some supporting code in PIXMAN_COMPOSITE_RECT_GENERAL in pixman-compose.c</span></p><p><br><span style="font-size: 12pt;" lang="EN-US"></span></p><p><span style="font-size: 12pt;" lang="EN-US">In the project, I would like to thank Soren for giving me lots of help and advice. <br>
</span></p><p><br><span style="font-size: 12pt;" lang="EN-US"></span></p><p>BEST WISHES!<br></p><p><span style="font-size: 12pt;" lang="EN-US">Guofu<br></span></p>
</div>