#include "mediapipe/framework/output_stream_manager.h"
#include "absl/log/absl_check.h"
#include "absl/synchronization/mutex.h"
#include "mediapipe/framework/input_stream_handler.h"
#include "mediapipe/framework/port/status_builder.h"
namespace mediapipe {
absl::Status OutputStreamManager::Initialize(const std::string& name,
const PacketType* packet_type) { … }
void OutputStreamManager::PrepareForRun(
std::function<void(absl::Status)> error_callback) { … }
void OutputStreamManager::Close() { … }
bool OutputStreamManager::IsClosed() const { … }
void OutputStreamManager::PropagateHeader() { … }
void OutputStreamManager::AddMirror(InputStreamHandler* input_stream_handler,
CollectionItemId id) { … }
void OutputStreamManager::SetMaxQueueSize(int max_queue_size) { … }
Timestamp OutputStreamManager::NextTimestampBound() const { … }
Timestamp OutputStreamManager::ComputeOutputTimestampBound(
const OutputStreamShard& output_stream_shard,
Timestamp input_timestamp) const { … }
void OutputStreamManager::PropagateUpdatesToMirrors(
Timestamp next_timestamp_bound, OutputStreamShard* output_stream_shard) { … }
void OutputStreamManager::ResetShard(OutputStreamShard* output_stream_shard) { … }
}