CPC H04N 19/61 (2014.11) [H04N 19/129 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11)] | 3 Claims |
1. A method of decoding image, the method comprising:
performing entropy decoding of a bitstream to obtain entropy-decoded signals;
determining an intra prediction mode;
determining a scanning method based on the intra prediction mode; and
reconstructing a block using the entropy-decoded signals and the scanning method,
wherein the scanning method comprises:
performing a horizontal scan, which scans coefficients of a first row of the entropy-decoded signals in priority to other rows of the entropy-decoded signals, in response to the intra prediction mode being a vertical intra prediction mode; and
performing a vertical scan, which scans coefficients of a first column of the entropy-decoded signals in priority to other columns of the entropy-decoded signals, in response to the intra prediction mode being a horizontal intra prediction mode.
|