libwsx
libwsx
WSwan extra library for the Wonderful toolchain
Toggle main menu visibility
Loading...
Searching...
No Matches
planar_unpack.h
Go to the documentation of this file.
1
22
23
#ifndef LIBWSX_PLANAR_UNPACK_H_
24
#define LIBWSX_PLANAR_UNPACK_H_
25
26
#include <stdint.h>
27
31
35
#define WSX_PLANAR_UNPACK_1BPP_TO_2BPP_ZERO(fg) (fg)
36
40
#define WSX_PLANAR_UNPACK_1BPP_TO_4BPP_ZERO(fg) ((fg) | (1 << 8))
41
45
#define WSX_PLANAR_UNPACK_1BPP_TO_2BPP(bg, fg) ((fg) | ((bg) << 2) | (2 << 8))
46
55
void
wsx_planar_unpack
(
void
__far* dest, uint16_t src_length,
const
void
__far* src, uint16_t mode);
56
57
#endif
/* LIBWSX_PLANAR_UNPACK_H_ */
wsx_planar_unpack
void wsx_planar_unpack(void __far *dest, uint16_t src_length, const void __far *src, uint16_t mode)
Unpack a lower-bitdepth planar image to a higher bitdepth.
include
wsx
planar_unpack.h
Generated by
1.18.0