KT25-0812_82A-UART/include_lib/system/ui/res/rle.h

20 lines
322 B
C
Raw Permalink Normal View History

2025-08-12 10:09:23 +00:00
#ifndef __RLE_H__
#define __RLE_H__
#include "system/includes.h"
struct rle_header {
u32 addr: 22; //max 4M
u32 len: 10; //max 1024 bytes
};
struct rle_line {
u32 addr: 22;
u32 num: 10;
u16 len[0];
};
int Rle_Decode(u8 *inbuf, int inSize, u8 *outbuf, int onuBufSize, int offset, int len);
#endif