/* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef RB_PLANAR_H #define RB_PLANAR_H #include "../../common/rbp.h" #define A500_W 160 #define A500_H 100 #define A500_STRIDE 40 #define A500_PLANE_BYTES 8000 extern const rb_u16 a500_palette[16]; void a500_make_lut(rb_u8 lut[256]); /* 160x100 RGB565 -> 320x200 four planar bitplanes, high bit left. */ void a500_planar(const rb_u16 *pixels, rb_u8 *planes, const rb_u8 *lut); #endif