Video data encoding method, electronic device, non-transitory computer-readable storage medium, video data decoding method, and method for storing bitstream

By employing prediction mode signaling in video coding, the efficiency of encoding and decoding high-definition video data is improved, addressing the challenge of maintaining image quality with reduced data processing.

JP2026012910APending Publication Date: 2026-01-27BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2025183526
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2019-09-07
Filing Date
2025-10-30
Publication Date
2026-01-27

AI Technical Summary

Technical Problem

The challenge of efficiently encoding and decoding video data, particularly with high-definition formats like 4Kx2K or 8Kx4K, is to maintain image quality while reducing the amount of data to be processed.

Method used

Implementing systems and methods for prediction mode signaling in video coding, including decoding video data using palette mode, intra prediction mode, and inter prediction mode based on specific syntax elements from the bitstream.

Benefits of technology

Enhances the efficiency of video data encoding and decoding processes by optimizing the use of prediction modes, thereby improving the quality and reducing the data requirements for high-definition video formats.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026012910000001_ABST
    Figure 2026012910000001_ABST
Patent Text Reader

Abstract

To provide a system and method for more efficiently encoding / decoding video data while maintaining image quality of the decoded video data.SOLUTION: Wherein the method encodes video data corresponding to a non-skip mode coded block using palette mode when the first syntax element has a first value and the third syntax element has the first value, when the first syntax element has the first value and the third syntax element has the second value, the video data corresponding to the Non-Skip mode coded block is coded using an intra prediction mode, and when the first syntax element has the second value, the video data corresponding to the Non-Skip mode coded block is coded using an inter prediction mode, and the video data corresponding to the Non-Skip mode coded block is transmitted via a bitstream.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This application relates generally to encoding and decoding video data, and more particularly to a method and system for prediction mode signaling in video coding. [Background technology]

[0002] Digital video is supported by a variety of electronic devices, such as digital televisions, laptop or desktop computers, tablet computers, digital cameras, digital recording devices, digital media players, video game consoles, smartphones, video teleconferencing devices, and video streaming devices. Electronic devices transmit, receive, encode, decode, and / or store digital video data by implementing video compression / decompression standards defined by the MPEG-4, ITU-T H.263, ITU-T H.264 / MPEG-4, Part 10, Advanced Video Coding (AVC), High Efficiency Video Coding (HEVC), and Versatile Video Coding (VVC) standards. Video compression typically involves performing spatial (intra-frame) prediction and / or temporal (inter-frame) prediction to reduce or remove redundancy inherent in the video data. In block-based video coding, a video frame is divided into one or more slices, each of which has multiple video blocks, which may also be called coding tree units (CTUs). Each CTU may contain one coding unit (CU) or may be recursively divided into smaller CUs until a predetermined minimum CU size is reached. Each CU (also called a leaf CU) contains one or more transform units (TUs), and each CU also contains one or more prediction units (PUs). Each CU may be coded in either intra mode, inter mode, or IBC mode. Video blocks in an intra-coded (I) slice of a video frame are coded using spatial prediction with respect to reference samples in neighboring blocks in the same video frame. Video blocks in an inter-coded (P or B) slice of a video frame may use spatial prediction with respect to reference samples in neighboring blocks in the same video frame, or temporal prediction with respect to reference samples in other previous and / or future reference video frames.

[0003] Spatial or temporal prediction based on previously coded reference blocks, e.g., neighboring blocks, yields a predicted block for the current video block to be coded. The process of finding the reference block can be achieved by a block matching algorithm. Residual data representing pixel differences between the current block to be coded and the predicted block is called a residual block or prediction error. Inter-coded blocks are coded according to a reference block in a reference frame that forms the predicted block and a motion vector that points to the residual block. The process of determining the motion vector is typically called motion estimation. Intra-coded blocks are coded according to an intra-prediction mode and the residual block. For further compression, the residual block may be transformed from the pixel domain to a transform domain, e.g., the frequency domain, resulting in residual transform coefficients, which may then be quantized. The quantized transform coefficients may first be arranged in a two-dimensional array, scanned to generate a one-dimensional vector of transform coefficients, and then entropy coded into a video bitstream to achieve even greater compression.

[0004] The encoded video bitstream is then stored on a computer-readable recording medium (e.g., flash memory) for access by another electronic device with digital video capabilities, or transmitted directly to an electronic device via wired or wireless connections. The electronic device performs video decompression (which is the opposite process to the video compression described above) by parsing the coded video bitstream to obtain syntax elements from the bitstream, reconstructing digital video data from the coded video bitstream into its original format based at least in part on the syntax elements obtained from the bitstream, and rendering the reconstructed digital video data on a display of the electronic device. Summary of the Invention [Problem to be solved by the invention]

[0005] With digital video quality ranging from high definition to 4Kx2K or 8Kx4K, the amount of video data to be coded / decoded increases exponentially. How to code / decode video data more efficiently while maintaining the image quality of the decoded video data is always a challenge. [Means for solving the problem]

[0006] This application describes implementations related to encoding and decoding video data, and more particularly, describes systems and methods for prediction mode signaling in video coding.

[0007] According to a first aspect of the present application, a method for decoding video data is executed on a computing device having one or more processors and a memory storing a plurality of programs executed by the one or more processors. The method includes receiving video data corresponding to a non-skip mode coded block from a bitstream, determining a parameter set associated with the non-skip mode coded block, obtaining a first syntax element from the bitstream if the parameter set satisfies a first condition, obtaining a second syntax element from the bitstream if the parameter set satisfies a second condition, obtaining a third syntax element from the bitstream if the parameter set satisfies a third condition, decoding the video data corresponding to the non-skip mode coded block using a palette mode when the first syntax element and the third syntax element have a first value, decoding the video data using an intra prediction mode when the first syntax element has a first value and the third syntax element has a second value, and decoding the video data using an inter prediction mode when the first syntax element has a second value.

[0008] According to a second aspect of the present application, a computing device includes one or more processors, a memory, and a plurality of programs stored in the memory, the programs, when executed by the one or more processors, causing the computing device to perform operations as described above.

[0009] According to a third aspect of the present application, a non-transitory computer-readable storage medium stores a plurality of programs for execution by a computing device having one or more processors, the programs, when executed by the one or more processors, causing the computing device to perform operations as described above. [Brief explanation of the drawings]

[0010] [Figure 1] FIG. 1 is a block diagram illustrating an example video encoding and decoding system according to some implementations of the present disclosure. [Figure 2] FIG. 1 is a block diagram illustrating an example video encoder according to some implementations of this disclosure. [Figure 3] FIG. 2 is a block diagram illustrating an example video decoder according to some implementations of the present disclosure. [Figure 4A] A block diagram showing how a frame is recursively quadtree partitioned into multiple video blocks of different sizes, according to some implementations of this disclosure. [Figure 4B] A block diagram showing how a frame is recursively quadtree partitioned into multiple video blocks of different sizes, according to some implementations of this disclosure. [Figure 4C] A block diagram showing how a frame is recursively quadtree partitioned into multiple video blocks of different sizes, according to some implementations of this disclosure. [Figure 4D] A block diagram showing how a frame is recursively quadtree partitioned into multiple video blocks of different sizes, according to some implementations of this disclosure. [Figure 4E]A block diagram showing how a frame is recursively quadtree partitioned into multiple video blocks of different sizes, according to some implementations of this disclosure. [Figure 5] 1 is a block diagram illustrating different prediction modes of a coding unit, according to some implementations of this disclosure. [Figure 6] 10 is a flowchart illustrating an example process for implementing a technique for a video coder signaling a prediction mode, according to some implementations of this disclosure. DETAILED DESCRIPTION OF THE INVENTION

