chromium/media/gpu/test/video_player/video_player_test_environment.cc

// Copyright 2019 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/gpu/test/video_player/video_player_test_environment.h"

#include <algorithm>
#include <iterator>
#include <utility>

#include "base/system/sys_info.h"
#include "build/chromeos_buildflags.h"
#include "media/base/media_switches.h"
#include "media/base/video_types.h"
#include "media/gpu/buildflags.h"
#include "media/gpu/test/video_bitstream.h"
#include "media/gpu/test/video_player/decoder_wrapper.h"

namespace media {
namespace test {

// Default video to be used if no test video was specified.
constexpr base::FilePath::CharType kDefaultTestVideoPath[] =);

// static
VideoPlayerTestEnvironment* VideoPlayerTestEnvironment::Create(
    const base::FilePath& video_path,
    const base::FilePath& video_metadata_path,
    ValidatorType validator_type,
    const DecoderImplementation implementation,
    bool linear_output,
    const base::FilePath& output_folder,
    const FrameOutputConfig& frame_output_config,
    const std::vector<base::test::FeatureRef>& enabled_features,
    const std::vector<base::test::FeatureRef>& disabled_features,
    const bool need_task_environment) {}

VideoPlayerTestEnvironment::VideoPlayerTestEnvironment(
    std::unique_ptr<media::test::VideoBitstream> video,
    ValidatorType validator_type,
    const DecoderImplementation implementation,
    bool linear_output,
    const base::FilePath& output_folder,
    const FrameOutputConfig& frame_output_config,
    const std::vector<base::test::FeatureRef>& enabled_features,
    const std::vector<base::test::FeatureRef>& disabled_features,
    const bool need_task_environment)
    :{}

VideoPlayerTestEnvironment::~VideoPlayerTestEnvironment() = default;

const media::test::VideoBitstream* VideoPlayerTestEnvironment::Video() const {}

bool VideoPlayerTestEnvironment::IsValidatorEnabled() const {}

VideoPlayerTestEnvironment::ValidatorType
VideoPlayerTestEnvironment::GetValidatorType() const {}

DecoderImplementation VideoPlayerTestEnvironment::GetDecoderImplementation()
    const {}

bool VideoPlayerTestEnvironment::ShouldOutputLinearBuffers() const {}

FrameOutputMode VideoPlayerTestEnvironment::GetFrameOutputMode() const {}

VideoFrameFileWriter::OutputFormat
VideoPlayerTestEnvironment::GetFrameOutputFormat() const {}

uint64_t VideoPlayerTestEnvironment::GetFrameOutputLimit() const {}

const base::FilePath& VideoPlayerTestEnvironment::OutputFolder() const {}

}  // namespace test
}  // namespace media