Searched refs:regionProto (Results 1 – 3 of 3) sorted by relevance
56 RegionProto* regionProto = getRegionProto(); in writeToProto() local58 std::function<RectProto*()> getProtoRect = [&]() { return regionProto->add_rect(); }; in writeToProto()
123 LayerProtoParser::Region LayerProtoParser::generateRegion(const RegionProto& regionProto) { in generateRegion() argument125 for (int i = 0; i < regionProto.rect_size(); i++) { in generateRegion()126 const RectProto& rectProto = regionProto.rect(i); in generateRegion()
138 static LayerProtoParser::Region generateRegion(const RegionProto& regionProto);