[0011] The accompanying drawings, which are included to provide a further understanding of the embodiments, and which are incorporated in and constitute a part of this specification, illustrate the described embodiments and, together with the description, serve to explain the underlying principles, and like reference numerals refer to corresponding parts.

[0012] Reference will now be made in detail to certain embodiments, examples of which are illustrated in the accompanying drawings. In the following detailed description, numerous non-limiting specific details are set forth to aid in an understanding of the subject matter presented herein. However, it will be apparent to those skilled in the art that various alternatives may be employed and the subject matter may be practiced without these specific details without departing from the scope of the claims. For example, it will be apparent to those skilled in the art that the subject matter presented herein may be implemented on many types of electronic devices having digital video capabilities.

[0013] 1 is a block diagram illustrating an example system 10 for encoding and decoding video blocks in parallel, according to some implementations of this disclosure. As shown in FIG. 1, system 10 includes a source device 12, which generates and encodes video data that is subsequently decoded by a destination device 14. Source device 12 and destination device 14 may include any of a wide variety of electronic devices, including desktop or laptop computers, tablet computers, smartphones, set-top boxes, digital televisions, cameras, display devices, digital media players, video game consoles, video streaming devices, etc. In some implementations, source device 12 and destination device 14 are equipped with wireless communication capabilities.

[0014] In some implementations, destination device 14 may receive encoded video data to be decoded via link 16. Link 16 may include any type of communication medium or device capable of moving encoded video data from source device 12 to destination device 14. In one example, link 16 may comprise a communication medium that enables source device 12 to transmit encoded video data directly to destination device 14 in real time. The encoded video data may be modulated according to a communication standard, such as a wireless communication protocol, and transmitted to destination device 14. The communication medium may include any wireless or wired communication medium, such as the radio frequency (RF) spectrum or one or more physical transmission lines. The communication medium may 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 communication medium may include a router, switch, base station, or other network that transmits the encoded video data from source device 12 to destination device 14. It may include any other equipment that may be useful to facilitate communication to the destination device 14 .

[0015] In some other implementations, the encoded video data may be transmitted from output interface 22 to storage device 32. The encoded video data in storage device 32 can then be accessed by destination device 14 via input interface 28. Storage device 32 may include any of a variety of distributed or locally accessed data storage media, such as a hard drive, Blu-ray disc, DVD, CD-ROM, flash memory, volatile or non-volatile memory, or any other suitable digital storage medium for storing encoded video data. In a further example, storage device 32 may correspond to a file server or another intermediate storage device capable of holding the encoded video data generated by source device 12. Destination device 14 may access the stored video data from storage device 32 via streaming or download. The file server may be any type of computer capable of storing encoded video data and transmitting the encoded video data to destination device 14. Exemplary file servers include a web server, an FTP server, a network-attached storage (NAS) device, or a local disk drive. Destination device 14 may access the encoded video data via any standard data connection, including a wireless channel (e.g., a Wi-Fi connection), a wired connection (e.g., DSL, 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 storage device 32 may be a streaming transmission, a download transmission, or a combination of both.

[0016] 1, source device 12 includes video source 18, video encoder 20, and output interface 22. Video source 18 may include sources such as a video capture device, e.g., a video camera, a video archive containing previously captured video, a video feed interface for receiving video from a video content provider, and / or a computer graphics system for generating computer graphics data as source video, or a combination of such sources. As an example, if video source 18 is a video camera in a security surveillance system, source device 12 and destination device 14 may form a camera phone or video phone. However, the implementation described in this application is applicable to video encoding generally and may be applicable to wireless and / or wired applications.

[0017] The captured, pre-captured, or computer-generated video may be encoded by video encoder 20. The encoded video data may be transmitted directly to destination device 14 via output interface 22 of source device 12. The encoded video data may also be stored in storage device 32 for subsequent access by destination device 14 or other devices for decoding and / or playback. Output interface 22 may further include a modem and / or a transmitter.

[0018] Destination device 14 includes an input interface 28, a video decoder 30, and a display device 34. Input interface 28 may include a receiver and / or modem and may receive encoded video data over link 16. The encoded video data communicated over link 16 or provided on storage device 32 may include various syntax elements generated by video encoder 20 for use by video decoder 30 in decoding the video data. Such syntax elements may be transmitted over a communications medium, stored on a storage medium, stored on a file server, or included within the encoded video data.

[0019] In some implementations, destination device 14 may include a display device 34, which may be an integrated display device, and an external display device configured to communicate with destination device 14. Display device 34 displays the decoded video data to a user and may include any of a variety of display devices, such as a liquid crystal display, a plasma display, an organic light emitting diode, or another type of display device.

[0020] Video encoder 20 and video decoder 30 may operate in accordance with proprietary or industry standards, such as VVC, HEVC, MPEG-4 Part 10, AVC (Advanced video Coding), or extensions of such standards. It should be understood that the present application is not limited to a particular video encoding / decoding standard and may be applicable to other video encoding / decoding standards. In general, it is contemplated that video encoder 20 of source device 12 may be configured to encode video data in accordance with any of these current or future standards. Similarly, it is also contemplated that video decoder 30 of destination device 14 may be configured to decode video data in accordance with any of these current or future standards.

[0021] Video encoder 20 and video decoder 30 may each be implemented using one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or discrete The video encoder 20 and the video decoder 30 may be implemented as any of a variety of suitable encoder circuits, such as hardware logic, software, hardware, firmware, or any combination thereof. If implemented partially in software, the electronic device may store the software instructions on a suitable non-transitory computer-readable medium and execute the instructions in hardware using one or more processors to perform the video encoding / decoding operations disclosed in 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.

[0022] 2 is a block diagram illustrating an example video encoder 20 according to some implementations described herein. Video encoder 20 may perform intra-predictive and inter-predictive coding of video blocks within a video frame. Intra-predictive coding relies on spatial prediction to reduce or remove spatial redundancy in video data within a given video frame or picture. Inter-predictive coding relies on temporal prediction to reduce or remove temporal redundancy in video data within adjacent video frames or pictures of a video sequence.

[0023] 2, video encoder 20 includes video data memory 40, prediction processing unit 41, decoded picture buffer (DPB) 64, adder 50, transform processing unit 52, quantization unit 54, and entropy coding unit 56. Prediction processing unit 41 further includes motion estimation unit 42, motion compensation unit 44, partitioning unit 45, intra-prediction processing unit 46, and intra-block copy (BC) unit 48. In some implementations, video encoder 20 also includes inverse quantization unit 58, inverse transform processing unit 60, and adder 62 for video block reconstruction. A deblocking filter (not shown) is disposed between adder 62 and DPB 64 to decode block boundaries. may be filtered to remove blockiness artifacts from the reconstructed video. An in-loop filter (not shown) may be used to filter the output of summer 62, in addition to the deblocking filter. Video encoder 20 may take the form of a fixed or programmable hardware unit, or may be divided among one or more of the fixed or programmable hardware units shown.

[0024] Video data memory 40 may store video data to be encoded by components of video encoder 20. The video data in video data memory 40 may be obtained, for example, from video source 18. DPB 64 is a buffer that stores reference video data for use in encoding video data by video encoder 20 (e.g., in intra-predictive or inter-predictive coding modes). Video data memory 40 and DPB 64 may take the form of any of a variety of memory devices. In various examples, video data memory 40 may be on-chip with other components of video encoder 20 or may be off-chip relative to these components.

[0025] As shown in FIG. 2, after receiving video data, partitioning unit 45 within prediction processing unit 41 partitions the video data into video blocks. This partitioning may also include dividing the video frame into slices, tiles, or other larger coding units (CUs) according to a predefined partitioning structure, such as a quadtree structure, associated with the video data. The video frame may be partitioned into multiple video blocks (or sets of video blocks called tiles). Prediction processing unit 41 may select one of multiple possible predictive coding modes, such as one of multiple intra-predictive coding modes or one of multiple inter-predictive coding modes, for the current video block based on the error result (e.g., the code rate and distortion level). Prediction processing unit 41 may provide the resulting intra- or inter-predictive coded block to adder 50 to generate a residual block, which may then be provided to adder 62, which reconstructs the coded block for use as part of the reference frame. Prediction processing unit 41 also provides syntax elements, such as motion vectors, intra-mode indicators, partitioning information, and other such syntax information, to entropy coding unit 56.

[0026] To select an appropriate intra-prediction coding mode for the current video block, intra-prediction processing unit 46 within prediction processing unit 41 may perform intra-prediction coding of the current video block relative to one or more neighboring blocks in the same frame as the current block to be coded to provide spatial prediction. Motion estimation unit 42 and motion compensation unit 44 within prediction processing unit 41 perform inter-prediction coding of the current video block relative to one or more predictive blocks in one or more reference frames to provide temporal prediction. Video encoder 20 may, for example, perform multiple coding passes to select an appropriate coding mode for each block of video data.

[0027] In some implementations, motion estimation unit 42 determines the inter-prediction mode for a current video frame by generating a motion vector that indicates the displacement of a prediction unit (PU) of a video block in the current video frame relative to a predictive block in a reference video frame according to a predetermined pattern in a sequence of video frames. Motion estimation performed by motion estimation unit 42 is the process of generating motion vectors, which estimate the motion of video blocks. The motion vector may, for example, indicate the displacement of a PU of a video block in the 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). The predetermined pattern may be a PU of a video block in the current video frame or picture relative to a predictive block in a reference frame (or other coding unit) according to a predetermined pattern in a sequence of video frames. Video frames can be designated as P-frames or B-frames. Intra BC unit 48 can determine vectors, e.g., block vectors, for intra BC coding in a manner similar to the determination of motion vectors by motion estimation unit 42 for inter-prediction, or can utilize motion estimation unit 42 to determine the block vectors.

