blob: a809795037c4815c542467d6d134ddde12ab6593 [file] [log] [blame]
// 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.
syntax = "proto2";
option optimize_for = LITE_RUNTIME;
package media;
// Proto representation of VideoDecodeStatsDB::DecodeStatsEntry. The values are
// associated with a distinct VideoDecodeStatsDB::VideoDescKey.
message DecodeStatsProto {
// Required. Count of decoded video frames.
optional uint64 frames_decoded = 1;
// Required. Count of dropped video frames. Should not exceed
// |frames_decoded|.
optional uint64 frames_dropped = 2;
// Required. Count of power efficiently decoded frames.
optional uint64 frames_power_efficient = 3;
// Required. Time of last data write from base::Time::ToJsTime(). Data will be
// discarded when the date indicates its very old. This avoids a circumstance
// where a few bad outlier playbacks permanently define a machines
// capabilities.
optional double last_write_date = 7;
}