HEVC Scan Mode

Source: Internet
Author: User

Note: The HM code version is hm-16.2+scm-3.0rc1/.


three ways to scan


HEVC has three scanning methods: Diagonal scan, horizontal scan, vertical scan in the upper right corner. Corresponds as shown.


Figure 1 HEVC three ways to scan


Depending on the mode, use one of the three ways: horizontal, vertical, diagonal. For blocks that exceed 4x4, the blocks are first divided into several 4x4 CG (coefficient Group), and CG and each CG interior are scanned using the selected scan sequence.


selection of scanning methods

So how does HEVC choose the scanning method? The adaptive coefficient scan is taken. The code corresponds to the Tcomdatacu::getcoefscanidx () function.


Figure 2 Adaptive coefficient scanning


Note: For all block sizes, the transform coefficients of the inter-frame prediction mode, and the conversion coefficients of the forecast within the 16x16 or 32x32 frame, you cannot use a 4x4 diagonal scan to the top right of the transform coefficients sub-block. (Legacy issues)

HEVC Scan Mode

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.