RLE input support