diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/webcodecs/video_frame.idl')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/webcodecs/video_frame.idl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/modules/webcodecs/video_frame.idl b/chromium/third_party/blink/renderer/modules/webcodecs/video_frame.idl new file mode 100644 index 00000000000..5b4f67254f9 --- /dev/null +++ b/chromium/third_party/blink/renderer/modules/webcodecs/video_frame.idl @@ -0,0 +1,17 @@ +// Copyright 2019 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. + +[ + RuntimeEnabled=WebCodecs +] interface VideoFrame { + void release(); + + readonly attribute unsigned long long timestamp; // microseconds + + readonly attribute unsigned long coded_width; + readonly attribute unsigned long coded_height; + + readonly attribute unsigned long visible_width; + readonly attribute unsigned long visible_height; +};
\ No newline at end of file |