mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 00:55:11 +01:00
Add doc/note/pixel-subsampling.md
This commit is contained in:
1 parent
0f375517e1
commit
721678ed75
5 files changed
+122
-67
No files matched your search
@@ -114,6 +114,10 @@ order. More detail of other software libraries' naming conventions is in
|
||||
Alexandros Frantzis' [Pixel Format
|
||||
Guide](https://afrantzis.github.io/pixel-format-guide/).
|
||||
|
||||
Do not manipulate a `wuffs_base__pixel_format`'s bits directly; they are
|
||||
private implementation details. Use functions such as
|
||||
`wuffs_base__pixel_format__num_planes` instead.
|
||||
|
||||
## API Stability
|
||||
|
||||
The `wuffs_base__pixel_format` bit packing is documented for explanation and to
|
||||
assist in debugging (e.g. `printf`'ing the bits in `%x` format). However, do
|
||||
not manipulate its bits directly; they are private implementation details. Use
|
||||
functions such as `wuffs_base__pixel_format__num_planes` instead.
|
||||
Reference in new issue
Block a user