chromium/third_party/mediapipe/src/mediapipe/framework/output_stream_manager.cc

// Copyright 2019 The MediaPipe Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#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 {}

// TODO Consider moving the output bound computing logic to
// OutputStreamHandler.
Timestamp OutputStreamManager::ComputeOutputTimestampBound(
    const OutputStreamShard& output_stream_shard,
    Timestamp input_timestamp) const {}

// TODO Consider moving the propagation logic to OutputStreamHandler.
void OutputStreamManager::PropagateUpdatesToMirrors(
    Timestamp next_timestamp_bound, OutputStreamShard* output_stream_shard) {}

void OutputStreamManager::ResetShard(OutputStreamShard* output_stream_shard) {}

}  // namespace mediapipe