a multi - scanner scans a signal according to several different patterns . a scanning pattern selector determines which scanning pattern produced the most efficient coding result , for example , for runlength coding , and outputs a coded signal , coded most efficiently , and a selection signal which identifies the scanning pattern found to be most efficient .