Video decoding method, device, system and storage medium

By using multiple prediction modes to segment and predict video blocks in video coding, the problem of insufficient video coding efficiency and quality in the existing technology is solved, and more efficient video block prediction and coding are achieved.

CN114930828BActive Publication Date: 2024-09-24TENCENT AMERICA LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202180008611.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-05-27
Filing Date
2021-06-16
Publication Date
2024-09-24
Estimated Expiration
2041-06-16

AI Technical Summary

Technical Problem

Existing video coding technology is difficult to effectively utilize the content-adaptive segmentation prediction mode in image and video compression, resulting in insufficient coding efficiency and quality.

Method used

Multiple prediction modes are used to segment video blocks, intra block copy mode and intra prediction mode are used to predict different segments, and the prediction mode is signaled to improve the prediction accuracy and segmentation efficiency of video blocks.

Benefits of technology

It improves the efficiency and quality of video coding, can more effectively utilize the local characteristics of video blocks, and enhances the flexibility and adaptability of coding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114930828B_ABST
    Figure CN114930828B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, system and storage medium for video decoding. The method includes: receiving an encoded picture; and reconstructing a current block of the encoded picture. The reconstruction includes: dividing samples of the current block into multiple fragments, the multiple fragments including a first fragment and a second fragment; predicting the first fragment of the current block of the encoded picture by using a first prediction mode; and predicting the second fragment of the current block of the encoded picture by using a second prediction mode different from the first prediction mode.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of priority to U.S. Patent Application No. 17 / 332,227, filed on May 27, 2021, which claims the benefit of priority to U.S. Provisional Application No. 63 / 073,629, filed on September 2, 2020, the disclosures of which are incorporated herein by reference in their entirety. Technical Field

[0003] Embodiments of the present disclosure relate to a group of advanced video coding and decoding technologies, and in particular, to a content-adaptive segmentation prediction mode for image and video compression, and more particularly, to a method, apparatus, system and storage medium for video decoding. Background Art

[0004] AOMedia Video 1 (AV1) is an open video coding format designed for video transmission over the Internet. AV1 was developed as a successor to VP9 by the Alliance for Open Media (AOMedia), a consortium formed in 2015 that includes semiconductor companies, video-on-demand providers, video content producers, software development companies, and web browser vendors. Many components of the AV1 project derive from previous research work by members of the consortium. Individual contributors started experimental technology platforms many years ago: Xiph / Mozilla's Daala released code in 2010, Google's experimental VP9 evolution project VP10 was released on September 12, 2014, and Cisco's Thor was released on August 11, 2015. Building on the VP9 codebase, AV1 includes additional technologies, many of which were developed in these experimental formats. The first version of the AV1 reference codec (version 0.1.0) was released on April 7, 2016. The Alliance announced the release of the AV1 bitstream specification, as well as software-based reference encoders and decoders on March 28, 2018. On June 25, 2018, a validated version 1.0.0 of the specification was released. On January 8, 2019, the "AV1 Bitstream and Decoding Process Specification" was released, which is a validated version 1.0.0 of the specification with Errata 1. The AV1 bitstream specification includes a reference video codec. The "AV1 Bitstream and Decoding Process Specification" (Version 1.0.0 with Errata 1) of the Alliance for Open Media (January 8, 2019) is incorporated herein by reference in its entirety.

[0005] The High Efficiency Video Coding (HEVC) standard was developed jointly by the ITU-T Video Coding Experts Group (VCEG) standardization organizations and the ISO / IEC Moving Picture Experts Group (MPEG) standardization organizations. To develop the HEVC standard, the two standardization organizations worked together under a partnership called the Joint Collaborative Team on Video Coding (JCT-VC). The first version of the HEVC standard was finalized in January 2013, resulting in a unified text to be published by ITU-T and ISO / IEC. After that, additional work was organized to extend the standard to support multiple additional application scenarios, including extended range usage, scalable video coding, and 3-D / stereo / multi-view video coding with enhanced precision and color format support. In ISO / IEC, the HEVC standard became MPEG-H Part 2 (ISO / IEC 23008-2), and in ITU-T, the HEVC standard became ITU-T Recommendation H.265.

[0006] ITU-T VCEG (Q6 / 16) and ISO / IEC MPEG (JTC 1 / SC 29 / WG 11) released the H.265 / HEVC (High Efficiency Video Coding) standard (version 1) in 2013, the H.265 / HEVC standard (version 2) in 2014, the H.265 / HEVC standard (version 3) in 2015, and the H.265 / HEVC standard (version 4) in 2016. Since then, they have been studying the potential need for standardization of future video coding technologies that can significantly outperform HEVC in terms of compression capabilities. In October 2017, they issued a Joint Call for Proposals (CfP) for video compression that exceeds HEVC in terms of video compression capabilities. As of February 15, 2018, 22 CfP responses for Standard Dynamic Range (SDR), 12 CfP responses for High Dynamic Range (HDR), and 12 CfP responses for 360 video categories were submitted. All received CfP responses were evaluated at the 122nd MPEG / 10th Joint Video Exploration Team-Joint Video Experts Team (JVET) meeting in April 2018. Through careful evaluation, JVET officially launched the standardization of the next generation of video coding beyond HEVC, the so-called Versatile Video Coding (VVC).

[0007] Prior to HEVC, in December 2001, VCEG and the Moving Picture Experts Group (MPEG) ISO / IEC JTC 1 / SC29 / WG 11 formed the Joint Video Team (JVT), whose charter was to finalize a draft of a new video coding standard for formal approval as H.264 / AVC in March 2003. H.264 / AVC was approved by ITU-T as Recommendation H.264 and by ISO / IEC as International Standard 14 496-10 (MPEG-4 Part 10) Advanced Video Coding (AVC). Summary of the invention

[0008] According to one or more embodiments, a method performed by at least one processor is provided. The method includes: receiving an encoded picture; and reconstructing a current block of the encoded picture. Reconstructing includes: dividing samples of the current block into multiple fragments, the multiple fragments including a first fragment and a second fragment; predicting the first fragment of the current block of the encoded picture by using a first prediction mode; and predicting the second fragment of the current block of the encoded picture by using a second prediction mode different from the first prediction mode.

[0009] According to one embodiment, the first prediction mode is an intra block copy (IBC) mode; and the second prediction mode is an intra prediction mode which uses neighboring reconstructed samples to perform intra prediction.

[0010] According to one embodiment, reconstructing the current block further comprises: signaling the first prediction mode.

[0011] According to an embodiment, reconstructing the current block comprises: signaling the second prediction mode.

[0012] According to one embodiment, segmenting comprises: calculating at least one threshold based on samples of the current block; and segmenting the samples of the current block based on the at least one threshold.

[0013] According to one embodiment, reconstructing the current block further comprises: segmenting samples of a reference block of an encoded picture into multiple segments to obtain segmentation information of the reference block; and segmenting the samples of the current block comprises: mapping the segmentation information of the reference block to the current block.

[0014] According to one embodiment, predicting a first fragment of a current block comprises identifying a reference block based on a block vector before segmenting samples of the reference block and before segmenting samples of the current block; wherein the mapping comprises mapping segmentation information of the reference block to the current block based on the block vector.

[0015] According to one embodiment, predicting the second fragment of the current block includes: obtaining a prediction block that predicts the second fragment of the current block; and predicting the first fragment of the current block further includes: combining the prediction block of the current block with a fragment of the reference block corresponding to the first fragment of the current block by using the partitioning information to obtain a combined prediction block.

[0016] According to one embodiment, the segmentation information is a segmentation map.

[0017] According to one embodiment, the segmentation of samples of the current block is performed before predicting the first fragment.

[0018] According to one or more embodiments, a system is provided. The system includes: at least one memory configured to store computer program code; and at least one processor configured to access the computer program code and operate according to the instructions of the computer program code. The computer program code includes: a reconstruction code configured to cause at least one processor to reconstruct the received current block of the encoded picture. The reconstruction code includes: a current block segmentation code configured to cause at least one processor to segment the samples of the current block into multiple fragments, the multiple fragments including a first fragment and a second fragment; a first prediction code configured to cause at least one processor to predict the first fragment of the current block of the encoded picture by using a first prediction mode; and a second prediction code configured to cause at least one processor to predict the second fragment of the current block of the encoded picture by using a second prediction mode different from the first prediction mode.

[0019] According to one embodiment, the first prediction mode is an intra block copy (IBC) mode; and the second prediction mode is an intra prediction mode which uses neighboring reconstructed samples to perform intra prediction.

[0020] According to one embodiment, the reconstruction code further comprises a signaling code configured to cause the at least one processor to signal the first prediction mode.

[0021] According to one embodiment, the reconstruction code further comprises a signaling code configured to cause the at least one processor to signal the second prediction mode.

