vnc: Improve comment
PATCH 1/1 vnc: Improve comment
It's still not good, but hopefully better than before.
Signed-off-by Stefan Weil <[email protected]>
--- ui/vnc-enc-zywrle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
ui/vnc-enc-zywrle.h +2 -2
@@ -305,8 +305,8 @@ static inline void harr(int8_t *px0, int8_t *px1)|L1H0H1H0|L1H0H1H0|L1H0H1H0|L1H0H1H0| : level 1 In this method, H/L and X0/X1 is always same position. -This lead us to more speed and less memory. -Of cause, the result of both methods is quite same +This leads us to more speed and less memory. +Of course, the result of both methods is quite same because its only difference is that coefficient position. */ static inline void wavelet_level (int *data,int size,int l,int skip_pixel)
Signature · 1 line
1.7.10
Quoted 12 lines · Stefan Weil
It's still not good, but hopefully better than before.
Signed-off-by Stefan Weil <[email protected]>--- ui/vnc-enc-zywrle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)ui/vnc-enc-zywrle.h +0
-0
ui/vnc-enc-zywrle.h static inline void harr(int8_t *px0, int8_t *px1) · line 312
Quoted 10 lines
ui/vnc-enc-zywrle.h +2
-2@@ -305,8 +305,8 @@ static inline void harr(int8_t *px0, int8_t *px1)|L1H0H1H0|L1H0H1H0|L1H0H1H0|L1H0H1H0| : level 1 In this method, H/L and X0/X1 is always same position. -This lead us to more speed and less memory. -Of cause, the result of both methods is quite same +This leads us to more speed and less memory. +Of course, the result of both methods is quite same because its only difference is that coefficient position. */ static inline void wavelet_level (int *data,int size,int l,int skip_pixel)
I would drop this patch since this file seems to be copied from an external project and not customized for QEMU:
"THIS FILE IS PART OF THE 'ZYWRLE' VNC CODEC SOURCE CODE."
If we need to sync to a newer version in the future, the spelling fixes just add diff noise.
Stefan