// Copyright 2020 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. | |
// https://github.com/WICG/web-codecs | |
dictionary PlaneInit { | |
// Source of plane data. | |
// |stride| * |rows| bytes will be read, starting at offset 0. | |
required BufferSource src; | |
// Size of each row, in bytes. | |
required unsigned long stride; | |
// Number of rows. | |
required unsigned long rows; | |
}; |