[0022] According to one embodiment, the current block segmentation code is further configured to cause the at least one processor to: calculate at least one threshold based on samples of the current block; and segment the samples of the current block based on the at least one threshold.

[0023] According to one embodiment, the reconstruction code further includes a reference block segmentation code, the reference block segmentation code is configured to cause at least one processor to segment samples of a reference block of an encoded picture into multiple fragments to obtain segmentation information of the reference block; and the current block segmentation code is configured to cause at least one processor to map the segmentation information of the reference block to the current block.

[0024] According to one embodiment, the first prediction code is configured to cause at least one processor to identify a reference block based on a block vector before samples of the reference block and samples of the current block are segmented by the at least one processor; and the current block segmentation code is configured to cause the at least one processor to map segmentation information of the reference block to the current block based on the block vector.

[0025] According to one embodiment, the second prediction code is configured to cause at least one processor to obtain a prediction block that predicts a second fragment of the current block; and the first prediction code is configured to cause at least one processor to obtain a combined prediction block by combining the prediction block of the current block with a fragment of the reference block corresponding to the first fragment of the current block using the partitioning information.

[0026] According to one embodiment, the segmentation information is a segmentation map.

[0027] According to one or more embodiments, a non-transitory computer-readable medium is provided, the computer-readable medium storing computer instructions. The computer instructions are configured to cause the at least one processor to: reconstruct a received current block of an encoded picture, the reconstruction being performed as follows: dividing samples of the current block into a plurality of fragments, the plurality of fragments comprising a first fragment and a second fragment; predicting a first fragment of the current block of the encoded picture by using a first prediction mode; and predicting a second fragment of the current block of the encoded picture by using a second prediction mode different from the first prediction mode. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Further features, properties and various advantages of the disclosed subject matter will become more apparent from the following detailed description and accompanying drawings, in which:

[0029] Figure 1 is a schematic diagram of a simplified block diagram of a communication system according to one embodiment.

[0030] Figure 2 is a schematic diagram of a simplified block diagram of a communication system according to one embodiment.

[0031] Figure 3 is a schematic diagram of a simplified block diagram of a decoder according to one embodiment.

[0032] Figure 4 is a schematic diagram of a simplified block diagram of an encoder according to one embodiment.

[0033] Figure 5A is a diagram showing a first exemplary partition structure of VP9.

[0034] Figure 5B is a diagram showing a second exemplary partition structure of VP9.

[0035] Figure 5C is a diagram showing a third exemplary partition structure of VP9.

[0036] Figure 5D is a diagram showing a fourth exemplary partition structure of VP9.

[0037] Fig. 6A is a diagram showing a first exemplary partition structure of AV1.

[0038] Figure 6B is a diagram showing a second exemplary partition structure of AV1.

[0039] Figure 6C is a diagram showing a third exemplary partition structure of AV1.

[0040] Fig.6D is a diagram showing a fourth exemplary partition structure of AV1.

[0041] Fig. 6E is a diagram showing a fifth exemplary partition structure of AV1.

[0042] Fig. 6F is a diagram showing a sixth exemplary partition structure of AV1.

[0043] Figure 6G is a diagram showing a seventh exemplary partition structure of AV1.

[0044] Figure 6H is a diagram showing an eighth exemplary partition structure of AV1.

[0045] Fig.6I is a diagram showing a ninth exemplary partition structure of AV1.

[0046] Figure 6J is a diagram showing a tenth exemplary partition structure of AV1.

[0047] Fig. 7A It is a diagram used to show the vertical binary split type in a multi-type tree structure.

[0048] Figure 7B It is a diagram used to show the type of horizontal binary split in a multi-type tree structure.

[0049] Figure 7C It is a diagram used to show the vertical ternary split type in a multi-type tree structure.

[0050] Fig.7D It is a diagram used to show the type of horizontal ternary split in a multi-type tree structure.

[0051] Figure 8 is a diagram showing an example of partitioning a CTU into multiple CUs using a quadtree and a nested multi-type tree coding block structure.

[0052] Fig. 9 is a diagram showing eight nominal angles in AV1.

[0053] Fig.10 is a diagram showing a current block and samples.

[0054] Fig.11 is a diagram illustrating an example of intra block copy compensation.

[0055] Fig.12 is a diagram showing an example of a currently processed block, restricted immediate blocks, and allowed prediction blocks regarding an embodiment of intra block copy prediction.

[0056] FIG. 13A to FIG. 13D is a diagram of intra picture block compensation with a CTU size search range according to one embodiment.

[0057] Fig.14 An example of intra-block copying applied to video content is shown.

[0058] Fig.15 is a diagram illustrating a single block to which a plurality of prediction modes are applied according to an embodiment of the present disclosure.

[0059] Fig.16 is a diagram illustrating a process according to an embodiment of the present disclosure.

[0060] Fig.17 is a schematic diagram of a decoder according to an embodiment of the present disclosure.

[0061] Fig.18 is a diagram of a computer system suitable for implementing embodiments of the present disclosure. DETAILED DESCRIPTION

[0062] Embodiments of the present disclosure include a video coding method, which can be applied to multiple existing video coding standards (including but not limited to H.264 / AVC, HEVC, VVC and AV1).

[0063] In the present disclosure, the term "block" may be interpreted as a prediction block, a coding block, or a coding unit (CU). Here, the term "block" may also be used to refer to a transform block.

[0064] Figure 1A simplified block diagram of a communication system (100) according to one embodiment of the present disclosure is shown. The system (100) may include at least two terminals (110, 120) interconnected by a network (150). For unidirectional data transmission, a first terminal (110) may encode video data at a local location for transmission to another terminal (120) via the network (150). A second terminal (120) may receive encoded video data from another terminal from the network (150), decode the encoded data, and display the recovered video data. Unidirectional data transmission may be more common in applications such as media services.

[0065] Figure 1 A second pair of terminals (130, 140) is shown configured to support bidirectional transmission of encoded video, which may occur, for example, during a video conference. For bidirectional data transmission, each terminal (130, 140) may encode video data acquired at a local location for transmission to the other terminal via a network (150). Each terminal (130, 140) may also receive encoded video data transmitted by the other terminal, may decode the encoded data, and may display the recovered video data at a local display device.

[0066] exist Figure 1 In the embodiment of the present invention, the terminals (110-140) may be shown as servers, personal computers, smart phones, and / or any other type of terminals. For example, the terminals (110-140) may be laptop computers, tablet computers, media players, and / or dedicated video conferencing equipment. The network (150) represents any number of networks that transmit encoded video data between the terminals (110-140), including, for example, wired and / or wireless communication networks. The communication network (150) may exchange data in circuit switching and / or packet switching channels. Representative networks include telecommunication networks, local area networks, wide area networks, and / or the Internet. For the purposes of this discussion, unless explained below, the architecture and topology of the network (150) may be immaterial to the operation of the present disclosure.

[0067] As examples of applications of the disclosed subject matter, Figure 2 The video decoder and the placement of the decoder in a streaming environment are shown. The disclosed subject matter is equally applicable to other video-enabled applications including, for example, video conferencing, digital TV, storing compressed video on digital media including CDs, DVDs, memory sticks, etc., and the like.

[0068] like Figure 2As shown, a streaming system (200) may include an acquisition subsystem (213), which may include a video source (201) and an encoder (203). The video source (201) may be, for example, a digital camera, and may be configured to create an uncompressed video sample stream (202). Compared to an encoded video bitstream, the uncompressed video sample stream (202) may provide a high data volume and may be processed by an encoder (203) coupled to the camera (201). The encoder (203) may include hardware, software, or a combination of hardware and software to implement or implement various aspects of the disclosed subject matter as described in more detail below. Compared to a sample stream, the encoded video bitstream (204) may include a lower data volume and may be stored on a streaming server (205) for future use. One or more streaming clients (206) may access the streaming server (205) to retrieve a video bitstream (209), which may be a copy of the encoded video bitstream (204).

[0069] In an embodiment, the streaming server (205) may also function as a media aware network element (MANE). For example, the streaming server (205) may be configured to prune the encoded video bitstream (204) to tailor potentially different bitstreams to one or more streaming clients (206). In an embodiment, the MANE may be provided separately from the streaming server (205) in the streaming system (200).

[0070] The streaming client (206) may include a video decoder (210) and a display (212). The video decoder (210) may, for example, decode a video bitstream (209) that is an incoming copy of an encoded video bitstream (204), and may produce an output video sample stream (211) that may be presented on a display (212) or another presentation device (not depicted). In some streaming systems, the video bitstreams (204, 209) may be encoded according to certain video encoding / compression standards. Examples of these standards include, but are not limited to, ITU-T Recommendation H.265. The video coding standard being developed is informally referred to as Versatile Video Coding (VVC). Embodiments of the present disclosure may be used in the context of VVC.

