vot.js - v2.4.12
Preparing search index...
@vot.js/ext
<internal>
VideoFrame
Interface VideoFrame
MDN Reference
interface
VideoFrame
{
codedHeight
:
number
;
codedRect
:
null
|
DOMRectReadOnly
;
codedWidth
:
number
;
colorSpace
:
VideoColorSpace
;
displayHeight
:
number
;
displayWidth
:
number
;
duration
:
null
|
number
;
format
:
null
|
VideoPixelFormat
;
timestamp
:
number
;
visibleRect
:
null
|
DOMRectReadOnly
;
allocationSize
(
options
?:
VideoFrameCopyToOptions
)
:
number
;
clone
()
:
VideoFrame
;
close
()
:
void
;
copyTo
(
destination
:
AllowSharedBufferSource
,
options
?:
VideoFrameCopyToOptions
,
)
:
Promise
<
PlaneLayout
[]
>
;
}
Index
Properties
coded
Height
coded
Rect
coded
Width
color
Space
display
Height
display
Width
duration
format
timestamp
visible
Rect
Methods
allocation
Size
clone
close
copy
To
Properties
Readonly
coded
Height
codedHeight
:
number
MDN Reference
Readonly
coded
Rect
codedRect
:
null
|
DOMRectReadOnly
MDN Reference
Readonly
coded
Width
codedWidth
:
number
MDN Reference
Readonly
color
Space
colorSpace
:
VideoColorSpace
MDN Reference
Readonly
display
Height
displayHeight
:
number
MDN Reference
Readonly
display
Width
displayWidth
:
number
MDN Reference
Readonly
duration
duration
:
null
|
number
MDN Reference
Readonly
format
format
:
null
|
VideoPixelFormat
MDN Reference
Readonly
timestamp
timestamp
:
number
MDN Reference
Readonly
visible
Rect
visibleRect
:
null
|
DOMRectReadOnly
MDN Reference
Methods
allocation
Size
allocationSize
(
options
?:
VideoFrameCopyToOptions
)
:
number
MDN Reference
Parameters
Optional
options
:
VideoFrameCopyToOptions
Returns
number
clone
clone
()
:
VideoFrame
MDN Reference
Returns
VideoFrame
close
close
()
:
void
MDN Reference
Returns
void
copy
To
copyTo
(
destination
:
AllowSharedBufferSource
,
options
?:
VideoFrameCopyToOptions
,
)
:
Promise
<
PlaneLayout
[]
>
MDN Reference
Parameters
destination
:
AllowSharedBufferSource
Optional
options
:
VideoFrameCopyToOptions
Returns
Promise
<
PlaneLayout
[]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
coded
Height
coded
Rect
coded
Width
color
Space
display
Height
display
Width
duration
format
timestamp
visible
Rect
Methods
allocation
Size
clone
close
copy
To
vot.js - v2.4.12
Loading...
MDN Reference