摘要 |
A method for encoding digital video signals comprises a step of filtering samples of a digital video signal, wherein the filtering step comprises selecting a filter from a set of predetermined filters (Fi) according to a rate distortion cost calculated for the filter. The set of predetermined filters includes an identity filter (Fid) which, for an input sample value, outputs the same sample value. The method further comprises a step of assigning (E630, E640) a first rate to the identity filter and at least one second rate, different from the first rate, to the other filters of the set of predetermined filters. Also disclosed is an associated device for encoding a digital video signal. The method and device allow the option of not filtering the video signal when no appreciable benefit will result. Also disclosed are a method and associated device for decoding a digital video signal, in which filtering is only performed if information obtained concerning a filter is representative of a filter other than the identity filter Fid. |