[0071] Figure 3 An exemplary functional block diagram of a video decoder (210) attached to a display (212) according to one embodiment of the present disclosure is shown.

[0072] The video decoder (210) may include a channel (312), a receiver (310), a buffer memory (315), an entropy decoder / parser (320), a scaler / inverse transform unit (351), an intra-frame prediction unit (352), a motion compensated prediction unit (353), an aggregator (355), a loop filter unit (356), a reference picture memory (357), and a current picture memory (358). In at least one embodiment, the video decoder (210) may include an integrated circuit, a series of integrated circuits, and / or other electronic circuits. The video decoder (210) may also be partially or completely implemented in software running on one or more CPUs with associated memory.

[0073] In this and other embodiments, the receiver (310) may receive one or more encoded video sequences to be decoded by the decoder (210), one at a time, wherein the decoding of each encoded video sequence is independent of the decoding of other encoded video sequences. The encoded video sequence may be received from a channel (312), which may be a hardware / software link to a storage device storing the encoded video data. The receiver (310) may receive the encoded video data and other data, such as encoded audio data and / or auxiliary data streams, which may be forwarded to their respective consuming entities (not depicted). The receiver (310) may separate the encoded video sequence from the other data. To prevent network jitter, a buffer memory (315) may be coupled between the receiver (310) and the entropy decoder / parser (320) (hereinafter referred to as the "parser"). When the receiver (310) receives data from a storage / forward device with sufficient bandwidth and controllability or from an isochronous synchronous network, the buffer (315) may not be used, or the buffer may be made smaller. In order to maximize usage on a traffic packet network such as the Internet, a buffer (315) may be required, which may be relatively large and may have an adaptive size.

[0074] The video decoder (210) may include a parser (320) to reconstruct symbols (321) from an entropy-encoded video sequence. The types of symbols include, for example, information for managing the operation of the decoder (210) and potential information for controlling a presentation device (e.g., a display (212)) that may be coupled to the decoder, such as Figure 2As shown. The control information for the rendering device may be in the form of a parameter set fragment (not depicted) of, for example, an auxiliary enhancement information (SEI) message or a video usability information (VUI). The parser (320) may parse / entropy decode the received coded video sequence. The encoding of the coded video sequence may be performed according to a video coding technique or standard, and may follow various principles known to those skilled in the art, including variable length coding, Huffman coding, arithmetic coding with or without context sensitivity, etc. The parser (320) may extract a subgroup parameter set for at least one subgroup of the subgroups of pixels in the video decoder from the coded video sequence based on at least one parameter corresponding to the group. The subgroup may include a group of pictures (GOP), a picture, a tile, a slice, a macroblock, a coding unit (CU), a block, a transform unit (TU), a prediction unit (PU), etc. The parser (320) may also extract information such as transform coefficients, quantizer parameter values, motion vectors, etc. from the coded video sequence.

[0075] The parser (320) may perform entropy decoding / parsing operations on the video sequence received from the buffer (315), thereby creating symbols (321).

[0076] Depending on the type of coded video picture or portion of coded video picture (e.g., inter- and intra-pictures, inter- and intra-blocks) and other factors, the reconstruction of the symbol (321) may involve multiple different units. Which units are involved and how they are involved may be controlled by the parser (320) through subgroup control information parsed from the coded video sequence. For clarity, such subgroup control information flow between the parser (320) and the multiple units below is not depicted.

[0077] In addition to the functional blocks already mentioned, the decoder (210) may be conceptually subdivided into a number of functional units as described below. In actual implementations operating under commercial constraints, many of these units interact closely with each other and may be at least partially integrated with each other. However, for the purposes of describing the disclosed subject matter, the conceptual subdivision into the following functional units is appropriate.

[0078] One unit may be a sealer / inverse transform unit (351). The sealer / inverse transform unit (351) may receive quantized transform coefficients as symbols (321) and control information from the parser (320), including which transform method to use, block size, quantization factor, quantization scaling matrix, etc. The sealer / inverse transform unit (351) may output a block including sample values, which may be input into an aggregator (355).

[0079] In some cases, the output samples of the sealer / inverse transform (351) may belong to an intra-coded block; that is, a block that does not use predictive information from a previously reconstructed picture, but may use predictive information from a previously reconstructed portion of the current picture. Such predictive information may be provided by an intra-picture prediction unit (352). In some cases, the intra-picture prediction unit (352) generates a block of the same size and shape as the block being reconstructed using surrounding reconstructed information extracted from the current (partially reconstructed) picture from the current picture memory (358). In some cases, the aggregator (355) adds the predictive information generated by the intra-prediction unit (352) to the output sample information provided by the sealer / inverse transform unit (351) on a per-sample basis.

[0080] In other cases, the output samples of the scaler / inverse transform unit (351) may belong to an inter-frame coded block and a potential motion compensated block. In this case, the motion compensated prediction unit (353) may access the reference picture memory (357) to extract samples for prediction. After the extracted samples are motion compensated according to the symbols (321) belonging to the block, these samples may be added to the output of the scaler / inverse transform unit (351) (in this case referred to as residual samples or residual signals) by the aggregator (355) to generate output sample information. The acquisition of predicted samples by the motion compensated prediction unit (353) from an address in the reference picture memory (357) may be controlled by a motion vector. The motion vector is provided to the motion compensated prediction unit (353) in the form of a symbol (321), which may have, for example, X, Y and reference picture components. Motion compensation may also include interpolation of sample values ​​extracted from the reference picture memory (357) when using sub-sample accurate motion vectors, motion vector prediction mechanisms, etc.

[0081] The output samples of the aggregator (355) may be subjected to various loop filtering techniques in a loop filter unit (356). The video compression techniques may include in-loop filter techniques controlled by parameters included in the coded video bitstream and available to the loop filter unit (356) as symbols (321) from the parser (320), however, the video compression techniques may also be responsive to meta-information obtained during decoding of a previous (in decoding order) portion of a coded picture or coded video sequence, and to previously reconstructed and loop filtered sample values.

[0082] The output of the loop filter unit (356) may be a sample stream that may be output to a rendering device (eg, display (212)) and stored in a reference picture memory (357) for subsequent inter-picture prediction.

[0083] Once fully reconstructed, certain coded pictures may be used as reference pictures for future prediction. Once a coded picture is fully reconstructed, and the coded picture is identified as a reference picture (e.g., by the parser (320)), the current reference picture may become part of the reference picture memory (357), and a new current picture memory may be reallocated before starting reconstruction of a subsequent coded picture.

[0084] The video decoder (210) may perform decoding operations according to a predetermined video compression technique that may be documented in a standard such as ITU-T Recommendation H.265. The encoded video sequence may conform to the syntax specified by the video compression technique or standard used in the sense that the encoded video sequence follows the syntax of the video compression technique or standard (as specified in a video compression technique document or standard, in particular as specified in its profile document). In addition, for compliance with some video compression techniques or standards, the complexity of the encoded video sequence is required to be within a range defined by the hierarchy of the video compression technique or standard. In some cases, the hierarchy limits the maximum picture size, maximum frame rate, maximum reconstruction sampling rate (measured in, for example, mega samples per second), maximum reference picture size, etc. In some cases, the limits set by the hierarchy may be further limited by the hypothetical reference decoder (HRD) specification and metadata of the HRD buffer management signaled in the encoded video sequence.

[0085] In one embodiment, the receiver (310) may receive additional (redundant) data along with the reception of the encoded video. The additional data may be included as part of the encoded video sequence. The additional data may be used by the video decoder (210) to properly decode the data and / or more accurately reconstruct the original video data. The additional data may be in the form of, for example, temporal, spatial or signal-to-noise ratio (SNR) enhancement layers, redundant slices, redundant pictures, forward error correction codes, etc.

[0086] Figure 4 An exemplary functional block diagram of a video encoder (203) associated with a video source (201) according to one embodiment of the present disclosure is shown.

[0087] The video encoder (203) may include, for example, an encoder as a source encoder (430), a coding engine (432), a (local) decoder (433), a reference picture memory (434), a predictor (435), a transmitter (440), an entropy encoder (445), a controller (450), and a channel (460).

[0088] The encoder (203) may receive video samples from a video source (201) (not a part of the encoder) that may capture video images to be encoded by the encoder (203).

[0089] The video source (201) may provide a source video sequence in the form of a digital video sample stream to be encoded by the encoder (203), the digital video sample stream may have any suitable bit depth (e.g., 8-bit, 10-bit, 12-bit, ...), any color space (e.g., BT.601 Y CrCB, RGB, ...), and any suitable sampling structure (e.g., Y CrCb 4:2:0, Y CrCb 4:4:4). In a media service system, the video source (201) may be a storage device storing previously prepared videos. In a video conferencing system, the video source (201) may be a camera that captures local image information as a video sequence. The video data may be provided as a plurality of separate pictures that are given motion when viewed sequentially. The picture itself may be constructed as a spatial pixel array, where each pixel may include one or more samples depending on the sampling structure, color space, etc. used. The relationship between pixels and samples may be easily understood by those skilled in the art. The following description focuses on the samples.

