Intra-prediction mode information propagation for geometric partition mode using IBC and intra prediction
Patent Information
- Application Number
- JP2024193647
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-08-29
- Filing Date
- 2024-11-05
- Publication Date
- 2025-09-01
- Estimated Expiration
- 2042-08-30
AI Technical Summary
Existing video coding technologies face inefficiencies in intra prediction modes, particularly in handling geometric partition modes, leading to increased bandwidth and memory requirements due to high implementation costs and memory bandwidth demands.
The implementation of a geometric partition mode (GPM) using Intra Block Copy (IBC) prediction mode, where the first partition is associated with IBC and the second partition with intra prediction mode, with intra prediction mode information being propagated and stored for adjacent blocks to improve coding efficiency.
This approach reduces memory bandwidth requirements and enhances coding efficiency by leveraging intra prediction mode information for geometric partitions, improving compression performance in video coding.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims benefit of priority to U.S. Patent Application No. 17 / 898,447, entitled "INTRA PREDICTION MODE INFORMATION PROPAGATION FOR GEOMETRIC PARTITION MODE WITH IBC AND INTRA PREDICTION," filed August 29, 2022, which claims benefit of priority to U.S. Provisional Application No. 63 / 239,221, entitled "Intra Prediction Mode Information Propagation for Geometric Partition Mode with IBC and Intra Prediction," filed August 31, 2021. The disclosures of the prior applications are incorporated herein by reference in their entireties.
[0002] This disclosure generally describes embodiments related to video coding. [Background technology]
[0003] The discussion of the background art provided herein is intended to provide a general context for the present disclosure. The work of the inventors named herein is not admitted, expressly or impliedly, as prior art to the present disclosure to the extent that their work is described in this Background section, as well as aspects of the description that may not otherwise qualify as prior art at the time of filing.
[0004] Uncompressed digital images and / or videos may include a sequence of pictures, each having spatial dimensions of, for example, 1920x1080 luma samples and associated chroma samples. The sequence of pictures may have a fixed or variable picture rate (also informally known as frame rate), for example, 60 pictures per second or 60 Hz. Uncompressed images and / or videos have specific bitrate requirements. For example, 1080p60 4:2:0 video (1920x1080 luma sample resolution at a frame rate of 60 Hz) at 8 bits per sample requires a bandwidth approaching 1.5 Gbit / s. One hour of such video requires more than 600 Gbytes of storage space.
[0005] One objective of image and / or video coding and decoding may be the reduction of redundancy in the input image and / or video signal through compression. Compression may help reduce the aforementioned bandwidth and / or storage space requirements, in some cases by more than one order of magnitude. The description herein uses video encoding / decoding as an illustrative example, but the same techniques may be applied to image encoding / decoding in a similar manner without departing from the spirit of the present disclosure. Both lossless and lossy compression may be employed, as well as combinations thereof. Lossless compression refers to techniques that can reconstruct an exact copy of the original signal from the compressed original signal. When using lossy compression, the reconstructed signal may not be identical to the original signal, but the distortion between the original signal and the reconstructed signal is small enough to make the reconstructed signal useful for the intended application. For video, lossy compression is widely adopted. The amount of distortion that is tolerated depends on the application, e.g., users of a particular consumer streaming application may tolerate higher distortion than users of a television distribution application. The achievable compression ratio may reflect that the greater the acceptable / tolerable distortion, the higher the compression ratio may be.
[0006] Video encoders and decoders can utilize techniques from a number of broad categories, including, for example, motion compensation, transform processing, and entropy coding.
[0007] Video codec technology can include a technique known as intra-coding. In intra-coding, sample values are represented without reference to samples or other data from previously reconstructed reference pictures. In some video codecs, a picture is spatially subdivided into blocks of samples. When all blocks of samples are coded in intra mode, the picture may be an intra picture. Intra pictures and their derivatives, such as independent decoder refresh pictures, can be used to reset the decoder state, and therefore can be used as the first picture in a coded video bitstream and video session, or as a still image. Samples of an intra block can undergo a transform, and the transform coefficients can be quantized before entropy coding. Intra prediction can be a technique that minimizes sample values in the pre-transform domain. In some cases, the smaller the DC value after the transform and the smaller the AC coefficients, the fewer bits are needed at a given quantization step size to represent the block after entropy coding.
[0008] For example, conventional intra-coding, used in MPEG-2 generation coding techniques, does not use intra-prediction. However, some newer video compression techniques include techniques that attempt to perform prediction based on surrounding sample data and / or metadata obtained during encoding / decoding of a data block, for example. Such techniques are hereinafter referred to as "intra-prediction" techniques. It should be noted that, at least in some cases, intra-prediction uses only reference data from the current picture being reconstructed, and not from a reference picture.
[0009] Intra prediction can take many different forms. If more than one of such techniques can be used in a given video coding technique, the particular technique in use can be coded as a particular intra prediction mode that uses the particular technique. In certain cases, an intra prediction mode can have sub-modes and / or parameters that can be coded separately or included in a mode codeword that defines the prediction mode used. Which codeword is used for a given mode, sub-mode, and / or parameter combination can affect the coding efficiency gains via intra prediction, and so can the entropy coding technique used to convert the codeword into a bitstream.
[0010] A specific mode of intra prediction was introduced in H.264, improved in H.265, and further improved in newer coding techniques such as Joint Search Model (JEM), Versatile Video Coding (VVC), and Benchmark Set (BMS). A predictor block can be formed using neighboring sample values belonging to already available samples. The sample values of the neighboring samples are copied to the predictor block according to the direction. The reference to the direction in use can be coded in the bitstream or can be predicted itself.
[0011] Referring to FIG. 1A, depicted at the bottom right is a subset of 9 predictor directions known from the 33 possible predictor directions defined in H.265 (corresponding to the 33 angle modes of the 35 intra modes). The point where the arrows converge (101) represents the sample being predicted. The arrows represent the direction from which the sample is predicted. For example, arrow (102) indicates that sample (101) is predicted from one or more samples to the upper right at an angle of 45 degrees from the horizontal. Similarly, arrow (103) indicates that sample (101) is predicted from one or more samples to the lower left of sample (101) at an angle of 22.5 degrees from the horizontal.
[0012] 1A, at the top left is shown a square block (104) of 4×4 samples (indicated by a thick dashed line). The square block (104) contains 16 samples, each labeled with "S", its position in the Y dimension (e.g., row index), and its position in the X dimension (e.g., column index). For example, sample S21 is the second sample (from the top) in the Y dimension and the first sample (from the left) in the X dimension. Similarly, sample S44 is the fourth sample in both the Y and X dimensions in the block (104). Since the block is 4×4 samples in size, S44 is at the bottom right. Also shown are reference samples that follow a similar numbering scheme. The reference samples are labeled with R, their Y position (e.g., row index), and X position (column index) relative to the block (104). In both H.264 and H.265, the predicted samples are adjacent to the block being reconstructed, and therefore negative values do not need to be used.
[0013] Intra-picture prediction can work by copying reference sample values from adjacent samples indicated by the signaled prediction direction. For example, assume that the coded video bitstream includes signaling for this block indicating a prediction direction that coincides with the arrow (102), i.e., the sample is predicted from the sample to the upper right, at an angle of 45 degrees from the horizontal. In that case, samples S41, S32, S23, S14 are predicted from the same reference sample R05. Then, sample S44 is predicted from reference sample R08.
[0014] In certain cases, to calculate a reference sample, especially when the orientation is not evenly divisible by 45 degrees, the values of multiple reference samples may be combined, for example by interpolation.
[0015] The number of possible directions is increasing as video coding techniques develop. In H.264 (2003), nine different directions could be represented. This increased to 33 in H.265 (2013). Currently, JEM / VVC / BMS can support up to 65 directions. Experiments have been carried out to identify the most likely directions, and certain techniques of entropy coding are used to represent those likely directions with a small number of bits, accepting a certain penalty for less likely directions. Furthermore, the direction itself may be predicted from neighboring directions used in adjacent already decoded blocks.
[0016] FIG. 1B shows a schematic diagram (110) illustrating 65 intra prediction directions with JEM to show the increasing number of prediction directions over time.
[0017] The mapping of intra-prediction direction bits representing directions in the coded video bitstream may vary depending on the video coding technique. Such mappings may range from simple direct mappings to complex adaptive schemes including codewords, most probable modes, and similar techniques. However, in most cases, there may be certain directions that are statistically less likely to occur in the video content than certain other directions. Since the goal of video compression is to reduce redundancy, these less likely directions are represented by more bits than more likely directions in a well-performing video coding technique.
[0018] Image and / or video coding and decoding can be performed using inter-picture prediction with motion compensation. Motion compensation can be a lossy compression technique and can refer to a technique in which blocks of sample data from a previously reconstructed picture or part thereof (reference picture) are used to predict a newly reconstructed picture or part of a picture after being spatially shifted in a direction indicated by a motion vector (hereinafter MV). In some cases, the reference picture can be the same as the picture currently being reconstructed. The MV can have two dimensions X and Y, or three dimensions, the third dimension being an indication of the reference picture in use (the latter can indirectly be a temporal dimension).
[0019] In some video compression techniques, the MV applicable to a particular area of sample data may be predicted from other MVs, e.g., from an MV associated with another area of sample data that is spatially adjacent to the area being reconstructed and precedes that MV in decoding order. Doing so can significantly reduce the amount of data required to code the MV, thereby eliminating redundancy and increasing the compression ratio. For example, when coding an input video signal derived from a camera (known as natural video), MV prediction can work effectively since there exists a statistical possibility that areas larger than the area to which a single MV is applicable move in a similar direction, and thus, in some cases, can be predicted using similar motion vectors derived from MVs of neighboring areas. As a result, the detected MV for a given area is similar or the same as the MV predicted from the surrounding MVs, and after entropy coding, can be represented with fewer bits than would be used when coding the MV directly. In some cases, MV prediction can be an example of lossless compression of a signal (i.e., MV) derived from an original signal (i.e., a sample stream). In other cases, the MV prediction itself may be lossy, e.g., due to rounding errors when computing a predictor from several surrounding MVs.
[0020] Various MV prediction mechanisms are described in H.265 / HEVC (ITU-T Rec. H.265, "High Efficiency Video Coding", December 2016). Among the many MV prediction mechanisms offered by H.265, the one described with reference to Fig. 2 is a technique hereafter referred to as "spatial merging".
[0021] Referring to Figure 2, the current block (201) contains samples that have been found by the encoder during the motion search process to be predictable from a previous block of the same size but spatially shifted. Instead of coding its MV directly, the MV can be derived from metadata associated with one or more reference pictures, e.g., the most recent reference picture (in decoding order), using MVs associated with any one of five surrounding samples denoted A0, A1, and B0, B1, B2 (202-206, respectively). In H.265, MV prediction can use predictors from the same reference picture that neighboring blocks are using. Summary of the Invention [Means for solving the problem]
[0022] Aspects of the present disclosure provide a method and apparatus for video encoding / decoding. In some examples, an apparatus for video decoding includes a processing circuit.
[0023] According to one aspect of the present disclosure, a method of video decoding implemented in a video decoder is provided. In the method, encoded information of a current block in a current picture of a video may be received from an encoded video bitstream. The encoded information may indicate that the current block is divided into at least a first partition and a second partition based on a geometric partition mode (GPM). The first partition may be associated with an intra block copy (IBC) prediction mode, and the second partition may be associated with an intra prediction mode. Prediction mode information of a first sub-block of a plurality of sub-blocks of the current block may be stored. The prediction mode information may include one of a DC mode, a planar mode, and an intra prediction mode based on whether the first sub-block is associated with one of an IBC prediction mode, an intra prediction mode, and both an IBC prediction mode and an intra prediction mode.
[0024] In this method, the stored prediction mode information can be used to perform a Most Probable Mode (MPM) derivation for the neighboring blocks of the current block.
[0025] In some embodiments, the step of storing prediction mode information based on the first sub-block being associated with an IBC prediction mode may include storing only Planar mode in the prediction mode information of the first sub-block of the multiple sub-blocks of the current block.
[0026] In some embodiments, the step of storing the prediction mode information based on the first sub-block being associated with an intra-prediction mode may include storing only the intra-prediction mode in the prediction mode information of the first sub-block of the multiple sub-blocks of the current block.
[0027] In some embodiments, the step of storing prediction mode information based on the first sub-block being associated with both an IBC prediction mode and an intra prediction mode may include storing only an intra prediction mode in the prediction mode information of the first sub-block of the multiple sub-blocks of the current block.
[0028] In one embodiment, a DC mode can be stored for each of multiple sub-blocks of the current block based on a first partition of the current block being associated with an IBC prediction mode and a second partition of the current block being associated with an intra prediction mode.
[0029] In one embodiment, a planar mode can be stored for each of multiple sub-blocks of the current block based on a first partition of the current block being associated with an IBC prediction mode and a second partition of the current block being associated with an intra prediction mode.
[0030] In one embodiment, an intra prediction mode can be stored for each of multiple sub-blocks of the current block based on a first partition of the current block being associated with an IBC prediction mode and a second partition of the current block being associated with an intra prediction mode.
[0031] In some embodiments, the prediction mode information of a first sub-block among multiple sub-blocks of the current block may be a propagated intra mode for MPM derivation of a neighboring block of the current block, where the neighboring block is predicted by an IBC prediction mode.
[0032] In some embodiments, each of the multiple sub-blocks of the current block may be a 4x4 pixel unit.
[0033] According to another aspect of the present disclosure, an apparatus is provided, the apparatus including a processing circuit, the processing circuit being configured to perform any of the methods for video encoding / decoding.
[0034] Aspects of the present disclosure also provide a non-transitory computer-readable medium storing instructions that, when executed by a computer for video decoding, cause the computer to perform any of the methods for video encoding / decoding.
[0035] Further features, nature and various advantages of the disclosed subject matter will become more apparent from the following detailed description and the accompanying drawings. [Brief description of the drawings]
[0036] [Figure 1A] FIG. 2 is a schematic diagram of an example subset of intra-prediction modes. [Figure 1B] FIG. 2 is a diagram of an example intra-prediction direction. [Diagram 2] FIG. 2 is a schematic diagram of a current block and its surrounding spatial merge candidates in one example. [Diagram 3] FIG. 3 is a schematic diagram of a simplified block diagram of a communication system (300) according to one embodiment. [Figure 4] FIG. 4 is a schematic diagram of a simplified block diagram of a communication system (400) according to one embodiment. [Diagram 5] FIG. 2 is a schematic diagram of a simplified block diagram of a decoder according to one embodiment. [Figure 6] FIG. 2 is a schematic diagram of a simplified block diagram of an encoder according to one embodiment. [Figure 7] FIG. 4 is a block diagram illustrating an encoder according to another embodiment. [Figure 8] FIG. 4 is a block diagram showing a decoder according to another embodiment; [Figure 9] FIG. 13 illustrates an exemplary location of spatial merge candidates according to another embodiment. [Figure 10] FIG. 1 illustrates an exemplary redundancy check of spatial merge candidates. [Figure 11] FIG. 13 shows a schematic diagram of scaling motion vectors of temporal merge candidates according to one embodiment. [Figure 12] FIG. 13 illustrates exemplary candidate positions for temporal merge candidates according to one embodiment. [Figure 13] FIG. 1 illustrates an example angular distribution for a geometric partition mode (GPM) according to one embodiment. [Figure 14] FIG. 2 illustrates an example partition line of a GPM according to one embodiment. [Figure 15] FIG. 2 shows a flowchart outlining an exemplary decoding process according to some embodiments of the present disclosure. [Figure 16] FIG. 2 shows a flowchart outlining an exemplary encoding process according to some embodiments of the present disclosure. [Figure 17] 1 is a schematic diagram of a computer system, according to one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0037] FIG. 3 illustrates an example block diagram of a communication system (300). The communication system (300) includes a plurality of terminal devices that can communicate with each other, for example, via a network (350). For example, the communication system (300) includes a first pair of terminal devices (310) and (320) interconnected via the network (350). In the example of FIG. 3, the first pair of terminal devices (310) and (320) implements a unidirectional transmission of data. For example, the terminal device (310) may code video data (e.g., a stream of video pictures captured by the terminal device (310)) for transmission to another terminal device (320) via the network (350). The encoded video data may be transmitted in the form of one or more coded video bitstreams. The terminal device (320) may receive the coded video data from the network (350), decode the coded video data to reconstruct the video pictures, and display the video pictures according to the reconstructed video data. Unidirectional data transmission may be common, such as in media serving applications.
[0038] In another example, the communication system (300) includes a second pair of terminal devices (330) and (340) implementing bidirectional transmission of coded video data, for example during a video conference. For bidirectional transmission of data, in one example, each of the terminal devices (330) and (340) can code video data (e.g., a stream of video pictures captured by the terminal device) for transmission to the other of the terminal devices (330) and (340) over the network (350). Each of the terminal devices (330) and (340) can also receive coded video data transmitted by the other of the terminal devices (330) and (340), can decode the coded video data to recover the video pictures, and can display the video pictures on an accessible display device according to the recovered video data.
[0039] In the example of FIG. 3, terminal devices (310), (320), (330), and (340) are illustrated as a server, a personal computer, and a smartphone, respectively, although the principles of the present disclosure need not be so limited. The embodiments of the present disclosure apply with laptop computers, tablet computers, media players, and / or dedicated video conferencing equipment. Network (350) represents any number of networks that convey coded video data between terminal devices (310), (320), (330), and (340), including, for example, wired (wired) and / or wireless communication networks. The communication network (350) may exchange data over circuit-switched and / or packet-switched channels. Exemplary networks include telecommunications networks, local area networks, wide area networks, and / or the Internet. For purposes of this description, the architecture and topology of network (350) may not be important to the operation of the present disclosure unless otherwise described herein below.
[0040] 4 shows a video encoder and a video decoder in a streaming environment as an example of an application for the disclosed subject matter. The disclosed subject matter may be equally applicable to other video-enabled applications including, for example, video conferencing, digital television, streaming services, storage of compressed video on digital media including CDs, DVDs, memory sticks, etc.
[0041] The streaming system may include a video source (401), which may include, for example, a digital camera, that creates a stream of uncompressed video pictures (402). In one example, the stream of video pictures (402) includes samples taken by a digital camera. The stream of video pictures (402), illustrated as a thick line to emphasize the large amount of data when compared to the encoded video data (404) (or coded video bitstream), may be processed by an electronic device (420) that includes a video encoder (403) coupled to the video source (401). The video encoder (403) may include hardware, software, or a combination thereof that enables or implements aspects of the disclosed subject matter, as described in more detail below. The encoded video data (404) (or coded video bitstream), illustrated as a thin line to emphasize the small amount of data when compared to the stream of video pictures (402), may be stored in a streaming server (405) for future use. One or more streaming client subsystems, such as the client subsystems (406) and (408) of FIG. 4, can access the streaming server (405) and retrieve copies (407) and (409) of the encoded video data (404). The client subsystem (406) can include, for example, a video decoder (410) in an electronic device (430). The video decoder (410) decodes an input copy (407) of the encoded video data and creates an output stream (411) of video pictures that can be rendered on a display (412) (e.g., a display screen) or other rendering device (not shown). In some streaming systems, the encoded video data (404), (407), and (409) (e.g., a video bitstream) can be encoded according to a particular video coding / compression standard. Examples of such standards include ITU-T Recommendation H.265.In one example, a developing video coding standard is informally known as Versatile Video Coding (VVC), and the disclosed subject matter may be used in the context of VVC.
[0042] It should be noted that the electronic devices (420) and (430) can include other components (not shown). For example, the electronic device (420) can include a video decoder (not shown), and the electronic device (430) can also include a video encoder (not shown).
[0043] 5 shows an example block diagram of a video decoder (510). The video decoder (510) can be included in an electronic device (530). The electronic device (530) can include a receiver (531) (e.g., receiving circuitry). The video decoder (510) can be used in place of the video decoder (410) in the example of FIG. 4.
[0044] The receiver (531) can receive one or more coded video sequences to be decoded by the video decoder (510). In one embodiment, one coded video sequence is received at a time, and the decoding of each coded video sequence is independent of the decoding of the other coded video sequences. The coded video sequences can be received from a channel (501), which can be a hardware / software link to a storage device that stores the coded video data. The receiver (531) can receive the coded video data along with other data, e.g., coded audio data and / or auxiliary data streams, that can be forwarded to their respective using entities (not shown). The receiver (531) can separate the coded video sequences from the other data. To combat network jitter, a buffer memory (515) can be coupled between the receiver (531) and the entropy decoder / parser (520) (hereafter "parser (520)"). In certain applications, the buffer memory (515) is part of the video decoder (510). In other applications, the buffer memory (515) may be external to the video decoder (510) (not shown). In still other applications, there may be a buffer memory (not shown) external to the video decoder (510), e.g., to combat network jitter, plus another buffer memory (515) internal to the video decoder (510), e.g., to handle playout timing. When the receiver (531) is receiving data from a storage / forwarding device with sufficient bandwidth and controllability, or from an isosynchronous network, the buffer memory (515) may be unnecessary or may be small. For use with best-effort packet networks such as the Internet, the buffer memory (515) may be required and may be relatively large, may be advantageously adaptively sized, and may be at least partially implemented in an operating system or similar element (not depicted) external to the video decoder (510).
[0045] The video decoder (510) may include a parser (520) to reconstruct symbols (521) from the coded video sequence. These symbol categories include information used to manage the operation of the video decoder (510) and potentially information for controlling a rendering device such as a rendering device (512) (e.g., a display screen) that is not an integral part of the electronic device (530) but may be coupled to the electronic device (530) as shown in FIG. 5. The control information for the rendering device may be in the form of a supplemental enhancement information (SEI) message or a video usability information (VUI) parameter set fragment (not shown). The parser (520) may parse / entropy decode the received coded video sequence. The coding of the coded video sequence may conform to a video coding technique or standard and may follow various principles including variable length coding with or without context dependency, Huffman coding, arithmetic coding, etc. The parser (520) can extract from the coded video sequence a set of subgroup parameters for at least one of the subgroups of pixels in the video decoder based on at least one parameter corresponding to the group. The subgroups can include groups of pictures (GOPs), pictures, tiles, slices, macroblocks, coding units (CUs), blocks, transform units (TUs), prediction units (PUs), etc. The parser (520) can also extract information from the coded video sequence, such as transform coefficients, quantizer parameter values, motion vectors, etc.
[0046] The parser (520) may perform entropy decoding / parsing operations on the video sequence received from the buffer memory (515) to produce symbols (521).
[0047] The reconstruction of the symbols (521) can involve several different units, depending on the type of video picture or portion thereof being coded (inter-picture and intra-picture, inter-block and intra-block, etc.), as well as other factors. Which units are involved and how can be controlled by subgroup control information parsed from the coded video sequence by the parser (520). The flow of such subgroup control information between the parser (520) and the following units is not shown for the sake of clarity.
[0048] Beyond the functional blocks already mentioned, the video decoder (510) may be conceptually subdivided into several functional units, as described below. In an actual implementation operating under commercial constraints, many of these units may interact closely with each other and may be at least partially integrated with each other. However, for purposes of describing the disclosed subject matter, the following conceptual subdivision into functional units is appropriate.
[0049] The first unit is a scalar / inverse transform unit (551), which receives quantized transform coefficients as well as control information from the parser (520) including which transform to use, block size, quantization coefficients, quantization scaling matrix, etc. as symbols (521). The scalar / inverse transform unit (551) can output blocks containing sample values that can be input to an aggregator (555).
[0050] In some cases, the output samples of the scaler / inverse transform unit (551) may relate to intra-coded blocks. Intra-coded blocks are blocks that do not use prediction information from a previously reconstructed picture, but can use prediction information from a previously reconstructed portion of the current picture. Such prediction information may be provided by an intra-picture prediction unit (552). In some cases, the intra-picture prediction unit (552) generates a block of the same size and shape as the block being reconstructed using surrounding already reconstructed information fetched from a current picture buffer (558). The current picture buffer (558) buffers, for example, a partially reconstructed and / or a fully reconstructed current picture. The aggregator (555) adds, possibly on a sample-by-sample basis, the prediction information generated by the intra-prediction unit (552) to the output sample information provided by the scaler / inverse transform unit (551).
[0051] In other cases, the output samples of the scalar / inverse transform unit (551) may relate to an inter-coded, potentially motion-compensated block. In such cases, the motion compensated prediction unit (553) may access the reference picture memory (557) to fetch samples used for prediction. After motion compensating the fetched samples according to the symbols (521) related to the block, these samples may be added to the output of the scalar / inverse transform unit (551) by the aggregator (555) to generate output sample information (in this case referred to as residual samples or residual signals). The addresses in the reference picture memory (557) from which the motion compensated prediction unit (553) fetches the prediction samples may be controlled by motion vectors available to the motion compensated prediction unit (553), for example in the form of symbols (521), which may have X, Y, and reference picture components. Motion compensation may also include interpolation of sample values fetched from the reference picture memory (557) when sub-sample accurate motion vectors are used, motion vector prediction mechanisms, etc.
[0052] The output samples of the aggregator (555) may be subjected to various loop filtering techniques in a loop filter unit (556). Video compression techniques may include in-loop filter techniques controlled by parameters contained in the coded video sequence (also called a coded video bitstream) and provided to the loop filter unit (556) as symbols (521) from the parser (520). Video compression may also be performed in response to meta-information obtained during decoding of a previous portion (in decoding order) of the coded picture or coded video sequence, or in response to previously reconstructed and loop filtered sample values.
[0053] The output of the loop filter unit (556) may be a sample stream that can be stored in a reference picture memory (557) for use in future inter-picture prediction as well as output to a rendering device (512).
[0054] Once fully reconstructed, a particular coded picture can be used as a reference picture for future prediction. For example, once a coded picture corresponding to a current picture is fully reconstructed and the coded picture is identified (e.g., by the parser (520)) as a reference picture, the current picture buffer (558) can become part of the reference picture memory (557), and any unused current picture buffer can be reallocated before beginning reconstruction of the next coded picture.
[0055] The video decoder (510) may perform decoding operations according to a given video compression technique or standard, such as ITU-T Rec. H.265. The coded video sequence may conform to the syntax specified by the video compression technique or standard used, in the sense that the coded video sequence adheres to both the syntax of the video compression technique or standard and to a profile documented in the video compression technique or standard. In particular, a profile may select some tools from all tools available in the video compression technique or standard as the only tools available for use under that profile. Also, what is required for compliance may be that the complexity of the coded video sequence is within a range defined by a level of the video compression technique or standard. In some cases, the level limits the maximum picture size, the maximum frame rate, the maximum reconstruction sample rate (e.g., measured in megasamples per second), the maximum reference picture size, etc. The limits set by the level may in some cases be further limited by a hypothetical reference decoder (HRD) specification and metadata for HRD buffer management signaled in the coded video sequence.
[0056] In one embodiment, the receiver (531) can receive additional (redundant) data along with the encoded video. The additional data may be included as part of the coded video sequence. The additional data may be used by the video decoder (510) to properly decode the data and / or to 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.
[0057] 6 shows an example block diagram of a video encoder (603). The video encoder (603) is included in an electronic device (620). The electronic device (620) includes a transmitter (640) (e.g., a transmission circuit). The video encoder (603) can be used in place of the video encoder (403) in the example of FIG.
[0058] The video encoder (603) can receive video samples from a video source (601) (which is not part of the electronic device (620) in the example of FIG. 6) that can capture video images to be coded by the video encoder (603). In another example, the video source (601) is part of the electronic device (620).
[0059] The video source (601) may provide a source video sequence to be coded by the video encoder (603) in the form of a digital video sample stream that may be of 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 serving system, the video source (601) may be a storage device that stores previously prepared video. In a video conferencing system, the video source (601) may be a camera that captures local image information as a video sequence. The video data may be provided as a number of individual pictures that give motion when viewed in sequence. The pictures themselves may be organized as a spatial array of pixels, each of which may contain one or more samples depending on the sampling structure, color space, etc. in use. Those skilled in the art may easily understand the relationship between pixels and samples. The following description focuses on samples.
[0060] According to one embodiment, the video encoder (603) may code and compress pictures of a source video sequence into a coded video sequence (643) in real time or under any other time constraints required. Enforcing an appropriate coding rate is one function of the controller (650). In some embodiments, the controller (650) controls and is operatively coupled to other functional units described below. For clarity, coupling is not shown. Parameters set by the controller (650) may include rate control related parameters (picture skip, quantizer, lambda value for rate distortion optimization techniques, etc.), picture size, group of pictures (GOP) layout, maximum motion vector search range, etc. The controller (650) may be configured to have other appropriate functions associated with the video encoder (603) optimized for a particular system design.
[0061] In some embodiments, the video encoder (603) is configured to operate in a coding loop. As an oversimplified explanation, in one example, the coding loop can include a source coder (630) (responsible for creating symbols, such as a symbol stream, based on an input picture to be coded and a reference picture, for example), as well as a (local) decoder (633) embedded in the video encoder (603). The decoder (633) reconstructs the symbols to create sample data in a similar manner that a (remote) decoder would also create. The reconstructed sample stream (sample data) is input to a reference picture memory (634). Since the decoding of the symbol stream leads to a bit-exact result regardless of the location of the decoder (local or remote), the content in the reference picture memory (634) is also bit-exact between the local and remote encoders. In other words, the predictive part of the encoder "sees" exactly the same sample values as the decoder "sees" when using prediction during decoding. This basic principle of reference picture synchrony (and the resulting drift when synchrony cannot be maintained, for example due to channel errors) is also used in several related techniques.
[0062] The operation of the "local" decoder (633) may be the same as the operation of a "remote" decoder, such as the video decoder (510), already described in detail above in conjunction with Figure 5. However, and with brief reference to Figure 5, because symbols are available and the encoding / decoding of symbols into a coded video sequence by the entropy coder (645) and parser (520) may be lossless, the entropy decoding portion of the video decoder (510), including the buffer memory (515), and the parser (520), may not be fully implemented in the local decoder (633).
[0063] In one embodiment, the decoder techniques, except for parsing / entropy decoding, present in the decoder are present in the same or substantially the same functional form in the corresponding encoder. Thus, the disclosed subject matter focuses on the operation of the decoder. A description of the encoder techniques can be omitted, since they are the inverse of the decoder techniques described generically. In certain areas, more detailed descriptions are provided below.
[0064] In operation, in some examples, the source coder (630) may perform motion-compensated predictive coding, which predictively codes an input picture with reference to one or more previously coded pictures from a video sequence designated as “reference pictures.” In this manner, the coding engine (632) codes differences between pixel blocks of the input picture and pixel blocks of reference pictures that may be selected as predictive references for the input picture.
[0065] The local video decoder (633) can decode the coded video data of the pictures that may be designated as reference pictures based on the symbols created by the source coder (630). The operation of the coding engine (632) can advantageously be a lossy process. When the coded video data can be decoded in a video decoder (not shown in FIG. 6), the reconstructed video sequence can be a replica of the source video sequence, typically with some errors. The local video decoder (633) can replicate the decoding process that may be performed by the video decoder on the reference pictures, such that the reconstructed reference pictures are stored in the reference picture memory (634). In this way, the video encoder (603) can locally store copies of the reconstructed reference pictures that have common content as the reconstructed reference pictures obtained by the far-end video decoder (without transmission errors).
[0066] The predictor (635) may perform a prediction search for the coding engine (632). That is, for a new picture to be coded, the predictor (635) may search the reference picture memory (634) for sample data (as candidate reference pixel blocks) or specific metadata such as reference picture motion vectors, block shapes, etc., that may serve as suitable prediction references for the new picture. The predictor (635) may operate on sample blocks on a pixel block by pixel block basis to find suitable prediction references. In some cases, as determined by the search results obtained by the predictor (635), the input picture may have prediction references drawn from multiple reference pictures stored in the reference picture memory (634).
[0067] The controller (650) can manage the coding operations of the source coder (630), including, for example, setting the parameters and subgroup parameters used to encode the video data.
[0068] The output of all the aforementioned functional units may undergo entropy coding in an entropy coder (645), which converts the symbols produced by the various functional units into a coded video sequence by applying lossless compression to the symbols according to techniques such as Huffman coding, variable length coding, arithmetic coding, etc.
[0069] The transmitter (640) can buffer the coded video sequence created by the entropy coder (645) and prepare it for transmission over a communication channel (660), which can be a hardware / software link to a storage device that stores the encoded video data. The transmitter (640) can merge the coded video data from the video encoder (603) with other data to be transmitted, such as coded audio data and / or auxiliary data streams (sources not shown).
[0070] The controller (650) can manage the operation of the video encoder (603). During coding, the controller (650) can assign a particular coded picture type to each coded picture, which may affect the coding technique that may be applied to the respective picture. For example, pictures are often assigned as one of the following picture types:
[0071] An intra picture (I-picture) may be one that can be coded and decoded without using any other picture in a 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 these variations of I-pictures, as well as their respective uses and characteristics.
[0072] A predictive picture (P picture) may be a picture that can be coded and decoded using intra- or inter-prediction, which uses at most one motion vector and reference index to predict the sample values of each block.
[0073] A bidirectionally predicted picture (B-picture) may be a picture that can be coded and decoded using intra- or inter-prediction that uses at most two motion vectors and reference indices to predict the sample values of each block. Similarly, a multi-predicted picture may use more than two reference pictures and associated metadata for the reconstruction of a single block.
[0074] A source picture is generally spatially subdivided into multiple sample blocks (e.g., blocks of 4x4, 8x8, 4x8, or 16x16 samples each) and may be coded block by block. Blocks may be predictively coded with reference to other (already coded) blocks as determined by the coding assignment applied to the respective picture of the block. For example, blocks of an I-picture may be non-predictively coded, or they may be predictively coded with reference to already coded blocks of the same picture (spatial or intra prediction). Pixel blocks of a P-picture may be predictively coded via spatial prediction with reference to one previously coded reference picture, or via temporal prediction. Blocks of a B-picture may be predictively coded via spatial prediction with reference to one or two previously coded reference pictures, or via temporal prediction.
[0075] The video encoder (603) may perform coding operations in accordance with a given video coding technique or standard, such as ITU-T Rec. H.265. In its operations, the video encoder (603) may perform various compression operations, including predictive coding operations that exploit temporal and spatial redundancy in the input video sequence. Thus, the coded video data may conform to a syntax specified by the video coding technique or standard being used.
[0076] In one embodiment, the transmitter (640) can transmit additional data along with the encoded video. The source coder (630) may include such data as part of the coded video sequence. The additional data may include temporal / spatial / SNR enhancement layers, other forms of redundant data such as redundant pictures and slices, SEI messages, VUI parameter set fragments, etc.
[0077] A video may be captured in time sequence as multiple source pictures (video pictures). Intra-picture prediction (often abbreviated as intra-prediction) exploits spatial correlation within a given picture, while inter-picture prediction exploits correlation (temporal or other) between pictures. In one example, a particular picture being coded / decoded, called the current picture, is divided into blocks. When a block in the current picture is similar to a reference block in a previously coded, yet buffered reference picture in the video, the block in the current picture may be coded by a vector called a motion vector. A motion vector points to a reference block in a reference picture, and may have a third dimension that identifies the reference picture if multiple reference pictures are used.
[0078] In some embodiments, inter-picture prediction may use a bi-prediction technique. According to the bi-prediction technique, two reference pictures, such as a first reference picture and a second reference picture, both of which are earlier in decoding order than the current picture in the video (but may be past and future in display order, respectively), are used. A block in the current picture may be coded by a first motion vector that points to a first reference block in the first reference picture and a second motion vector that points to a second reference block in the second reference picture. A block may be predicted by a combination of the first reference block and the second reference block.
[0079] Furthermore, in inter-picture prediction, merge mode techniques may be used to improve coding efficiency.
[0080] According to some embodiments of the present disclosure, prediction, such as inter-picture prediction or intra-picture prediction, is performed on a block-by-block basis. For example, according to the HEVC standard, a picture in a sequence of video pictures is divided into coding tree units (CTUs) for compression, and the CTUs in a picture have the same size, such as 64×64 pixels, 32×32 pixels, or 16×16 pixels. In general, a CTU includes three coding tree blocks (CTBs), one luma CTB and two chroma CTBs. Each CTU can be recursively quadtree partitioned into one or more coding units (CUs). For example, a 64×64 pixel CTU can be partitioned into one 64×64 pixel CU, or four 32×32 pixel CUs, or sixteen 16×16 pixel CUs. In one example, each CU is analyzed to determine the prediction type of the CU, such as an inter prediction type or an intra prediction type. A CU is divided into one or more prediction units (PUs) according to temporal and / or spatial predictability. In general, each PU includes one luma prediction block (PB) and two chroma PBs. In one embodiment, the prediction operation in coding (encoding / decoding) is performed on a prediction block basis. Taking a luma prediction block as an example of a prediction block, the prediction block includes a matrix of pixel values (e.g., luma values) of 8×8 pixels, 16×16 pixels, 8×16 pixels, 16×8 pixels, etc.
[0081] 7 shows an example diagram of a video encoder (703). The video encoder (703) is configured to receive a processed block of sample values (e.g., a predictive block) in a current video picture in a sequence of video pictures and encode the processed block into a coded picture that is part of a coded video sequence. In one example, the video encoder (703) is used in place of the video encoder (403) of the example of FIG. 4.
[0082] In an HEVC example, the video encoder (703) receives a matrix of sample values for a processing block, such as a predictive block of 8×8 samples. The video encoder (703) determines whether the processing block is best coded using intra mode, inter mode, or bi-predictive mode, for example, using rate-distortion optimization. When the processing block is coded in intra mode, the video encoder (703) can encode the processing block into a coded picture using intra prediction techniques, and when the processing block is coded in inter mode or bi-predictive mode, the video encoder (703) can encode the processing block into a coded picture using inter prediction techniques or bi-predictive techniques, respectively. In certain video coding techniques, the merge mode may be an inter-picture prediction sub-mode in which motion vectors are derived from one or more motion vector predictors without the benefit of coded motion vector components outside the predictors. In certain other video coding techniques, there may be motion vector components applicable to the current block. In one example, the video encoder (703) includes other components, such as a mode decision module (not shown), to determine the mode of the processing block.
[0083] In the example of FIG. 7, the video encoder (703) includes an inter-encoder (730), an intra-encoder (722), a residual calculator (723), a switch (726), a residual encoder (724), a general controller (721), and an entropy encoder (725), coupled together as shown in FIG.
[0084] The inter-encoder (730) is configured to receive samples of a current block (e.g., a processing block), compare the block to one or more reference blocks in a reference picture (e.g., blocks in a previous picture and a subsequent picture), generate inter-prediction information (e.g., a description of redundancy information, motion vectors, merge mode information according to an inter-encoding technique), and calculate an inter-prediction result (e.g., a prediction block) based on the inter-prediction information using any suitable technique. In some examples, the reference picture is a decoded reference picture that is decoded based on the encoded video information.
[0085] The intra encoder (722) is configured to receive samples of a current block (e.g., a processing block), possibly compare the block to previously coded blocks in the same picture, generate transformed quantized coefficients, and possibly also generate intra prediction information (e.g., intra prediction direction information according to one or more intra encoding techniques). In one example, the intra encoder (722) also calculates intra prediction results (e.g., prediction blocks) based on the intra prediction information and reference blocks in the same picture.
[0086] The generic controller (721) is configured to determine generic control data and control other components of the video encoder (703) based on the generic control data. In one example, the generic controller (721) determines the mode of the block and provides a control signal to the switch (726) based on the mode. For example, when the mode is an intra mode, the generic controller (721) controls the switch (726) to select an intra mode result for use by the residual calculator (723) and controls the entropy encoder (725) to select intra prediction information and include the intra prediction information in the bitstream, and when the mode is an inter mode, the generic controller (721) controls the switch (726) to select an inter prediction result for use by the residual calculator (723) and controls the entropy encoder (725) to select inter prediction information and include the inter prediction information in the bitstream.
[0087] The residual calculator (723) is configured to calculate a difference (residual data) between the received block and a prediction result selected from the intra-encoder (722) or the inter-encoder (730). The residual encoder (724) is configured to operate on the residual data to encode the residual data and generate transform coefficients. In one example, the residual encoder (724) is configured to transform the residual data from the spatial domain to the frequency domain and generate transform coefficients. The transform coefficients then undergo a quantization process to obtain quantized transform coefficients. In various embodiments, the video encoder (703) also includes a residual decoder (728). The residual decoder (728) is configured to perform an inverse transform and generate decoded residual data. The decoded residual data can be used by the intra-encoder (722) and the inter-encoder (730) as appropriate. For example, the inter-encoder (730) may generate decoded blocks based on the decoded residual data and the inter-prediction information, and the intra-encoder (722) may generate decoded blocks based on the decoded residual data and the intra-prediction information. In some examples, the decoded blocks may be appropriately processed to generate a decoded picture, which may be buffered in a memory circuit (not shown) and used as a reference picture.
[0088] The entropy encoder (725) is configured to format a bitstream to include the encoded block. The entropy encoder (725) is configured to include various information in the bitstream according to an appropriate standard, such as the HEVC standard. In one example, the entropy encoder (725) is configured to include in the bitstream general control data, selected prediction information (e.g., intra-prediction information or inter-prediction information), residual information, and other appropriate information. It should be noted that, according to the disclosed subject matter, when coding a block in a merged sub-mode of either an inter mode or a bi-prediction mode, no residual information is present.
[0089] 8 shows an example diagram of a video decoder (810). The video decoder (810) is configured to receive coded pictures that are part of a coded video sequence and decode the coded pictures to generate reconstructed pictures. In one example, the video decoder (810) is used in place of the video decoder (410) of the example of FIG. 4.
[0090] In the example of FIG. 8, the video decoder (810) includes an entropy decoder (871), an inter decoder (880), a residual decoder (873), a reconstruction module (874), and an intra decoder (872) coupled together as shown in FIG. 8.
[0091] The entropy decoder (871) may be configured to reconstruct from the coded picture certain symbols that represent syntax elements of which the coded picture is composed. Such symbols may include, for example, prediction information (e.g., intra-mode, inter-mode, bi-predictive mode, inter-mode and bi-predictive mode of merged or other submodes, etc.) that may identify the mode in which the block is coded, as well as certain samples or metadata used for prediction by the intra-decoder (872) or the inter-decoder (880), respectively (e.g., intra-prediction and inter-prediction information, etc.). The symbols may also include residual information, for example, in the form of quantized transform coefficients, etc. In one example, if the prediction mode is an inter-mode or bi-predictive mode, the inter-prediction information is provided to the inter-decoder (880), and if the prediction type is an intra-prediction type, the intra-prediction information is provided to the intra-decoder (872). The residual information may undergo inverse quantization and be provided to the residual decoder (873).
[0092] The inter decoder (880) is configured to receive the inter prediction information and to generate inter prediction results based on the inter prediction information.
[0093] The intra decoder (872) is configured to receive the intra prediction information and to generate a prediction result based on the intra prediction information.
[0094] The residual decoder (873) is configured to perform inverse quantization to extract inverse quantized transform coefficients, and process the inverse quantized transform coefficients to transform the residual information from the frequency domain to the spatial domain. The residual decoder (873) may also require certain control information (to include quantizer parameters (QP)), which may be provided by the entropy decoder (871) (this may be only a small amount of control information, so a data path is not shown).
[0095] The reconstruction module (874) is configured to combine, in the spatial domain, the residual information output by the residual decoder (873) and the prediction results (possibly output by the inter-prediction module or the intra-prediction module) to form reconstructed blocks that may become part of a reconstructed picture, which may become part of a reconstructed video. It should be noted that other suitable operations, such as a deblocking operation, may be performed to improve visual quality.
[0096] It should be noted that the video encoders (403), (603), and (703) and the video decoders (410), (510), and (810) may be implemented using any suitable technology. In one embodiment, the video encoders (403), (603), and (703) and the video decoders (410), (510), and (810) may be implemented using one or more integrated circuits. In another embodiment, the video encoders (403), (603), and (603) and the video decoders (410), (510), and (810) may be implemented using one or more processors executing software instructions.
[0097] This disclosure includes embodiments related to geometric partition mode (GPM) with intra block copy (IBC), such as signaling, processing, and storage of BV information for IBC, and processing of BV merge candidate lists for GPM with IBC.
[0098] ITU-T VCEG (Q6 / 16) and ISO / IEC MPEG (JTC 1 / SC 29 / WG 11) published the H.265 / HEVC (High Efficiency Video Coding) standard in 2013 (version 1), 2014 (version 2), 2015 (version 3) and 2016 (version 4). In 2015, the two standardization bodies jointly formed the Joint Video Research Team (JVET) to explore the possibility of developing the next video coding standard beyond HEVC. In October 2017, the two standardization bodies announced a Joint Call for Proposals on Video Compression with Capability beyond HEVC (CfP). By February 15, 2018, 22 CfP responses had been submitted for standard dynamic range (SDR), 12 for high dynamic range (HDR), and 12 for the 360 video category. In April 2018, all received CfP responses were evaluated at the 122 MPEG / 10th JVET meeting. As a result of this meeting, JVET formally started the standardization process for next-generation video coding beyond HEVC, the new standard was named Versatile Video Coding (VVC), and JVET was renamed Joint Video Expert Team. In 2020, ITU-T VCEG (Q 6 / 16) and ISO / IEC MPEG (JTC 1 / SC 29 / WG 11) published the VVC video coding standard (version 1).
[0099] In inter prediction, motion parameters are needed for each inter predicted coding unit (CU), e.g., to code the VVC features used for inter predicted sample generation. The motion parameters may include motion vectors, reference picture indexes, reference picture list usage indexes, and / or additional information. The motion parameters may be signaled in an explicit or implicit manner. If a CU is coded in skip mode, it may be associated with one PU, and significant residual coefficients, coded motion vector deltas, and / or reference picture indexes may not be needed. If a CU is coded in merge mode, the motion parameters of the CU may be obtained from neighboring CUs. Neighboring CUs may include spatial and temporal candidates, as well as additional schedules (or additional candidates) as introduced in VVC. The merge mode may be applied to any inter predicted CU, not just to skip mode. An alternative to the merge mode is explicit transmission of motion parameters, where motion vectors, corresponding reference picture indexes of each reference picture list, reference picture list usage flag, and / or other necessary information may be explicitly signaled for each CU.
[0100] In VVC, the VVC Test Model (VTM) reference software may include several new and improved inter-predictive coding tools, which may include one or more of the following: (1) Enhanced Merge Prediction (2) Merged Motion Vector Difference (MMVD) (3) AMVP mode with symmetric MVD signaling (4) Affine motion compensation prediction (5) Sub-block-based Temporal Motion Vector Prediction (SbTMVP) (6) Adaptive Motion Vector Resolution (AMVR) (7) Motion field memory: 1 / 16 luminance sample MV memory and 8x8 motion field compression (8) Bi-prediction with CU-level weights (BCW) (9) Bidirectional Optical Flow (BDOF) (10) Decoder-side Motion Vector Improvement (DMVR) (11) Combined Inter- and Intra-Prediction (CIIP) (12) Geometric Partition Mode (GPM)
[0101] A merge candidate list can be constructed containing five types of candidates, as in VTM 4. A merge candidate list can be constructed in the following order: 1) Spatial MVP from spatially adjacent CUs, 2) Temporal MVP from collocated CU, 3) History-based MVP from a FIFO table, 4) Pairwise average MVP, and 5) Zero MV.
[0102] The size of the merge list can be signaled in the slice header. The maximum allowed size of the merge list can be 6, as in VTM 4. For each CU coded in merge mode, an index of the best merge candidate can be coded, for example using truncated unary binarization. The first bin of the merge index can be coded with the context, and bypass coding can be used for the other bins.
[0103] In spatial candidate derivation, for example in VVC, the derivation of spatial merge candidates may be the same or similar to the derivation of spatial merge candidates in HEVC. The merge candidates may be selected from the maximum number (e.g., four merge candidates) of candidates at the positions shown in FIG. 9. As shown in FIG. 9, a current block (901) may include neighboring blocks (902)-(906) at positions A0, A1, B0, B1, and B2, respectively. The derivation order of spatial merge candidates may be B1, A1, B0, A0, B2. Position B2 may be considered only if any CU (or block) at positions A0, B0, B1, or A1 is not available (e.g., because the CU belongs to another slice or tile) or is intra-coded. After the candidate (or block) at position A1 is added, the addition of the remaining candidates (or blocks) may be subject to redundancy check. The redundancy check may ensure that candidates with the same motion information are removed from the merge list so that the coding efficiency is improved. To reduce computational complexity, the redundancy check may not consider all possible candidate pairs. Instead, only the candidate pairs connected by arrows in FIG. 10 may be considered. For example, the redundancy check may be applied to five candidate pairs, such as the candidate pair A1 and B1, the candidate pair A1 and A0, etc. A candidate may be added to the merge list only if the corresponding candidate used for the redundancy check does not contain the same motion information. For example, the candidate B0 may be added to the merge list only if the corresponding candidate B1 does not contain the same motion information.
[0104] In temporal candidate derivation, only one candidate may be added to the merge list. For example, as shown in FIG. 11, in derivation of a temporal merge candidate for a current CU (1114), a scaled motion vector may be derived based on a co-located CU (1104) belonging to a co-located reference picture (1112). The reference picture list used for derivation of the co-located CU (1104) may be explicitly signaled in the slice header. The scaled motion vector of the temporal merge candidate may be obtained as shown by the dotted line (1102) in FIG. 11, which is scaled from the motion vector of the co-located CU (1104) using picture order count (POC) distances tb and td. tb may be defined as the POC difference between the reference picture (e.g., Curr_ref) (1106) of the current picture and the current picture (e.g., Curr_pic) (1108). td may be defined as the POC difference between the co-located picture's reference picture (e.g., Col_ref) (1110) and the co-located picture (e.g., Col_pic) (1112). The reference picture index of the temporal merge candidate may be set equal to 0.
[0105] The location of the temporal candidate can be selected between candidates C0 and C1, as shown in Figure 12. For example, if the CU at location C0 is unavailable, intra-coded, or outside the current row of the CTU, location C1 can be used. Otherwise, location C0 can be used for deriving the temporal merge candidate.
[0106] GPM can be applied to inter prediction. GPM can be applied only to CUs of a certain size, for example, CUs with a size of 8×8 or larger than 8×8. GPM can be signaled, for example, using a CU-level flag, and can function as one type of merge mode. Other merge modes can include normal merge mode, MMVD mode, CIIP mode, and / or sub-block merge mode.
[0107] When the GPM is used, the CU can be divided into two geometrically shaped partitions by using one of a number of partitioning schemes. The partitioning schemes can be differentiated by angle and / or edge. In one embodiment, 64 different partitioning schemes can be applied to the GPM. The 64 different partitioning schemes can be differentiated by 24 angles that are non-uniformly quantized from 0 to 360° with respect to the center of the CU, and up to 4 edges. FIG. 13 shows 24 exemplary angles applied to the GPM. FIG. 14 shows four exemplary possible partition edges associated with an angle with index 3 in the CU (1402), each of which can be associated with a respective distance index. The distance index can indicate a distance with respect to the center of the CU (1402). In the GPM, each geometric partition in the CU can be inter-predicted using a respective motion vector. Furthermore, only uni-prediction can be allowed per partition. For example, each partition can have one motion vector and one reference index. The constraint that only uni-predictive motion is allowed for each partition ensures that only two motion compensated predictions are needed for each CU, which also applies in traditional bi-prediction.
[0108] If GPM is used for the current CU, a signal indicating the geometric partition index and two merge indexes (one per partition) can be further signaled. The maximum GPM candidate size can be explicitly signaled, for example at the slice level. The maximum GPM candidate size can specify the syntax binarization of the GPM merge index. After each of the two geometric partitions is predicted, a blending process with adaptive weights can be used to adjust the sample values along the geometric partition edges. Thus, a prediction signal for the entire CU can be generated after the blending process. The transformation and quantization process can be further applied to the entire CU in other prediction modes. Furthermore, the motion field of the CU predicted using GPM can be stored.
[0109] The implementation cost of IBC can be high for the entire already reconstructed area of the current picture. For example, a drawback of the IBC concept in HEVC is the requirement of additional memory in the decoded picture butter (DPB). Therefore, in hardware implementations of IBC, external memory is usually used. Access to the additional external memory may involve an increase in memory bandwidth.
[0110] In certain implementations, it may be necessary to reduce implementation costs. For example, VVC can use fixed memory, which can realize IBC by using on-chip memory, to significantly reduce memory bandwidth requirements and hardware complexity. In addition, block vector (BV) coding of IBC can use the concept of merge list for inter prediction. The IBC list construction process can consider two spatially adjacent BVs and five history-based BVs (HBVPs), and when the first HBVP is added to the candidate list (or IBC list), only the first HBVP can be compared with the spatial candidate (e.g., the BVs of two spatial candidates).
[0111] To further improve compression efficiency in VVC etc., template matching (TM) can be used to refine motion at the decoder side. In TM mode, motion is refined by constructing a template from the left and top neighboring reconstructed samples, and the closest match between the template and a reference frame in the current picture can be determined.
[0112] The TM can be applied to the GPM. When a CU is coded with the GPM, it can be determined whether the TM is applied to refine each motion of the geometric partition. When the TM is selected, a template can be constructed using the left and top neighboring samples, and the motion can be further refined by finding the best match between the current template and a reference area with the same template pattern in a reference frame. The refined motion can be used to perform motion compensation of the geometric partition and can be further stored in the motion field.
[0113] GPM can be applied to support inter-prediction and intra-prediction to improve coding performance beyond VVC. For example, a predefined intra-prediction mode for (or with respect to) a geometric partition line can be selected in addition to a motion vector from a merge candidate list for each geometric partition in a GPM-applied CU. Based on a flag, an intra-prediction mode or an inter-prediction mode can be determined for each geometric partition. If inter-prediction is selected, a uni-prediction signal can be generated by MV from the merge candidate list. If an intra-prediction mode is selected instead, a uni-prediction signal can be generated from adjacent samples predicted from a specified index of the intra-prediction mode. Possible intra-prediction mode variations can be limited by the geometric shape. Finally, the two uni-prediction signals can be blended in the same way as in normal GPM.
[0114] In order to reduce the complexity and signaling overhead, possible intra prediction mode variations can be studied (or defined). For example, the impact of possible intra prediction mode variations on GPM with inter prediction and intra prediction was studied for two exemplary configurations. In the first configuration, only parallel and perpendicular intra direction modes to (or with respect to) the geometric partition line were tried. In addition to parallel and perpendicular intra angle modes to (or with respect to) the geometric partition line, Planar mode was also tested in the second configuration. Two or three possible intra prediction modes were tested for geometric partition in GPM with inter prediction and intra prediction.
[0115] In template-based intra mode derivation (TIMD), e.g., JVET-V0098, for each intra mode in the MPM, the sum of absolute transform differences (SATD) between the predicted samples and the reconstructed samples of the template region of the current CU can be calculated, and the intra mode with the smallest SATD cost can be selected for the current CU. Instead of selecting only one intra mode with the smallest SATD cost, the first two modes with the smallest SATD cost derived using TIMD can also be selected for the current CU, e.g., in JVET-W0123. The two selected modes can be further fused using weights, and the weighted intra prediction can be used as the intra prediction for the current CU. If the cost of the selected intra mode with the smallest SATD cost is greater than half the cost of the other selected intra mode in the two selected modes, fusion can be applied. Otherwise, only the intra mode with the smallest SATD cost can be selected. When applying fusion, weight values can be derived from the SATD costs of the two modes.
[0116] In this disclosure, a GPM using IBC and intra prediction modes can be provided to combine two geometric partitions generated for IBC and intra prediction modes, respectively.
[0117] To improve coding efficiency, for example in JVET-W0123, the use of intra modes (e.g., MODE_INTER prediction mode) within a CU using inter prediction can be stored and propagated as neighboring intra information for MPM derivation of neighboring blocks of the CU. However, the use of intra modes within a CU using IBC can also be stored and propagated as neighboring intra information for MPM derivation when an IBC block is coded as GPM and intra using IBC.
[0118] In the present disclosure, intra prediction mode information and intra prediction of GPM using IBC can be stored. For example, the current block can be divided into a first partition and a second partition. The first partition can be IBC coded and the second partition can be intra coded. Intra prediction mode information of the second partition can be stored, such as an intra prediction mode applied to predict the second partition. The stored intra mode information can be further used as neighboring intra mode information when the prediction mode of the current neighboring block is IBC. This allows the stored intra mode information to be used as a propagated intra mode for the IBC coded neighboring block. If the neighboring block is a reference block of a block, the intra mode for the block can be derived from the stored intra prediction mode information. The stored intra prediction mode information can also be applied to MPM derivation of the current block coded as GPM using IBC and intra.
[0119] In one embodiment, intra prediction mode information for IBC and GPM with intra may be stored in N×N units (e.g., 4×4 sample units) of a current block. For example, the current block may be divided into multiple N×N units. The intra prediction mode information for each of the N×N units may be stored in a corresponding memory unit (or cell).
[0120] In one embodiment, either the PLANAR mode or the selected intra mode used for the geometric partition using intra prediction in the CU (or current block) may be stored in the N×N unit (e.g., 4×4 unit) of the current block for each geometric partition. In one example, if the geometric partition of the current block based on GPM is generated using IBC (or if the geometric partition is predicted based on IBC), the PLANAR mode may be stored in the corresponding N×N unit (e.g., 4×4 unit) of the geometric partition. Thus, for N×N units in the geometric partition generated with IBC, the PLANAR mode may be stored for each of the N×N units located in the geometric partition. In another example, if the geometric partition of the current block based on GPM is generated using intra prediction, the coded intra mode (or the intra mode applied to predict the geometric partition) may be stored in the corresponding N×N unit (e.g., 4×4 unit) of the geometric partition. Thus, for N×N units located in the geometric partition generated by intra prediction, the coded intra mode for each N×N unit located in the geometric partition may be stored. The coded intra mode may be a DC mode, a PLANAR mode, or an angular mode. In yet another example, for an N×N unit along (or across) a geometric boundary of a current block based on GPM, a coded intra mode used for a geometric partition with intra prediction in the current block may be stored for the N×N unit along the geometric boundary. Thus, for an N×N unit across a geometric boundary of a current block where a first partition is IBC coded and a second partition is intra coded, an intra mode applied to predict the second partition may be stored.
[0121] In another embodiment, if a CU is coded with GPM using IBC and intra mode, a DC mode may be stored for all N×N units (e.g., 4×4 units) in the CU (or current block). Thus, a DC mode may be stored for each of the N×N units in the current block. The corresponding N×N units may be located along a partition coded with IBC, a partition coded with intra mode, or a geometric boundary between a partition coded with IBC and a partition coded with intra mode.
[0122] In another embodiment, if a CU is coded with GPM using IBC and intra mode, the PLANAR mode can be stored for all N×N units (e.g., 4×4 units) in the CU, each of which can be positioned along a partition coded with IBC, a partition coded with intra mode, or a geometric boundary between a partition coded with IBC and a partition coded with intra mode.
[0123] In yet another embodiment, only the selected intra mode used for the geometric partition with intra prediction in the CU may be stored for all N×N units (e.g., 4×4 units) in the CU. The CU may be coded with GPM with IBC and intra mode. The selected intra mode may be DC mode, PLANAR mode, or an angle mode applied to predict the geometric partition of the CU coded with GPM with IBC and intra mode. Thus, for each of the N×N units in the CU, the selected intra mode for the corresponding N×N unit may be stored. The corresponding N×N unit may be positioned along a partition coded with IBC, a partition coded with intra mode, or a geometric boundary between a partition coded with IBC and a partition coded with intra mode.
[0124] FIG. 15 shows a flow chart outlining an exemplary decoding process (1500) according to some embodiments of the present disclosure. FIG. 16 shows a flow chart outlining an exemplary encoding process (1600) according to some embodiments of the present disclosure. The proposed processes may be used separately or combined in any order. Furthermore, each of the processes (or embodiments), the encoder, and the decoder, may be implemented by a processing circuit (e.g., one or more processors, or one or more integrated circuits). In one example, the one or more processors execute a program stored on a non-transitory computer-readable medium.
[0125] Any of the operations of the processes (e.g., 1500 and 1600) may be combined or sequenced in any amount or order as desired. In embodiments, two or more of the operations of the processes (e.g., 1500 and 1600) may be performed in parallel.
[0126] The processes (e.g., (1500) and (1600)) can be used in the reconstruction and / or encoding of a block to generate a prediction block for the block being reconstructed. In various embodiments, the processes (e.g., (1500) and (1600)) are performed by processing circuitry, such as the processing circuitry of the terminal devices (310), (320), (330), and (340), the processing circuitry performing the functionality of the video encoder (403), the processing circuitry performing the functionality of the video decoder (410), the processing circuitry performing the functionality of the video decoder (510), the processing circuitry performing the functionality of the video encoder (603), etc. In some embodiments, the processes (e.g., (1500) and (1600)) are implemented with software instructions, such that the processing circuitry performs the processes (e.g., (1500) and (1600)) when the processing circuitry executes the software instructions.
[0127] As shown in FIG. 15, the process (1500) may start at (S1501) and proceed to (S1510). At (S1510), encoded information of a current block in a current picture of a video may be received from an encoded video bitstream. The encoded information may indicate that the current block is divided into at least a first partition and a second partition based on a geometric partition mode (GPM). The first partition may be associated with an intra block copy (IBC) prediction mode, and the second partition may be associated with an intra prediction mode.
[0128] In (S1520), prediction mode information of a first sub-block of the plurality of sub-blocks of the current block can be stored. The prediction mode information can include one of a DC mode, a planar mode, and an intra-prediction mode based on whether the first sub-block is associated with one of an IBC prediction mode, an intra-prediction mode, and both an IBC prediction mode and an intra-prediction mode.
[0129] The process (1500) may use the stored prediction mode information to perform a most probable mode (MPM) derivation for neighboring blocks of the current block.
[0130] In some embodiments, the step of storing prediction mode information based on the first sub-block being associated with an IBC prediction mode may include storing only Planar mode in the prediction mode information of the first sub-block of the multiple sub-blocks of the current block.
[0131] In some embodiments, the step of storing the prediction mode information based on the first sub-block being associated with an intra-prediction mode may include storing only the intra-prediction mode in the prediction mode information of the first sub-block of the multiple sub-blocks of the current block.
[0132] In some embodiments, the step of storing prediction mode information based on the first sub-block being associated with both an IBC prediction mode and an intra prediction mode may include storing only an intra prediction mode in the prediction mode information of the first sub-block of the multiple sub-blocks of the current block.
[0133] In one embodiment, a DC mode can be stored for each of multiple sub-blocks of the current block based on a first partition of the current block being associated with an IBC prediction mode and a second partition of the current block being associated with an intra prediction mode.
[0134] In one embodiment, a planar mode can be stored for each of multiple sub-blocks of the current block based on a first partition of the current block being associated with an IBC prediction mode and a second partition of the current block being associated with an intra prediction mode.
[0135] In one embodiment, an intra prediction mode can be stored for each of multiple sub-blocks of the current block based on a first partition of the current block being associated with an IBC prediction mode and a second partition of the current block being associated with an intra prediction mode.
[0136] In some embodiments, the prediction mode information of a first sub-block among multiple sub-blocks of the current block may be a propagated intra mode for MPM derivation of a neighboring block of the current block, where the neighboring block is predicted by an IBC prediction mode.
[0137] In some embodiments, each of the multiple sub-blocks of the current block may be a 4x4 pixel unit.
[0138] After (S1520), the process proceeds to (S1599) and ends.
[0139] The process 1500 may be adapted as appropriate. Steps of the process 1500 may be modified and / or omitted. Additional steps may be added. Any suitable order of implementation may be used.
[0140] As shown in FIG. 16, the process (1600) can start at (S1601) and proceed to (S1610). In (S1610), a current block in a current picture can be divided into at least a first partition and a second partition based on a geometric partition mode (GPM). The first partition can be associated with an intra block copy (IBC) prediction mode, and the second partition can be associated with an intra prediction mode.
[0141] In (S1620), prediction mode information of a first sub-block of the plurality of sub-blocks of the current block can be stored. The prediction mode information can include one of a DC mode, a planar mode, and an intra-prediction mode based on whether the first sub-block is associated with one of an IBC prediction mode, an intra-prediction mode, and both an IBC prediction mode and an intra-prediction mode.
[0142] At (S1630), coding information for the current block may be generated. The coding information may indicate that the current block is split based on the GPM.
[0143] Thereafter, the process proceeds to (S1699) and ends.
[0144] The process 1600 may be adapted as appropriate. Steps of the process 1600 may be modified and / or omitted. Additional steps may be added. Any suitable order of implementation may be used.
[0145] The techniques described above may be implemented as computer software using computer readable instructions and physically stored on one or more computer readable media. For example, Figure 17 illustrates a computer system (1700) suitable for implementing certain embodiments of the disclosed subject matter.
[0146] The computer software may be coded using any suitable machine code or computer language that may undergo assembly, compilation, linking, or similar mechanisms to generate code including instructions that may be executed, such as by one or more computer central processing units (CPUs) and graphics processing units (GPUs), directly, or through interpretation and execution of microcode.
[0147] The instructions may be executed in various types of computers or components thereof, including, for example, a personal computer, a tablet computer, a server, a smart phone, a gaming device, an Internet of Things device, and the like.
[0148] 17 with respect to computer system (1700) are exemplary in nature and are not intended to suggest any limitation as to the scope of use or functionality of the computer software implementing the embodiments of the present disclosure. The arrangement of components should not be interpreted as having any dependency or requirement regarding any one or combination of components illustrated in the exemplary embodiment of computer system (1700).
[0149] The computer system (1700) may include certain human interface input devices. Such human interface input devices may be responsive to input by one or more human users, for example, via tactile input (e.g., keystrokes, swipes, data glove movements), audio input (e.g., voice, clapping), visual input (e.g., gestures), and olfactory input (not shown). The human interface devices may be used to capture certain media that are not necessarily directly related to conscious human input, such as sound (speech, music, ambient sounds, etc.), images (scanned images, photographic images obtained from a still image camera, etc.), and video (two-dimensional video, three-dimensional video including stereoscopic video, etc.).
[0150] The input human interface devices may include one or more (only one of each) of a keyboard (1701), a mouse (1702), a trackpad (1703), a touch screen (1710), a data glove (not shown), a joystick (1705), a microphone (1706), a scanner (1707), a camera (1708).
[0151] The computer system (1700) may also include certain human interface output devices. Such human interface output devices may stimulate one or more of the human user's senses, for example, through haptic output, sound, light, and smell / taste. Such human interface output devices may include haptic output devices (e.g., haptic feedback may be included via a touch screen (1710), data gloves (not shown), or joystick (1705), although there may also be haptic feedback devices that do not function as input devices), audio output devices (such as speakers (1709), headphones (not shown)), visual output devices (such as screens (1710), including CRT screens, LCD screens, plasma screens, OLED screens, each with or without touch screen input capability, each with or without haptic feedback capability, some of which may be capable of two-dimensional visual output or three-dimensional or higher output via means such as stereographic output, virtual reality glasses (not shown), holographic displays, and smoke tanks (not shown)), and printers (not shown).
[0152] The computer system (1700) may also include human accessible storage and associated media, such as optical media, including CD / DVD ROM / RW (1720) with media (1721) such as CDs / DVDs, thumb drives (1722), removable hard drives or solid state drives (1723), legacy magnetic media such as tapes or floppy disks (not shown), and dedicated ROM / ASIC / PLD based devices such as security dongles (not shown).
[0153] Those skilled in the art will also understand that the term "computer-readable medium" as used in connection with the presently disclosed subject matter does not encompass transmission media, carrier waves, or other transitory signals.
[0154] The computer system (1700) may also include an interface (1754) to one or more communication networks (1755). The networks may be, for example, wireless, wired, optical. The networks may further be local, wide area, metropolitan, vehicular and industrial, real-time, delay tolerant, etc. Examples of networks include local area networks such as Ethernet, cellular networks including WLAN, GSM, 3G, 4G, 5G, LTE, etc., television wired or wireless wide area digital networks including cable, satellite and terrestrial television, vehicular and industrial including CANBus, etc. Certain networks generally require an external network interface adapter connected to a particular general-purpose data port or peripheral bus (1749) (e.g., a USB port on the computer system (1700)), while others are generally integrated into the core of the computer system (1700) by connection to a system bus as described below (e.g., an Ethernet interface to a PC computer system or a cellular network interface to a smartphone computer system). Using any of these networks, the computer system (1700) may communicate with other entities. Such communications may be unidirectional, receive only (e.g., broadcast TV), unidirectional transmit only (e.g., from the CANbus to a particular CANbus device), or bidirectional, e.g., communications with other computer systems using local area digital networks or wide area digital networks. Specific protocols and protocol stacks may be used in each of these networks and network interfaces, as described above.
[0155] The aforementioned human interface devices, human accessible storage, and network interfaces may be attached to the core (1740) of the computer system (1700).
[0156] The cores (1740) may include one or more central processing units (CPUs) (1741), graphics processing units (GPUs) (1742), dedicated programmable processing units in the form of field programmable gate areas (FPGAs) (1743), hardware accelerators for specific tasks (1744), graphics adapters (1750), and the like. These devices may be connected via a system bus (1748), along with read only memory (ROM) (1745), random access memory (1746), and internal mass storage (1747), such as internal hard drives, SSDs, etc., that are not accessible to the user. In some computer systems, the system bus (1748) may be accessible in the form of one or more physical plugs to allow expansion with additional CPUs, GPUs, etc. Peripheral devices may be attached directly to the core's system bus (1748) or via a peripheral bus (1749). In one example, a screen (1710) may be connected to the graphics adapter (1750). Architectures for peripheral buses include PCI, USB, etc.
[0157] The CPU (1741), GPU (1742), FPGA (1743), and accelerator (1744) can execute certain instructions that may combine to form the above-mentioned computer code. The computer code can be stored in ROM (1745) or RAM (1746). Persistent data can be stored, for example, in internal mass storage (1747), while transitory data can also be stored in RAM (1746). Rapid storage and retrieval in any of the memory devices can be enabled through the use of cache memory, which can be closely associated with one or more of the CPU (1741), GPU (1742), mass storage (1747), ROM (1745), RAM (1746), etc.
[0158] The computer-readable medium may bear 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 they may be of the kind well known and available to those skilled in the computer software arts.
[0159] By way of example and not limitation, a computer system having the architecture (1700), and in particular the core (1740), can provide functionality as a result of a processor (including a CPU, GPU, FPGA, accelerator, etc.) executing software embodied in one or more tangible computer-readable media. Such computer-readable media can be media associated with user-accessible mass storage as introduced above, as well as specific storage of the core (1740) of a non-transitory nature, such as the core internal mass storage (1747) or ROM (1745). Software implementing various embodiments of the present disclosure can be stored in such devices and executed by the core (1740). The computer-readable media can include one or more memory devices or chips, depending on the particular need. The software can cause the cores (1740), and in particular the processors (including CPUs, GPUs, FPGAs, etc.) within the cores (1740), to perform certain processes or certain portions of certain processes, including determining data structures to be stored in RAM (1746) and modifying such data structures according to processes defined by the software, as described herein. Additionally, or alternatively, the computer system can provide functionality as a result of logic hardwired or otherwise embodied in circuitry (e.g., accelerators (1744)) that can operate in place of or together with software to perform certain processes or certain portions of certain processes described herein. References to software can encompass logic, and vice versa, where appropriate. References to computer-readable media can encompass circuitry (such as integrated circuits (ICs)) that store software for execution, circuitry that embodies logic for execution, or both, as appropriate. The present disclosure encompasses any appropriate combination of hardware and software. Appendix A: Acronyms JEM: Joint Exploration Model VVC: Versatile Video Coding BMS: Benchmark Set MV: Motion Vector HEVC: High Efficiency Video Coding SEI:Supplementary Enhancement Information VUI: Video Usability Information GOPs: Group of Pictures TUs: conversion units PUs: Prediction Units CTUs: Coding Tree Units CTBs: coding tree blocks PBs: Predicted blocks HRD: Hypothetical Reference Decoder SNR: Signal to Noise Ratio CPUs: Central Processing Units GPUs: Graphics Processing Units CRT: cathode ray tube LCD: Liquid crystal display OLED: Organic Light Emitting Diode CD:Compact Disc DVD: Digital Video Disc ROM: Read-Only Memory RAM: Random Access Memory ASIC: Application Specific Integrated Circuit PLD: Programmable Logic Device LAN: Local Area Network GSM: Global System for Mobile Communications LTE: Long Term Evolution CANBus: Controller Area Network Bus USB: Universal Serial Bus PCI: Peripheral Component Interconnect FPGA: Field Programmable Gate Area SSD: Solid State Drive IC: Integrated Circuit CU: coding unit
[0160] While this disclosure has described several exemplary embodiments, there are modifications, substitutions, and various substitute equivalents which are within the scope of this disclosure. Thus, it will be appreciated that those skilled in the art can devise numerous systems and methods which, although not explicitly shown or described herein, embody the principles of the present disclosure and are therefore within the spirit and scope of the present disclosure. [Explanation of symbols]
[0161] 101 Samples 102 Arrow 103 Arrow 104 Block 110 Schematic diagram 201 Current Block 202 Sample 203 Sample 204 Sample 205 Samples 206 Samples 300 Communication Systems 310 Terminal Devices 320 Terminal Devices 330 Terminal Devices 340 Terminal Devices 350 Network 400 Communication Systems 401 Video Source 402 Video Picture 403 Video Encoder 404 encoded video data 405 Streaming Server 406 Client Subsystem 407 Input Copy 408 Client Subsystem 409 Copy 410 Video Decoder 411 Output Stream 412 Display 413 Capture Subsystem 420 Electronic Devices 430 Electronic Devices 501 Channel 510 Video Decoder 512 Rendering Device 515 Buffer Memory 520 Parser 521 Symbols 530 Electronic Devices 531 Receiver 551 Scaler / Descaler Unit 552 Intra-picture prediction unit 553 Motion Compensation Prediction Unit 555 Aggregator 556 Loop Filter Unit 557 Reference Picture Memory 558 Current Picture Buffer 601 Video Sources 603 Video Encoder 620 Electronic Devices 630 Source Coder 632 Coding Engine 633 Decoder 634 Reference Picture Memory 635 Predictor 640 Transmitter 643 coded video sequence 645 Entropy Coder 650 Controller 660 Communication Channels 703 Video Encoder 721 General-purpose controller 722 Intra Encoder 723 Residual Calculator 724 Residual Encoder 725 Entropy Encoder 726 Switch 728 Residual Decoder 730 InterEncoder 810 Video Decoder 871 Entropy Decoder 872 Intra Decoder 873 Residual Decoder 874 Reconstruction Module 880 Interdecoder 901 Current Block 902 Block 903 Block 904 Block 905 Block 906 Block 1102 Dotted Line 1104 Colocated CU 1106 Reference Picture 1108 Current Picture 1110 Colocated Reference Picture 1112 Colocated Picture, Colocated Reference Picture 1114 Current CU 1402 CU 1500 processes 1600 processes 1700 Computer Systems 1701 Keyboard 1702 Mouse 1703 Trackpad 1705 Joystick 1706 Microphone 1707 Scanner 1708 Camera 1709 Speaker 1710 Touch Screen 1720 CD / DVD ROM / RW 1721 CD / DVD and other media 1722 Thumb Drive 1723 Removable Hard Drives, Solid State Drives 1740 cores 1741 CPU 1742 GPU 1743 FGPA 1744 Accelerator 1745 ROM 1746 RAM 1747 Mass Storage 1748 System Bus 1749 Peripheral bus 1750 Graphics Adapter 1754 Interface 1755 Communication Network
Claims
Claim 1: A method of video encoding performed by a video encoder, comprising: Dividing a current block in a current picture of a video into at least a first partition and a second partition based on a geometric partition mode (GPM), wherein the first partition is associated with an intra block copy (IBC) prediction mode and the second partition is associated with an intra prediction mode; storing prediction mode information for a first sub-block of a plurality of sub-blocks of the current block, the prediction mode information including one of a DC mode, a planar mode, and an intra-prediction mode based on whether the first sub-block is associated with one of the IBC prediction mode, the intra-prediction mode, and both the IBC prediction mode and the intra-prediction mode; encoding the current block and generating coding information for the current block, the coding information indicating that the current block is divided into the first partition and the second partition based on the GPM, and including the encoded current block and the generated coding information in an encoded video bitstream; A method comprising:
2. Performing a Most Probable Mode (MPM) derivation of neighboring blocks of the current block using the stored prediction mode information. The method of claim 1 further comprising:
3. When the first sub-block is associated with the IBC prediction mode, the step of storing the prediction mode information includes storing only the Planar mode in the prediction mode information of the first sub-block among the plurality of sub-blocks of the current block. The method of claim 1.
4. If the first sub-block is associated with the intra-prediction mode, the step of storing the prediction mode information includes storing only the intra-prediction mode in the prediction mode information of the first sub-block among the plurality of sub-blocks of the current block. The method of claim 1.
5. When the first sub-block is associated with both the IBC prediction mode and the intra prediction mode, the step of storing the prediction mode information includes storing only the intra prediction mode in the prediction mode information of the first sub-block among the plurality of sub-blocks of the current block. The method of claim 1.
6. The method of claim 5, wherein if the first partition of the current block is associated with the IBC prediction mode and the second partition of the current block is associated with the intra prediction mode, storing the DC mode for each of the plurality of sub-blocks of the current block. The method of claim 1 further comprising:
7. The method of claim 6, further comprising: storing the planar mode for each of the plurality of sub-blocks of the current block if the first partition of the current block is associated with the IBC prediction mode and the second partition of the current block is associated with the intra prediction mode. The method of claim 1 further comprising:
8. The method of claim 7, further comprising: storing the intra-prediction mode for each of the plurality of sub-blocks of the current block if the first partition of the current block is associated with the IBC prediction mode and the second partition of the current block is associated with the intra-prediction mode. The method of claim 1 further comprising:
9. The method described in claim 2, wherein the prediction mode information of the first sub-block among the plurality of sub-blocks of the current block is a propagated intra mode for the MPM derivation of the neighboring blocks of the current block, and the neighboring blocks are predicted by the IBC prediction mode.
10. An apparatus comprising processing circuitry configured to perform the method of any one of claims 1 to 9.
11. A computer program product for causing at least one processor to carry out the method of any one of claims 1 to 9.
12. A method of video encoding performed by a video encoder, comprising: generating a video bitstream, Dividing a current block in a current picture of a video into at least a first partition and a second partition based on a geometric partition mode (GPM), wherein the first partition is associated with an intra block copy (IBC) prediction mode and the second partition is associated with an intra prediction mode; storing prediction mode information for a first sub-block of a plurality of sub-blocks of the current block, the prediction mode information including one of a DC mode, a planar mode, and an intra-prediction mode based on whether the first sub-block is associated with one of the IBC prediction mode, the intra-prediction mode, and both the IBC prediction mode and the intra-prediction mode; encoding the current block and generating coding information for the current block, the coding information indicating that the current block is divided into the first partition and the second partition based on the GPM, and including the encoded current block and the generated coding information in an encoded video bitstream. generating a video bitstream; storing the encoded video bitstream; Including, method.