摘要 |
FIELD: physics, computer engineering.SUBSTANCE: invention relates to computer engineering. A method for decoding video data, comprising obtaining a scan-based LSC indicator from a block-based LSC indicator, the block-based LSC indicator indicating coordinates of a last significant coefficient of a block of transform coefficients according to a scanning order, the block of transform coefficients being divided into a plurality of sub-blocks, the scan-based LSC indicator indicating an ordinal position of the LSC according to the scanning order; wherein obtaining a scan-based LSC indicator includes: determining x and y coordinates of the top left transform coefficient of a sub-block from a plurality of sub-blocks which contains a last significant coefficient; determining a first variable value through summation of x and y coordinates of the top left transform coefficient of the sub-block; and decoding a significance map of the block based on the scan-based LSC indicator.EFFECT: obtaining a scan-based last significant coefficient (LSC) for use when decoding a significance map for a block of transform coefficients.12 cl, 13 dwg |