1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
media / base / win / media_foundation_package_locator_helper.h [blame]
// 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_BASE_WIN_MEDIA_FOUNDATION_PACKAGE_LOCATOR_HELPER_H_
#define MEDIA_BASE_WIN_MEDIA_FOUNDATION_PACKAGE_LOCATOR_HELPER_H_
#include "base/files/file_path.h"
#include "base/stl_util.h"
#include "media/base/media_export.h"
namespace media {
enum class MediaFoundationCodecPackage {
kAV1 = 0,
kHEVC,
kVP9,
kDolbyVision,
kAC4,
kEAC3
};
// Locate Media Foundation based Codec Pack install paths by using Win32
// AppModel APIs.
MEDIA_EXPORT std::vector<base::FilePath> MediaFoundationPackageInstallPaths(
const std::vector<std::wstring_view>& package_family_names,
std::wstring_view decoder_lib_name,
MediaFoundationCodecPackage codec_package);
} // namespace media
#endif // MEDIA_BASE_WIN_MEDIA_FOUNDATION_PACKAGE_LOCATOR_HELPER_H_