1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
475 B

/*
* (C) Copyright 2008-2017 Fuzhou Rockchip Electronics Co., Ltd
* Author: Mark Yao <mark.yao@rock-chips.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef _BMP_HELPER_H_
#define _BMP_HELPER_H_
#define BMP_RLE8_ESCAPE 0
#define BMP_RLE8_EOL 0
#define BMP_RLE8_EOBMP 1
#define BMP_RLE8_DELTA 2
#define range(x, min, max) ((x) < (min)) ? (min) : (((x) > (max)) ? (max) : (x))
int bmpdecoder(void *bmp_addr, void *dst, int dst_bpp);
#endif /* _BMP_HELPER_H_ */