Preparing search index...
The search index is not available
libpag
libpag
worker/video-reader
WorkerVideoReader
Class WorkerVideoReader
Hierarchy
WorkerVideoReader
Index
Constructors
constructor
Properties
bitmap
is
Sought
is
Playing
proxy
Id
bitmap
Image
Methods
prepare
get
Video
render
To
Texture
on
Destroy
play
pause
stop
get
Error
Constructors
constructor
new
Worker
Video
Reader
(
proxyId
:
number
)
:
WorkerVideoReader
Parameters
proxyId:
number
Returns
WorkerVideoReader
Properties
bitmap
bitmap
:
null
|
ImageBitmap
= null
is
Sought
is
Sought
:
boolean
= false
is
Playing
is
Playing
:
boolean
= false
Private
proxy
Id
proxy
Id
:
number
Private
bitmap
Image
bitmap
Image
:
BitmapImage
= ...
Methods
prepare
prepare
(
targetFrame
:
number
, playbackRate
:
number
)
:
Promise
<
void
>
Parameters
targetFrame:
number
playbackRate:
number
Returns
Promise
<
void
>
get
Video
get
Video
(
)
:
BitmapImage
Returns
BitmapImage
render
To
Texture
render
To
Texture
(
GL
:
EmscriptenGL
, textureID
:
number
)
:
void
Parameters
GL:
EmscriptenGL
textureID:
number
Returns
void
on
Destroy
on
Destroy
(
)
:
void
Returns
void
play
play
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
pause
pause
(
)
:
void
Returns
void
stop
stop
(
)
:
void
Returns
void
get
Error
get
Error
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
libpag
binding
constant
core/backend-
context
core/bitmap-
image
core/global-
canvas
core/matrix
core/render-
canvas
core/scaler-
context
core/video-
reader
core/web-
mask
interfaces
pag-
composition
pag-
file
pag-
font
pag-
image-
layer
pag-
image
pag-
layer
pag-
module
pag-
player
pag-
solid-
layer
pag-
surface
pag-
text-
layer
pag-
view
pag
tgfx
types
utils/buffer
utils/canvas
utils/clock
utils/common
utils/decorators
utils/event-
manager
utils/font-
family
utils/measure-
text
utils/mixin
utils/queue
utils/type-
utils
utils/ua
utils/video-
listener
wechat/array-
buffer-
image
wechat/babel
wechat/binding
wechat/canvas
wechat/constant
wechat/file-
utils
wechat/interfaces
wechat/pag-
file
wechat/pag-
font
wechat/pag-
image
wechat/pag-
view
wechat/pag
wechat/scaler-
context
wechat/tgfx
wechat/video-
reader
wechat/web-
mask
worker/client
worker/events
worker/pag-
file
worker/pag-
image
worker/pag-
view
worker/utils
worker/video-
reader
worker/worker
Worker
Video
Reader
constructor
bitmap
is
Sought
is
Playing
prepare
get
Video
render
To
Texture
on
Destroy
play
pause
stop
get
Error
proxy
Id
bitmap
Image
Generated using
TypeDoc