HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Type definition file media.video.Decoder by barry
expand copy to clipboardexpand
uses media.PixelMapYUV

/* {"description" : "API to decode encoded chunks of video." } */
interface Decoder {
	/* {"@description" : "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)." } */
	Decoder(store WH size)
	/* {"@description" : "Decode a frame of encoded video." } */
	PixelMapYUV[] decode(byte encoded[])
}
Revision history
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n media.video.Decoder -m "reason for update" -u yourUsername
Version 3 (this version) by barry
Notes for this version: Updates docstrings
Version 2 by barry
Version 1 by barry