daala_image_plane (3) - Linux Man Pages
unsigned char * data
Image data is stored as an unsigned octet type whether it's actually 8 bit or a multi-byte depth.
unsigned char xdec
The decimation factor in the x and y direction.
unsigned char ydec
Distance in memory between two pixels horizontally next to each other.
Distance in memory between two pixels vertically next to each other.
8 for 'normal' video precision; data is unsigned bytes centered on 128.
Representation of a single component within an image or frame.
unsigned char* daala_image_plane::data
unsigned char daala_image_plane::xdec
The decimation factor in the x and y direction. Pixels are reduced by a factor of 2^xdec so 0 is none, 1 is decimated by a factor of 2. ( YUV420 will have xdec of 1 and ydec also of 1. YUV444 will have xdec and ydec set to zero ).
Distance in memory between two pixels horizontally next to each other. The value is in bytes regardless of the 'actual' underlying depth (either unsigned bytes for 8 bit video or unsigned 16 bit shorts for high-depth video). The xstride may be larger than the actual data width calculated from the bitdepth; this implies packed rather than planar data.
8 for 'normal' video precision; data is unsigned bytes centered on 128. Greater-than-8 indicates high-depth video; data is unnormalized host-endian order unsigned signed 16-bit shorts (two octets). For example, 10 bit video would declare a bit depth of 10, use the lower 10 bits of each 16 bit short, and center on 512.
Generated automatically by Doxygen for daala from the source code.