摘要:
A method for decoding a video comprising obtaining transformed coefficients of a block from a bitstream, generating inverse-quantized transformed coefficients by performing inverse-quantization and a first clipping on the transformed coefficients, generating sample values by performing vertical inverse-transformation and a second clipping on the inverse-quantized transformed coefficients; and generating residual values by performing horizontal inverse-transformation on the sample values, wherein the first clipping is performed for restricting the inverse-quantized transformed coefficients to a range of a first bitdepth, the second clipping is performed for restricting the sample values to a range of a second bitdepth.
摘要:
A video encoding method and apparatus and video decoding method and apparatus to generate a restored image having a minimum error with respect to an original image. The video decoding method includes: parsing offset merge information indicating whether offset parameters of a current block and at least one neighboring block from among blocks of video are identical to each other from a received bitstream; restoring an offset type and offset values among the offset parameter of the current block based on the offset merge information; determining an edge class or a pixel value band of a restored pixel based on an edge type or a pixel value band type of the current block indicating the offset type; and determining an offset value corresponding to the edge class or the pixel value band of the restored pixel from the offset values and adjusting a pixel value of the restored pixel according to the offset value.
摘要:
A video encoding method and apparatus and a video decoding method and apparatus. In the video encoding method, a first predicted coding unit of a current coding unit that is to be encoded is produced, a second predicted coding unit is produced by changing a value of each pixel of the first predicted coding unit by using each pixel of the first predicted coding unit and at least one neighboring pixel of each pixel, and the difference between the current coding unit and the second predicted coding unit is encoded, thereby improving video prediction efficiency.
摘要:
A video decoding apparatus for preventing overflow from occurring in output data in operations of a decoding process. The video decoding apparatus includes units for parsing and restoring quantized transformation coefficients in units of blocks of an image from a received bitstream, restoring transformation coefficients by performing inverse quantization and a first clipping on the quantized transformation coefficients, and restoring samples by performing one-dimensional (1D) inverse transformation and a second clipping on the inverse-quantized transformation coefficients, and generating residual values by performing horizontal inverse-transformation on the sample values. The first clipping is performed for restricting the inverse-quantized transformed coefficients to a range of a first bit depth and the second clipping is performed for restricting the sample values to a range of a second bitdepth.
摘要:
A video encoding method and apparatus and video decoding method and apparatus to generate a restored image having a minimum error with respect to an original image. The video decoding method includes: parsing offset merge information indicating whether offset parameters of a current block and at least one neighboring block from among blocks of video are identical to each other from a received bitstream; restoring an offset type and offset values among the offset parameter of the current block based on the offset merge information; determining an edge class or a pixel value band of a restored pixel based on an edge type or a pixel value band type of the current block indicating the offset type; and determining an offset value corresponding to the edge class or the pixel value band of the restored pixel from the offset values and adjusting a pixel value of the restored pixel according to the offset value.
摘要:
A video encoding method and apparatus and a video decoding method and apparatus. In the video encoding method, a first predicted coding unit of a current coding unit that is to be encoded is produced, a second predicted coding unit is produced by changing a value of each pixel of the first predicted coding unit by using each pixel of the first predicted coding unit and at least one neighboring pixel of each pixel, and the difference between the current coding unit and the second predicted coding unit is encoded, thereby improving video prediction efficiency.
摘要:
A video encoding method and apparatus and a video decoding method and apparatus. In the video encoding method, a first predicted coding unit of a current coding unit that is to be encoded is produced, a second predicted coding unit is produced by changing a value of each pixel of the first predicted coding unit by using each pixel of the first predicted coding unit and at least one neighboring pixel of each pixel, and the difference between the current coding unit and the second predicted coding unit is encoded, thereby improving video prediction efficiency.
摘要:
A method of interpolating an image by determining interpolation filter coefficients. A method of interpolating an image in consideration of smoothing includes differently selecting an interpolation filter based on a sub-pel-unit interpolation location and a smoothness from among interpolation filters for generating at least one sub-pel-unit pixel value located between integer-pel-unit pixels; and generating the at least one sub-pel-unit pixel value by interpolating pixel values of the integer-pel-unit pixels by using the selected interpolation filter.