[0090] According to one embodiment, the encoder (203) can encode and compress the pictures of the source video sequence into an encoded video sequence in real time or under any other time constraints required by the application. Implementing the appropriate encoding speed is a function of the controller (450). The controller (450) can also control other functional units as described below and can be functionally coupled to these units. For clarity, the coupling is not depicted. The parameters set by the controller (450) may include rate control related parameters (e.g., picture skipping, quantizer, lambda value of rate-distortion optimization technology...), picture size, picture group (GOP) layout, maximum motion vector search range, etc. Those skilled in the art can easily identify other functions of the controller (450) that may be related to the video encoder (203) optimized for a certain system design.

[0091] Some video encoders operate in a loop that is readily recognizable to those skilled in the art as a "coding loop". As a simple description, the coding loop may include an encoding portion consisting of a source encoder (430) (the source encoder is responsible for creating symbols based on the input picture to be encoded and the reference picture) and a (local) decoder (433) embedded in the encoder (203), which reconstructs the symbols to create sample data in a similar manner to how the (remote) decoder can also create sample data when any compression between the symbols and the encoded video bitstream is lossless in certain video compression techniques. This reconstructed sample stream can be input to a reference picture memory (434). Since the decoding of the symbol stream produces bit-accurate results that are independent of the decoder location (local or remote), the contents of the reference picture buffer also correspond bit-accurately between the local encoder and the remote encoder. In other words, the reference picture samples "seen" by the prediction portion of the encoder are exactly the same sample values ​​that the decoder will "see" when using prediction during decoding. Those skilled in the art are familiar with this basic principle of reference picture synchronization (and the drift that occurs when synchronization cannot be maintained, for example due to channel errors).

[0092] The operation of the "local" decoder (433) can be combined with the above Figure 3 The operation of the "remote" decoder (210) described in detail is the same. However, when symbols are available and the entropy encoder (445) and parser (320) can losslessly encode / decode the symbols into an encoded video sequence, the entropy decoding portion of the decoder (210), including the channel (312), receiver (310), buffer (315), and parser (320), may not be fully implemented in the local decoder (433).

[0093] At this point it can be observed that any decoder techniques other than parsing / entropy decoding present in the decoder must also be present in the corresponding encoder in substantially the same functional form. For this reason, the disclosed subject matter focuses on the decoder operation. The description of the encoder techniques can be simplified because the description of the encoder techniques can be reciprocal to the fully described decoder techniques. A more detailed description is only required in certain areas and is provided below.

[0094] As part of its operation, the source encoder (430) may perform motion compensated predictive coding that predictively encodes an input frame with reference to one or more previously encoded frames from a video sequence designated as "reference frames." In this manner, the encoding engine (432) encodes the differences between pixel blocks of an input frame and pixel blocks of a reference frame that may be selected as a prediction reference for the input frame.