[0028] A prediction block is a block of a reference frame that is deemed to closely match a PU of a video block to be encoded in terms of pixel differences, which may be determined by sum of absolute differences (SAD), sum of squared differences (SSD), or other difference metrics. In some implementations, video encoder 20 may calculate values ​​for sub-integer pixel positions of a reference frame stored in DPB 64. For example, video encoder 20 may interpolate values ​​for quarter-pixel positions, eighth-pixel positions, or other fractional pixel positions of a reference frame. Thus, motion estimation unit 42 may perform motion search for whole pixel positions and fractional pixel positions and output motion vectors with fractional pixel accuracy.

[0029] Motion estimation unit 42 calculates the motion vector of a PU of a video block in an inter-predictively coded frame by comparing the position of the PU with the position of a predictive block of a reference frame selected from a first reference frame list (List0) or a second reference frame list (List1), each of which identifies one or more reference frames stored in DPB 64. Motion estimation unit 42 sends the calculated motion vector to motion compensation unit 44 and then to entropy coding unit 56.

[0030] 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. Upon receiving the motion vector for the PU of the current video block, motion compensation unit 44 may locate the predictive block pointed to by the motion vector in one of the reference frame lists, retrieve the predictive block from DPB 64, and forward the predictive block to summer 50. Summer 50 then forms a residual video block of pixel difference values ​​by subtracting pixel values ​​of the predictive block provided by motion compensation unit 44 from pixel values ​​of the current video block being coded. The pixel difference values ​​forming the residual video block may include luma or chroma components, or both. Motion compensation unit 44 may also generate syntax elements associated with the video blocks of the video frame for use by video decoder 30 in decoding the video blocks of the video frame. The syntax elements may include, for example, syntax elements defining the motion vector used to identify the predictive block, any flags indicating a prediction mode, or any other syntax information described herein. It should be noted that motion estimation unit 42 and motion compensation unit 44 may be highly integrated, but are shown separately for conceptual purposes.

[0031] In some implementations, the intra BC unit 48 can generate vectors and fetch predictive blocks in a manner similar to that described above in connection with the motion estimation unit 42 and the motion compensation unit 44, except that the predictive block is within the same frame as the current block being coded, and the vectors are called block vectors as opposed to motion vectors. In particular, the intra BC unit 48 can determine the intra prediction mode to use to code the current block. In some examples, the intra BC unit 48 can code the current block using various intra prediction modes, e.g., during separate coding passes, and test their performance through rate-distortion analysis. The intra BC unit 48 can then use an appropriate intra prediction mode among the various tested intra prediction modes and generate an intra mode indicator accordingly. For example, the intra BC unit 48 can select a rate-distortion indicator for the various tested intra prediction modes. The intra BC unit 48 may use a rate-distortion analysis to calculate a rate-distortion value and select the intra prediction mode with the best rate-distortion characteristics among the tested modes as the appropriate intra prediction mode to use. The rate-distortion analysis generally determines the amount of distortion (or error) between the 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. The intra BC unit 48 may calculate a ratio from the distortion and rate for the various coded blocks to determine which intra prediction mode exhibits the best rate-distortion value for the block.

[0032] In other examples, the intra BC unit 48 may use, in whole or in part, the motion estimation unit 42 and the motion compensation unit 44 to perform such functions for intra BC prediction according to the implementations described herein. In either case, for intra block copying, the predictive block may be a block that is deemed to closely match the block to be coded in terms of pixel differences, which may be determined by sum of absolute differences (SAD), sum of squared differences (SSD), or other difference metrics, and identification of the predictive block may include calculation of values ​​at sub-integer pixel positions.

[0033] Regardless of whether the predictive block is from the same frame according to intra prediction or from a different frame according to inter prediction, video encoder 20 may form a residual video block by subtracting pixel values ​​of the predictive block from pixel values ​​of the current video block being encoded to form pixel difference values. The pixel difference values ​​that form the residual video block may include both luma component differences and chroma component differences.

[0034] As described above, the intra-prediction processing unit 46 may intra-predict the current video block as an alternative to the inter-prediction performed by the motion estimation unit 42 and motion compensation unit 44 or the intra-block copy prediction performed by the intra-BC unit 48. In particular, the intra-prediction processing unit 46 may determine the intra-prediction mode to use to encode the current block. To do so, the intra-prediction processing unit 46 may, for example, encode the current block using various intra-prediction modes during separate encoding passes, and the intra-prediction processing unit 46 (or, in some examples, a mode selection unit) may select an appropriate intra-prediction mode to use from the tested intra-prediction modes. The intra-prediction processing unit 46 may provide information indicating the selected intra-prediction mode for the block to the entropy coding unit 56. The entropy coding unit 56 may encode the information indicating the selected intra-prediction mode into the bitstream.

[0035] After prediction processing unit 41 determines a predictive block for the current video block via either inter- or intra-prediction, adder 50 forms a residual video block by subtracting the predictive block from the current video block. The residual video data in the residual block may be included in one or more transform units (TUs) and provided to transform processing unit 52. Transform processing unit 52 converts the residual video data into residual transform coefficients using a transform such as a discrete cosine transform (DCT) or a conceptually similar transform.

[0036] The transform processor 52 may send the resulting transform coefficients to a quantizer 54, which quantizes the transform coefficients to further reduce the bit rate. The quantization process may also 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. In this case, entropy encoding unit 56 may perform the scanning.

[0037] Following quantization, entropy coding unit 56 entropy codes the quantized transform coefficients into a video bitstream using, for example, 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 another entropy coding method or technique. The coded bitstream may then be transmitted to video decoder 30 or archived in storage device 32 for subsequent transmission to or retrieval from video decoder 30. Entropy coding unit 56 may also entropy code motion vectors and other syntax elements for the current video frame being coded.

