<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi <span style="font-family: arial; white-space: pre-wrap;">Christophe,</span></div><div><span style="font-family: arial; white-space: pre-wrap;"><br></span></div><div><span style="font-family: arial; white-space: pre-wrap;">Thank you for your answer£¡</span></div><div><span style="font-family: arial; white-space: pre-wrap;"><br></span></div><div><font face="arial"><span style="white-space: pre-wrap;">BR,</span></font></div><div><font face="arial"><span style="white-space: pre-wrap;">Don</span></font></div><br><br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br><pre><br>At 2019-01-15 21:54:36, "Christophe Fergeau" <cfergeau@redhat.com> wrote:
>Hey,
>
>On Thu, Jan 10, 2019 at 03:03:05PM +0800, ³ÂžÝ wrote:
>> Hi,
>>
>>
>>
>> I read the spice server code, and find that the video stream detection
>> code is in server/spice-bitmap-utils.c. func
>> bitmap_get_graduality_level will calculate a score, and the GRADUALITY
>> is set based on the score.
>>
>> So what's the meaning of this score, and what algorithm does it use to
>> calculate this score?
>
>Long time since I looked at that code, but iirc it tries to detect if
>the region looks like text or an image, and if it's changing a lot. If
>it's an image which is changing a lot, then it's recognized as a video
>stream.
>
>Christophe
</pre></div><br><br><span title="neteasefooter"><p> </p></span>