1. A method of decoding filters from a bitstream of encoded data for use in a decoder for reconstructing blocks of samples for an image, the method comprising: reading filter-type flags from the bitstream, wherein the filter-type flags identify one or more filter types; and for each of the filter types identified, decoding a set of filter coefficients from the bitstream.