[0038] Inverse quantization unit 58 and inverse transform processing unit 60 apply inverse quantization and inverse transform, respectively, to reconstruct the residual video block in the pixel domain for generating reference blocks for prediction of other video blocks. As mentioned above, motion compensation unit 44 may generate motion-compensated prediction blocks from one or more reference blocks of a frame stored in DPB 64. Motion compensation unit 44 may also apply one or more interpolation filters to the prediction block to calculate sub-integer pixel values ​​for use in motion estimation.

[0039] Adder 62 adds the reconstructed residual block to the motion compensated prediction block generated by motion compensation unit 44 to generate a reference block for storage in DPB 64. The reference block may then be used by intra BC unit 48, motion estimation unit 42, and motion compensation unit 44 as a predictive block to predict another video block in a subsequent video frame.

[0040] 3 is a block diagram illustrating an example video decoder 30 according to some implementations of the present application. The video decoder 30 includes a video data memory 79, an entropy decoding unit 80, a prediction processing unit 81, an inverse quantization unit 86, an inverse transform processing unit 88, an adder 90, and a DPB 92. The prediction processing unit 81 further includes a motion compensation unit 82, an intra-prediction processing unit 84, and an intra-BC unit 85. The video decoder 30 may perform a decoding process that is generally the reverse of the encoding process described above for the video encoder 20 in connection with FIG. 2. For example, the motion compensation unit 82 may generate prediction data based on a motion vector received from the entropy decoding unit 80, while the intra-prediction unit 84 may generate prediction data based on an intra-prediction mode indicator received from the entropy decoding unit 80.

[0041] In some examples, units of video decoder 30 may be tasked with performing implementations of the present application. Also, in some examples, implementations of the present disclosure may be divided among one or more of the units of video decoder 30. For example, intra BC unit 85 may perform implementations of the present application alone or in combination with other units of video decoder 30, such as motion compensation unit 82, intra prediction processing unit 84, and entropy decoding unit 80. In some examples, video decoder 30 may not include intra BC unit 85, and the functionality of intra BC unit 85 may be performed by other components of prediction processing unit 81, such as motion compensation unit 82.

[0042] Video data memory 79 is used for decoding by other components of video decoder 30. For example, the video data memory 79 may store video data, such as an encoded video bitstream, for example. The video data stored in the video data memory 79 may be obtained, for example, from a local video source such as storage device 32, a camera, via wired or wireless network communication of the video data, or by accessing a physical data storage medium (e.g., a flash drive or hard disk). The video data memory 79 may include a coded picture buffer (CPB) that stores coded video data from the coded video bitstream. A decoded picture buffer (DPB) 92 of the video decoder 30 stores reference video data for use in decoding the video data by the video decoder 30 (e.g., in intra- or inter-prediction coding modes). The video data memory 79 and the DPB 92 may be implemented using SDRAM (synchronized random access memory (SDRAM)). The video data memory 79 may be formed by any of a variety of memory devices, such as dynamic random access memory (DRAM), including magnetic DRAM, magneto-resistive RAM (MRAM), resistive RAM (RRAM), or other types of memory devices. For purposes of illustration, the video data memory 79 and the DPB 92 are shown as two separate components of the video decoder 30 in FIG. 3 . However, it will be apparent to those skilled in the art that the video data memory 79 and the DPB 92 may be provided by the same memory device or separate memory devices. In some examples, the video data memory 79 may be on-chip with other components of the video decoder 30 or may be off-chip relative to those components.

[0043] During the decoding process, video decoder 30 receives an encoded video bitstream representing video blocks and associated syntax elements of encoded video frames. Video decoder 30 may receive the syntax elements at the video frame level and / or the video block level. Entropy decoding unit 80 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 80 then forwards the motion vectors and other syntax elements to prediction processing unit 81.

[0044] If the video frame is coded as an intra-predictively coded (I) frame or for intra-coded predictive blocks in other types of frames, intra-prediction processing unit 84 of prediction processing unit 81 may generate predictive data for the video blocks of the current video frame based on the signaled intra-prediction mode and reference data from previously decoded blocks of the current frame.

[0045] When a video frame is coded as an inter-predictive (i.e., B or P) frame, motion compensation unit 82 of prediction processing unit 81 generates one or more predictive blocks for video blocks of the current video frame based on the motion vectors and other syntax elements received from entropy decoding unit 80. Each of the predictive blocks may be generated from a reference frame in one of the reference frame lists. Video decoder 30 may construct the reference frame lists, List 0 and List 1, using a default construction technique based on the reference frames stored in DPB 92.

[0046] In some examples, when a video block is encoded according to the intra BC mode described herein, intra BC unit 85 of prediction processing unit 81 generates a predictive block for the current video block based on the block vectors and other syntax elements received from entropy decoding unit 80. The predictive block may be within the same reconstructed region of the picture as the current video block as defined by video encoder 20.

[0047] Motion compensation unit 82 and / or intra BC unit 85 determine prediction information for video blocks of the current video frame by parsing the motion vectors and other syntax elements, and then use the prediction information to generate predictive blocks for the current video block being decoded. For example, motion compensation unit 82 uses some of the received syntax elements to determine the prediction mode (e.g., intra-prediction or inter-prediction) used to encode the video blocks of the video frame, the inter-prediction frame type (e.g., B or P), configuration information for one or more of the reference frame lists for the frame, the motion vectors for each inter-predictively coded video block of the frame, the inter-prediction status for each inter-predictively coded video block of the frame, and other information for decoding video blocks in the current video frame.

[0048] Similarly, intra BC unit 85 can use some of the received syntax elements, such as flags, to determine that the current video block was predicted using an intra BC mode, configuration information about which video blocks of the frame are within the reconstruction domain and should be stored in DPB 92, block vectors for each intra BC predicted video block of the frame, the intra BC prediction status for each intra BC predicted video block of the frame, and other information for decoding video blocks in the current video frame.

[0049] Motion compensation unit 82 may also perform interpolation using an interpolation filter, such as that 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 82 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.

[0050] Inverse quantization unit 86 inverse quantizes the quantized transform coefficients provided to the bitstream and entropy decoded by entropy decoding unit 80 using the same quantization parameter calculated by video encoder 20 for each video block in a video frame to determine the degree of quantization. Inverse transform processing unit 88 applies an inverse transform, e.g., an inverse DCT, an inverse integer transform, or a conceptually similar inverse transform process, to the transform coefficients in order to reconstruct residual blocks in the pixel domain.

[0051] After motion compensation unit 82 or intra BC unit 85 generates a predictive block for the current video block based on the vectors and other syntax elements, summer 90 reconstructs a decoded video block for the current video block by adding the residual block from inverse transform processing unit 88 and the corresponding predictive block generated by motion compensation unit 82 and intra BC unit 85. An in-loop filter (not shown) may be disposed between summer 90 and DPB 92 to further process the decoded video block. The decoded video blocks in a given frame are stored in DPB 92, which stores reference frames used for subsequent motion compensation of the next video block. DPB 92, or a memory device separate from DPB 92, may also store decoded video for later presentation on a display device, such as display device 34 of FIG. 1.

[0052] In a typical video coding process, a video sequence typically contains an ordered set of frames or pictures. Each frame may contain three sample arrays, denoted SL, SCb, and SCr. SL is a two-dimensional array of luma samples. SCb is a two-dimensional array of Cb chroma samples. SCr is a two-dimensional array of Cr chroma samples. In other examples, a frame may be monochromatic, and therefore contain only luma samples. It contains only one two-dimensional array of degree samples.

