// /opt/protobuf/src/protoc PbFaceList --cpp_out=./
|
|
syntax = "proto2";
|
|
message PbFaceList
|
{
|
required uint32 magic = 1 [default = 0xB2A105];
|
required uint32 image_count = 2;
|
optional uint32 src_width = 3;
|
optional uint32 src_height = 4;
|
|
message FaceListImage
|
{
|
enum ImageType
|
{
|
MBFT_SDP = 1;
|
MBFT_FMTP = 2;
|
|
MBFT_INDEX = 3;
|
MBFT_PTR_AVFRAME = 4;
|
|
MBFT_H264_NALU = 5;
|
MBFT_H264_NALU_AUX = 6;
|
|
MBFT_JPEG = 7;
|
|
MBFT_YUV = 8;
|
MBFT_Y8 = 9;
|
MBFT_YUV420 = 10;
|
MBFT_NV12 = 11;
|
|
MBFT_RGB = 12;
|
MBFT_RGB888 = 13;
|
MBFT_RGB565 = 14;
|
|
MBFT_RGBA = 15;
|
|
MBFT_BGRA = 16;
|
MBFT_BGRA8888 = 17;
|
MBFT_ABGR8888 = 18;
|
|
MBFT_ARGB8888 = 19;
|
}
|
|
required uint32 idx = 1;
|
required uint32 st_track_id = 2;
|
required uint32 size = 3;
|
required ImageType type = 4 [default = MBFT_Y8];
|
|
required uint32 width = 5;
|
required uint32 height = 6;
|
optional uint32 top_left_x = 7;
|
optional uint32 top_left_y = 8;
|
repeated bytes img = 9;
|
}
|
|
repeated FaceListImage images = 5;
|
}
|