From 41bc5a329c73e3b43695f73f11c47c97c44cc1b6 Mon Sep 17 00:00:00 2001 From: chenke <chenke@454eff88-639b-444f-9e54-f578c98de674> Date: 星期四, 20 七月 2017 09:45:41 +0800 Subject: [PATCH] --- FaceServer/PbFaceList | 49 +++++++++++++++++++++++++++++++++++++------------ 1 files changed, 37 insertions(+), 12 deletions(-) diff --git a/FaceServer/PbFaceList b/FaceServer/PbFaceList index c2fb55d..6909943 100644 --- a/FaceServer/PbFaceList +++ b/FaceServer/PbFaceList @@ -8,25 +8,50 @@ required uint32 image_count = 2; optional uint32 src_width = 3; optional uint32 src_height = 4; - + message FaceListImage { enum ImageType { - MBFT_YUV = 8; - MBFT_Y8 = 9; - MBFT_RGB = 11; + 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 size = 2; - required ImageType type = 3 [default = MBFT_Y8]; - - required uint32 width = 4; - required uint32 height = 5; - optional uint32 top_left_x = 6; - optional uint32 top_left_y = 7; - repeated bytes img = 8; + 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; -- Gitblit v1.8.0