Process resize entirely on server

This commit is contained in:
Keith Winstein
2012-01-07 03:46:18 -05:00
parent c0845631de
commit ec2469257b
10 changed files with 79 additions and 25 deletions
+25
View File
@@ -0,0 +1,25 @@
option optimize_for = LITE_RUNTIME;
package HostBuffers;
message HostMessage {
repeated Instruction instruction = 1;
}
message Instruction {
extensions 2 to max;
}
message HostBytes {
optional bytes hoststring = 4;
}
message ResizeMessage {
optional int32 width = 5;
optional int32 height = 6;
}
extend Instruction {
optional HostBytes hostbytes = 2;
optional ResizeMessage resize = 3;
}