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

/* { "description" : "A data type to describe a 'pixel map' in planar YUV format, typically used in video encoding."} */
data PixelMapYUV {
	/* {"@description" : "The dimensions of the rectangle of pixels."} */
	WH size
	/* {"@description" : "The Y plane."} */
	byte y[]
	/* {"@description" : "The U plane."} */
	byte u[]
	/* {"@description" : "The V plane."} */
	byte v[]
	/* {"@description" : "The length of each encoded line of the Y plane (as a portion of the width of the pixel map)."} */
	int yLineLength
	/* {"@description" : "The length of each encoded line of the U plane (as a portion of the width of the pixel map)."} */
	int uLineLength
	/* {"@description" : "The length of each encoded line of the V plane (as a portion of the width of the pixel map)."} */
	int vLineLength
}
Revision history
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n media.PixelMapYUV -m "reason for update" -u yourUsername
Version 2 (this version) by barry
Notes for this version: Updates documentation strings.
Version 1 by barry