Hi Christophe,
Thank you for your answer! BR, Don At 2019-01-15 21:54:36, "Christophe Fergeau" <cferg...@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
_______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/spice-devel