chromium/media/video/alpha_video_encoder_wrapper.h

// Copyright 2023 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_VIDEO_ALPHA_VIDEO_ENCODER_WRAPPER_H_
#define MEDIA_VIDEO_ALPHA_VIDEO_ENCODER_WRAPPER_H_

#include <memory>
#include <vector>

#include "base/containers/circular_deque.h"
#include "base/memory/weak_ptr.h"
#include "base/sequence_checker.h"
#include "base/time/time.h"
#include "media/base/media_export.h"
#include "media/base/video_encoder.h"
#include "media/base/video_frame_pool.h"
#include "ui/gfx/color_space.h"
#include "ui/gfx/geometry/size.h"

namespace media {

// A wrapper around video encoder that splits frames with alpha channel between
// two underlying encoders - one for regular pixel data and the other for
// transparency channel.
// Encoded data from both encoders is merged and returned via `output_cb`.
class MEDIA_EXPORT AlphaVideoEncoderWrapper : public VideoEncoder {};

}  // namespace media
#endif  // MEDIA_VIDEO_ALPHA_VIDEO_ENCODER_WRAPPER_H_