1. A method comprising: selecting a scale factor prediction mode from plural scale factor prediction modes, wherein each of the plural scale factor prediction modes is available for processing a particular mask; and performing scale factor prediction according to the selected scale factor prediction mode.