summaryrefslogtreecommitdiffstats
path: root/common/lz.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-05-21 10:51:03 +0200
committerAlexander Larsson <alexl@redhat.com>2010-05-21 10:51:28 +0200
commit012bd2577975b902aa5ce0cdd0eb43ef57c948fb (patch)
tree1dc3de75ad4c173d2de3f60cb0c9d78bf4517542 /common/lz.h
parentd351bb35ce981d39e839528f4a23bc5b501adab8 (diff)
downloadspice-012bd2577975b902aa5ce0cdd0eb43ef57c948fb.tar.gz
spice-012bd2577975b902aa5ce0cdd0eb43ef57c948fb.tar.xz
spice-012bd2577975b902aa5ce0cdd0eb43ef57c948fb.zip
Fix spelling errors in comments and strings
Diffstat (limited to 'common/lz.h')
-rw-r--r--common/lz.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/lz.h b/common/lz.h
index 1c80df73..6f796f17 100644
--- a/common/lz.h
+++ b/common/lz.h
@@ -37,7 +37,7 @@ struct LzUsrContext {
TODO : determine size limit for the first segment and each chunk. check validity
of the segment or go to literal copy.
TODO : currently support only rgb images in which width*bytes_per_pixel = stride OR
- paletter images in which stride eqauls the min number of bytes to
+ palette images in which stride equals the min number of bytes to
hold a line. stride is not necessary for now. just for sanity check.
stride should be > 0
*/
@@ -59,9 +59,9 @@ void lz_decode_begin(LzContext *lz, uint8_t *io_ptr, unsigned int num_io_bytes,
to_type = the image output type.
We assume the buffer is consecutive. i.e. width = stride
- Improtant: if the image is plt1/4 and to_type is rgb32, the image
+ Important: if the image is plt1/4 and to_type is rgb32, the image
will decompressed including the last bits in each line. This means buffer should be
- larger than width*height if neede and you shoud use stride to fix it.
+ larger than width*height if needed and you should use stride to fix it.
Note: If the image is down to top, set the stride in the sw surface to negative.
use alloc_lz_image_surface create the surface.
*/