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
33
34
35
36
37
38
39
40
media / gpu / windows / mf_video_encoder_switches.h [blame]
// Copyright 2024 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_WINDOWS_MF_VIDEO_ENCODER_SWITCHES_H_
#define MEDIA_GPU_WINDOWS_MF_VIDEO_ENCODER_SWITCHES_H_
#include <stdint.h>
#include "base/feature_list.h"
#include "base/metrics/field_trial_params.h"
#include "build/build_config.h"
#include "build/buildflag.h"
#include "media/gpu/buildflags.h"
#include "media/media_buildflags.h"
namespace media {
BASE_DECLARE_FEATURE(kExpandMediaFoundationEncodingResolutions);
#ifndef ARCH_CPU_X86
BASE_DECLARE_FEATURE(kMediaFoundationVP9L1T2Support);
BASE_DECLARE_FEATURE(kMediaFoundationVP9L1T3Support);
BASE_DECLARE_FEATURE(kMediaFoundationAV1L1T2Support);
BASE_DECLARE_FEATURE(kMediaFoundationAV1L1T3Support);
#endif // !defined(ARCH_CPU_X86)
BASE_DECLARE_FEATURE(kMediaFoundationUseSWBRCForH264Camera);
BASE_DECLARE_FEATURE(kMediaFoundationUseSWBRCForH264Desktop);
BASE_DECLARE_FEATURE(kMediaFoundationSWBRCUseFixedDeltaQP);
extern const base::FeatureParam<int> kMediaFoundationSWBRCFixedDeltaQPValue;
#if BUILDFLAG(ENABLE_PLATFORM_HEVC)
BASE_DECLARE_FEATURE(kMediaFoundationUseSWBRCForH265);
#endif // BUILDFLAG(ENABLE_PLATFORM_HEVC)
} // namespace media
#endif // MEDIA_GPU_WINDOWS_MF_VIDEO_ENCODER_SWITCHES_H_