[0095] The local video decoder (433) may decode the encoded video data of the frame that may be designated as the reference frame based on the symbol created by the source encoder (430). The operation of the encoding engine (432) may advantageously be a lossy process. When the encoded video data is available at the video decoder ( Figure 4 When decoded at a remote video decoder (not shown), the reconstructed video sequence may typically be a copy of the source video sequence, but with some errors. The local video decoder (433) replicates the decoding process that may be performed by the video decoder on the reference frame and may cause the reconstructed reference frame to be stored in the reference picture memory (434). In this way, the encoder (203) may store a copy of the reconstructed reference frame locally that has common content (absent transmission errors) with the reconstructed reference frame that will be obtained by the remote video decoder.

[0096] The predictor (435) may perform a prediction search for the encoding engine (432). That is, for a new frame to be encoded, the predictor (435) may search the reference picture memory (434) for sample data (as candidate reference pixel blocks) or certain metadata, such as reference picture motion vectors, block shapes, etc., that may serve as appropriate prediction references for the new picture. The predictor (435) may operate on a pixel block by pixel block basis to find a suitable prediction reference. In some cases, as determined by the search results obtained by the predictor (435), the input picture may have prediction references taken from multiple reference pictures stored in the reference picture memory (434).

[0097] The controller (450) may manage encoding operations of the video encoder (430), including, for example, setting parameters and subgroup parameters for encoding video data.

[0098] The outputs of all the above functional units may be entropy encoded in an entropy encoder (445). The entropy encoder converts the symbols generated by the various functional units into a coded video sequence by losslessly compressing the symbols according to techniques known to those skilled in the art, such as Huffman coding, variable length coding, arithmetic coding, etc.

[0099] The transmitter (440) may buffer the encoded video sequence created by the entropy encoder (445) in preparation for transmission over a communication channel (460), which may be a hardware / software link to a storage device where the encoded video data will be stored. The transmitter (440) may combine the encoded video data from the video encoder (430) with other data to be transmitted, such as encoded audio data and / or ancillary data streams (source not shown).

[0100] The controller (450) may manage the operation of the encoder (203). During encoding, the controller (450) may assign a certain coded picture type to each coded picture, but this may affect the coding techniques that can be applied to the corresponding picture. For example, pictures may generally be assigned as intra pictures (I pictures), predictive pictures (P pictures), and bidirectional predictive pictures (B pictures).

[0101] An intra picture (I picture) may be a picture that can be encoded and decoded without using any other frame in the sequence as a prediction source. Some video codecs allow different types of intra pictures, including, for example, independent decoder refresh (IDR) pictures. Those skilled in the art are aware of those variants of I pictures and their corresponding applications and features.

[0102] A predictive picture (P picture) may be a picture that may be encoded and decoded using intra prediction or inter prediction, which predicts sample values ​​of each block using at most one motion vector and a reference index.

[0103] Bidirectional predictive pictures (B pictures) can be pictures that can be encoded and decoded using intra-frame prediction or inter-frame prediction, which uses up to two motion vectors and reference indices to predict the sample values ​​of each block. Similarly, multiple predictive pictures can use more than two reference pictures and associated metadata for reconstructing a single block.

[0104] The source picture may typically be spatially subdivided into blocks of samples (e.g., blocks of 4×4, 8×8, 4×8, or 16×16 samples), and encoded block by block. These blocks may be predictively coded with reference to other (already coded) blocks, which are determined by the coding allocation applied to the block's corresponding picture. For example, a block of an I picture may be non-predictively coded, or the block may be predictively coded (spatial prediction or intra-frame prediction) with reference to an already coded block of the same picture. A block of a P picture may be non-predictively coded by spatial prediction with reference to one previously coded reference picture or by temporal prediction. A block of a B picture may be non-predictively coded by spatial prediction with reference to one or two previously coded reference pictures or by temporal prediction.

[0105] The video encoder (203) may perform encoding operations according to a predetermined video encoding technique or standard, such as ITU-T Recommendation H.265. In operation, the video encoder (203) may perform various compression operations, including predictive encoding operations that exploit temporal and spatial redundancy in an input video sequence. Thus, the encoded video data may conform to the syntax specified by the video encoding technique or standard used.

[0106] In one embodiment, the transmitter (440) may transmit additional data when transmitting the encoded video. The video encoder (430) may include such data as part of the encoded video sequence. The additional data may include temporal / spatial / SNR enhancement layers, other forms of redundant data such as redundant pictures and slices, auxiliary enhancement information (SEI) messages, parameter set segments of video usability information (VUI), etc.

[0107] Coding block partitioning in VP9 and AV1

[0108] refer to FIG. 5A to FIG. 5D VP9 uses a 4-way partition tree starting from the 64×64 level and descending to the 4×4 level, with some additional restrictions for 8×8 blocks. It should be noted that Figure 5D The partitioning designated as R in is recursive, in that the same partitioning tree is repeated with smaller sizes until the lowest 4×4 level is reached.

[0109] refer to FIG. 6A to FIG. 6J AV1 not only expands the partition tree to a 10-way structure, but also increases the maximum size (called superblock in VP9 / AV1 terminology) from 128×128. It should be noted that this includes 4:1 / 1:4 rectangular partitions that do not exist in VP9. FIG. 6C to FIG. 6F As shown, the partition type with 3 sub-partitions is called "T-type" partition. Rectangular partitions cannot be further subdivided. In addition to the coding block size, the coding tree depth can also be defined to indicate the split depth starting from the root node. Specifically, the coding tree depth of the root node (e.g., 128×128) is set to 0, and after the tree block is further split once, the coding tree depth increases by 1.

[0110] Instead of enforcing a fixed transform unit size as in VP9, ​​AV1 allows luma coding blocks to be partitioned into transform units of multiple sizes, which can be represented by recursive partitioning with up to 2 levels of descending. To incorporate AV1's extended coding block partitioning, square 2:1 / 1:2 and 4:1 / 1:4 transform sizes from 4×4 to 64×64 are supported. For chroma blocks, only the largest possible transform unit may be allowed.

[0111] Block division in HEVC

[0112] In HEVC, a coding tree unit (CTU) can be split into coding units (CU) using a quadtree (QT) structure represented as a coding tree to accommodate various local characteristics. A decision can be made at the CU level whether to use inter-picture (temporal) prediction or intra-picture (spatial) prediction to encode a picture area. Depending on the prediction unit (PU) split type, each CU can be further split into one PU, two PUs, or four PUs. Within a PU, the same prediction process can be applied, and relevant information is transmitted to the decoder based on the PU. After obtaining the residual block by applying a prediction process based on the PU split type, the CU can be divided into transform units (TUs) according to another quadtree structure similar to the coding tree of the CU. One of the key features of the HEVC structure is that the HEVC structure has multiple partition concepts, including CU, PU, ​​and TU. In HEVC, for inter-frame prediction blocks, CU or TU may have only a square shape, while PU may have a square or rectangular shape. In HEVC, a coding block can be further split into four square sub-blocks, and a transform is performed on each sub-block (ie, TU). Each TU can be further recursively split (using quadtree splitting) into smaller TUs, which is called residual quadtree (RQT).

[0113] At picture boundaries, HEVC employs implicit quadtree splitting so that blocks will remain quadtree split until the size fits within the picture boundary.

[0114] [Quadtree of nested multi-type tree coding block structure in VVC]

[0115] In VVC, the concept of multiple partition unit types is replaced by a quadtree of nested multi-type trees using binary and ternary split partition structures. That is, VVC does not include the separation of CU, PU, ​​and TU concepts unless the size of the CU is too large for the maximum transform length, and VVC supports greater flexibility in the shape of CU partitions. In the coding tree structure, the CU can have a square or rectangular shape. The coding tree unit (CTU) is first divided by a quadtree (also called a quadtree) structure. Then, the leaf nodes of the quadtree can be further divided by a multi-type tree structure. 7A to 7D As shown in Figures (532), (534), (536) and (538), there are four types of splits in the multi-type tree structure: Fig. 7A The vertical binary split (SPLIT_BT_VER) shown in Figure 7B The horizontal binary split (SPLIT_BT_HOR) shown in Figure 7C The vertical three-way split (SPLIT_TT_VER) shown in Fig.7DThe horizontal ternary split (SPLIT_TT_HOR) shown. The leaf nodes of the multi-type tree can be called coding units (CUs), and this partitioning can be used for prediction and transform processing without any further partitioning unless the CU is too large for the maximum transform length. This means that in most cases, CUs, PUs, and TUs have the same block size in the quadtree of the nested multi-type tree coding block structure. An exception occurs when the maximum supported transform length is less than the width or height of the color components of the CU. Figure 8 An example of block partitioning for one CTU is shown. Figure 8 The CTU (540) is divided into multiple CUs using a quadtree and a nested multi-type tree coding block structure, where the bold edges represent quadtree partitions and the dashed edges represent multi-type tree partitions. The quadtree with nested multi-type tree partitions provides a content-adaptive coding tree structure including CUs.

[0116] In VVC, the maximum supported luma transform size is 64 × 64, and the maximum supported chroma transform size is 32 × 32. When the width or height of the CB is larger than the maximum transform width or height, the CB can be automatically split along the horizontal and / or vertical direction to meet the transform size restrictions in that direction.

[0117] In VTM7, the coding tree scheme supports the ability to have separate block tree structures for luminance and chrominance. For P slices and B slices, the luminance CTB and chrominance CTB in a CTU may have to share the same coding tree structure. However, for I slices, luminance and chrominance may have separate block tree structures. When a separate block tree mode is applied, the luminance CTB is divided into CUs by one coding tree structure, and the chrominance CTB is divided into chrominance CUs by another coding tree structure. This means that the CU in the I slice may include a coding block of the luminance component or a coding block of two chrominance components, and the CU in the P slice or B slice may include coding blocks of all three color components unless the video is monochrome.

[0118] Directional intra prediction in AV1

[0119] VP9 supports eight directional modes corresponding to angles ranging from 45 degrees to 207 degrees. To exploit a wider variety of spatial redundancies in directional textures, in AV1, directional intra modes are extended to a set of angles with finer granularity. The original eight angles are slightly modified to become nominal angles. These eight nominal angles are named V_PRED (542), H_PRED (543), D45_PRED (544), D135_PRED (545), D113_PRED (546), D157_PRED (547), D203_PRED (548) and D67_PRED (549). These eight nominal angles are Fig. 9 , shown relative to the current block (541). For each nominal angle, there are seven finer angles, so AV1 has a total of 56 directional angles. The predicted angle is presented by the nominal intra angle plus an angle increment, which is -3 to 3 times the 3 degree step size. In order to implement directional prediction modes in AV1 in a common way, all 56 directional intra prediction modes in AV1 are implemented using a unified directional predictor that projects each pixel to a reference sub-pixel position and interpolates the reference pixels through a 2-tap bilinear filter.

[0120]

Non-directional smooth intra predictor in AV1

[0121] In AV1, there are five non-directional smooth intra prediction modes, namely DC, PAETH, SMOOTH, SMOOTH_V and SMOOTH_H. For DC prediction, the average of the neighboring samples on the left and above is used as the predictor for the block to be predicted. For the PAETH predictor, first get the top reference sample, the left reference sample and the upper left reference sample, and then set the value closest to (top + left - upper left) as the predictor for the pixel to be predicted. Fig.10 The positions of the top sample (554), left sample (556), and upper left sample (558) of the current pixel (552) in the current block (550) are shown. For SMOOTH, SMOOTH_V mode, and SMOOTH_H mode, the current block (550) is predicted using quadratic interpolation in the vertical or horizontal direction or an average of both directions.

[0122] Chroma predicted from brightness

[0123] For chroma components, in addition to the 56 directional modes and 5 non-directional modes, Chroma Prediction from Luma (CfL) is a chroma-only intra prediction mode that models chroma pixels as linear functions of coincident reconstructed luma pixels. CfL prediction can be expressed as shown in Equation 1 below:

[0124] CfL(α)=α×L AC +DC (Equation 1)

[0125] Among them, L ACRepresents the alternating current (AC) contribution of the luma component, α represents the parameters of the linear model, and DC represents the direct current (DC) contribution of the chroma component. Specifically, the reconstructed luma pixels are subsampled to the chroma resolution, and then the average value is subtracted to form the AC contribution. In order to approximate the chroma AC component from the AC contribution, instead of requiring the decoder to calculate the scaling parameters as in some background technologies, AV1 CfL determines the parameter α based on the original chroma pixels and signals the parameter α in the bitstream. This reduces the decoder complexity and produces more accurate predictions. For the DC contribution of the chroma component, the intra-frame DC mode can be used to calculate the DC contribution of the chroma component, which is sufficient for most chroma content and has a mature and fast implementation.

[0126] For signaling of chroma intra prediction modes, eight nominal directional modes, five non-directional modes, and the CfL mode may first be signaled. The context for signaling these modes may depend on the corresponding luma mode of the top left position of the current block. Then, if the current chroma mode is a directional mode, an additional flag may be signaled to indicate the delta angle relative to the nominal angle.

[0127] Intra-block copy

[0128] Block-based compensation from different pictures may be referred to as motion compensation. Similarly, block compensation may also be done from previously reconstructed areas within the same picture. This may be referred to as intra-picture block compensation, current picture reference (CPR), or intra-block copy (IBC). The displacement vector indicating the offset between the current block and the reference block may be referred to as a block vector (BV). Unlike the motion vector in motion compensation, which may be any value (positive or negative along the x or y direction), the block vector has some constraints that ensure that the reference block pointed to is available and has been reconstructed. In addition, some reference areas that are tile boundaries or wavefront trapezoid boundaries may also be excluded for parallel processing considerations.

[0129] The encoding of block vectors can be explicit or implicit. In explicit mode (called AMVP mode in inter-frame coding), the difference between the block vector and its predictor can be signaled; in implicit mode, the block vector can be completely recovered from the predictor of the block vector in a manner similar to that of motion vectors in merge mode. In some implementations, the resolution of block vectors is restricted to integer positions; in other systems, the resolution of block vectors may be allowed to point to fractional positions.

[0130] Block-level flags (e.g., the IBC flag) can be used to signal the use of intra-block copy at the block level. In one embodiment, the flag is signaled when the current block is not encoded in merge mode. Alternatively, the flag can be signaled by a reference index method. This can be done by treating the current decoded picture as a reference picture. In HEVC SCC, such a reference picture can be placed at the last position in the list. This special reference picture can also be managed together with other temporal reference pictures in the decoded picture buffer (DPB).

[0131] For intra-block copy, there are also some variations, such as treating intra-block copy as a third mode different from intra prediction mode or inter prediction mode. By doing so, block vector prediction in merge mode and AMVP mode is separated from the regular inter mode. For example, a separate merge candidate list is defined for the intra-block copy mode, where all entries in the list are block vectors. Similarly, the block vector prediction list in the intra-block copy AMVP mode only includes block vectors. The general rule applied to these two lists is that, in terms of the candidate derivation process, these two lists can follow the same logic as the inter merge candidate list or the AMVP predictor list. For example, for intra-block copy, five spatially adjacent positions in the HEVC or VVC inter merge mode are accessed to derive its own merge candidate list. Fig.11 An example of intra-block copy is shown, which shows the current picture (560), where the current block (562) is predicted based on a reference block (564), and the position of the reference block (564) is indicated by a block vector (566).

[0132] IBC (also known as Intra BC - IntraBC) is very effective for screen content encoding, but it also brings many difficulties to hardware design. To facilitate hardware design, the following modifications can be adopted in AV1.

[0133] Modification 1: When IBC is allowed, the loop filter is disabled, and the loop filter is the deblocking filter, CDEF (constrained direction enhancement filter), and loop restoration. By doing so, the picture buffer of the reconstructed samples can be shared between IBC and inter prediction.

[0134] Modification 2: To facilitate parallel decoding, the prediction cannot exceed the restricted area. For a superblock, if the coordinates of its upper-left position are (x0, y0), then when y < y0 and x < x0 + 2 * (y0 - y) / 3, the prediction at position (x, y) can be accessed through IBC.

[0135] To allow for hardware write-back latency, access to the immediate reconstruction region may not be possible through IBC prediction. The restricted immediate reconstruction region can be 1 to n superblocks. Thus, based on Modification 2, if the coordinates of the upper-left position of a superblock are (x0, y0), then when y < y0 and x < x0 + 2*(y0 - y) - D, the prediction at position (x, y) can be accessed through IBC, where D represents the restricted immediate reconstruction region. When D is one superblock, the prediction region can be as shown in Fig.12 shown. In Fig.12 , multiple current processing blocks (572) are shown by diagonal stripes, multiple restricted immediate blocks (574) are shown by cross-hatching, and multiple allowed prediction blocks (576) are shown by dark patterns.

[0136] In VVC, the search range of the IBC mode can be constrained within the current CTU. The effective memory requirement for storing reference samples in the IBC mode can be samples of 1 CTU size. Considering that the existing reference sample memory stores the reconstructed samples in the current 64×64 region, three additional reference sample memories of 64×64 size may be required. Based on this fact, the method of the embodiments of the present disclosure can extend the effective search range of the IBC mode to a certain part of the left CTU while keeping the total memory requirement for storing reference pixels unchanged (1 CTU size, a total of 4 reference sample memories of 64×64). An example of such a memory reuse mechanism is shown in FIG. 13A to FIG. 13D , where the diagonal stripe blocks are the current coding regions, the samples in the dotted-patterned frames are the encoded samples, and the crossed-out regions (marked with "X") cannot be used as references because in the reference sample memory, these regions are replaced by the coding regions in the current CTU.

[0137] For example, in Fig.13A , the reference sample (612a) marked with X cannot be used for the current sample (611). Similarly, in Fig. 13B , the reference samples (622a) and (622b) cannot be used for the current sample (621). In Fig. 13C , the reference samples (632a), (632b), and (632c) cannot be used for the current sample 631, and in Fig.13D , the reference samples (642a), (642b), (642c), and (642d) cannot be used for the current sample (641).

[0138]

Problems of the coding mode of the comparative technique

[0139] IBC and other coding modes can assume a single texture pattern within a block. However, in many typical video contents, objects occlude each other. For example, non-moving text and logos float on top of the main video content with completely different texture patterns or motion. For example, Fig.14 As shown in the video frame (700), it can be seen that there are two examples of matching characters "o" (702) and "E" (704). However, these matching characters are located on different backgrounds and IBCs (assuming that all samples share the same block vector) and therefore cannot effectively capture the text and background.

[0140] [Exemplary aspects of embodiments of the present disclosure]

[0141] The embodiments of the present disclosure may be used alone or in any order. In addition, each embodiment (e.g., method, encoder, and decoder) may be implemented by a processing circuit (e.g., one or more processors or one or more integrated circuits). In one example, one or more processors execute a program stored in a non-transitory computer-readable medium.

[0142] Embodiments of the present disclosure may include any number of the aspects described above. Embodiments of the present disclosure may also include one or more aspects described below and solve the problems discussed above and / or other problems.

[0143] A. First aspect

[0144] According to an embodiment, instead of applying a single prediction mode to a block, multiple prediction modes may be applied to a single block, and a segmentation process may be performed to divide samples in a single block into different segments, each segment may be associated with one of the selected prediction modes. Then, for samples belonging to a first segment, the associated first prediction mode is used to generate predicted samples of the first segment; for samples belonging to a second segment, the associated second prediction mode is used to generate predicted samples of the second segment, and so on. Fig.15 An example of such a process is shown, where samples of a current block (722) are classified (partitioned) into a first segment (A) and a second segment (B). The samples of the first segment (A) can be predicted by applying an IBC mode, using a block vector (726) to obtain a prediction block (724); and the samples of the second segment (B) can be predicted by applying a conventional intra-frame prediction mode, using neighboring reconstructed samples to generate prediction values.

[0145] According to one embodiment, multiple prediction modes may be signaled for a block, such as the current block (722). In one example, the multiple prediction modes include an IBC prediction mode (including a block vector) and an intra prediction mode (including an intra prediction mode or direction), which uses neighboring reconstructed samples to perform intra prediction.

[0146] According to one embodiment, IBC is applied to a single block (e.g., current block (722)) together with one or more default intra prediction modes, and only mode information related to IBC (e.g., block vector) is signaled. For samples within a single block, the IBC mode is applied to some samples, and one or more default intra prediction modes are applied to the remaining samples. Default intra prediction modes include, but are not limited to, DC, Planar, SMOOTH, SMOOTH_H, SMOOTH_V, Paeth, and Plane modes.

[0147] According to one embodiment, IBC is applied to a single block (e.g., a current block (722)) together with one or more default intra prediction modes, and mode information related to IBC (e.g., a block vector) is inferred. For samples within a single block, the IBC mode is applied to some samples, and one or more default intra prediction modes are applied to the remaining samples. The inferred IBC information (block vector) can be derived (e.g., by a decoder) from a block vector predictor list (e.g., those predictor lists used to generate a merge list). If there are more than one possible block vector candidate, an index value can be signaled to select a block vector from the block vector predictor list. For example, the index value can be received by the decoder from the encoder. Otherwise, a default selection can be made if the encoder does not send an index and the decoder does not receive an index. In this case, for example, it can be assumed (e.g., by a decoder) that the first block vector candidate in the predictor list is to be used. Default intra prediction modes include, but are not limited to, DC, Planar, SMOOTH, SMOOTH_H, SMOOTH_V, Paeth, and Plane modes.

[0148] Embodiments (e.g., decoders) may perform the segmentation process in different ways. According to an embodiment, the segmentation process may be performed on the current block (722). In one example, a threshold value of samples within a single current block (722) is first calculated. According to the threshold value, the sample is classified into different fragments by comparing the value of the sample with the threshold value. The threshold value includes, but is not limited to, an average value, a median value, or other values ​​derived from the average value or the median value. In another example, a histogram of the distribution of the values ​​of the sample is calculated. According to the histogram, one or more threshold values ​​about the sample count are derived, and the sample is classified into different fragments by comparing the sample count of the sample in the histogram with the threshold value. In another example, a convolutional neural network is applied, which uses the samples of the current block (722) as input, and the output of the convolutional neural network is the fragment index of each sample. In another example, an edge detection method may be applied to the block. Segmentation may be accomplished based on possible edge boundaries.

[0149] According to one or more embodiments, reference Fig.16 , first applying segmentation to the reference block (730), and then further mapping the segmentation information to the current block (740) to derive the segmentation of the samples of the current block (740). In one example, the block vector is used to identify the reference block (730) in the adjacent reconstructed area, applying segmentation to the reference block (730), and then mapping the segmentation information to the current block (740) using the block vector. Fig.16 , a reference block (730) of the current block (740) is derived using the block vectors within the same picture. Then, a segmentation process is applied to the reference block (730) to divide the reference block (730) into, for example, a plurality of parts (e.g., a first segment (732) and a second segment (734)). Fig.16 In the example shown, the first segment (732) includes an area outside the image of the bird, and the second segment (734) includes the image of the bird. During the segmentation process, a segmentation map (736) indicating the segment index of each sample is obtained. Fig.16, the black portion of the segmentation map (736) corresponds to the first segment (732), and the white portion of the segmentation map (736) corresponds to the second segment (734). Then, the segmentation map (736) is mapped to the current block (740) using the block vector to derive segmentation information of the current block (740). Based on the segmentation information, the current block (740) is segmented into a plurality of segments (e.g., two segments corresponding to the first segment (732) and the second segment (734)). For example, the first segment of the current block (740) includes an area outside the image of the bird, and the second segment of the current block (740) includes the image of the bird. Then, a conventional prediction process is applied to the current block (740) to derive a conventional prediction block (750). For example, the conventional prediction process may be applied to the first segment of the current block (740) (including the area outside the image of the bird), but not to the second segment of the current block (740). Finally, the second segment (734) from the reference block (730) and the regular prediction block (750) are combined using the partition map (736) to derive a combined prediction block (760).

[0150] For each segment, prediction samples may be generated within the boundaries of the segment. After predicting the samples for each possible segment, the predicted segments may be merged together to form a final predictor for the current block (740). The prediction block and possible decoded residual block signals together (before any loop filtering) may form a reconstructed block by adding them together.

[0151] According to an embodiment, identifying the reference block (730), using a second fragment (734) of the reference block (730) for prediction, and combining the second fragment (734) with the conventional prediction block (750) can all be considered to be part of a prediction mode that is different from the conventional prediction process used to obtain the combined prediction block (760).

[0152] B. Second Aspect

[0153] According to the example described above with respect to the first aspect, it may be necessary to specify the block vector of the intra block copy mode and the intra prediction direction (or non-directional mode option) for the partitioned prediction mode. A non-limiting example process of selection that may be performed (eg, by a decoder) is described below.

[0154] In one embodiment, a block vector of an IBC mode is signaled to indicate a reference block location. The signaling may be based on a vector prediction and a coded difference. The coded difference may be the difference between the block vector and its predictor and may be received by the decoder from the encoder.

[0155] In another embodiment, a list of block vector candidates is obtained, and a candidate is selected from the list by signaling the index of an entry in the list. The selected candidate is used as the block vector without the difference being encoded.

[0156] In another embodiment, a list of block vector candidates is obtained, and a candidate is selected from the list by selecting a default entry position in the list. For example, the decoder may select the first entry in the list as the default entry position. In this case, there may be no need to signal the index. The selected candidate is used as the block vector without the difference being encoded.

[0157] In another embodiment, the intra mode is signaled to indicate the intra prediction method for one of the segments. The signaling may be based on a separate set of intra prediction modes. In one example, conventional intra prediction may have M prediction modes, while the separate set of intra prediction modes may be N modes. N may not be equal to M. A most probable mode (MPM) list may be obtained to predict the selected intra mode. In one example, the N intra prediction modes may be a subset of the full set of M conventional intra prediction modes.

[0158] In another embodiment, a list of intra prediction mode candidates is obtained, and one candidate is selected from the list by signaling the index of an entry in the list. The selected candidate is used as the intra prediction mode without the difference being encoded.

[0159] In another embodiment, a list of intra-prediction mode candidates is obtained, and a candidate is selected from the list by selecting a default entry position in the list. For example, the decoder may select the first entry in the list as the default entry position. In this case, there may be no need to signal the index. The selected candidate is used as the intra-prediction mode without the encoded difference.

[0160] According to an embodiment, at least one processor and a memory storing computer program instructions may be provided. When the computer program instructions are executed by the at least one processor, the computer program instructions may implement an encoder or a decoder and may perform any number of functions described in the present disclosure. For example, referring to Fig.17 , at least one processor may implement a decoder (800). The computer program instructions may include, for example, a reconstruction code (810) configured to cause the at least one processor to reconstruct a current block of an encoded picture received (e.g., from an encoder). The reconstruction code (810) may include, for example, a signaling or inference code (820), a segmentation code (830), a first prediction code (840), and / or a second prediction code (850).

[0161] According to an embodiment of the present disclosure, the signaling or inference code (820) may be configured to cause at least one processor to signal a value of a syntax element (e.g., a flag, an index, etc.), wherein the syntax element may be received from the encoder or otherwise obtained by the decoder 800. Alternatively or additionally, according to an embodiment of the present disclosure, the signaling or inference code (820) may be configured to cause at least one processor to infer information (e.g., a default intra-frame prediction mode and / or mode information related to IBC).

[0162] According to an embodiment of the present disclosure, the segmentation code (830) may include a current block segmentation code, and the current block segmentation code is configured to cause at least one processor to segment the samples of the current block into a plurality of segments, the plurality of segments including a first segment and a second segment. For example, the current block segmentation code may be configured to cause at least one processor to calculate at least one threshold value based on the samples of the current block, and to segment the samples of the current block based on the at least one threshold value. In this case and other cases, the segmentation of the samples of the current block may be performed before applying the first prediction mode. Alternatively, referring to Fig.16 , the current block segmentation code may be configured to cause at least one processor to segment samples of the current block by mapping the obtained segmentation information (e.g., segmentation map) of the reference block to the current block. In this case, the segmentation code (830) may further include a reference block segmentation code, the reference block segmentation code being configured to cause at least one processor to segment samples of the reference block of the encoded picture into a plurality of segments to obtain segmentation information of the reference block. In this case and other cases, the segmentation of the samples may be performed at least partially simultaneously with the application of the first prediction mode.

[0163] According to an embodiment of the present disclosure, the first prediction code (840) may be configured to cause at least one processor to apply a first prediction mode to predict a first fragment of a current block of an encoded picture. According to an embodiment, the first prediction mode may be an IBC mode. According to an embodiment, referring to Fig.16 , the first prediction code (840) may be configured to cause at least one processor to identify the reference block based on the block vector before segmenting samples of the reference block and before segmenting samples of the current block. In this case, the first prediction code (840) may be configured to cause at least one processor to obtain a combined prediction block by combining the prediction block of the current block with a fragment of the reference block corresponding to the first fragment of the current block using the segmentation information.

[0164] The second prediction code (850) may be configured to cause at least one processor to apply a second prediction mode different from the first prediction mode to predict a second segment of the current block of the encoded picture. According to an embodiment, the second prediction mode may be an intra-frame prediction mode, which uses adjacent reconstructed samples to perform intra-frame prediction. According to an embodiment, reference Fig.16The second prediction code (850) may be configured to enable at least one processor to obtain a prediction block for predicting a second fragment of the current block, wherein the prediction block is used to obtain a combined prediction block.

[0165] According to an embodiment, a person of ordinary skill in the art may understand based on the above description that an encoder-side process corresponding to the above process may be implemented by an encoding code for encoding a picture.

[0166] The techniques of the embodiments of the present disclosure described above may be implemented as computer software using computer-readable instructions and may be physically stored in one or more computer-readable media. Fig.18 A computer system (900) suitable for implementing embodiments of the disclosed subject matter is shown.

[0167] Computer software may be encoded using any suitable machine code or computer language that may be subjected to assembly, compilation, linking or similar mechanisms to create code comprising instructions that may be executed directly by a computer central processing unit (CPU), graphics processing unit (GPU), etc., or through interpretation, microcode execution, etc.

[0168] The instructions may be executed on various types of computers or components thereof, including, for example, personal computers, tablet computers, servers, smartphones, gaming devices, Internet of Things devices, etc.

[0169] Fig.18 The components of the computer system (900) shown are exemplary in nature and are not intended to suggest any limitation on the scope of use or functionality of computer software implementing embodiments of the present disclosure. Nor should the configuration of components be interpreted as having any dependency or requirement related to any one or combination of components shown in the exemplary embodiment of the computer system (900).

[0170] The computer system (900) may include certain human-machine interface input devices. Such human-machine interface input devices may be responsive to input from one or more human users through, for example, tactile input (e.g., keystrokes, swipes, data glove movements), audio input (e.g., voice, clapping), visual input (e.g., gestures), olfactory input (not depicted). Human-machine interface devices may also be used to capture certain media that are not necessarily directly related to human conscious input, such as audio (e.g., voice, music, ambient sounds), images (e.g., scanned images, photographic images obtained from a still image camera), and videos (e.g., two-dimensional video, three-dimensional video including stereoscopic video).

[0171] The input human interface devices may include one or more of the following (only one of each is shown): keyboard (901), mouse (902), touchpad (903), touch screen (910), data gloves, joystick (905), microphone (906), scanner (907) and camera (908).

[0172] The computer system (900) may also include certain human-computer interface output devices. Such human-computer interface output devices may stimulate one or more human user senses, for example, through tactile output, sound, light, and smell / taste. Such human-computer interface output devices may include tactile output devices (e.g., tactile feedback of a touch screen (910), a data glove, or a joystick (905), but may also be a tactile feedback device that is not an input device). For example, such devices may be audio output devices (e.g., speakers (909), headphones (not depicted)), visual output devices (e.g., screens (910) including CRT screens, LCD screens, plasma screens, OLED screens, each with or without touch screen input capabilities, each with or without tactile feedback capabilities - some of which are capable of outputting two-dimensional visual outputs or outputs in more than three dimensions through devices such as stereoscopic image output, virtual reality glasses (not depicted), holographic displays and smoke boxes (not depicted), and printers (not depicted).

[0173] The computer system (900) may also include human-accessible storage devices and their associated media, such as optical media including CD / DVD ROM / RW (920) with CD / DVD etc. media (921), thumb drives (922), removable hard drives or solid-state drives (923), traditional magnetic media such as tapes and floppy disks (not depicted), dedicated ROM / ASIC / PLD based devices such as security dongles (not depicted), and the like.

[0174] Those skilled in the art should also understand that the term "computer-readable media" used in connection with the presently disclosed subject matter does not encompass transmission media, carrier waves, or other transitory signals.

[0175] The computer system (900) may also include an interface to one or more communication networks. The network may be, for example, a wireless network, a wired network, an optical network. The network may further be a local network, a wide area network, a metropolitan area network, a vehicle and industrial network, a real-time network, a delay-tolerant network, etc. Examples of networks include local area networks such as Ethernet, wireless LANs, cellular networks including GSM, 3G, 4G, 5G, LTE, etc., television wired or wireless wide area digital networks including cable television, satellite television, and terrestrial broadcast television, vehicle and industrial networks including CANBus, etc. Some networks typically require an external network interface adapter connected to some general-purpose data port or peripheral bus (949) (e.g., a USB port of the computer system (900)); as described below, other network interfaces are typically integrated into the kernel of the computer system 900 by connecting to the system bus (e.g., connected to an Ethernet interface in a PC computer system or connected to a cellular network interface in a smartphone computer system). The computer system (900) can use any of these networks to communicate with other entities. Such communications may be one-way, one-way receive only (e.g., broadcast television), one-way send only (e.g., CANbus connected to certain CANbus devices), or two-way, for example, using a LAN or WAN digital network to connect to other computer systems. Such communications may include communications with a cloud computing environment (955). As described above, certain protocols and protocol stacks may be used on each of those networks and network interfaces.

[0176] The above-mentioned human interface devices, human-accessible storage devices, and network interfaces (954) may be attached to the kernel (940) of the computer system (900).

[0177] The core (940) may include one or more central processing units (CPUs) (941), graphics processing units (GPUs) (942), dedicated programmable processing units in the form of field programmable gate arrays (FPGAs) (943), hardware accelerators (944) for certain tasks, etc. These devices, as well as read-only memory (ROM) (945), random access memory (946), internal mass storage (947) such as internal non-user accessible hard drives, SSDs, etc., may be connected via a system bus (948). In some computer systems, the system bus (948) may be accessed in the form of one or more physical plugs to enable expansion by additional CPUs, GPUs, etc. Peripheral devices may be attached to the core's system bus (948) directly or via a peripheral bus (949). The architecture of the peripheral bus includes PCI, USB, etc. A graphics adapter (950) may be included in the core (940).

[0178] The CPU (941), GPU (942), FPGA (943) and accelerator (944) can execute certain instructions, which can be combined to form the above-mentioned computer code. The computer code can be stored in ROM (945) or RAM (946). Transition data can also be stored in RAM (946), while permanent data can be stored, for example, in internal mass storage (947). Fast storage and retrieval to any storage device can be performed by using a cache, which can be closely associated with the following components: one or more CPUs (941), GPUs (942), mass storage (947), ROM (945), RAM (946), etc.

[0179] The computer readable medium may have thereon computer code for performing various computer-implemented operations. The medium and computer code may be those specially designed and constructed for the purposes of the present disclosure, or the medium and computer code may be of a type well known and available to those skilled in the art of computer software.

[0180] As a non-limiting example, a computer system having an architecture (900), particularly a kernel (940), may provide functionality due to one or more processors (including CPUs, GPUs, FPGAs, accelerators, etc.) executing software contained in one or more tangible computer-readable media. Such computer-readable media may be media associated with user-accessible mass storage as described above, as well as certain non-temporary memories of the kernel (940), such as kernel internal mass storage (947) or ROM (945). Software implementing the various embodiments of the present disclosure may be stored in such devices and executed by the kernel (940). Depending on specific needs, the computer-readable medium may include one or more storage devices or chips. The software may enable the kernel (940), particularly the processors therein (including CPUs, GPUs, FPGAs, etc.), to perform specific processes or specific parts of specific processes described herein, including defining data structures stored in RAM (946) and modifying such data structures according to processes defined by the software. Additionally or alternatively, the computer system may provide functionality due to logic hardwired or otherwise embodied in circuitry (e.g., accelerator (944)) that may replace software or operate in conjunction with software to perform specific processes or specific portions of specific processes described herein. Where appropriate, references to portions of software may include logic and vice versa. Where appropriate, references to computer-readable media may include circuitry (e.g., integrated circuits (ICs)) storing software for execution, circuitry embodying logic for execution, or both. The present disclosure includes any suitable combination of hardware and software.

[0181] Although the present disclosure has described a number of non-limiting example embodiments, there are changes, permutations, and various replacement equivalents that fall within the scope of the present disclosure. Therefore, it should be understood that those skilled in the art will be able to design many systems and methods that, although not explicitly shown or described herein, embody the principles of the present disclosure and therefore fall within the spirit and scope of the present disclosure.

Claims

1. A method for video decoding, the method include: Receive the encoded picture; Reconstructing a current block of the coded picture, the reconstruction comprising: Splitting samples of a reference block of the encoded picture into a plurality of segments to obtain segmentation information of the reference block; Splitting the samples of the current block into a plurality of segments, and mapping the segmentation information of the reference block to the current block based on a block vector, wherein the plurality of segments include a first segment and a second segment, and the reference block is identified based on the block vector before the samples of the reference block are segmented and before the samples of the current block are segmented; predicting the first fragment of the current block of the encoded picture by using a first prediction mode; and predicting the second fragment of the current block of the encoded picture by using a second prediction mode, the second prediction mode being different from the first prediction mode.

2. The method according to claim 1, It is characterized in that The first prediction mode is an intra block copy (IBC) mode, and The second prediction mode is an intra prediction mode which performs intra prediction using adjacent reconstructed samples.

3. The method according to claim 2, It is characterized in that The reconstructing the current block of the encoded picture further comprises: signaling the first prediction mode.

4. The method according to claim 2, It is characterized in that The reconstructing the current block of the encoded picture further comprises: signaling the second prediction mode.

5. The method according to claim 1, It is characterized in that The predicting the second segment of the current block of the encoded picture comprises: obtaining a prediction block for predicting the second segment of the current block; and The predicting the first segment of the current block of the encoded picture further includes obtaining a combined prediction block by combining the prediction block of the current block with a segment of the reference block corresponding to the first segment of the current block using the partition information.

6. The method according to claim 5, It is characterized in that The segmentation information is a segmentation map.

7. The method according to any one of claims 1 to 4, It is characterized in that The partitioning of samples of the current block is performed before the predicting of the first segment of the current block of the encoded picture.

8. A system for video decoding, include: at least one memory configured to store computer program code; as well as At least one processor is configured to access the computer program code and operate according to instructions of the computer program code, wherein the computer program code enables the processor to perform the video decoding method according to any one of claims 1 to 7.

9. A computer-readable storage medium storing computer instructions, wherein the computer instructions are configured to, when executed by at least one processor, cause the at least one processor to perform the method according to any one of claims 1 to 7.

10. A video decoding device, include: A receiving unit, configured to receive an encoded picture; A reconstruction unit, configured to reconstruct a current block of the encoded picture, the reconstruction unit comprising: a current block segmentation module, configured to segment samples of a reference block of the encoded picture into a plurality of segments to obtain segmentation information of the reference block; segment samples of the current block into a plurality of segments, and map the segmentation information of the reference block to the current block based on a block vector, wherein the plurality of segments include a first segment and a second segment, and the reference block is identified based on the block vector before segmenting the samples of the reference block and before segmenting the samples of the current block; A first prediction module, configured to predict the first segment of the current block of the encoded picture by using a first prediction mode; and A second prediction module is configured to predict the second segment of the current block of the encoded picture by using a second prediction mode, wherein the second prediction mode is different from the first prediction mode.