daala_image_plane(3)
π daala_image_plane(3) π
okay bestie, welcome to the Library Functions Manual page for daala_image_plane(3) β literally one of the cutest little structs in the daala lineup. she's giving one single component of an image or frame, and she's serving it. periodt. π
β¨ NAME β¨
daala_image_plane β Representation of a single component within an image or frame.
πΈ SYNOPSIS πΈ
#include <codec.h>
π¦ Data Fields π¦
unsigned char * dataβ Image data is stored as an unsigned octet type whether it's actually 8 bit or a multi-byte depth. so like, the type stays octet-coded no matter how deep you go, iykyk πunsigned char xdecβ The decimation factor in the x and y direction.unsigned char ydecβ (same deal as above, she's the y-direction half of that decimation duo β¨)int xstrideβ Distance in memory between two pixels horizontally next to each other.int ystrideβ Distance in memory between two pixels vertically next to each other.int bitdepthβ8for 'normal' video precision; data is unsigned bytes centered on128.
π Detailed Description π
Representation of a single component within an image or frame. that's it, that's the whole vibe β one plane, one component, main character energy. π
π Field Documentation π
π 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.
so like, for the visual learners: YUV420 will have xdec of 1 and ydec also of 1. And YUV444 will have xdec and ydec set to zero. slay. π
πΈ int daala_image_plane::xstride πΈ
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. no cap. π
π¦ int daala_image_plane::ystride π¦
Distance in memory between two pixels vertically next to each other. As with xstride, this value is always in bytes. bestie said consistency, and she MEANT it. β¨
π int daala_image_plane::bitdepth π
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. iconic behavior honestly. π
π« Author π«
Generated automatically by Doxygen for daala from the source code. (so if the prose is a little stiff, blame the robots, not me π«Ά)
lowkey a whole struct, highkey a whole personality. go forth and set your strides correctly bestie, the pixels are counting on you π
daala Β· Version unknown Β· daala_image_plane(3) β mwah, that's a wrap, ty for coming to my ted talk πΈβ¨π
π¦ where this page comes from
- epel 10: daala-devel 0^20250205git24f889a-1.el10_3 Β· BSD-2-Clause AND BSD-3-Clause AND Apache-2.0 AND GPL-1.0-or-later
- fedora 43: daala-devel 0-36.20200724git694d4ce.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: daala-devel 0-36.20200724git694d4ce.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: daala-devel 0^20250205git24f889a-1.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND Apache-2.0 AND GPL-1.0-or-later
- fedora 43: daala-devel 0^20250205git24f889a-1.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND Apache-2.0 AND GPL-1.0-or-later
- fedora 44: daala-devel 0^20250205git24f889a-1.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND Apache-2.0 AND GPL-1.0-or-later
- fedora 44: daala-devel 0^20250205git24f889a-1.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND Apache-2.0 AND GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms