chromium/third_party/webrtc/test/testsupport/fixed_fps_video_frame_writer_adapter.cc

/*
 *  Copyright (c) 2022 The WebRTC project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#include "test/testsupport/fixed_fps_video_frame_writer_adapter.h"

#include <cmath>
#include <utility>

#include "absl/types/optional.h"
#include "api/units/time_delta.h"
#include "api/video/video_sink_interface.h"
#include "rtc_base/checks.h"
#include "test/testsupport/video_frame_writer.h"

namespace webrtc {
namespace test {
namespace {

constexpr TimeDelta kOneSecond =;

}  // namespace

FixedFpsVideoFrameWriterAdapter::FixedFpsVideoFrameWriterAdapter(
    int fps,
    Clock* clock,
    std::unique_ptr<VideoFrameWriter> delegate)
    :{}

FixedFpsVideoFrameWriterAdapter::~FixedFpsVideoFrameWriterAdapter() {}

void FixedFpsVideoFrameWriterAdapter::Close() {}

bool FixedFpsVideoFrameWriterAdapter::WriteFrame(const VideoFrame& frame) {}

bool FixedFpsVideoFrameWriterAdapter::WriteMissedSlotsExceptLast(
    Timestamp now) {}

Timestamp FixedFpsVideoFrameWriterAdapter::Now() const {}

}  // namespace test
}  // namespace webrtc