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

#include "components/mirroring/service/mirroring_features.h"

namespace mirroring {
namespace features {
// This flag enables HiDPI capture during Cast Streaming mirroring sessions.
//
// This feature is enabled by the Chrome command line flag
// --enable-cast-streaming-with-hidpi.
BASE_FEATURE(kCastEnableStreamingWithHiDPI, base::FEATURE_DISABLED_BY_DEFAULT);

// Enables 60FPS support for Cast Mirroring sessions.
BASE_FEATURE(kCastStreaming60fps, base::FEATURE_DISABLED_BY_DEFAULT);

BASE_FEATURE(kCastStreamingOfferHardwareFirst,
             base::FEATURE_ENABLED_BY_DEFAULT);

// If enabled, NV12 video frames will be sent to the encoder without being
// converted to I420.
BASE_FEATURE(kCastMirroringNativeNV12, base::FEATURE_DISABLED_BY_DEFAULT);

}  // namespace features
}  // namespace mirroring