[0053] As shown in FIG. 4A, video encoder 20 (or more specifically, partitioning unit 45) generates a coded representation of a frame by first dividing the frame into a set of coding tree units (CTUs). A video frame may include an integer number of CTUs sequentially ordered in a raster scan order from left to right and top to bottom. Each CTU is the largest logical coding unit, and the width and height of the CTU are signaled by video encoder 20 in a sequence parameter set so that all CTUs in a video sequence have the same size, which may be one of 128×128, 64×64, 32×32, and 16×16. However, it should be noted that the present application is not necessarily limited to a particular size. As shown in FIG. 4B, each CTU may comprise one coding tree block (CTB) for luma samples, two corresponding coding tree blocks for chroma samples, and syntax elements used to encode the samples in the coding tree block. The syntax elements describe properties of different types of coding blocks of pixels, including inter or intra prediction, intra prediction mode, motion vectors, and other parameters, and how the video sequence may be reconstructed at video decoder 30. In a monochrome picture or a picture with three separate color planes, a CTU may comprise a single coding tree block and syntax elements used to encode samples of the coding tree block. A coding tree block may be an N×N block of samples.

[0054] To achieve better performance, video encoder 20 may recursively perform tree partitioning, such as binary tree partitioning, ternary tree partitioning, quad tree partitioning, or a combination of both, on the coding tree blocks of a CTU to partition the CTU into smaller coding units (CUs). As shown in FIG. 4C , 64×64 CTU 400 is first partitioned into four smaller CUs, each with a block size of 32×32. Among the four smaller CUs, CU 410 and CU 420 are each partitioned into four 16×16 CUs by block size. Two 16×16 CUs 430 and 440 are each further partitioned into four 8×8 CUs by block size. FIG. 4D shows a quad tree data structure illustrating the final result of the partitioning process of CTU 400 as shown in FIG. 4C , where each leaf node of the quad tree corresponds to one CU of a respective size ranging from 32×32 to 8×8. Similar to the CTU shown in FIG. 4B, each CU may have a coding block (CB) of luma samples, two corresponding coding blocks of chroma samples for a frame of the same size, and syntax elements used to encode the samples of the coding block. In monochrome pictures or pictures with three separate color planes, a CU may have a single coding block and syntax elements used to encode the samples of the coding block. Note that the quadtree partitioning shown in FIGS. 4C and 4D is for illustrative purposes only, and a CTU can be divided into CUs to accommodate various local characteristics based on quadtree / ternary / binary tree partitioning. In a multi-type tree structure, a CTU is divided by a quadtree structure, and each quadtree leaf CU can be further divided by binary and ternary tree structures. As shown in FIG. 4E, there are five partition types: 4-way partitioning, horizontal 2-way partitioning, vertical 2-way partitioning, horizontal 3-way partitioning, and vertical 3-way partitioning.

[0055] In some implementations, video encoder 20 may further partition the coding blocks of a CU into one or more M×N prediction blocks (PBs). A prediction block is a rectangular (square or non-square) block of samples to which the same prediction, inter or intra, is applied. A prediction unit (PU) of a CU may have a prediction block of luma samples, two corresponding prediction blocks of chroma samples, and a signal used to predict the prediction block. In a monochrome picture or a picture with three separate color planes, a PU may comprise a single prediction block and a syntax structure used to predict the prediction block. Video encoder 20 may generate predicted luma, Cb, and Cr blocks for the luma, Cb, and Cr prediction blocks of each PU of a CU.

[0056] Video encoder 20 may use intra prediction or inter prediction to generate the predictive blocks for a PU. If video encoder 20 uses intra prediction to generate the predictive blocks for a PU, video encoder 20 may generate the predictive blocks for the PU based on decoded samples of a frame associated with the PU. If video encoder 20 uses inter prediction to generate the predictive blocks for the PU, video encoder 20 may generate the predictive blocks for the PU based on decoded samples of one or more frames other than the frame associated with the PU.

[0057] After video encoder 20 generates the predicted luma, Cb, and Cr blocks for one or more PUs of a CU, video encoder 20 may generate a luma residual block for the CU by subtracting the predicted luma block of the CU from the original luma coding block, such that each sample in the luma residual block of the CU indicates a difference between a luma sample of one of the predicted luma blocks of the CU and a corresponding sample in the original luma coding block of the CU. Similarly, video encoder 20 may generate a Cb residual block and a Cr residual block for the CU, such that each sample in the Cb residual block of the CU indicates a difference between a Cb sample of one of the predicted Cb blocks of the CU and a corresponding sample in the original Cb coding block of the CU, and such that each sample in the Cr residual block of the CU indicates a difference between a Cr sample in one of the predicted Cr blocks of the CU and a corresponding sample in the original Cr coding block of the CU.

[0058] Further, as shown in FIG. 4C , video encoder 20 may use quadtree partitioning to decompose the luma, Cb, and Cr residual blocks of a CU into one or more luma, Cb, and Cr transform blocks. A transform block is a rectangular (square or non-square) block of samples to which the same transform is applied. A transform unit (TU) of a CU may comprise a transform block of luma samples, two corresponding transform blocks of chroma samples, and syntax elements used to transform the transform block samples. Thus, each TU of a CU may be associated with a luma transform block, a Cb transform block, and a Cr transform block. In some examples, the luma transform block associated with a TU may be a sub-block of the luma residual block of the CU. The Cb transform block may be a sub-block of the Cb residual block of the CU. The Cr transform block may be a sub-block of the Cr residual block of the CU. In monochrome pictures or pictures with three separate color planes, a TU may comprise a single transform block and syntax structures used to transform the samples of the transform block.

[0059] Video encoder 20 may apply one or more transforms to a luma transform block of a TU to generate a luma coefficient block for the TU. The coefficient block may be a two-dimensional array of transform coefficients. The transform coefficients may be scalar quantities. Video encoder 20 may apply one or more transforms to a Cb transform block of the TU to generate a Cb coefficient block for the TU. Video encoder 20 may apply one or more transforms to a Cr transform block of the TU to generate a Cr coefficient block for the TU.

[0060] After generating a coefficient block (e.g., a luma coefficient block, a Cb coefficient block, or a Cr coefficient block), video encoder 20 may quantize the coefficient block. Quantization generally refers to the process by which transform coefficients are quantized to reduce the data used to represent the transform coefficients. Quantization refers to a process in which the amount of data is potentially reduced, providing further compression. After video encoder 20 quantizes the coefficient blocks, video encoder 20 may entropy encode the syntax elements indicating the quantized transform coefficients. For example, video encoder 20 may perform context-adaptive binary arithmetic coding (CABAC) on the syntax elements indicating the quantized transform coefficients. Finally, video encoder 20 may output a bitstream including a sequence of bits forming a representation of the encoded frame and associated data, which may be either stored in storage device 32 or transmitted to destination device 14.

[0061] After receiving the bitstream generated by video encoder 20, video decoder 30 may parse the bitstream to obtain syntax elements from the bitstream. Video decoder 30 may reconstruct frames of video data based at least in part on the syntax elements obtained from the bitstream. The process of reconstructing video data is generally the reverse of the encoding process performed by video encoder 20. For example, video decoder 30 may perform an inverse transform on coefficient blocks associated with TUs of a current CU to reconstruct residual blocks associated with the TUs of the current CU. Video decoder 30 also reconstructs coding blocks of the current CU by adding samples of predictive blocks for PUs of the current CU to corresponding samples of transform blocks of the TUs of the current CU. After reconstructing the coding blocks for each CU of the frame, video decoder 30 may reconstruct the frame.

