Abstract:
A method of encoding a video is provided, the method includes: determining a filtering boundary on which deblocking filtering is to be performed based on at least one data unit from among a plurality of coding units that are hierarchically configured according to depths indicating a number of times at least one maximum coding unit is spatially spilt, and a plurality of prediction units and a plurality of transformation units respectively for prediction and transformation of the plurality of coding units, determining filtering strength at the filtering boundary based on a prediction mode of a coding unit to which pixels adjacent to the filtering belong from among the plurality of coding units, and transformation coefficient values of the pixels adjacent to the filtering boundary, and performing deblocking filtering on the filtering boundary based on the determined filtering strength.
Abstract:
Provided are a method and apparatus for encoding a video signal and a method and apparatus for decoding a video signal. The method of encoding the video signal includes: determining an optimum scaling bit depth of the video signal in consideration of a maximum bit number of an intermediate value obtained during transformation of the video signal and a maximum bit precision of the video signal; scaling the video signal according to a local shift value corresponding to a difference between the determined optimum scaling bit depth and an original bit depth of the video signal; and transforming the scaled video signal.
Abstract:
Provided are a video encoding method and apparatus and a video decoding method and apparatus for generating a reconstructed image having a minimized error between an original image and the reconstructed image. The video decoding method includes: parsing, from a bitstream, a scale parameter for scaling an offset of a current block; scaling an offset absolute value of the current block by using the scale parameter; determining an offset of the current block by using the scaled offset absolute value; and compensating for a sample value of a reconstructed pixel of the current block by using the offset of the current block.
Abstract:
The present disclosure provides a method of processing pixels in video encoding and decoding, the method including determining a current sample offset processing region and performing classification and offset operations on pixels of the current sample offset processing region, wherein the determining of the current sample offset processing region includes performing a spatial position movement operation on a predetermined coding processing unit and determining a region after the spatial position movement operation as the current sample offset processing region. By using the present disclosure, the sample offset processing regions may be flexibly acquired and the encoding performance may be improved.
Abstract:
Provided is a video decoding method including: determining a size of a block on which intra block copy prediction is to be performed, based on block size information obtained from a bitstream; comparing the determined size of the block with a size of a current block, and determining, based on a result of the comparing, whether the size of the current block falls within the determined size of the block; and performing intra block copy prediction on the current block when it is determined that the size of the current block falls within the determined size of the block.
Abstract:
A video decoding method includes determining, from among a first sample and a second sample with different color components, at least one second sample that is used to correct a value of the first sample; determining a filter parameter set based on a band including the value of the first sample, wherein the band is from among a plurality of bands determined by dividing a total range of sample values into signaled intervals or predetermined intervals; and filtering a value of the at least one second sample by using the determined filter parameter set and correcting the value of the first sample by using a value obtained by the filtering, wherein the first sample is any one of a luma sample and a chroma sample, and the second sample is any one of the luma sample and the chroma sample that is not the first sample.
Abstract:
Provided is a motion compensation method for encoding and decoding a scalable video. A first prediction value of pixels constituting a current block is acquired from a corresponding block of a base layer corresponding to the current block of an enhancement layer, a second prediction value of the pixels constituting the current block is acquired by using a block-unit bidirectional motion compensation result and a pixel-unit motion compensation result about the enhancement layer, and a prediction value of the pixels constituting the current block is acquired by using a weighted sum of the first prediction value and the second prediction value.
Abstract:
Provided is a method of determining an up-sampling filter to accurately interpolate a sample value for each sampling position according to an up-sampling ratio for scalable video encoding and decoding. An up-sampling method for scalable video encoding includes determining a phase shift between a pixel of a low resolution image and a pixel of a high resolution image based on a scaling factor between the high resolution image and the low resolution image; selecting at least one filter coefficient set corresponding to the determined phase shift from filter coefficient data comprising filter coefficient sets corresponding to phase shifts; generating the high resolution image by performing filtering on the low resolution image by using the selected at least one filter coefficient set; and generating an improvement layer bitstream comprising high resolution encoding information generated by performing encoding on the high resolution image and up-sampling filter information indicating the determined phase shift.
Abstract:
A video encoding method and apparatus, and a video decoding method and apparatus for generating a reconstructed image having a minimized error between an original image and the reconstructed image. The video decoding method accompanied by a sample adaptive offset (SAO) adjustment, the method includes: obtaining 5 slice SAO parameters with respect to a current slice from a slice header of a received bitstream; obtaining luma SAO use information for a luma component of the current slice and chroma SAO use information for chroma components thereof from among the slice SAO parameters; determining whether to perform a SAO operation on the luma component of 10 the current slice based on the obtained luma SAO use information; and equally determining whether to perform the SAO adjustment on a first chroma component and a second chroma component of the current slice based on the obtained chroma SAO use information.
Abstract:
A sub-pel-unit image interpolation method using a transformation-based interpolation filter includes, selecting, based on a sub-pel-unit interpolation location in a region supported by a plurality of interpolation filters for generating at least one sub-pel-unit pixel value located between integer-pel-unit pixels, one of a symmetric interpolation filter and an asymmetric interpolation filter from among the plurality of interpolation filters; and using the selected interpolation filter to generate the at least one sub-pel-unit pixel value by interpolating the integer-pel-unit pixels.