From 755709be32203a2db6a4fa90e77a91695a932efb Mon Sep 17 00:00:00 2001
From: pans <pans@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期五, 04 八月 2017 16:41:37 +0800
Subject: [PATCH]
---
VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto | 2 +-
VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto.cpp | 4 ++--
VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto.h | 36 ++++++++++++++++++------------------
3 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto b/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto
index 84d1fea..8fa9045 100644
--- a/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto
+++ b/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto
@@ -7,5 +7,5 @@
interface RtspFaceView{
getFaceList@0 (cameraIndex:UInt32,dbId:UInt32)->(faceList:Data);
getFaceImages@1 (cameraIndex:UInt32)->(imgIndexData:Data,imgData:Data);
- setFaceLabel@2 (cameraIndex:UInt32,trackId:UInt32,label:Text);
+ setFaceLabel@2 (cameraIndex:UInt32,trackId:UInt32,label:Data);
}
\ No newline at end of file
diff --git a/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto.cpp b/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto.cpp
index 9c3bc11..51f5627 100644
--- a/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto.cpp
+++ b/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto.cpp
@@ -495,11 +495,11 @@
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
108, 97, 98, 101, 108, 0, 0, 0,
- 12, 0, 0, 0, 0, 0, 0, 0,
+ 13, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
- 12, 0, 0, 0, 0, 0, 0, 0,
+ 13, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, }
};
diff --git a/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto.h b/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto.h
index 1c46afa..9431257 100644
--- a/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto.h
+++ b/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto.h
@@ -813,7 +813,7 @@
inline ::uint32_t getTrackId() const;
inline bool hasLabel() const;
- inline ::capnp::Text::Reader getLabel() const;
+ inline ::capnp::Data::Reader getLabel() const;
private:
::capnp::_::StructReader _reader;
@@ -850,11 +850,11 @@
inline void setTrackId( ::uint32_t value);
inline bool hasLabel();
- inline ::capnp::Text::Builder getLabel();
- inline void setLabel( ::capnp::Text::Reader value);
- inline ::capnp::Text::Builder initLabel(unsigned int size);
- inline void adoptLabel(::capnp::Orphan< ::capnp::Text>&& value);
- inline ::capnp::Orphan< ::capnp::Text> disownLabel();
+ inline ::capnp::Data::Builder getLabel();
+ inline void setLabel( ::capnp::Data::Reader value);
+ inline ::capnp::Data::Builder initLabel(unsigned int size);
+ inline void adoptLabel(::capnp::Orphan< ::capnp::Data>&& value);
+ inline ::capnp::Orphan< ::capnp::Data> disownLabel();
private:
::capnp::_::StructBuilder _builder;
@@ -1211,29 +1211,29 @@
return !_builder.getPointerField(
::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
}
-inline ::capnp::Text::Reader RtspFaceView::SetFaceLabelParams::Reader::getLabel() const {
- return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField(
+inline ::capnp::Data::Reader RtspFaceView::SetFaceLabelParams::Reader::getLabel() const {
+ return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
::capnp::bounded<0>() * ::capnp::POINTERS));
}
-inline ::capnp::Text::Builder RtspFaceView::SetFaceLabelParams::Builder::getLabel() {
- return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField(
+inline ::capnp::Data::Builder RtspFaceView::SetFaceLabelParams::Builder::getLabel() {
+ return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
::capnp::bounded<0>() * ::capnp::POINTERS));
}
-inline void RtspFaceView::SetFaceLabelParams::Builder::setLabel( ::capnp::Text::Reader value) {
- ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField(
+inline void RtspFaceView::SetFaceLabelParams::Builder::setLabel( ::capnp::Data::Reader value) {
+ ::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
::capnp::bounded<0>() * ::capnp::POINTERS), value);
}
-inline ::capnp::Text::Builder RtspFaceView::SetFaceLabelParams::Builder::initLabel(unsigned int size) {
- return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField(
+inline ::capnp::Data::Builder RtspFaceView::SetFaceLabelParams::Builder::initLabel(unsigned int size) {
+ return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
::capnp::bounded<0>() * ::capnp::POINTERS), size);
}
inline void RtspFaceView::SetFaceLabelParams::Builder::adoptLabel(
- ::capnp::Orphan< ::capnp::Text>&& value) {
- ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField(
+ ::capnp::Orphan< ::capnp::Data>&& value) {
+ ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
}
-inline ::capnp::Orphan< ::capnp::Text> RtspFaceView::SetFaceLabelParams::Builder::disownLabel() {
- return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField(
+inline ::capnp::Orphan< ::capnp::Data> RtspFaceView::SetFaceLabelParams::Builder::disownLabel() {
+ return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
::capnp::bounded<0>() * ::capnp::POINTERS));
}
--
Gitblit v1.8.0