diff options
author | wm4 <wm4@nowhere> | 2020-02-12 17:54:35 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-02-12 17:54:35 +0100 |
commit | 0848f3f8325e10690d08c436fe71603a2cca0699 (patch) | |
tree | c240c4316cf469aa82cd59d474423a095440c642 /video/zimg.c | |
parent | 5a45a4ca3985efaa01e372ee777a4efbe642fe34 (diff) | |
download | mpv-0848f3f8325e10690d08c436fe71603a2cca0699.tar.bz2 mpv-0848f3f8325e10690d08c436fe71603a2cca0699.tar.xz |
zimg: fix typos in a comment
Also remove the "o" case, which was never implemented (probably was an
idea to output alpha formats, now obsoleted by zimg's full alpha
support).
Diffstat (limited to 'video/zimg.c')
-rw-r--r-- | video/zimg.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/video/zimg.c b/video/zimg.c index f0048aa195..145cd55a51 100644 --- a/video/zimg.c +++ b/video/zimg.c @@ -255,16 +255,15 @@ static int repack_align(void *user, unsigned i, unsigned x0, unsigned x1) // Naming convention: // pa_/un_ prefix to identify conversion direction. // Left (LSB, lowest byte address) -> Right (MSB, highest byte address). -// (This is unusual; MSG to LSB is more commonly used to describe formats, +// (This is unusual; MSB to LSB is more commonly used to describe formats, // but our convention makes more sense for byte access in little endian.) // "c" identifies a color component. // "z" identifies known zero padding. -// "o" identifies opaque alpha (unused/unsupported yet). // "x" identifies uninitialized padding. // A component is followed by its size in bits. // Size can be omitted for multiple uniform components (c8c8c8 == ccc8). // Unpackers will often use "x" for padding, because they ignore it, while -// packets will use "z" because they write zero. +// packers will use "z" because they write zero. #define PA_WORD_4(name, packed_t, plane_t, sh_c0, sh_c1, sh_c2, sh_c3) \ static void name(void *dst, void *src[], int x0, int x1) { \ |