Patent ID: 9191674
Filing Date: 2015-11-17
Classification: H04N

Abstract:
1. An image encoding method, comprising: determining, by a coding mode determiner, a size and a prediction mode of a predictive coding block for image or video data; transforming and quantizing, by a transform/quantization unit, a residual block of a prediction block generated by intra prediction to generate a quantized block; inversely quantizing and inversely transforming, by an inverse quantization/transform unit, the quantized block; applying, by a de-blocking filtering unit, a de-blocking filter to image data received from the inverse quantization/transform unit; determining, by an intra prediction unit, an intra prediction mode; generating, by the intra prediction unit, the prediction block according to the intra prediction mode; and entropy-coding, by an entropy coder, quantized coefficients of the quantized block, wherein, when a size of the quantized block is equal to 8×8, the coefficients of the quantized block are divided into a plurality of subsets, and the plurality of subsets are scanned using a scan pattern determined according to the intra prediction mode, wherein a scan pattern for scanning non-zero coefficients of each subset is same with the scan pattern for the plurality of subsets, wherein a scan pattern for scanning flags indicating non-zero coefficients of each subset is same with the scan pattern for scanning non-zero coefficients of each subset, wherein the plurality of subsets are composed of a main subset and a plurality of remaining subsets and the main subset includes a DC coefficient.