[Spice-devel] [PATCH 2/2] cache support for replacing images that were compressed using jpeg with lossless images
Yonit Halperin
yhalperi at redhat.com
Wed Jun 9 01:56:04 PDT 2010
---
spice/draw.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/spice/draw.h b/spice/draw.h
index 91391c6..1cf59c8 100644
--- a/spice/draw.h
+++ b/spice/draw.h
@@ -168,11 +168,13 @@ enum {
SPICE_IMAGE_TYPE_FROM_CACHE,
SPICE_IMAGE_TYPE_SURFACE,
SPICE_IMAGE_TYPE_JPEG,
+ SPICE_IMAGE_TYPE_FROM_CACHE_LOSSLESS,
};
enum {
SPICE_IMAGE_FLAGS_CACHE_ME = (1 << 0),
SPICE_IMAGE_FLAGS_HIGH_BITS_SET = (1 << 1),
+ SPICE_IMAGE_FLAGS_CACHE_REPLACE_ME = (1 << 2),
};
typedef struct SPICE_ATTR_PACKED SpiceImageDescriptor {
--
1.6.6.1
More information about the Spice-devel
mailing list