Migrate to FlatBuffers and unify Mobile/TV modules
This commit is contained in:
commit
2a4ee357ce
133 files changed
+7284
No files matched your search
@@ -0,0 +1,9 @@
|
||||
namespace hyperionnet;
|
||||
|
||||
table Reply {
|
||||
error:string;
|
||||
video:int = -1;
|
||||
registered:int = -1;
|
||||
}
|
||||
|
||||
root_type Reply;
|
||||
@@ -0,0 +1,46 @@
|
||||
namespace hyperionnet;
|
||||
|
||||
// A priority value of -1 clears all priorities
|
||||
table Register {
|
||||
origin:string (required);
|
||||
priority:int;
|
||||
}
|
||||
|
||||
table RawImage {
|
||||
data:[ubyte];
|
||||
width:int = -1;
|
||||
height:int = -1;
|
||||
}
|
||||
|
||||
table NV12Image {
|
||||
data_y:[ubyte];
|
||||
data_uv:[ubyte];
|
||||
width:int;
|
||||
height:int;
|
||||
stride_y:int = 0;
|
||||
stride_uv:int = 0;
|
||||
}
|
||||
|
||||
union ImageType {RawImage, NV12Image}
|
||||
|
||||
table Image {
|
||||
data:ImageType (required);
|
||||
duration:int = -1;
|
||||
}
|
||||
|
||||
table Clear {
|
||||
priority:int;
|
||||
}
|
||||
|
||||
table Color {
|
||||
data:int = -1;
|
||||
duration:int = -1;
|
||||
}
|
||||
|
||||
union Command {Color, Image, Clear, Register}
|
||||
|
||||
table Request {
|
||||
command:Command (required);
|
||||
}
|
||||
|
||||
root_type Request;
|
||||
Reference in new issue
Block a user