Re: [Spice-devel] principle of compute_lines_gradual_score

2016-04-25 Thread
Oh, I see. And now I can understand what the code mean. But the question is that the same picture but different size would output different result, for e.g, use this picture( http://www.tophdwallpaersland.com/wp-content/uploads/2015/01/windows-desktop-widescreen-backgrounds.jpg) as the desktop, whe

[Spice-devel] principle of compute_lines_gradual_score

2016-04-25 Thread
Hi, I'm a beginner at SPICE project. Today, I was reading the code, the function which named `_get_bitmap_graduality_level` at line 5979 in file server/red_worker.c (the version of spice is 0.12.7 and my OS is Fedora 23). It seems that get a score value from a image by the function and I also found