Patent ID: 9407917
Filing Date: 2016-08-02
CPC Classification: G06F,H04N

Claim Text:
1. A method for decoding a video, the method comprising: obtaining transformed coefficients of a block from a bitstream comprising a coded picture; generating inverse-quantized transformed coefficients by performing inverse-quantization, wherein the performing inverse-quantization includes performing a right bit-shifting operation using a base-2 logarithm of a size of the block, and by performing a first clipping on the transformed coefficients, wherein the first clipping is performed after the performing the inverse-quantization and before performing an inverse transformation including at least one of a vertical inverse-transformation and a horizontal inverse-transformation; generating inverse-transformed coefficients by performing the vertical inverse-transformation on the inverse-quantized transformed coefficients; generating sample values by performing scaling and a second clipping on the inverse-transformed coefficients; and generating residual values by performing the horizontal inverse-transformation on the sample values, wherein the first clipping is performed for restricting the inverse-quantized transformed coefficients to a range corresponding to a first bitdepth, the second clipping is performed for restricting the sample values to a range corresponding to a second bitdepth, and the scaling comprises performing a bit shift operation to the right by N bits and the scaling is performed before the second clipping, wherein the coded picture is hierarchically split into at least one coding unit according to split information, and one of the at least one coding units includes the block.