Luma intramodal signaling
Truncated binary encoding and default mode lists are used to optimize video data transmission and storage by improving the efficiency of intra-prediction mode signaling, addressing the inefficiencies in existing video compression techniques.
Patent Information
- Application Number
- JP2024104078
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2018-07-11
- Filing Date
- 2024-06-27
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2039-05-08
AI Technical Summary
Existing video compression techniques fail to efficiently address the challenges of video data compression and decompression, particularly in the context of intra-prediction mode signaling, resulting in suboptimal use of codewords and inefficient use of bandwidth and storage resources.
Implement truncated binary encoding for residual intra-prediction modes, using a combination of truncated binary encoding and predetermined default mode lists to signal intra-prediction modes, optimizing the encoding and decoding processes.
Enhances the efficiency of video data transmission and storage by optimizing the use of codewords, reducing bandwidth and storage requirements without compromising image quality.
Smart Images

Figure 0007783349000002 
Figure 0007783349000003 
Figure 0007783349000004
Abstract
Description
[Technical Field]
[0001] This disclosure relates generally to video coding, and more particularly to luma intra mode signaling. [CROSS-REFERENCE TO RELATED APPLICATIONS] This patent application claims the benefit of U.S. Provisional Patent Application No. 62 / 696,739, entitled "Luma Intra Mode Signaling Improvements," filed July 11, 2019, by Anand Meher Kotra et al. [Background technology]
[0002] The amount of video data required to depict even a relatively short video can be substantial, potentially creating challenges when streaming or transmitting the data over communications networks with limited bandwidth capacity. Therefore, video data is typically compressed before being communicated over modern telecommunications networks. Video size can also be an issue when storing video on a storage device, where memory resources may be limited. Video compression devices often use software and / or hardware at the source to encode video data before transmission or storage, thereby reducing the amount of data required to represent a digital video image. The compressed data is then received by a video decompressor at the destination, which decodes the video data. With limited network resources and an ever-increasing demand for higher video quality, improved compression and decompression techniques are desirable that improve compression ratios with little or no sacrifice in image quality. Summary of the Invention
[0003] A first aspect relates to an encoding method implemented by an encoding device, the method including: selecting, using the encoding device, an intra-prediction mode for a current block; and, if the selected intra-prediction mode is a residual mode, encoding, using the encoding device, the selected intra-prediction mode using truncated binary encoding. In one embodiment, the method includes determining that the selected intra-prediction mode is in a residual mode list.
[0004] As explained more fully below, this method improves upon existing intra-mode signaling schemes. An embodiment encodes all residual intra-modes, e.g., all intra-modes not in the MPM list (also known as "non-MPM modes"), and signals them in the bitstream using truncated binaries. Using truncated binaries for the residual modes results in more efficient use of codewords.
[0005] In a first embodiment of the method according to such a first aspect, the method further comprises determining that the selected intra-prediction mode is outside a maximum likelihood mode (MPM) list.
[0006] In a second implementation of the method according to such a first aspect, or any prior implementation of the first aspect, the method further includes, if the selected intra prediction mode is one of the first three modes from the residual modes, encoding the selected intra prediction mode using 5 bits.
[0007] In a third implementation of such a method according to the first aspect, or any previous implementation of the first aspect, the method further includes a step of encoding the selected intra prediction mode using N bits if the selected intra prediction mode is included in a first part of the residual modes, and using N+1 bits if the selected intra prediction mode is included in a second part of the residual modes.
[0008] In a fourth implementation of the method according to such a first aspect, or any of the previous implementations of the first aspect, the method further includes a step of encoding the selected intra prediction mode using 6 bits if the selected intra prediction mode is not one of the first three modes of the residual modes.
[0009] In a fifth embodiment of such a method according to the first aspect, or any preceding embodiment of the first aspect, the residual mode is one of 61 residual modes.
[0010] In such a sixth implementation of the method according to the first aspect, or any preceding implementation of the first aspect, the MPM list includes six modes and the remaining mode is one of 61 remaining modes.
[0011] In a seventh embodiment of the method according to the first aspect itself, or in any of the preceding embodiments of the first aspect, all intra prediction modes belong to either said MPM list or said residual modes.
[0012] In such an eighth implementation of the method according to the first aspect, or any preceding implementation of the first aspect, all of the residual modes are encoded using the truncated binary encoding.
[0013] In a ninth embodiment of the method according to such first aspect, or any preceding embodiment of the first aspect, the method further comprises embedding the initial mode in the residual mode list using a predetermined default mode list.
[0014] In such a tenth embodiment of the method of the first aspect, or any preceding embodiment of the first aspect, the predetermined default mode list includes planar mode (PLANAR_IDX), dc mode (DC_IDX), vertical mode (VER_IDX), horizontal mode (HOR_IDX), intra mode 2 (2), vertical diagonal mode (VDIA_IDX), and diagonal mode (DIA_IDX).
[0015] In an eleventh embodiment of the method according to such first aspect, or any preceding embodiment of the first aspect, the method further comprises embedding an initial mode into said residual mode using an offset relative to the angular mode included in said MPM list.
[0016] In such a twelfth embodiment of the method according to the first aspect or any preceding embodiment of the first aspect, the offset is + / -N, where N is an integer having a value of 1, 2, 3, or 4.
[0017] In a thirteenth aspect of such a method according to the first aspect, or any preceding embodiment of the first aspect, the offset is added only to the first of two said angle modes in the MPM list.
[0018] In a fourteenth embodiment of the method according to such first aspect, or any preceding embodiment of the first aspect, the method comprises a step of filling initial modes of the residual mode list using modes of nearby blocks that are not immediately adjacent to the current block. In a fifteenth implementation of the method according to such a first aspect or any preceding implementation of the first aspect, the method further includes a step of embedding an initial mode in the residual mode list using a mode in a second-level neighborhood of the current block that is not a first-level neighborhood.
[0019] In a sixteenth embodiment of the method according to such first aspect, or in any preceding embodiment of the first aspect, the method further comprises embedding an initial mode in the remaining mode list based on a position of a majority of modes in the MPM list relative to one of a planar mode (PLANAR_IDX), a dc mode (DC_IDX), a vertical mode (VER_IDX), a horizontal mode (HOR_IDX), an intra mode 2 (2), a vertical diagonal mode (VDIA_IDX), and a diagonal mode (DIA_IDX).
[0020] In a seventeenth embodiment of the method according to such first aspect, or in any of the preceding embodiments of said first aspect, the method further comprises: comparing each of the modes in the MPM list with a position of various modes in a default mode list; determining a winner among the various modes in the default mode list that is closest to a majority of the modes in the MPM list; and inserting the first three modes into the remaining mode list with the mode that is closest to the winner among the various modes in the default mode list. The method further includes inserting the initial mode into the remaining mode list according to the method.
[0021] A second aspect relates to a decoding method implemented by a decoding device, the method being executed by the decoding device, the method including the steps of: obtaining, by the decoding device, a truncated binary code; decoding, by the decoding device, the truncated binary code to obtain intra-prediction modes including residual modes; and generating, by the decoding device, a current block using the obtained intra-prediction modes.
[0022] As will be explained more fully below, this method improves upon existing intra-mode signaling schemes. Embodiments may be configured to decode a truncated binary code to obtain an intra-prediction mode, which is one of the residual modes coded using the truncated binary coding. By using a truncated binarization of the residual mode, codewords are used more efficiently.
[0023] In a first embodiment of the method according to such second aspect, the method comprises determining that the intra-prediction mode is outside a maximum likelihood mode (MPM) list.
[0024] In a second implementation of the method according to such a second aspect, or any prior implementation of the second aspect, the method further includes a step of decoding the intra prediction mode using 5 bits if the intra prediction mode is one of the first three modes of the residual modes.
[0025] In a third implementation of such a method according to the second aspect, or any of the previous implementations of the second aspect, the method further includes a step of decoding the intra prediction mode using 6 bits if the intra prediction mode is out of the first three modes of the residual modes.
[0026] In such a fourth embodiment of the method according to the second aspect or any preceding embodiment of the second aspect, the residual mode is one of 61 residual modes.
[0027] In a fifth embodiment of the method according to such second aspect or any preceding embodiment of the second aspect, there are 6 modes in the MPM list and 61 modes in the remaining modes.
[0028] In such a sixth embodiment of the method according to the second aspect, or any of the preceding embodiments of the second aspect, all intra prediction modes belong to either the MPM list or the residual modes.
[0029] In such a seventh implementation of the method according to the second aspect, or any preceding implementation of the second aspect, all of the residual modes are encoded using the truncated binary encoding.
[0030] In such an eighth embodiment of the method according to the second aspect, or any preceding embodiment of the second aspect, the initial mode in the remaining mode list is from a predetermined default mode list.
[0031] In such a ninth embodiment of the method according to the second aspect, or any preceding embodiment of the second aspect, the predetermined default mode list includes planar mode (PLANAR_IDX), dc mode (DC_IDX), vertical mode (VER_IDX), horizontal mode (HOR_IDX), intra mode 2 (2), vertical diagonal mode (VDIA_IDX), and diagonal mode (DIA_IDX).
[0032] In a tenth embodiment of the method according to such second aspect or any preceding embodiment of the second aspect, the initial mode in the residual mode list is based on an offset relative to an angular mode included in the MPM list.
[0033] In an eleventh embodiment of such a method according to the second aspect, or any preceding embodiment of the second aspect, the offset is + / -N, where N is an integer having a value of 1, 2, 3, or 4.
[0034] In a twelfth embodiment of such a method according to the second aspect, or any preceding embodiment of the second aspect, the offset is added only to the first of the two angle modes in the MPM list.
[0035] In a thirteenth embodiment of the method according to such second aspect, or any preceding embodiment of the second aspect, the initial mode of the residual mode list is based on the mode of a nearby block that is not immediately adjacent to the current block.
[0036] In a fourteenth implementation form of such a method according to the second aspect, or any preceding implementation form of the second aspect, the initial mode of the residual mode list is based on a mode of a second-level neighbor of the current block that is not a first-level neighbor.
[0037] In a fifteenth embodiment of the method of such second aspect, or any preceding embodiment of the second aspect, the initial mode in the residual mode list is based on the position of the majority mode in the MPM list relative to one of planar mode (PLANAR_IDX), dc mode (DC_IDX), vertical mode (VER_IDX), horizontal mode (HOR_IDX), intra mode 2 (2), vertical diagonal mode (VDIA_IDX), and diagonal mode (DIA_IDX).
[0038] In a sixteenth embodiment of the method according to such second aspect, or any preceding embodiment of the second aspect, the initial modes in the remaining mode list are determined by comparing each of the modes in the MPM list with the position of various modes in a default mode list, determining which of the modes in the default mode list is closest to the winner of the various modes in the MPM list, and inserting the first three modes in the remaining mode list that are closest to the winner of the various modes in the default mode list.
[0039] In such a seventeenth embodiment of the method according to the second aspect, or any preceding embodiment of the second aspect, the various modes within the mode categories include a planar mode (PLANAR_IDX), a dc mode (DC_IDX), a vertical mode (VER_IDX), a horizontal mode (HOR_IDX), an intra mode 2 (2), a vertical diagonal mode (VDIA_IDX), and a diagonal mode (DIA_IDX).
[0040] A third aspect relates to an encoding device configured to perform any of the preceding encoding methods.
[0041] A fourth aspect relates to a decoding device configured to perform any of the preceding decoding methods.
[0042] A fifth aspect relates to an encoding device including a memory and a processor coupled to the memory, the processor configured to select an intra-prediction mode for a current block and, if the selected intra-prediction mode is a residual mode, to encode the selected intra-prediction mode using truncated binary encoding.
[0043] In a first implementation form of such an encoding device according to the fifth aspect, the encoding device further includes a transmitter coupled to the processor, the transmitter configured to transmit the selected and encoded intra-prediction mode to a decoding device.
[0044] In a second implementation form of the encoding device according to such a fifth aspect, or in any preceding embodiment of the fifth aspect, the processor is configured to implement one or more of the aforementioned aspects or embodiments.
[0045] Further implementations of the encoding device correspond to respective implementations of the encoding method of the first aspect.
[0046] A sixth aspect relates to a decoding apparatus including a receiver configured to obtain a truncated binary code and a processor coupled to the receiver, wherein the processor is configured to decode the truncated binary code to obtain an intra-prediction mode including a residual mode, and to generate a current block using the obtained intra-prediction mode.
[0047] In a first embodiment of such a decoding device according to the sixth aspect, the decoding device includes a display coupled to the processor, the display configured to display an image generated using the current block.
[0048] In a second implementation form of the encoding device according to such a sixth aspect or any of the preceding implementation forms of the sixth aspect, the processor is configured to implement one or more of the aforementioned aspects or embodiments.
[0049] Further embodiments of the decoding device correspond to respective embodiments of the decoding method according to the second aspect.
[0050] For clarity, any one of the above-described embodiments may be combined with any one or more of the other above-described embodiments to create new embodiments within the scope of the present disclosure. Further details of the embodiments are provided in the detailed description. [Brief explanation of the drawings]
[0051] For a more complete understanding of the present disclosure, reference is now made to the following brief description taken in conjunction with the accompanying drawings and detailed description, wherein like reference numerals represent like parts. [Figure 1] FIG. 1 is a block diagram illustrating an example encoding system that can utilize context modeling techniques. [Figure 2] FIG. 1 is a block diagram illustrating an example video encoder that may implement context modeling techniques. [Figure 3] FIG. 1 is a block diagram illustrating an example video decoder that may implement context modeling techniques. [Figure 4] FIG. 2 is a schematic diagram of a current coding unit and five adjacent blocks. [Figure 5] 2 is a schematic diagram of a current coding unit, first-layer neighboring blocks, and second-layer neighboring blocks; [Figure 6] FIG. 6 is a schematic diagram of an example of a 67 intra prediction mode. [Figure 7] 1 is a schematic diagram of an exemplary video encoding device; DETAILED DESCRIPTION OF THE INVENTION
[0052] It should be noted at the outset that the disclosed systems and / or methods may be implemented using any number of technologies, whether currently known or in existence, and the present disclosure should in no way be limited to the exemplary embodiments, drawings, and technologies illustrated below, including the exemplary designs and implementations illustrated and described herein.
[0053] FIG. 1 is a block diagram illustrating an exemplary encoding system 10 suitable for implementing various video encoding, prediction, or compression techniques. As shown in FIG. 1, encoding system 10 includes a source device 12 that provides encoded video data that is subsequently decoded by a destination device 14. In particular, source device 12 may provide the video data to destination device 14 via a computer-readable medium 16. Source device 12 and destination device 14 may include any of a wide range of devices, including desktop computers, notebook (i.e., laptop) computers, tablet computers, set-top boxes, telephones such as so-called "smart" phones, so-called "smart" pads, televisions, cameras, display devices, digital media players, video game consoles, video streaming devices, etc. In some cases, source device 12 and destination device 14 may be capable of wireless communication.
[0054] The destination device 14 can receive the encoded video data to be decoded via a computer-readable medium 16. The computer-readable medium 16 can include any type of medium or device capable of moving encoded video data from the source device 12 to the destination device 14. In one example, the computer-readable medium 16 can include a communications medium that enables the source device 12 to transmit the encoded video data directly to the destination device 14 in real time. The encoded video data is modulated according to a communications standard, such as a wireless communications protocol, and transmitted to the destination device 14. The communications medium can include any wireless or wired communications medium, such as the radio frequency (RF) spectrum or one or more physical transmission lines. The communications medium can form part of a packet-based network, such as a local area network, a wide area network, or a global network such as the Internet. The communications medium can also include routers, switches, base stations, and other devices useful for facilitating communication from the source device 12 to the destination device 14.
[0055] In some examples, the encoded data may be output to a storage device through the output interface 22. Similarly, the encoded data may be obtained by accessing a storage device through the input interface. The storage device may include any of a variety of distributed or locally accessed data storage media, such as a hard disk drive, a Blu-ray disc, a digital video disc (DVD), a compact disc read-only memory (CD-ROM), flash memory, volatile or non-volatile memory, or any other suitable digital storage medium for storing encoded video data. In yet another example, the storage device may correspond to a file server or other intermediate storage device capable of storing the encoded video generated by the source device 12. The destination device 14 may access the video data stored in the storage device via streaming or download. The file server may be any type of server capable of storing the encoded video data and transmitting the encoded video data to the destination device 14. Examples of file servers include a web server (e.g., for a website), a file transfer protocol (FTP) server, a network-attached storage (NAS) device, or a local disk drive. The destination device 14 may access the encoded video data via any standard data connection, including an Internet connection. This may include a wireless channel (e.g., a Wi-Fi connection), a wired connection (e.g., a digital subscriber line (DSL), a cable modem, etc.), or a combination of both suitable for accessing encoded video data stored on a file server. The transmission of the encoded video data from the storage device may be a streaming transmission, a download transmission, or a combination thereof.
[0056] The techniques of this disclosure are not necessarily limited to wireless applications or settings. The techniques may be applied to video encoding supporting any of a variety of multimedia applications, such as over-the-air television broadcast, cable television transmission, satellite television transmission, Internet streaming video transmission such as Dynamic Adaptive Streaming over HTTP (DASH), digital video encoded on a data storage medium, decoding of digital video stored on a data storage medium, or other applications. In some examples, encoding system 10 may be configured to support one-way or two-way video transmission and to support applications such as video streaming, video playback, video broadcasting, and / or video telephony.
[0057] In the example of FIG. 1 , source device 12 includes video source 18, video encoder 20, and output interface 22. Destination device 14 includes input interface 28, video decoder 30, and display device 32. According to the present disclosure, video encoder 20 of source device 12 and / or video decoder 30 of destination device 14 may be configured to apply techniques for bidirectional prediction. In other examples, the source and destination devices may include other components or configurations. For example, source device 12 may receive video data from an external video source, such as an external camera. Similarly, destination device 14 may not include an integrated display device but may interface with an external display device.
[0058] The illustrated coding system 10 of FIG. 1 is merely an example. The techniques for bidirectional prediction may be performed by any digital video encoding and / or decoding device. While the techniques of this disclosure are generally performed by a video encoding device, the techniques may also be performed by a video encoder / decoder, typically referred to as a "CODEC." Additionally, the techniques of this disclosure may be performed by a video preprocessor. The video encoder and / or decoder may be a graphics processing unit (GPU) or similar device.
[0059] Source device 12 and destination device 14 are merely examples of such encoding devices, where source device 12 generates encoded video data for transmission to destination device 14. In some examples, source device 12 and destination device 14 may operate in a substantially symmetric manner, such that source device 12 and destination device 14 each include video encoding and decoding components. Thus, encoding system 10 may support unidirectional or bidirectional video transmission between video devices 12, 14, e.g., for video streaming, video playback, video broadcasting, or video telephony.
[0060] Video source 18 of source device 12 may include a video capture device such as a video camera, a video archive containing previously captured video, and / or a video feed interface that receives video from a video content provider. As a further alternative, video source 18 may generate computer-graphics-based data as the source video or a combination of live video, archived video, and computer-generated video.
[0061] In some cases, when video source 18 is a video camera, source device 12 and destination device 14 may form a so-called camera phone or video phone. However, as noted above, the techniques described in this disclosure are applicable to video coding generally and may be applicable to wireless and / or wired applications. In each case, captured, pre-captured, or computer-generated video may be encoded by video encoder 20. The encoded video information may then be output by output interface 22 to computer-readable medium 16.
[0062] Computer-readable medium 16 may include a transitory medium, such as a wireless broadcast or wired network transmission, or a storage medium (i.e., a non-transitory storage medium), such as a hard disk, flash drive, compact disc, digital video disc, Blu-ray disc, or other computer-readable medium. In some examples, a network server (not shown) may receive encoded video data from source device 12 and provide the encoded video data to destination device 14, for example, via network transmission. Similarly, a computing device at a media production facility, such as a disc stamping facility, may receive encoded video data from source device 12 and generate a disc containing the encoded video data. Thus, computer-readable medium 16 may be understood to include one or more computer-readable media of various forms, in various examples.
[0063] Input interface 28 of destination device 14 receives information from computer-readable medium 16. The information on computer-readable medium 16 may include syntax information defined by video encoder 20, which is also used by video decoder 30, including syntax elements that describe the characteristics and / or processing of blocks and / or other coding units, e.g., groups of pictures (GOPs). Display device 32 displays the decoded video data to a user and may include any of a variety of display devices, such as a cathode ray tube (CRT), a liquid crystal display (LCD), a plasma display, an organic light-emitting diode (OLED) display, or other types of display devices.
[0064] Video encoder 20 and video decoder 30 may operate in accordance with a video coding standard, such as the High Efficiency Video Coding (HEVC) standard currently under development, and may conform to the HEVC Test Model (HM). Alternatively, video encoder 20 and video decoder 30 may operate in accordance with other proprietary or industry standards, such as the International Telecommunication Union Telecommunication Standardization Sector (ITU-T) H.264 standard, H.265 / HEVC, also known as Moving Picture Expert Group (MPEG)-4 Part 10 Advanced Video Coding (AVC), or extensions of such standards. However, the techniques of this disclosure are not limited to any particular coding standard. Other examples of video coding standards include MPEG-2 and ITU-T H.263. 1, in some aspects, video encoder 20 and video decoder 30 may be integrated with an audio encoder and decoder, respectively, and may include a suitable multiplexer-demultiplexer (MUX-DEMUX) unit or other hardware and software to handle the encoding of both audio and video in a common data stream or separate data streams. If applicable, the MUX-DEMUX unit may conform to the ITU H.223 multiplexer protocol or other protocols such as the User Datagram Protocol (UDP).
[0065] The video encoder 20 and the video decoder 30 may each be implemented as any of a variety of suitable encoder circuits, such as one or more microprocessors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), discrete logic circuits, software, hardware, firmware, or any combination thereof. If the techniques are implemented partially in software, the device may store instructions for the software on a suitable non-transitory computer-readable medium and execute the instructions in hardware using one or more processors to perform the techniques of this disclosure. Each of the video encoder 20 and the video decoder 30 may be included in one or more encoders or decoders, any of which may be integrated as part of a combined encoder / decoder (CODEC) within the respective device. Devices including the video encoder 20 and / or the video decoder 30 may include integrated circuits, microprocessors, and / or wireless communication devices such as cellular telephones.
[0066] FIG. 2 is a block diagram illustrating an example of a video encoder 20 capable of implementing bidirectional prediction techniques. The video encoder 20 can perform intra- and inter-coding of video blocks within a video slice. Intra-coding relies on spatial prediction to reduce or remove spatial redundancy within video or pictures within a given video frame. Inter-coding relies on temporal prediction to reduce or remove temporal redundancy within video or pictures within adjacent frames of a video sequence. Intra-mode (I-mode) can refer to any of several spatial-based coding modes. Inter-modes, such as unidirectional prediction (P-mode) or bidirectional prediction (B-mode), can refer to any of several temporal-based coding modes.
[0067] As shown in FIG. 2, video encoder 20 receives a current video block in a video frame to be encoded. In the example of FIG. 2, video encoder 20 includes a mode selector 40, a reference frame memory 64, an adder 50, a transform processor 52, a quantizer 54, and an entropy encoder 56. Mode selector 40, in turn, includes a motion compensation unit 44, a motion estimation unit 42, an intra-prediction unit 46, and a partition unit 48. For video block reconstruction, video encoder 20 also includes an inverse quantizer 58, an inverse transform unit 60, and an adder 62. A deblocking filter (not shown in FIG. 2) may also be included to filter block boundaries and remove blockiness artifacts from the reconstructed video. If desired, the deblocking filter typically filters the output of adder 62. Additional filters (in-loop or after-loop) may also be used in addition to the deblocking filter. Such a filter is not shown for simplicity, but if desired, the output of summer 50 can be filtered (as an in-loop filter).
[0068] During the encoding process, video encoder 20 receives a video frame or slice to be encoded. The frame or slice may be divided into multiple video blocks. Motion estimation unit 42 and motion compensation unit 44 perform inter-predictive coding of the received video block relative to one or more blocks in one or more reference frames to provide temporal prediction. Alternatively, inter-prediction unit 46 may perform intra-predictive coding of the received video block relative to one or more neighboring blocks in the same frame or slice as the block to be encoded to provide spatial prediction. Video encoder 20 may perform multiple coding passes, for example, to select an appropriate coding mode for each block of video data.
[0069] Additionally, partition unit 48 may partition blocks of video data into sub-blocks based on an evaluation of a previous partitioning scheme in a previous encoding pass. For example, partition unit 48 may first partition a frame or slice into largest coding units (LCUs) and then partition each LCU into sub-coding units (sub-CUs) based on a rate-distortion analysis (e.g., rate-distortion optimization). Mode selection unit 40 may further generate a quadtree data structure indicating the partitioning of the LCUs into sub-CUs. A leaf-node CU of the quadtree may include one or more prediction units (PUs) and one or more transform units (TUs).
[0070] This disclosure uses the term "block" to refer to either a CU, PU, or TU in the context of HEVC, or similar data structures in the context of other standards (e.g., a macroblock and its subblocks in H.264 / AVC). A CU includes a coding node, a PU, and a TU associated with the coding node. The size of a CU corresponds to the size of the coding node and is square in shape. The size of a CU may range from 8x8 pixels up to the size of a treeblock of 64x64 pixels or more. Each CU may include one or more PUs and one or more TUs. Syntax data associated with a CU may, for example, describe the partitioning of the CU into one or more PUs. The partitioning mode may vary between whether the CU is skip or direct mode coded, intra-prediction mode coded, or inter-prediction mode coded. A PU may be partitioned into a non-square shape. Syntax data associated with a CU may also describe the partitioning of a CU into one or more TUs, for example, according to a quadtree. A TU may be square or non-square (e.g., rectangular) in shape.
[0071] Mode select unit 40 may select one of the coding modes, e.g., intra or inter, based on, for example, the error result, and provide the resulting intra-coded or inter-coded block to adder 50 to generate residual block data and to adder 62 to reconstruct the coded block for use as a reference frame. Mode select unit 40 also provides syntax elements such as motion vectors, intra-mode indicators, partition information, and other syntax information to entropy coding unit 56.
[0072] Motion estimation unit 42 and motion compensation unit 44 may be highly integrated but are illustrated separately for conceptual purposes. Motion estimation, performed by motion estimation unit 42, is the process of generating motion vectors, which estimate the motion of video blocks. A motion vector may indicate, for example, the PU displacement of a video block in a current video frame or picture relative to a predictive block in a reference frame (or other coding unit) relative to a current block being coded in the current frame (or other coding unit). A predictive block is a block found to closely match the block being coded in terms of pixel differences. Pixel differences may be determined by sum of absolute differences (SAD), sum of squared differences (SSD), or other difference metrics. In some examples, video encoder 20 may calculate values for sub-integer pixel locations of a reference picture stored in reference frame memory 64. For example, video encoder 20 may interpolate values for quarter-pixel locations, eighth-pixel locations, or other fractional pixel locations in a reference image. Therefore, the motion estimation unit 42 can perform motion searches for whole pixel positions and fractional pixel positions and output motion vectors with fractional pixel accuracy.
[0073] The motion estimation unit 42 calculates a motion vector for a PU of a video block in an inter-coded slice by comparing the position of the PU with the position of a predictive block in a reference image. The reference picture can be selected from a first reference picture list (List 0) or a second reference picture list (List 1), each of which identifies one or more reference pictures stored in the reference frame memory 64. The motion estimation unit 42 sends the calculated motion vector to the entropy coding unit 56 and the motion compensation unit 44.
[0074] The motion compensation performed by motion compensation unit 44 may include fetching or generating a predictive block based on the motion vector determined by motion estimation unit 42. Also, in some examples, motion estimation unit 42 and motion compensation unit 44 may be functionally integrated. Upon receiving the motion vector for the PU of the current video block, motion compensation unit 44 may locate the predictive block to which the motion vector points in one of the reference picture lists. Adder 50 forms a residual video block by subtracting pixel values of the predictive block from pixel values of the current video block being coded to form pixel difference values, as described below. Generally, motion estimation unit 42 performs motion estimation on the luma component, and motion compensation unit 44 uses the motion vector calculated based on the luma component for both the chroma and luma components. Mode select unit 40 may also generate syntax elements related to the video blocks and video slices for use by video decoder 30 in decoding video blocks of the video slices.
[0075] The intra prediction unit 46 may intra-predict the current block, instead of the inter-prediction performed by the motion estimation unit 42 and the motion compensation unit 44, as described above. In particular, the intra prediction unit 46 may determine the intra-prediction mode to use to encode the current block. In some examples, the intra prediction unit 46 may encode the current block using different intra-prediction modes, e.g., during separate encoding passes, and the intra prediction unit 46 (or, in some examples, the mode selection unit 40) may select an appropriate intra-prediction mode to use from the tested modes.
[0076] For example, intra prediction unit 46 may calculate rate-distortion values using a rate-distortion analysis for various tested intra prediction modes and select the intra prediction mode with the best rate-distortion characteristics among the tested modes. The rate-distortion analysis generally determines the amount of distortion (or error) between a coded block and the original uncoded block that was coded to generate the coded block, as well as the bit rate (i.e., number of bits) used to generate the coded block. Intra prediction unit 46 may calculate ratios from the distortions and rates for the various coded blocks to determine which intra prediction mode exhibits the best rate-distortion value for the block.
[0077] The intra prediction unit 46 may also be configured to encode the depth blocks of the depth map using a depth modeling mode (DMM). The mode selection unit 40 may determine, for example, using rate-distortion optimization (RDO), whether an available DMM mode provides better encoding results than the intra prediction mode and other DMM modes. Data for the texture image corresponding to the depth map may be stored in the reference frame memory 64. The motion estimation unit 42 and the motion compensation unit 44 may also be configured to inter-predict the depth blocks of the depth map.
[0078] After selecting an intra-prediction mode for the block (e.g., one of the conventional intra-prediction mode or the DMM mode), intra-prediction unit 46 may provide information indicating the selected intra-prediction mode for the block to entropy coding unit 56. Entropy coding unit 56 may encode the information indicating the selected intra-prediction mode. Video encoder 20 may include, in the transmitted bitstream configuration data, multiple intra-prediction mode index tables, multiple intra-prediction mode index tables, multiple modified intra-prediction mode index tables (also referred to as codeword mapping tables), definitions of coding contexts for various blocks, and an indication of the maximum likelihood intra-prediction mode, intra-prediction mode index table, and modified intra-prediction mode index table used for each context.
[0079] Video encoder 20 forms a residual video block by subtracting the prediction data from mode select unit 40 from the original video block being encoded. Adder 50 represents the component that performs this subtraction operation.
[0080] Transform processing unit 52 applies a transform, such as a discrete cosine transform (DCT) or a conceptually similar transform, to the residual block, producing a video block containing residual transform coefficient values. Transform processing unit 52 may perform other transforms conceptually similar to the DCT. Wavelet transforms, integer transforms, subband transforms, or other types of transforms may also be used.
[0081] The transform processing unit 52 applies a transform to the residual block, generating a block of residual transform coefficients. The transform may convert the residual information from the pixel value domain to a transform domain, such as the frequency domain. The transform processing unit 52 may send the resulting transform coefficients to the quantization unit 54. The quantization unit 54 quantizes the transform coefficients to further reduce the bit rate. The quantization process may reduce the bit depth associated with some or all of the coefficients. The degree of quantization may be modified by adjusting a quantization parameter. In some examples, the quantization unit 54 may then perform a scan of a matrix containing the quantized transform coefficients. Alternatively, the entropy coding unit 56 may perform the scan.
[0082] After quantization, entropy coding unit 56 entropy codes the quantized transform coefficients. For example, entropy coding unit 56 may perform context-adaptive variable-length coding (CAVLC), context-adaptive binary arithmetic coding (CABAC), syntax-based context-adaptive binary arithmetic coding (SBAC), probability interval partitioning entropy (PIPE) coding, or other entropy coding techniques. In the case of context-based entropy coding, the context may be based on neighboring blocks. Following entropy coding by entropy coding unit 56, the coded bitstream may be transmitted to another device (e.g., video decoder 30) or archived for later transmission or retrieval.
[0083] Inverse quantization unit 58 and inverse transform unit 60 apply inverse quantization and inverse transformation, respectively, to reconstruct a residual block in the pixel domain, e.g., for subsequent use as a reference block. Motion compensation unit 44 may calculate a reference block by adding the residual block to a predictive block of one of the frames in reference frame memory 64. Motion compensation unit 44 may also apply one or more interpolation filters to the reconstructed residual block to calculate sub-integer pixel values for use in motion estimation. Adder 62 adds the reconstructed residual block to the motion-compensated predictive block generated by motion compensation unit 44 to generate a reconstructed video block for storage in reference frame memory 64. The reconstructed video block may be used by motion estimation unit 42 and motion compensation unit 44 as a reference block for inter-coding blocks in subsequent video frames.
[0084] Figure 3 is a block diagram illustrating an example of a video decoder 30 capable of implementing bidirectional prediction techniques. In the example of Figure 3, video decoder 30 includes an entropy decoding unit 70, a motion compensation unit 72, an intra prediction unit 74, an inverse quantization unit 76, an inverse transform unit 78, a reference frame memory 82, and an adder 80. Video decoder 30 may, in some examples, perform a decoding path that is generally the reverse of the encoding path described with respect to video encoder 20 (Figure 2). Motion compensation unit 72 may generate prediction data based on motion vectors received from entropy decoding unit 70, while intra prediction unit 74 may generate prediction data based on an intra prediction mode indicator received from entropy decoding unit 70.
[0085] During the decoding process, video decoder 30 receives from video encoder 20 an encoded video bitstream representing video blocks of encoded video slices and associated syntax elements. An entropy decoding unit 70 of video decoder 30 entropy decodes the bitstream to generate quantized coefficients, motion vectors or intra-prediction mode indicators, and other syntax elements. Entropy decoding unit 70 forwards the motion vectors and other syntax elements to motion compensation unit 72. Video decoder 30 may receive syntax elements at the video slice level and / or the video block level.
[0086] When a video slice is coded as an intra-coded (I) slice, intra prediction unit 74 may generate prediction data for video blocks of the current video slice based on the signaled intra prediction mode and data from previously decoded blocks of the current frame or picture. When a video frame is coded as an inter-coded slice (i.e., B, P, or GPB), motion compensation unit 72 generates prediction blocks for video blocks of the current video slice based on the motion vectors and other syntax elements received from entropy decoding unit 70. The prediction blocks may be generated from one of the reference pictures in one of the reference picture lists. Video decoder 30 may construct the reference frame lists, List 0 and List 1, using a default construction technique based on reference pictures stored in reference frame memory 82.
[0087] Motion compensation unit 72 determines prediction information for video blocks in the current video slice by parsing the motion vectors and other syntax elements, and uses the prediction information to generate a prediction block for the current video block being decoded. For example, motion compensation unit 72 uses some of the received syntax elements to determine the prediction mode used to encode video blocks in the video slice, the inter-prediction slice type (e.g., B slice, P slice, or GPB slice), configuration information for one or more of the slice's reference picture lists, the motion vectors for each inter-coded video block of the slice, the inter-prediction status for each inter-coded video block of the slice, and other information for decoding video blocks in the current video slice.
[0088] Motion compensation unit 72 may also perform interpolation based on an interpolation filter. Motion compensation unit 72 may use an interpolation filter used by video encoder 20 during encoding of the video block to calculate interpolated values for sub-integer pixels of the reference block. In this case, motion compensation unit 72 may determine the interpolation filter used by video encoder 20 from the received syntax element and use the interpolation filter to generate the predictive block.
[0089] Data for texture images corresponding to the depth map may be stored in reference frame memory 82. Motion compensation unit 72 may also be configured to inter-predict depth blocks of the depth map.
[0090] Although certain embodiments are described herein using the concept of slices, embodiments may use tiles and / or groups of tiles instead of or in addition to slices.
[0091] Acronym and term definitions CTU / CTB - Coding Tree Unit / Coding Tree Block CU / CB – Coding Unit / Coding Block PU / PB – Prediction Unit / Prediction Block TU / TB – Conversion Unit / Conversion Block HEVC - High Efficiency Video Coding Video coding schemes such as H.264 / AVC and HEVC are designed around the successful principle of block-based hybrid video coding, whereby a picture is first partitioned into blocks, and then each block is predicted by using intra-picture prediction or inter-picture prediction.
[0092] ITU-T VCEG (Q6 / 16) and ISO / IEC MPEG (JTC 1 / SC 29 / WG 11) are studying the potential need for standardization of future video coding technologies (including current and near-term extensions for screen content coding and high dynamic range coding) with compression capabilities significantly exceeding the current HEVC standard. Both groups are collaborating on this exploration activity in a joint effort known as the Joint Video Exploration Team (JVET), which is evaluating compression technology designs proposed by experts in the field.
[0093] The VTM (Versatile Test Model) standard uses 35 intra modes, while the BMS (Benchmark Set) uses 67 intra modes. To encode the 67 intra modes, the current intra mode encoding method in BMS uses the following method:
[0094] To accommodate the increasing number of directional intra-modes in BMS, an intra-mode coding method with six Most Probable Modes (MPMs) is used. Two main technical aspects are involved: 1) Derivation of 6MPM, and 2) Entropy coding for 6MPM and non-MPM modes.
[0095] In BMS, the modes included in the MPM list are classified into three groups: adjacent intra modes, derived intra modes, and default intra modes.
[0096] FIG. 4 shows a current coding unit 400 and five neighboring blocks 402. The current coding unit 400 is also referred to as the current coding block. Five neighboring intra-prediction modes, i.e., the intra-prediction modes of the five neighboring blocks, are used to form an MPM list. The positions of the five neighboring blocks are the same as those used in the merge mode, i.e., left (L), top (A), bottom-left (BL), top-right (AR), and top-left (AL), as shown in FIG. 4. An initial MPM list is formed by inserting the five neighboring intra-modes, planar mode, and DC mode into the MPM list. A pruning process is used to remove duplicate modes so that the MPM list contains only unique modes. The initial modes are included in the following order: left, top, planar, DC, bottom-left, top-right, and top-left.
[0097] If the MPM list is not full (i.e., there are less than six MPM candidates in the list), derived modes are added; these intra-modes are obtained by adding -1 or +1 to the angular modes already included in the MPM list. Derivation does not apply to non-angular modes, i.e., DC or planar.
[0098] Finally, if the MPM list is not yet complete, the default modes are added in the following order: vertical, horizontal, intramode2, and diagonal. In Figure 6, these modes are shown as HOR_IDX, DIA_IDX, MODE2, and VER_IDX, respectively. This process results in a unique list of six MPM modes.
[0099] For entropy coding of 6MPM, a truncated, unary, and binary version of MPM is used. The first three bins are coded with a context that depends on the MPM mode associated with the currently signaled bin. MPM modes fall into one of three categories: (a) the mode is horizontal (MPM mode is subdiagonal), (b) vertical (MPM mode is greater than diagonal), or (c) non-angular (DC and planar) classes. Thus, three contexts are used to signal the MPM index.
[0100] The remaining 61 non-MPMs are coded as follows: The 61 non-MPMs are first divided into two sets: a selected mode set and a non-selected mode set. The selected mode set contains 16 modes, and the rest (45 modes) are assigned to the non-selected mode set. The mode set to which the current mode belongs is indicated in the bitstream by a flag. Next, modes from the selected set are signaled with a 4-bit fixed-length code, and modes from the non-selected set are coded with a truncated binary code. The selected mode set is generated by subsampling the total 61 non-MPM modes with the following indices: Selection mode set = {0, 4, 8, 12, 16, 20...60}, Non-selection mode set = {1,2,3,5,6,7,9,10...59}.
[0101] An overview of the different INTRA mode signaling mechanisms is given in Table 1.
[0102] [Table 1] The present disclosure is directed to improvements to intra-mode signaling schemes.
[0103] The intra-mode coding schemes currently described in BMS are considered complex, and therefore a cleaner solution is desired.
[0104] The drawback of the selected mode set is that the index list is always constant and does not adapt based on the current block properties (e.g., INTRA mode of neighboring blocks). The drawback of the non-selected mode set is that the index list is always constant and does not adapt based on the current block properties (e.g., INTRA mode of neighboring blocks).
[0105] This disclosure proposes an intra-mode signaling scheme with 6 MPM and the remaining 61 modes, where the remaining 61 modes are coded using a truncated binary scheme. The maximum likelihood mode is also referred to as the maximum likelihood intra-prediction mode, and the remaining modes are also referred to as the residual intra-prediction modes. Therefore, embodiments can be configured to code all remaining intra-modes, i.e., all intra-modes not included in the MPM list (i.e., "non-MPM modes"), and signal them in the bitstream using a truncated binary scheme. The remaining 61 intra-modes can also be coded using a 6-bit fixed-length code, but a drawback of a 6-bit fixed-length code is that only 61 of the 64 possible codewords are used, leaving the remaining 3 unused. Instead of a fixed-length code, a truncated binary scheme is proposed, which uses only 5 bits to signal the first 3 remaining modes and 6 bits to code the remaining 58 modes. The 6 MPM modes are coded, for example, using unary coding. Yet another embodiment may be configured to use MPM lists and residual mode lists that include different numbers of intra modes, for example, an MPM list that includes approximately six modes and a residual mode list that includes approximately 61 modes. This embodiment may be particularly advantageous when the number of residual modes is not equal to a power of two, since fixed-length coding does not efficiently use all possible codewords. An embodiment using truncated binary coding may signal some modes using fewer bits compared to other residual modes, and thus may signal the residual modes more efficiently.
[0106] An embodiment of the encoding method may include using the encoding device to select an intra-prediction mode for a current block, and, if the selected intra-prediction mode is a residual mode, encoding the selected intra-prediction mode using truncated binary coding. The residual mode may be included in or part of a set or plurality of residual modes, e.g., a residual mode list. An embodiment may further include determining that the intra-prediction mode is not included in (or outside of) an MPM list, and encoding the selected intra-prediction mode using truncated binary coding. In an embodiment, the selected intra-prediction mode is not included in (or outside of) an MPM list. An embodiment may include an MPM list and a residual mode, e.g., may include only an MPM list and a residual mode (non-MPM mode), and not distinguish a further set of intra-prediction modes for encoding or signaling, where none of the intra-prediction modes of the residual mode are included in the MPM list. In embodiments, the MPM list may include 6 intra-prediction modes and the residual modes may include 61 modes. Embodiments may include adding a truncated binary code to the bitstream. Further embodiments include an encoder, e.g., an encoding apparatus or encoding device, configured to perform any of the encoding methods.
[0107] An embodiment of the decoding method may include obtaining a truncated binary code, for example, by parsing a bitstream or by other means, decoding the truncated binary code to obtain an intra-prediction mode for a residual mode, for example, from a plurality of residual modes or a set of residual modes, and generating a current block using the obtained intra-prediction mode. Further features described with respect to the encoding method apply equally or correspondingly to each embodiment of the decoding. Further embodiments include a decoder, e.g., a decoding apparatus or device, configured to perform any of the decoding methods.
[0108] To satisfy the first three modes in the residual mode list, several solutions were proposed.
[0109] The first three modes in the Residual Mode list can be filled in several ways.
[0110] First, by using a mode from a predetermined default mode list: {Planar mode (PLANAR_IDX, corresponding to index "0"), DC mode (DC_IDX, corresponding to index "1"), vertical mode (VER_IDX), horizontal mode (HOR_IDX), intra mode 2 (MODE2, corresponding to index "2"), vertical diagonal mode (VDIA_IDX), and diagonal mode (DIA_IDX)} (terms in parentheses refer to the corresponding terms in Figure 6, details of which are provided below. The default mode list contains only intra prediction modes and is also referred to as the default intra prediction mode list).
[0111] Second, by using an offset to an angular mode (angular intra prediction mode) already present in the MPM list, where the offset can be + / - N, where N is a possible integer value with values {1, 2, 3, 4}. The offset can only be added to the first two angular modes from the MPM list.
[0112] Third, the intra mode of the non-adjacent neighbors (angular intra prediction mode) can be used to fill the three modes. Figure 5 shows a current coding unit 500, a first-layer neighbor 502, and a second-layer neighbor 504. As shown in Figure 5, the second-layer neighbor intra mode can be used.
[0113] Fourth, as shown in Figure 6, in the first step, a given mode from the MPM list is taken and checked if it is "close" to one of the following mode categories {DC_IDX, HOR_IDX, DIA_IDX, VER_IDX, VDIA_IDX}, and in the second step, the mode categories are "sorted" based on the "majority" of modes that are close to it. In the third step, a residual mode list is generated by inserting modes that are close to the mode category that won in step 2.
[0114] FIG. 6 shows an example of 67 intra prediction modes, such as those proposed for VVC, where the 67 intra prediction modes include planar mode (index 0), DC mode (index 1), and angular modes with indices 2 to 66, where the bottom left angular mode in FIG. 3 refers to index 2 and the index numbers are incremented until index 66 is the top right-most angular mode in FIG.
[0115] The processing circuitry may be implemented in hardware or in a combination of hardware and software, such as by a software programmable processor.
[0116] 7 is a schematic diagram of a network device 700 according to one embodiment of the present disclosure. The network device 700 is suitable for implementing embodiments of the disclosure, as described herein. The network device 700 includes an ingress port 710 and a receiving unit (Rx) 720 for receiving data, a processor, logic unit, or central processing unit (CPU) 730 for processing the data, a transmitting unit (Tx) 740 and an egress port 750 for transmitting the data, and a memory 760 for storing data. The network device 700 may include optical-electrical (OE) and electro-optical (EO) components coupled to the ingress port 710, the receiving unit 720, the transmitting unit 740, and the egress port 750 for entering and leaving optical or electrical signals.
[0117] The processor 730 is implemented by hardware and software. The processor 730 may be implemented as one or more CPU chips, cores (e.g., multi-core processors), field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), and digital signal processors (DSPs). The processor 730 communicates with the ingress port 710, the receiving unit 720, the transmitting unit 740, the egress port 750, and the memory 760. The processor 730 includes an encoding module 770. The encoding module 770 implements the above-described disclosed embodiments. For example, the encoding module 770 implements, processes, prepares, or provides various networking functions. Thus, the inclusion of the encoding module 770 substantially improves the functionality of the network device 700 and transforms the network device 700 into a different state. Alternatively, the encoding module 770 is implemented as instructions stored in the memory 760 and executed by the processor 730.
[0118] Memory 760 may include one or more disks, tape drives, and solid state drives, and may be used as overflow data storage, store programs when such programs are selected for execution, and store instructions and data read during the execution of the programs. Memory 760 may be volatile and / or non-volatile, and may be read-only memory (ROM), random access memory (RAM), ternary content addressable memory (TCAM), and / or static random access memory (SRAM).
[0119] Further details of the present disclosure are provided in the following embodiments.
[0120] (Embodiment 1) An apparatus for determining an adaptive intra-prediction mode based on a maximum likelihood mode (MPM) list and a residual mode list having a first portion and a second portion, wherein the adaptive intra-prediction mode is one of a plurality of intra-prediction modes including a plurality of angular intra-prediction modes for predicting sample values of a current picture block, the apparatus having a processing circuit that generates the first portion of the residual mode list by including one or more angular intra-prediction modes determined based on the maximum likelihood mode list, such that the one or more angular intra-prediction modes of the first portion of the residual mode list are close to the respective angular intra-prediction modes of the maximum likelihood mode list, and the apparatus determines the adaptive intra-prediction mode by using fewer bits to encode or decode the adaptive intra-prediction mode when the adaptive intra-prediction mode is part of the first portion of the residual mode list than when the adaptive intra-prediction mode is part of the second portion of the residual mode list.
[0121] (Embodiment 2) 2. The apparatus of claim 1, wherein the processing circuit is configured to generate the first portion of the residual mode list by ranking a plurality of angular intra prediction mode categories in the maximum likelihood mode list according to the number and / or direction of angular intra prediction modes in each angular intra prediction mode category, and generating the first portion of the residual mode list by including one or more angular intra prediction modes from the highest ranked angular intra prediction mode category in the residual mode list.
[0122] (Embodiment 3) 3. The apparatus of claim 2, wherein the first portion of the residual mode list obtained from a predetermined default mode includes five angular intra-prediction mode categories, namely, DC mode (DC_IDX), vertical mode (VER_IDX), horizontal mode (HOR_IDX), intra mode 2 (2), vertical diagonal mode (VDIA_IDX), and diagonal mode DIA_IDX, and the angular intra-prediction mode list of the maximum likelihood mode list corresponding to each angular intra-prediction mode category corresponds, for example, to associating each of the angular intra-prediction modes of the maximum likelihood mode list with the angular intra-prediction mode category that is closest to the corresponding angular intra-prediction mode of the maximum likelihood mode list.
[0123] (Example 4) The device described in embodiment 2 or 3, wherein the processing circuitry is further configured to complete the first portion of the residual mode list by repeating step (ii) using the second-highest ranked angular intra-prediction mode category.
[0124] (Embodiment 5) An apparatus as described in embodiments 2 to 3, wherein each intra-prediction mode is identified by an intra-prediction mode index, and the processing circuit is configured to define the multiple angular intra-prediction mode categories based on respective angular intra-prediction modes associated with the horizontal direction, vertical direction, and one or more diagonal directions.
[0125] (Embodiment 6) An apparatus described in any one of embodiments 1 to 5, wherein each intra-prediction mode is identified by an intra-prediction mode index, and the processing circuit is configured to generate the first portion of the residual mode list by including one or more angular intra-prediction modes in the first portion of the residual mode list, and each intra-prediction mode index has an offset of +1, -1, +2, -2, +3, -3, +4, or -4 relative to the intra-prediction mode index of an angular intra-prediction mode in the maximum likelihood mode list.
[0126] (Embodiment 7) The device described in embodiment 6, wherein each list element of the maximum likelihood mode list is identified by a maximum likelihood mode index, the processing circuit is configured to generate the first portion of the residual mode list by including one or more angular intra prediction modes in the first portion of the residual mode list, and each angular intra prediction mode index of the residual mode list has an offset of +1, -1, +2, -2, +3, -3, +4 or -4 relative to the intra prediction mode index of an angular intra prediction mode of the maximum likelihood mode list.
[0127] (Embodiment 8) The device described in embodiment 7, wherein the processing circuit is configured to generate the first portion of the residual mode list by including one or more angular intra prediction modes in the first portion of the residual mode list based on a processing loop starting from an offset of +1 to the intra prediction mode index of the angular intra prediction mode of the maximum likelihood mode list, which is incremented during each round of the processing loop, or an offset of -1 to the intra prediction mode index of the angular intra prediction mode of the maximum likelihood mode list, which is decremented during each round of the processing loop.
[0128] (Embodiment 9) The device described in embodiment 8, wherein the processing circuit is configured to repeat the processing loop for angular intra-prediction modes of the maximum likelihood mode list having a small maximum likelihood mode index more frequently than the processing loop for angular intra-prediction modes of the maximum likelihood mode list having a large maximum likelihood mode list index.
[0129] (Embodiment 10) The device described in embodiment 8, wherein the processing circuit is configured to generate the first portion of the residual mode list by including one or more angular intra prediction modes in the first portion of the residual mode list, and each angular intra prediction mode index of the one or more angular intra prediction modes has an offset of +2, -2, +4, -4, +6, -6, +8, or -8 relative to the angular intra prediction mode index of an angular intra prediction mode in the maximum likelihood mode list.
[0130] (Embodiment 11) An apparatus described in any one of embodiments 1 to 10, wherein the processing circuit is further configured to generate the second portion of the residual mode list by including an intra-prediction mode of the plurality of intra-prediction modes in the second portion of the residual mode list, the intra-prediction mode being part of the maximum likelihood mode and not part of the first portion of the residual mode list.
[0131] (Embodiment 12) An apparatus described in any one of the preceding embodiments, wherein the processing circuitry is further configured to be implemented in hardware or a combination of hardware and software.
[0132] (Embodiment 13) The device described in any one of embodiments 1 to 12, wherein the processing circuit is further configured to predict sample values of the current picture block using the adopted intra prediction mode and provide a predicted picture block.
[0133] (Embodiment 14) The device described in embodiment 13, wherein the device is an encoding device and the processing circuit is further configured to encode the current picture block based on the predicted picture block and the adopted intra prediction mode.
[0134] (Embodiment 15) The device described in embodiment 14, wherein the processing circuit is further configured to signal a truncated binary code for the intra prediction mode of the current picture block if the intra prediction mode belongs to a residual mode list.
[0135] (Embodiment 16) The device described in embodiment 15, wherein the device is a decoding device and the processing circuit is further configured to decode the current picture block based on the predicted picture block and the adopted intra prediction mode.
[0136] (Embodiment 17) The device described in embodiment 16, wherein the processing circuit is further configured to analyze the truncated binary code to determine the intra prediction mode of the current picture block if the intra prediction mode belongs to a residual mode list.
[0137] (Embodiment 18) A method for determining an adopted intra prediction mode based on a maximum likelihood mode list and a residual mode list having a first portion and a second portion, wherein the adopted intra prediction mode is one of a plurality of intra prediction modes including a plurality of angular intra prediction modes that predict sample values of a current picture block, the method comprising: generating the first portion of the residual mode list by including one or more angular intra prediction modes determined based on the maximum likelihood mode list, so that the one or more angular intra prediction modes of the first portion of the residual mode list are close to each angular intra prediction mode of the maximum likelihood mode list; and determining the adopted intra prediction mode when the adopted intra prediction mode is part of the first portion of the residual mode list, for encoding or decoding the adopted intra prediction mode using fewer bits than when the adopted intra prediction mode is part of the second portion of the residual mode list.
[0138] (Embodiment 19) A computer program product comprising program code that, when executed on a computer or processor, performs the method of embodiment 14.
[0139] (Embodiment 20) The device of any one of embodiments 1 to 13, wherein the processing circuitry is further configured to determine the first portion of the remaining mode list from a predetermined default mode list consisting of planar mode (PLANAR_IDX), DC mode (DC_IDX), vertical mode (VER_IDX), horizontal mode (HOR_IDX), intra mode 2 (2), vertical diagonal mode (VDIA_IDX), and diagonal mode (DIA_IDX).
[0140] (Embodiment 21) An apparatus described in any one of embodiments 1 to 13, wherein the processing circuit is further configured to determine the first part of the residual mode list by including the intra prediction modes of the second layer neighboring part of the current picture block.
[0141] (Embodiment 22) In both the encoder and decoder, the intra mode is signaled by using a truncated binary for non-MPM intra modes.
[0142] (Embodiment 23) Because truncated binary is used to encode the 61 non-MPMs, the first three modes require 5 bits for signaling, and therefore the first three modes of the non-MPM list are generated based on the intra modes already included in the MPM list.
[0143] While several embodiments have been provided in this disclosure, it will be understood that the disclosed systems and methods may be embodied in many other specific forms without departing from the spirit or scope of the disclosure. The examples should be considered illustrative and not limiting, and the intention is not to be limited to the details provided herein. For example, various elements or components may be combined or integrated into another system, or certain features may be omitted or not implemented.
[0144] Furthermore, techniques, systems, subsystems, and methods described and illustrated individually or separately in various embodiments may be combined or integrated with other systems, modules, techniques, or methods without departing from the scope of the present disclosure. Other items illustrated or described as coupled or directly coupled or in communication with each other may be indirectly coupled or in communication electrically, mechanically, or otherwise through some interface, device, or intermediate component. Other examples of changes, substitutions, and alterations will be ascertainable by those skilled in the art and may be made without departing from the spirit and scope disclosed herein.
Claims
1. 1. A method for storing a bitstream containing coded information indicating an intra-prediction mode of a block, comprising: receiving the bitstream; storing the bitstream in a storage device; Including, all intra prediction modes belong to either an MPM list or a residual mode, the MPM list has 6 modes and the residual mode has 61 modes, when the intra prediction mode is a residual mode, the information indicating the intra prediction mode is coded using truncated binary coding, when the intra prediction mode is one of the first three modes of the residual modes, the information indicating the intra prediction mode is coded using 5 bits, and when the intra prediction mode is not one of the first three modes of the residual modes, the information indicating the intra prediction mode is coded using 6 bits.
2. 2. The method of claim 1, wherein the initial modes in the remaining mode list are from a predetermined default mode list.
3. 3. The method of claim 2, wherein the predetermined default mode list includes planar mode (PLANAR_IDX), dc mode (DC_IDX), vertical mode (VER_IDX), horizontal mode (HOR_IDX), intra mode 2 (2), vertical diagonal mode (VDIA_IDX), and diagonal mode (DIA_IDX).
4. A method described in any one of claims 2 to 3, wherein the initial mode in the residual mode list has an offset relative to the angular mode included in the MPM list.
5. 5. The method of claim 4, wherein the offset is + / - N, where N is an integer having a value of 1, 2, 3, or 4.
6. 6. The method of claim 4, wherein the offset is added only to the first of the two angular modes in the MPM list.
7. The method of claim 1 , wherein the initial modes of the residual modes include modes of neighboring blocks that are not immediately adjacent to the current block.
8. The method of claim 1 , wherein the initial modes among the remaining modes include modes that are second-tier neighbors of the current block but are not first-tier neighbors.
9. A device for storing a bitstream, the device comprising at least one storage medium and at least one communication interface, the at least one communication interface is configured to receive or transmit the bitstream; the at least one storage medium is configured to store the bitstream; a device, wherein all intra prediction modes belong to either an MPM list or a residual mode, the MPM list having 6 modes and the residual mode having 61 modes, when the intra prediction mode is a residual mode, information indicating the intra prediction mode is coded using truncated binary coding, when the intra prediction mode is one of the first three modes of the residual modes, the information indicating the intra prediction mode is coded using 5 bits, and when the intra prediction mode is not one of the first three modes of the residual modes, the information indicating the intra prediction mode is coded using 6 bits.
Citation Information
Patent Citations
Variable number of intra modes for video coding.
JP2019530367A
Method and apparatus for intra prediction using non-square blocks
US20140140404A1
Variable number of intra modes for video coding
US20180098064A1
Method and apparatus for intra chroma coding in image and video coding
US20190387222A1
Method and apparatus for intra chroma coding in image and video coding
WO2018064956A1