naiveproxy/components/arc/common/video_common.mojom

22 lines
621 B
Plaintext
Raw Permalink Normal View History

2018-01-28 21:32:06 +03:00
// 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.
// This file defined the mojo interface between Android and Chromium for video
// decoding and encoding. See comments of ArcVideoAccelerator for more info.
module arc.mojom;
// The offset and stride of a video frame plane. Both offset and stride must
// be non negative.
struct VideoFramePlane {
int32 offset;
int32 stride;
};
// The graphics dimension. Both width and height should be non-negative.
struct Size {
int32 width;
int32 height;
};