#include "mediapipe/framework/graph_output_stream.h"
#include "absl/log/absl_check.h"
#include "absl/synchronization/mutex.h"
#include "mediapipe/framework/port/status.h"
namespace mediapipe {
namespace internal {
absl::Status GraphOutputStream::Initialize(
const std::string& stream_name, const PacketType* packet_type,
OutputStreamManager* output_stream_manager, bool observe_timestamp_bounds) { … }
void GraphOutputStream::PrepareForRun(
std::function<void()> notification_callback,
std::function<void(absl::Status)> error_callback) { … }
absl::Status OutputStreamObserver::Initialize(
const std::string& stream_name, const PacketType* packet_type,
std::function<absl::Status(const Packet&)> packet_callback,
OutputStreamManager* output_stream_manager, bool observe_timestamp_bounds) { … }
absl::Status OutputStreamObserver::Notify() { … }
absl::Status OutputStreamPollerImpl::Initialize(
const std::string& stream_name, const PacketType* packet_type,
std::function<void(InputStreamManager*, bool*)> queue_size_callback,
OutputStreamManager* output_stream_manager, bool observe_timestamp_bounds) { … }
void OutputStreamPollerImpl::PrepareForRun(
std::function<void()> notification_callback,
std::function<void(absl::Status)> error_callback) { … }
void OutputStreamPollerImpl::Reset() { … }
void OutputStreamPollerImpl::SetMaxQueueSize(int queue_size) { … }
int OutputStreamPollerImpl::QueueSize() { … }
absl::Status OutputStreamPollerImpl::Notify() { … }
void OutputStreamPollerImpl::NotifyError() { … }
bool OutputStreamPollerImpl::Next(Packet* packet) { … }
}
}