chromium/media/filters/fake_video_decoder.cc

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

#include "media/filters/fake_video_decoder.h"

#include "base/location.h"
#include "base/task/bind_post_task.h"
#include "media/base/test_helpers.h"

namespace media {

FakeVideoDecoder::FakeVideoDecoder(int decoder_id,
                                   int decoding_delay,
                                   int max_parallel_decoding_requests,
                                   const BytesDecodedCB& bytes_decoded_cb)
    :{}

FakeVideoDecoder::~FakeVideoDecoder() {}

void FakeVideoDecoder::EnableEncryptedConfigSupport() {}

void FakeVideoDecoder::SetIsPlatformDecoder(bool value) {}

base::WeakPtr<FakeVideoDecoder> FakeVideoDecoder::GetWeakPtr() {}

bool FakeVideoDecoder::SupportsDecryption() const {}

bool FakeVideoDecoder::IsPlatformDecoder() const {}

VideoDecoderType FakeVideoDecoder::GetDecoderType() const {}

void FakeVideoDecoder::Initialize(const VideoDecoderConfig& config,
                                  bool low_delay,
                                  CdmContext* cdm_context,
                                  InitCB init_cb,
                                  const OutputCB& output_cb,
                                  const WaitingCB& waiting_cb) {}

void FakeVideoDecoder::Decode(scoped_refptr<DecoderBuffer> buffer,
                              DecodeCB decode_cb) {}

scoped_refptr<VideoFrame> FakeVideoDecoder::MakeVideoFrame(
    const DecoderBuffer& buffer) {}

void FakeVideoDecoder::Reset(base::OnceClosure closure) {}

void FakeVideoDecoder::HoldNextInit() {}

void FakeVideoDecoder::HoldDecode() {}

void FakeVideoDecoder::HoldNextReset() {}

void FakeVideoDecoder::SatisfyInit() {}

void FakeVideoDecoder::SatisfyDecode() {}

void FakeVideoDecoder::SatisfySingleDecode() {}

void FakeVideoDecoder::SatisfyReset() {}

void FakeVideoDecoder::SimulateError() {}

void FakeVideoDecoder::SimulateFailureToInit() {}

int FakeVideoDecoder::GetMaxDecodeRequests() const {}

void FakeVideoDecoder::OnFrameDecoded(int buffer_size,
                                      DecodeCB decode_cb,
                                      DecoderStatus status) {}

void FakeVideoDecoder::RunOrHoldDecode(DecodeCB decode_cb) {}

void FakeVideoDecoder::RunDecodeCallback(DecodeCB decode_cb) {}

void FakeVideoDecoder::DoReset() {}

}  // namespace media