chromium/media/gpu/test/video_player/decoder_listener.h

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef MEDIA_GPU_TEST_VIDEO_PLAYER_DECODER_LISTENER_H_
#define MEDIA_GPU_TEST_VIDEO_PLAYER_DECODER_LISTENER_H_

#include <limits.h>

#include <memory>
#include <optional>
#include <utility>

#include "base/containers/queue.h"
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/sequence_checker.h"
#include "base/synchronization/condition_variable.h"
#include "base/synchronization/lock.h"
#include "base/thread_annotations.h"
#include "base/time/time.h"
#include "media/gpu/test/video_frame_helpers.h"

namespace media {
namespace test {

class FrameRendererDummy;
class VideoBitstream;
class DecoderWrapper;
struct DecoderWrapperConfig;

// Default timeout used when waiting for events.
constexpr base::TimeDelta kDefaultEventWaitTimeout =;

// This class provides methods to manipulate video playback and wait for
// specific events to occur.
class DecoderListener {};

}  // namespace test
}  // namespace media

#endif  // MEDIA_GPU_TEST_VIDEO_PLAYER_DECODER_LISTENER_H_