[PATCH protocol 5/11] Add support for the VP8 video codec and for advertising supported video codecs.

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

 



Clients that support other codecs besides MJPEG should advertise the SPICE_DISPLAY_CAP_MULTI_CODEC capability and one SPICE_DISPLAY_CAP_CODEC_XXX per supported codec.
---
 spice/enums.h    | 1 +
 spice/protocol.h | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/spice/enums.h b/spice/enums.h
index 18e2f74..14675f9 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -139,6 +139,7 @@ typedef enum SpicePathFlags {
 
 typedef enum SpiceVideoCodecType {
     SPICE_VIDEO_CODEC_TYPE_MJPEG = 1,
+    SPICE_VIDEO_CODEC_TYPE_VP8,
 
     SPICE_VIDEO_CODEC_TYPE_ENUM_END
 } SpiceVideoCodecType;
diff --git a/spice/protocol.h b/spice/protocol.h
index bea376c..7f0b322 100644
--- a/spice/protocol.h
+++ b/spice/protocol.h
@@ -134,6 +134,9 @@ enum {
     SPICE_DISPLAY_CAP_A8_SURFACE,
     SPICE_DISPLAY_CAP_STREAM_REPORT,
     SPICE_DISPLAY_CAP_LZ4_COMPRESSION,
+    SPICE_DISPLAY_CAP_MULTI_CODEC,
+    SPICE_DISPLAY_CAP_CODEC_MJPEG,
+    SPICE_DISPLAY_CAP_CODEC_VP8,
 };
 
 enum {
-- 
2.1.4
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





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