[0062] As mentioned above, video coding primarily uses two modes: intra-frame prediction (or intra-prediction) and inter-frame prediction (or inter-prediction) to achieve video compression. Palette-based coding is another coding method adopted by many video coding standards. In palette-based coding, which may be particularly suitable for screen-generated content coding, a video coder (e.g., video encoder 20 or video decoder 30) forms a palette table of colors to represent a given block of video data. The palette table contains the most dominant (e.g., frequently used) pixel values ​​within a given block. Pixel values ​​that are not frequently represented in the video data of a specified block are either not included in the palette table or are included in the palette table as escape colors.

[0063] Each entry in the palette table contains an index of the corresponding pixel value in the palette table. The palette index for a sample within a block may be coded to indicate which entry from the palette table is used to predict or reconstruct which sample. This palette mode begins with the process of generating a palette predictor for the first block of a picture, slice, tile, or other grouping of video blocks. As described below, palette predictors for subsequent video blocks are typically generated by updating the previously used palette predictor. For purposes of explanation, it is assumed that the palette predictor is defined at the picture level. In other words, although a picture may contain multiple coded blocks, each with its own palette table, there is one palette predictor for the entire picture.

[0064] To reduce the bits required to signal palette entries in a video bitstream, a video decoder can utilize a palette predictor to determine new palette entries in a palette table used to reconstruct a video block. For example, the palette predictor can contain palette entries from a previously used palette table, or can even be initialized with the last used palette table by including all entries from the last used palette table. In some implementations, the palette predictor can contain fewer entries than all entries from the last used palette table. The palette predictor may contain entries from a first block, and then incorporate some entries from other previously used palette tables. The palette predictor may have the same size as the palette tables used to encode different blocks, or it may be larger or smaller than the palette tables used to encode different blocks. In one example, the palette predictor is implemented as a first-in-first-out (FIFO) table containing 64 palette entries.

[0065] To generate a palette table for a block of video data from the palette predictor, the video decoder may receive a one-bit flag for each entry of the palette predictor from the encoded video bitstream. The one-bit flag may have a first value (e.g., a binary 1) indicating that the associated entry of the palette predictor is included in the palette table, or a second value (e.g., a binary 0) indicating that the associated entry of the palette predictor is not included in the palette table. If the size of the palette predictor is larger than the palette table used for the block of video data, the video decoder may stop receiving more flags when the maximum size of the palette table is reached.

[0066] In some implementations, some palette table entries may be directly signaled within the encoded video bitstream instead of being determined using a palette predictor. For such entries, a video decoder may receive from the encoded video bitstream three separate m-bit values ​​indicating the pixel value of the luma and two chroma components associated with the entry, where m represents the bit depth of the video data. Compared to the multiple m-bit values ​​required for directly signaled palette entries, those palette entries derived from the palette predictor require only a one-bit flag. Thus, signaling some or all palette entries using the palette predictor can significantly reduce the number of bits required to signal new palette table entries, thereby improving the overall coding efficiency of palette mode coding.

[0067] In many cases, the palette predictor for a block is determined based on the palette table used to encode one or more previously coded blocks. However, when encoding the first coding tree unit in a picture, slice, or tile, the palette table of the previously coded block may not be available. Therefore, it is not possible to generate a palette predictor using entries from a previously used palette table. In such cases, a sequence of palette predictor initializers may be signaled in a sequence parameter set (SPS) and / or a picture parameter set (PPS), which are values ​​used to generate a palette predictor when a previously used palette table is unavailable. An SPS generally refers to the syntactic structure of syntax elements that apply to a series of consecutive coded video pictures, called a coded video sequence (CVS), as determined by the content of syntax elements found in a PPS referenced by syntax elements found in each slice segment header. A PPS generally refers to the syntactic structure of syntax elements that apply to one or more individual pictures in a CVS, as determined by the syntax elements found in each slice segment header. Therefore, an SPS is generally considered a higher level syntax structure than a PPS, meaning that the syntax elements contained in an SPS generally change less frequently and apply to a larger portion of the video data compared to the syntax elements contained in a PPS.

[0068] FIG. 5 is a block diagram illustrating different prediction modes of a coding unit according to some implementations of this disclosure.

[0069] In VVC, each CU can be coded in skip mode or non-skip mode. For CUs coded in skip mode, one syntax element is further signaled to indicate whether the current CU is coded in normal skip mode (similar to HEVC skip mode) or IBC skip mode. For CUs coded in non-skip mode, another syntax element is further signaled to indicate whether the current CU is coded in intra mode, inter mode, intra block copy (IBC) mode, or palette (PLT) mode. These modes are called "MODE_INTRA," "MODE_INTER," "MODE_IBC," and "MODE_PLT," respectively, in the VVC specification. For CUs coded in intra mode, only spatially neighboring reconstructed pixels within the same picture / slice could be used to generate a prediction signal for the current CU. For CUs coded in inter mode, a prediction signal can be generated by pixels from a reference picture other than the current picture. Details of IBC mode are described in JVET-N1002 (http: / / phenix.int-evry.fr / jvet / ). The Palette (PLT) mode was newly adopted for VVC at the 15th JVET conference, detailed in the document JVET-O119, available at http: / / phenix.int-evry.fr / jvet / .

[0070] In the current VVC, the constraints and conditions for enabling each different mode are different, as summarized in Table 1 below. Furthermore, a flag is signaled in the Sequence Parameter Set (SPS) to indicate whether IBC and PLT modes are on or off, i.e., whether IBC and / or PLT modes are allowed in the associated bitstream.

[0071] [Table 1]

[0072] The current syntax for mode signaling in VVC is shown in the table below.

[0073] [Table 2]

[0074] [Table 3]

[0075] The current meaning of mode signaling in VVC is as follows:

[0076] If cu_skip_flag[x0][y0] is equal to 1, it specifies that in the current coding unit, when coding a P or B slice, no further syntax elements are parsed after cu_skip_flag[x0][y0], except for one or more of the following: the IBC mode flag pred_mode_ibc_flag[x0][y0] and the merge_data() syntax structure; when decoding an I slice, no syntax elements are parsed after cu_skip_flag[x0][y0], except for merge_idx[x0][y0]. If cu_skip_flag[x0][y0] is equal to 0, it specifies that no coding unit is skipped. The array index x0,y0 specifies the position (x0,y0) of the top-left luma sample of the considered coding block relative to the top-left luma sample of the picture. If cu_skip_flag[x0][y0] is not present, it is inferred to be equal to 0.

[0077] If pred_mode_flag is equal to 0, it specifies that the current coding unit is coded in inter-prediction mode. If pred_mode_flag is equal to 1, it specifies that the current coding unit is coded in intra-prediction mode. If pred_mode_flag is not present, it is inferred as follows: If cbWidth is equal to 4 and cbHeight is equal to 4, pred_mode_flag is inferred to be equal to 1. ● Otherwise, if modeType is equal to MODE_TYPE_INTRA, pred_mode_flag is inferred to be equal to 1. ● Otherwise, if modeType is equal to MODE_TYPE_INTER, pred_mode_flag is inferred to be equal to 0. ● Otherwise, pred_mode_flag is inferred to be equal to 1 when decoding an I slice, and to be equal to 0 when decoding a P or B slice. ● The variable CuPredMode[chType][x][y] is derived as follows, where x=x0..x0+cbWidth-1 and y=y0..y0+cbHeight-1: If pred_mode_flag is equal to 0, CuPredMode[chType][x][y] is set equal to MODE_INTER. ● Otherwise (pred_mode_flag is equal to 1), CuPredMode[chType][x][y] is set equal to MODE_INTRA.

