summaryrefslogtreecommitdiff
path: root/chromium/media/mojo/mojom/video_decode_perf_history.mojom
blob: cd66b26bdb5c51f62eabb7936af2069f0ece08e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module media.mojom;

import "media/mojo/mojom/media_types.mojom";
import "ui/gfx/geometry/mojom/geometry.mojom";

// This service will query the history of playback stats to evaluate how
// a video stream with the given configuration will perform.
interface VideoDecodePerfHistory {
  // Parameters describe the stream characteristics for which we will return
  // performance info.
  // TODO(liberato): Consider making this return PredictionTargets, and move the
  // conversion to bool higher in the stack.
  GetPerfInfo(PredictionFeatures features) => (bool is_smooth, bool is_power_efficient);
};