Patent ID: 10148976

Abstract:
A method of encoding video data, the method including generating, via a generator, a prediction block of a current prediction unit using a reference index and a motion vector of the current prediction unit; generating, via the generator, a residual block using a difference between the current prediction unit and the prediction block; transforming, via a transformer, the residual block to generate a transform block; quantizing, via a quantizer, coefficients of the transform block to generate a quantization block using a quantization parameter, wherein the quantizer generates the quantization block by selecting two effective quantization parameters that are available and exist among left, upper, and previous quantization parameters according to an order of priority levels set for the left, upper, and previous quantization parameters and using an average of the two effective quantization parameters; and entropy-coding, via an entropy-coder, the quantization block using a scan pattern. Further, the motion vector is encoded using a motion vector predictor which is set equal to one of an effective spatial motion vector candidate and an effective temporal motion vector candidate, and when the quantized coefficients of the quantization block are divided into a plural of subset, a same scan pattern is applied to quantized coefficients of each subset.