Project import generated by Copybara.
GitOrigin-RevId: d073f8e21be2fcc0e503cb97c6695078b6b75310
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user