This invention relates to a method of coding of video data, the method comprising: receiving an array of sample values for a component of video data; determining one or more filter parameters based on video properties and/or coding parameters; modifying the sample values based on determined filter parameters and a defined filter; and output an array of modified samples values; outputting an array of modified samples values.
展开▼