A reconstructed block or picture may be provided to a filter unit 240. A filter unit 240 may include a deblocking filter, an offset modification unit and an ALF.
Information on whether a deblocking filter is applied to a corresponding block or picture and information on whether a strong filter or a weak filter is applied when a deblocking filter is applied may be provided by an encoding device. A deblocking filter of a decoding device may receive information related to a deblocking filter provided by an encoding device and perform deblocking filtering for a corresponding block in a decoding device.
An offset modification unit may perform offset modification on a reconstructed image based on a type of offset modification, offset value information, etc. applied to an image in encoding.
An ALF may be applied to a coding unit based on information on whether an ALF is applied, ALF coefficient information, etc. provided by an encoder. Such ALF information may be provided by being included in a specific parameter set.
A memory 245 may store a reconstructed picture or block for use as a reference picture or a reference block and also provide a reconstructed picture to an output unit.
In reference to