[0078] If pred_mode_IBC_flag is equal to 1, it specifies that the current coding unit is coded in IBC prediction mode. If pred_mode_IBC_flag is equal to 0, it specifies that the current coding unit is not coded in IBC prediction mode. If pred_mode_ibc_flag is not present, it is inferred as follows: ●If cu_skip_flag[x0][y0] is equal to 1, cbWidth is equal to 4, and cbHeight is equal to 4, then pred_mode_ibc_flag is inferred to be equal to 1. ● Otherwise, if both cbWidth and cbHeight are equal to 128, pred_mode_ibc_flag is inferred to be equal to 0. ● Otherwise, if modeType is equal to MODE_TYPE_INTER, pred_mode_ibc_flag is inferred to be equal to 0. ● Otherwise, if treeType is equal to DUAL_TREE_CHROMA, pred_mode_ibc_flag is inferred to be equal to 0. ● Otherwise, pred_mode_ibc_flag is inferred to be equal to the value of sps_ibc_enabled_flag when decoding an I slice, and to be inferred to be equal to 0 when decoding a P or B slice, respectively. If pred_mode_ibc_flag is equal to 1, then the variable CuPredMode[chType][x][y] is set equal to MODE_IBC with x=x0..x0+cbWidth-1 and y=y0..y0+cbHeight-1.

[0079] pred_mode_plt_flag specifies the use of palette mode in the current coding unit. pred_mode_plt_flag equal to 1 indicates that palette mode is applied in the current coding unit. pred_mode_plt_flag equal to 0 indicates that palette mode is not applied in the current coding unit. If pred_mode_plt_flag is not present, it is inferred to be equal to 0. If pred_mode_plt_flag is equal to 1, the variable CuPredMode[x][y] is set equal to MODE_PLT, where x=x0..x0+cbWidth-1, y=y0..y0+cbHeight-1.

[0080] In summary, in current VVC, the syntax (i.e., associated flags) signaled to indicate the corresponding non-skip mode are shown in Tables 4 through 10, with each table corresponding to a different condition of the allowable prediction mode. Note that in these tables, the 0s and 1s in the codewords can all be inverted and the resulting codewords will function equally well. Furthermore, the naming of the syntax elements can be changed to other names without changing the functionality of the signaled mode.

[0081] [Table 4]

[0082] [Table 5]

[0083] [Table 6]

[0084] [Table 7]

[0085] [Table 8]

[0086] [Table 9]

[0087] [Table 10]

[0088] FIG. 6 is a flowchart illustrating an example process for implementing a technique for a video coder signaling a prediction mode according to some implementations of this disclosure.

[0089] In the current VVC, IBC mode is considered to be closer to inter mode, and PLT mode is considered to be closer to intra mode. Therefore, in VVC, when pred_mode_flag is signaled as 0, the IBC mode flag (pred_mode_ibc_flag) is signaled, meaning that the current CU is similar to inter mode. Also, when pred_mode_flag is signaled as 1, the PLT mode flag (pred_mode_plt_flag) is signaled, meaning that the current CU is similar to intra mode. However, there is an exception where only intra mode, inter mode, and PLT mode are allowed (i.e., IBC mode is not allowed). As shown in Table 5, when pred_mode_flag is signaled as 0, the PLT mode flag (pred_mode_plt_flag) is signaled. Such exceptions not only destroy the physical meaning of the flags in pred_mode_flag, but also complicate the signaling conditions for pred_mode_plt_flag, since different signaling conditions are used depending on whether IBC mode is enabled or not.

[0090] Furthermore, in the current VVC, the condition checks for signaling pred_mode_ibc_flag and pred_mode_plt_flag are complicated, as shown in Table 2. Several methods have been proposed to simplify the condition checks when signaling these prediction modes.

[0091] According to the first embodiment of the disclosure, a flag indicating the enablement of palette mode (e.g., pred_mode_plt_flag in the VVC specification) is signaled only in intra-like mode, regardless of the conditions of the allowed prediction modes. In one example, the palette mode flag pred_mode_plt_flag is signaled only if the syntax element (e.g., pred_mode_flag) used to indicate intra-like or inter-like mode is signaled or inferred as an intra-like mode (e.g., in the current VVC, pred_mode_flag is signaled as 1). The corresponding codeword according to this embodiment when only inter-mode, intra-mode, and PLT mode are allowed is shown in Table 10. Table 10 is different from Table 5. Furthermore, the signaling conditions of pred_mode_plt_flag can be simplified as highlighted in Table 11.

[0092] [Table 11]

[0093] [Table 12]

[0094] [Table 13] Table 11. Proposed VVC mode signaling syntax (changes highlighted)

[0095] According to the second embodiment of the present disclosure, the modes are signaled based on a predefined order, and each mode is indicated by a corresponding flag, except for the last mode, which does not require a corresponding flag, but which is the same as all previously signaled modes. This is because it can be inferred that a mode (or flag) is enabled when it is not. In one example, inter mode, IBC mode, and PLT mode are indicated by flags called pred_mode_inter_flag, pred_mode_ibc_flag, and pred_mode_plt_flag, respectively. In this case, the method is essentially similar to assigning truncated binary codewords to modes based on a predefined signaling order. The associated codewords are shown in Tables 12 to 18. The signaling conditions for pred_mode_ibc_flag and pred_mode_plt_flag can also be simplified as shown in Table 19.

[0096] [Table 14]

[0097] [Table 15]

[0098] [Table 16]

[0099] [Table 17]

[0100] [Table 18]

[0101] [Table 19]

[0102] [Table 20]

[0103] [Table 21] Table 19. Proposed VVC mode signaling syntax (changes highlighted)

[0104] According to a third embodiment of the present disclosure, the mode is signaled by first transmitting a syntax element indicating whether the current block uses a normal mode (e.g., Inter and Intra modes) or a new mode (e.g., IBC and PLT modes). After the first syntax element, an additional syntax element is signaled indicating which mode is in use. The relevant codewords are shown in Tables 20 to 26. Note that in this embodiment, the naming of the codeword bins (or flags) has been changed to reflect their physical meaning.

[0105] [Table 22]

[0106] [Table 23]

[0107] [Table 24]

[0108] [Table 25]

[0109] [Table 26]

[0110] [Table 27]

[0111] [Table 28]

[0112] To signal a prediction mode, the video coder first receives video data corresponding to a non-skip mode coded block from a bitstream (610) and determines a parameter set associated with the non-skip mode coded block (620). The parameter set (e.g., a sequence parameter set) includes information including which modes (e.g., IBC, PLT, etc.) are allowed in the associated bitstream, as shown by Table 1.

[0113] The video coder then selectively receives a first, second, or third syntax element from the bitstream. If the parameter set includes information satisfying the first condition, the video coder retrieves a first syntax element (e.g., pre_mode_flag in Table 2) from the bitstream (630). If the parameter set includes information satisfying the second condition, the video coder retrieves a second syntax element (e.g., pre_mode_ibc_flag in Table 2) from the bitstream (640). If the parameter set includes information satisfying the third condition, the video coder retrieves a third syntax element (e.g., pre_mode_plt_flag in Table 2) from the bitstream (650). See Table 2 for conditions associated with each syntax element. In some embodiments, if the respective condition is not satisfied, the video coder does not receive the respective syntax element (e.g., the video coder may assign a default value to the syntax element or not use the syntax element during decoding).

[0114] The video coder then decodes the video data corresponding to the non-skip mode coded block using the respective modes depending on the values ​​of the received first, second, and third syntax elements. In particular:

[0115] The video coder decodes the video data using palette mode if both the first syntax element (e.g., pred_mode_flag in Table 1) and the third syntax element (e.g., pre_mode_plt_flag in Table 1) have a first value (e.g., “1”) and the second condition is not met (e.g., the video coder does not receive pre_mode_ibc_flag) (660).

