Re: What algorithm does SPICE server use in video stream detection?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Christophe,

Thank you for your answer!

BR,
Don






At 2019-01-15 21:54:36, "Christophe Fergeau" <cfergeau@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]