Project import generated by Copybara.

GitOrigin-RevId: d073f8e21be2fcc0e503cb97c6695078b6b75310
This commit is contained in:
MediaPipe Team
2021-02-27 03:30:05 -05:00
committed by chuoling
parent 39309bedba
commit 350fbb2100
755 changed files with 16391 additions and 11075 deletions
+4 -5
View File
@@ -40,13 +40,13 @@ class OutputStreamManager {
OutputStreamManager() = default;
// Initializes the OutputStreamManager.
mediapipe::Status Initialize(const std::string& name,
const PacketType* packet_type);
absl::Status Initialize(const std::string& name,
const PacketType* packet_type);
// Prepares this for processing. If an error occurs in a user called function
// (such as AddPacket()) then error_callback will be called before returning
// control to the user.
void PrepareForRun(std::function<void(mediapipe::Status)> error_callback);
void PrepareForRun(std::function<void(absl::Status)> error_callback);
// Gets the stream name.
const std::string& Name() const { return output_stream_spec_.name; }
@@ -85,8 +85,7 @@ class OutputStreamManager {
// Computes the output timestamp bound based on the input timestamp, the
// timestamp of the last added packet, and the next timestamp bound from
// the OutputStreamShard. See the timestamp mapping section in
// go/mediapipe-bounds for details.
// the OutputStreamShard.
// The function is invoked by OutputStreamHandler after the calculator node
// finishes a call to Calculator::Process().
Timestamp ComputeOutputTimestampBound(