Interface Decoder
access this type via: media.video.Decoder (provides, requires or uses)
--- semantic variants: av1
API to decode encoded chunks of video.
Functions
Decoder(storeWH size)
PixelMapYUV[] decode(byte encoded[])
Decoder(storeWH size)
Instantiate a new decoder, for a given video resolution (size); this should match the resolution of the encoded video (resolution conversions are not performed by a decoder).
PixelMapYUV[] decode(byte encoded[])
Decode a frame of encoded video.