摘要 |
<p>A method and apparatus for processing 2Nx2N transform units (TUs) are disclosed. In one embodiment, the method comprises determining a first-layer scanning order among four NxN sub-blocks of the 2Nx2N TU; determining a second-layer scanning pattern for said four NxN sub-blocks; and providing scanned 2Nx2N transform coefficients of the intra-coded or the inter- coded 2Nx2N TU using double scanning based on the first-layer scanning order and the second- layer scanning pattern. In another embodiment, said determining the first-layer scanning order is dependent on the second-layer scanning pattern. The second-layer scanning pattern can be diagonal, horizontal or vertical. In an embodiment, the first-layer scanning order can be from an upper-left sub-block, to an upper-right sub-block, to a lower-left sub-block and to a lower-right sub-block for the second-layer horizontal scanning pattern and from an upper-left sub-block, to a lower-left sub-block, to an upper-right sub-block and to a lower-right sub-block for other second-layer scanning patterns.</p> |