// 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. // https://github.com/WICG/web-codecs dictionary PlaneLayout { // Offset into the buffer where this plane's first row begins. required [EnforceRange] unsigned long offset; // Distance (in bytes) between the start of each row of pixel data. Can be // larger than size of the pixel data, eg. for alignment reasons. required [EnforceRange] unsigned long stride; };