[0116] The video coder decodes the video data using an intra-prediction mode when the first syntax element (e.g., pred_mode_flag in Table 1) has a first value (e.g., "1") and the third syntax element has a second value (e.g., "0"). i) (670).

[0117] The video coder decodes the video data using inter prediction mode if the first syntax element has a second value (e.g., "0") and the second and third conditions are not met (e.g., the video coder does not receive pred_mode_ibc_flag and pre_mode_plt_flag) (680).

[0118] In one or more examples, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted via a computer-readable medium as one or more instructions or code and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media, which correspond to tangible media such as data storage media, or communication media, including any medium that facilitates transfer of a computer program from one place to another, for example, according to a communications protocol. In this manner, computer-readable media generally can correspond to (1) tangible computer-readable storage media that is non-transitory, or (2) a communication medium such as a signal or carrier wave. Data storage media may be any available medium accessible by one or more computers or one or more processors to retrieve instructions, code, and / or data structures for implementation as described herein. A computer program product may include computer-readable media.

[0119] The terms used in the description of embodiments herein are intended to describe particular embodiments only and are not intended to limit the scope of the claims. As used in the description of embodiments and the appended claims, the singular forms "a," "an," and the like are intended to include the plural forms unless the context clearly dictates otherwise. The term "and / or," as used herein, will also be understood to refer to and include any possible combination of one or more of the associated listed items. Furthermore, as used herein, the term "comprises," and the like, will be understood to specify the presence of stated features, elements, and / or components, but not to exclude the presence or addition of one or more other features, elements, components, and / or groups thereof.

[0120] It will also be understood that, although terms such as "first," "second," and the like may be used herein to describe various elements, these elements should not be limited by these terms. These terms are used only to distinguish one element from another. For example, a first electrode can be referred to as a second electrode, and similarly, a second electrode can be referred to as a first electrode, without departing from the scope of the present invention. Although a first electrode and a second electrode are both electrodes, they are not the same electrode.

[0121] The description in this application has been presented for purposes of illustration and description and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications, variations, and alternative embodiments will become apparent to those skilled in the art having the benefit of the teachings presented in the foregoing descriptions and the associated drawings. The present embodiments have been chosen and described to best explain the principles of the invention, its practical application, and to enable others skilled in the art to understand the invention for various implementations and to best utilize the underlying principles and various implementations, with various modifications suited to the particular uses contemplated. It is, therefore, to be understood that the scope of the claims should not be limited to the particular examples of embodiments disclosed, and that modifications and other embodiments are intended to be included within the scope of the appended claims.

[0122] CROSS-REFERENCE TO RELATED APPLICATIONS

[0123] This application claims priority to U.S. Provisional Application No. 62 / 897,292, filed September 7, 2019, and entitled "Prediction Mode Signaling in Video Coding," which is incorporated by reference in its entirety.

Claims

1. determining a parameter set associated with the non-skip mode coded block; transmitting a first syntax element, a second syntax element, or a third syntax element via the bitstream in accordance with determining that the parameter set includes information satisfying different conditions, wherein the third syntax element is transmitted when the first syntax element is transmitted and the first syntax element has a first value; encoding the non-skip mode coded block using a palette mode when the first syntax element has a first value and the third syntax element has the first value; encoding the non-skip mode coded block using an intra prediction mode when the first syntax element has the first value and the third syntax element has a second value; transmitting the non-skip mode coded block via the bitstream. Video data encoding method.

2. encoding the non-skip mode coded block using an inter prediction mode when the first syntax element is transmitted and the first syntax element has the second value; 2. The method of claim 1.

3. When the palette mode is used to encode the non-skip mode coding block, the second syntax element is not transmitted.

2. The method of claim 1.

4. When the non-skip mode coding block is coded using the intra prediction mode, the second syntax element is not transmitted.

2. The method of claim 1.

5. when the first syntax element is transmitted and has the second value, the second syntax element and the third syntax element are not transmitted; 2. The method of claim 1.

6. encoding the non-skip mode coding block using an intra block copy mode when the first syntax element has a second value or the first syntax element is not transmitted, the second syntax element has the first value, and the third syntax element is not transmitted.

2. The method of claim 1.

7. The first syntax element is pred_mode_flag, and the pred_mode_flag having the second value indicates that encoding is performed in inter prediction mode, and the pred_mode_flag having the first value indicates that encoding is performed in intra prediction mode or palette mode; The second syntax element is pred_mode_ibc_flag, and pred_mode_ibc_flag having the first value indicates that coding is performed in intra block copy mode, and pred_mode_ibc_flag having the second value indicates that coding is not performed in intra block copy mode; The third syntax element is pred_mode_plt_flag, and pred_mode_plt_flag having the second value indicates that palette mode is not used in the coding unit, and pred_mode_plt_flag having the first value indicates that palette mode is used in the coding unit.

2. The method of claim 1.

8. one or more processors; a memory coupled to the one or more processors; Equipped with configured to perform the method of any one of claims 1 to 7 for generating a bitstream and transmitting said bitstream, electronic equipment.

9. Storing a bitstream generated by the method according to any one of claims 1 to 7. A non-transitory computer-readable storage medium.

10. Executing the method of any one of claims 1 to 7 to generate a bitstream; storing the bitstream; How the bitstream is stored.

11. receiving video data corresponding to a non-skip mode coded block from the bitstream; determining a parameter set associated with the non-skip mode coded block; Obtaining a first syntax element, a second syntax element, or a third syntax element via the bitstream according to determining that the parameter set includes information satisfying different conditions, wherein the third syntax element is received when the first syntax element is received and the first syntax element has a first value; decoding the non-skip mode coded block using palette mode when the first syntax element has a first value and the third syntax element has the first value; decoding the non-skip mode coded block using an intra prediction mode when the first syntax element has the first value and the third syntax element has the second value; Video data decoding method.

12. decoding the non-skip mode coded block using an inter prediction mode when the first syntax element is received and the first syntax element has the second value; 12. A method for decoding video data according to claim 11.

13. the second syntax element is not received when decoding the non-skip mode coded block using the palette mode.

12. A method for decoding video data according to claim 11.

14. When decoding the non-skip mode coded block using the intra prediction mode, the second syntax element is not received.

12. A method for decoding video data according to claim 11.

15. when the first syntax element is received and has the second value, the second syntax element and the third syntax element are not received; 12. A method for decoding video data according to claim 11.

16. decoding the non-skip mode coded block using an intra block copy mode when the first syntax element has a second value or the first syntax element is not received, the second syntax element has the first value, and the third syntax element is not received.

12. A method for decoding video data according to claim 11.

17. The first syntax element is pred_mode_flag, and the pred_mode_flag having the second value indicates that encoding is performed in inter prediction mode, and the pred_mode_flag having the first value indicates that encoding is performed in intra prediction mode or palette mode; The second syntax element is pred_mode_ibc_flag, and pred_mode_ibc_flag having the first value indicates that coding is performed in intra block copy mode, and pred_mode_ibc_flag having the second value indicates that coding is not performed in intra block copy mode; The third syntax element is pred_mode_plt_flag, and pred_mode_plt_flag having the second value indicates that palette mode is not used in the coding unit, and pred_mode_plt_flag having the first value indicates that palette mode is used in the coding unit.

12. A method for decoding video data according to claim 11.

18. one or more processors; a memory coupled to the one or more processors; Equipped with configured to receive a bitstream and to perform the method of any one of claims 11 to 17, electronic equipment.

19. Storing a bitstream decoded by the method according to any one of claims 11 to 17. A non-transitory computer-readable storage medium.

20. Storing a bitstream decoded by the method according to any one of claims 11 to 17. How the bitstream is stored.