| // 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 |
| |
| [ImplementedAs=ImageFrameExternal] |
| dictionary ImageFrame { |
| // Actual decoded image; includes resolution information. |
| required ImageBitmap image; |
| |
| // Indicates if the decoded image is actually complete. |
| required boolean complete; |
| |
| // Expected on screen duration for the image in microseconds. |
| required unsigned long long duration; |
| |
| // JEITA CP-3451 EXIF orientation code. |
| required unsigned long orientation; |
| |
| // TODO: Color space information? |
| }; |