Propagation of intra prediction mode information on IBC block using block vector
Patent Information
- Application Number
- JP2025013458
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-09-01
- Filing Date
- 2025-01-30
- Publication Date
- 2025-09-30
AI Technical Summary
Existing video encoding techniques face challenges in efficiently propagating intra-prediction mode information for Intra Block Copy (IBC) blocks, which affects coding efficiency and compression performance.
The method involves deriving and propagating intra-prediction modes for IBC blocks using block vectors (BV), where the intra prediction mode for a sub-block is determined based on the reference sub-block within the reference block, and this information is used to construct Most Probable Mode (MPM) lists for neighboring blocks.
This approach enhances coding efficiency by accurately propagating intra-prediction modes, leading to improved compression performance and reduced redundancy in video encoding.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] INCORPORATION BY REFERENCE This application claims the benefit of priority to U.S. patent application Ser. No. 17 / 901,547, filed on September 1, 2022, entitled "Propagating intra-prediction mode information for IBC blocks using block vectors," which in turn claims the benefit of priority to U.S. provisional patent application Ser. No. 63 / 261,251, filed on September 15, 2021, entitled "Propagating intra-prediction mode information for IBC blocks using block vectors."
[0002] Technical Field This disclosure describes embodiments generally relating to video coding. [Background technology]
[0003] The background discussion provided herein is intended to generally present the context of the present disclosure. Work of the inventors named in this application, to the extent that their work is described in this background section, and aspects of this description that may not otherwise qualify as prior art at the time of filing, are not admitted, either explicitly or implicitly, as prior art to the present disclosure.
[0004] Uncompressed digital images and / or videos may include a sequence of pictures, each having spatial dimensions of, for example, 20x1080 luminance samples and associated chrominance 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 (20x1080 luminance sample resolution at a frame rate of 60 Hz) with 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 encoding 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. Although the description in this paper uses video encoding / decoding as an illustrative example, the same techniques may be applied to image encoding / decoding in a similar manner without departing from the spirit of this disclosure. Both lossless and lossy compression, as well as combinations thereof, may be used. Lossless compression refers to a technique whereby an exact copy of an original signal can be reconstructed from a compressed original signal. When lossy compression is used, 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 used. The amount of acceptable distortion depends on the application, for example, users of certain consumer streaming applications may tolerate higher distortion than users of television distribution applications. The achievable compression ratio may reflect that a higher tolerable / acceptable distortion may result in a higher compression ratio.
[0006] Video encoders and decoders may utilize techniques from several broad categories, including motion compensation, transform processing, quantization, and entropy coding.
[0007] Video codec techniques can include a technique known as intra-coding. In intra-coding, sample values are represented without reference to samples or other data from a previously reconstructed reference picture. In some video codecs, a picture is spatially divided into blocks of samples. If 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 thus 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 may be subjected to a transform, and the transform coefficients may be quantized before entropy coding. Intra prediction may be a technique that minimizes sample values in the pre-transform domain. In some cases, the smaller the DC value and the smaller the AC coefficients after the transform, the fewer bits are required for a given quantization step size to represent the block after entropy coding.
[0008] Traditional intra-coding, e.g., as used in the MPEG-2 generation of coding techniques, does not use intra-prediction. However, some newer video compression techniques include techniques that attempt to perform predictions based on surrounding sample data and / or metadata obtained during the encoding and / or decoding of a block of data. Such techniques are referred to below as "intra-prediction" techniques. Note that, at least in some cases, intra-prediction uses only reference data from the current picture being reconstructed, and not from reference pictures.
[0009] There may be various forms of intra prediction. If more than one such technique is available for a given video coding technique, the particular technique used may be coded as a particular intra prediction mode that uses that particular technique. In some cases, an intra prediction mode may have sub-modes and / or parameters that may be coded separately or may be 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 may affect the coding efficiency gain through intra prediction, as well as the entropy coding technique used to convert the codeword into a bitstream.
[0010] Certain modes of intra prediction were introduced in H.264, refined in H.265, and further refined in newer coding techniques such as the Joint Exploration Model (JEM), Versatile Video Coding (VVC), and Benchmark Set (BMS). A predictor block can be formed using neighboring sample values of already available samples. The sample values of the neighboring samples are copied to the predictor block according to a certain direction. The reference to the direction used can be coded in the bitstream or may itself be predicted.
[0011] Referring to FIG. 1A, at the bottom right, a subset of 9 known predictor directions from the 33 possible predictor directions defined in H.265 (corresponding to the 33 angle modes out of the 35 intra modes) is depicted. The point (101) where the arrows converge represents the sample to be predicted. The arrows represent the direction in which the sample is predicted. For example, arrow (102) indicates that sample (101) is predicted from the sample(s) to the top right and at an angle of 45 degrees from the horizontal. Similarly, arrow (103) indicates that sample (101) is predicted from the sample(s) to the bottom left of sample (101), at an angle of 22.5 degrees from the horizontal.
[0012] Continuing to refer to FIG. 1A, at the top left, a square block (104) of 4×4 samples is depicted (indicated by a thick dashed line). The square block (104) contains 16 samples, each labeled with an “S” and 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 the block (104) in both the Y and X dimensions. Since the block is 4×4 samples in size, S44 is at the bottom right. Additionally, reference samples are shown that follow a similar numbering scheme. The reference samples are labeled with R and 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 neighbors of the block being reconstructed, so there is no need to use negative values.
[0013] Intra-picture prediction can work by copying reference sample values from neighboring samples as indicated by the signaled prediction direction. For example, assume that the coded video bitstream includes signaling for this block indicating a prediction direction that is aligned with the arrow (102). That is, the sample is predicted from the top right sample at an angle of 45 degrees from the horizontal. Then samples S41, S32, S23, and S14 are predicted from the same reference sample R05. Then sample S44 is predicted from reference sample R08.
[0014] In some cases, particularly when the orientation is not divisible by 45 degrees, the values of multiple reference samples may be combined, for example by interpolation, to calculate the reference sample.
[0015] As video coding technology develops, the number of possible directions has increased. 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 are performed to identify the most likely directions, and certain techniques in entropy coding are used to represent those likely directions with a small number of bits while accepting some penalty for the less likely directions. Furthermore, the direction itself can be predicted from nearby directions used in nearby already decoded blocks.
[0016] FIG. 1B shows a schematic diagram (110) depicting 65 intra prediction directions with JEM to illustrate the increasing number of prediction directions over time.
[0017] The mapping of intra-prediction direction bits to represent directions in the coded video bitstream can vary from one video coding technique to another. Such mappings can range, for example, from simple direct mappings to complex adaptive schemes involving codewords, most probable modes, and similar techniques. However, in most cases, there will 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, in a well-performing video coding technique, these less likely ways are represented by more bits than the more probable directions.
[0018] Image and / or video encoding 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 spatially shifted in a direction indicated by a motion vector (hereinafter MV) and then used for the prediction of a newly reconstructed picture or part of a picture. 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, with the third dimension being an indication of the reference picture used (which can indirectly be the temporal dimension).
[0019] In some video compression techniques, the MV applicable to a region of sample data can be predicted from other MVs, for example from an MV associated with another region of sample data that is spatially adjacent to the region being reconstructed and precedes it in decoding order. By doing so, the amount of data required to encode the MV can be significantly reduced, thereby removing redundancy and increasing compression. MV prediction can work in a directed manner because, for example, when encoding an input video signal derived from a camera (known as natural video), there is a statistical probability that regions larger than the region to which a single MV is applicable move in a similar direction and can therefore, in some cases, be predicted using similar motion vectors derived from the MVs of nearby regions. As a result, the MV found for a given region will be similar or identical to the MV predicted from the surrounding MVs, which, after entropy encoding, can be represented with fewer bits than would be used to directly encode the MVs. In some cases, MV prediction can be an example of lossless compression of a signal (i.e., an MV) derived from the original signal (i.e., a sample stream). In other cases, the MV prediction itself may be irreversible, for example due to rounding errors in computing the 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 provided by H.265, a technique hereafter called "spatial merge" is described with reference to FIG. 2.
[0021] Referring to Figure 2, a current block (201) contains samples that the encoder found during the motion search process to be predictable from a spatially shifted previous block of the same size. Instead of directly encoding its MV, the MV can be derived from metadata associated with one or more reference pictures, for example from the most recent reference picture (in decoding order) using MVs associated with any of the five surrounding samples, denoted A0, A1, and B0, B1, B2 (202 to 206, respectively). In H.265, MV prediction can use predictors from the same reference picture that neighboring blocks use. Summary of the Invention [Problem to be solved by the invention]
[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. [Means for solving the problem]
[0023] According to an aspect of the present disclosure, a method of video decoding performed in a video decoder is provided. In the method, coded information of a current block in a current picture of a video may be received from a coded video bitstream. The coded information may indicate that the current block is an intra block copy (IBC) block. An intra prediction mode may be derived for a sub-block of the current block based on a reference sub-block in the reference block. The reference sub-block may correspond to a sub-block of the current block, and the reference block may be referenced by a block vector of the IBC block. Further, the intra prediction mode for the sub-block of the current block may be stored. Certain neighboring blocks of the current block may be determined as IBC blocks. Using the stored intra prediction modes, a most probable mode (MPM) list may be constructed for the neighboring blocks of the current block.
[0024] The intra prediction mode for the subblock may be derived as the intra mode of a pixel located at a central position of the reference subblock of the reference block, where the central position may be at the second row and second column of the reference subblock.
[0025] The intra prediction mode for the subblock may be derived as an intra mode for a pixel located at a central position of the reference subblock of the reference block, where the central position may be in the second row and third column of the reference subblock.
[0026] The intra prediction mode for the subblock may be derived as an intra mode for a pixel located at a central position of the reference subblock of the reference block, where the central position may be in the third row and second column of the reference subblock.
[0027] The intra prediction mode for the subblock may be derived as an intra mode for a pixel located at a central position of the reference subblock of the reference block, where the central position may be at the third row and third column of the reference subblock.
[0028] The intra prediction mode for a subblock may be derived as the intra mode of a pixel located at one of the top right, top left, bottom left, or bottom right positions of the reference subblock of the reference block.
[0029] In some embodiments, the current block may be divided into a first partition and a second partition based on a geometric partition mode (GPM). The first partition may be predicted by IBC and the second partition may be predicted by intra prediction. The sub-block may be located within the first partition predicted by IBC.
[0030] In some embodiments, the sub-block of the current block may be a 4x4 pixel unit.
[0031] In some embodiments, the intra prediction mode for a subblock may be determined as a candidate prediction mode in an MPM list for a neighboring block of the current block, where the neighboring block may be predicted by IBC.
[0032] According to another aspect of the present disclosure, there is provided an apparatus, the apparatus including a processing circuit, the processing circuit being configured to perform any of the above methods for video encoding / decoding.
[0033] 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 above methods for video encoding / decoding. [Brief description of the drawings]
[0034] Further features, nature and various advantages of the disclosed subject matter will become more apparent from the following detailed description and the accompanying drawings.
[0035] [Figure 1A] FIG. 2 is a schematic diagram of an example subset of intra-prediction modes.
[0036] [Figure 1B] FIG. 2 is an illustration of an exemplary intra-prediction direction.
[0037] [Diagram 2] FIG. 2 is a schematic diagram of a current block and its surrounding spatial merging candidates in one example.
[0038] [Diagram 3] FIG. 1 is a schematic diagram of a simplified block diagram of a communication system according to an embodiment.
[0039] [Figure 4] FIG. 4 is a schematic diagram of a simplified block diagram of a communication system (400) according to an embodiment.
[0040] [Diagram 5] FIG. 2 is a schematic diagram of a simplified block diagram of a decoder according to an embodiment.
[0041] [Figure 6] FIG. 2 is a schematic diagram of a simplified block diagram of an encoder according to an embodiment.
[0042] [Figure 7]4 shows a block diagram of an encoder according to another embodiment;
[0043] [Figure 8] 4 shows a block diagram of a decoder according to another embodiment;
[0044] [Figure 9] 13 illustrates exemplary locations of spatial merging candidates in another embodiment.
[0045] [Figure 10] 1 illustrates an exemplary redundancy check of spatial merge candidates.
[0046] [Figure 11] 1 shows a schematic diagram of motion vector scaling for temporal merging candidates according to an embodiment.
[0047] [Figure 12] 1 illustrates exemplary candidate positions for temporal merge candidates, according to an embodiment.
[0048] [Figure 13] 1 illustrates an example angular distribution for a geometric partition mode in accordance with an embodiment.
[0049] [Figure 14] 1 illustrates an example division line for a GPM, according to an embodiment.
[0050] [Figure 15] 1 shows an example illustration of intra-prediction mode propagation for an intra-block copy (IBC) block.
[0051] [Figure 16] 13 shows an exemplary illustration of intra-prediction mode propagation for a block encoded with GPM using IBC and intra modes.
[0052] [Figure 17]1 shows a flowchart outlining an exemplary decoding process according to some embodiments of the present disclosure.
[0053] [Figure 18] 1 shows a flowchart outlining an exemplary encoding process according to some embodiments of the present disclosure.
[0054] [Figure 19] 1 is a schematic diagram of a computer system according to one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0055] FIG. 3 illustrates an exemplary 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) perform a unidirectional transmission of data. For example, the terminal device (310) may encode video data (e.g., a stream of video pictures captured by the terminal device (310)) for transmission to the other terminal device (320) via the network (350). The encoded video data may be transmitted in the form of one or more encoded video bitstreams. The terminal device (320) may receive the encoded video data from the network (350), decode the encoded video data to reconstruct the video pictures, and display the video pictures according to the reconstructed video data. One-way data transmission may be common, such as in media service applications.
[0056] In another example, the communication system (300) includes a second pair of terminal devices (330) and (340) performing bidirectional transmission of encoded video data, for example during a video conference. For the bidirectional transmission of data, in one example, each of the terminal devices (330) and (340) may encode 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) may receive the encoded video data transmitted by the other of the terminal devices (330) and (340), decode the encoded video data to recover the video pictures, and display the video pictures on an accessible display device in accordance with the recovered video data.
[0057] In the example of FIG. 3, terminal devices (310), (320), (330), and (340) may be depicted as a server, a personal computer, and a smartphone, respectively, although the principles of the present disclosure may not be so limited. Embodiments of the present disclosure find application in laptop computers, tablet computers, media players, and / or dedicated video conferencing equipment. Network (350) represents any number of networks that convey encoded video data between terminal devices (310), (320), (330), and (340), including, for example, wired and / or wireless communication networks. Communication network (350) may exchange data in circuit-switched and / or packet-switched channels. Representative networks include telecommunications networks, local area networks, wide area networks, and / or the Internet. For purposes of the present discussion, the architecture and topology of network (350) may not be important to the operation of the present disclosure, unless otherwise described below.
[0058] 4 shows a video encoder and 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 TV, streaming services, storage of compressed video on digital media including CDs, DVDs, memory sticks, etc.
[0059] The streaming system may include a video source (401), e.g., a digital camera, and may include a capture subsystem (413) that generates, e.g., a stream of uncompressed video pictures (402). In one example, the stream of video pictures (402) includes samples captured by a digital camera. The stream of video pictures (402), depicted as a thick line to emphasize its higher data volume when compared to the encoded video data (404) (or encoded 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 to enable or achieve aspects of the disclosed subject matter, as described in more detail below. The encoded video data (404) (or encoded video bitstream), depicted as a thin line to emphasize its lower data volume 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) to retrieve copies (407) and (409) of the encoded video data (404). The client subsystem (406) can include a video decoder (410), for example within an electronic device (430). The video decoder (410) decodes the incoming copy of the encoded video data (407) and generates an outgoing stream of video pictures (411) 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 some video encoding / compression standard.Examples of these standards include ITU-T Recommendation H.265. In one example, a video coding standard under development is informally known as VVC. The disclosed subject matter may be used in the context of Versatile Video Coding (VVC).
[0060] It is noted that electronic devices (420) and (430) may include other components (not shown). For example, electronic device (420) may include a video decoder (not shown), and electronic device (430) may also include a video encoder (not shown).
[0061] 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., a receiving circuit). The video decoder (510) can be used in place of the video decoder (310) in the example of FIG. 4.
[0062] The receiver (531) may 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 may be received from a channel (501), which may be a hardware / software link to a storage device that stores the encoded video data. The receiver (531) may receive the encoded video data together with other data, such as coded audio data and / or auxiliary data streams, which may be forwarded to respective usage entities (not shown). The receiver (531) may separate the coded video sequences from the other data. To combat network jitter, a buffer memory (515) may be coupled between the receiver (531) and the entropy decoder / parser (520) (hereinafter the "parser"). In some applications, the buffer memory (515) is part of the video decoder (510). In other applications, it can 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, and there may be another buffer memory (515) internal to the video decoder (510), e.g., to handle playback timing. If the receiver (531) is receiving data from a storage / forwarding device of sufficient bandwidth and controllability, or from an isochronous network, the buffer memory (515) may not be needed or may be small. For use in best-effort packet networks such as the Internet, the buffer memory (515) may be required and may be relatively large, advantageously of adaptive size, and may be implemented, at least in part, in an operating system or similar element (not shown) external to the video decoder (510).
[0063] The video decoder (510) may include a parser (520) for reconstructing symbols (521) from the coded video sequence. These categories of symbols include information used to manage the operation of the video decoder (510) and potentially information for controlling a rendering device such as a render device (512) (e.g., a display screen). The render device may not be an integral part of the electronic device (530) as shown in FIG. 5, but may be coupled to the electronic device (530). The control information for the rendering device(s) may be in the form of a Supplementary 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 follow a video coding technique or standard and may follow various principles including variable length coding, Huffman coding, arithmetic coding with or without context sensitivity, 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 a Group of Pictures (GOP), a picture, a tile, a slice, a macroblock, a coding unit (CU), a block, a transform unit (TU), a prediction unit (PU), etc. The parser (520) can also extract information from the coded video sequence, such as transform coefficients, quantizer parameter values, motion vectors, etc.
[0064] The parser (520) performs an entropy decoding / parsing operation on the video sequence received from the buffer memory (515), thereby generating symbols (521).
[0065] The reconstruction of symbols (521) can involve several different units, depending on the type of coded video picture or its parts (e.g., inter and intra pictures, inter and intra blocks) and other factors. Which units are involved and how can be controlled by subgroup control information parsed by the parser (520) from the coded video sequence. The flow of such subgroup control information between the parser (520) and the following units is not depicted for clarity.
[0066] In addition to the functional blocks already mentioned, the video decoder (510) may be conceptually divided into a number of functional units, as described below. In a practical implementation working within 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.
[0067] The first unit is a scaler / inverse transform unit (551). The scaler / inverse transform unit (551) receives quantized transform coefficients and control information as symbol(s) (521) from the parser (520). The control information includes which transform to use, block size, quantization factor, quantization scaling matrix, etc. The scaler / inverse transform unit (551) can output a block containing sample values that can be input to an aggregator (555).
[0068] In some cases, the output samples of the scaler / inverse transform unit (551) may relate to intra-coded blocks, which are blocks that do not use prediction information from a previously reconstructed picture, but can use prediction information from a previously reconstructed part 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 taken from a current picture buffer (558). The current picture buffer (558) may, for example, buffer a partially reconstructed current picture and / or a fully reconstructed current picture. The aggregator (555) may add, sample by sample, the prediction information generated by the intra prediction unit (552) to the output sample information provided by the scaler / inverse transform unit (551).
[0069] In other cases, the output samples of the scaler / inverse transform unit (551) may relate to an inter-coded, potentially motion-compensated block. In such cases, the motion compensation prediction unit (553) may access a reference picture memory (557) to fetch samples used for prediction. After motion compensating the fetched samples according to the symbols (521) for the block, these samples may be added by an aggregator (555) to the output of the scaler / inverse transform unit (in this case referred to as residual samples or residual signals) to generate output sample information. The addresses in the reference picture memory (557) from which the motion compensation unit (553) fetches the prediction samples may be controlled by a motion vector available to the motion compensation unit (553) in the form of a symbol (521). The symbol may have, for example, X, Y, and reference picture components. Motion compensation may include interpolation of sample values fetched from the reference picture memory (557) when subsample accurate motion vectors are used, motion vector prediction mechanisms, etc.
[0070] The output samples of the aggregator (555) can be subjected to various loop filtering techniques in a loop filter unit (556). The video compression techniques can include in-loop filter techniques controlled by parameters contained in the coded video sequence (also called the coded video bitstream) and made available to the loop filter unit (556) as symbols (521) from the parser (520). The video compression can also be responsive to meta-information obtained during decoding of a previous portion (in decoding order) of the coded picture or coded video sequence, as well as to previously reconstructed loop filtered sample values.
[0071] The output of the loop filter unit (556) can be a sample stream, which can be output to a render device (512) or can be stored in a reference picture memory (557) for use in future inter-picture prediction.
[0072] Once an encoded picture is fully reconstructed, it can be used as a reference picture for future predictions. For example, once an encoded picture corresponding to a current picture is fully reconstructed and the encoded 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 a fresh current picture buffer can be reallocated before starting the reconstruction of a subsequent encoded picture.
[0073] The video decoder (510) may perform decoding operations according to a given video compression technique or standard, such as ITU-T Recommendation H.265. The coded video sequence may conform to the syntax prescribed by the video compression technique or standard being used, in the sense that the coded video sequence conforms to the syntax of the video compression technique or standard and to a profile documented in the video compression technique or standard. Specifically, the profile may select certain tools from all tools available in the video compression technique or standard as the only tools available for use under that profile. Compliance may also require that the complexity of the coded video sequence be within a range defined by the level of the video compression technique or standard. In some cases, the level constrains the maximum picture size, maximum frame rate, maximum reconstruction sample rate (e.g., measured in units of megasamples per second), maximum reference picture size, etc. The limits set by the level may be further constrained through a Hypothetical Reference Decoder (HRD) specification and metadata for HRD buffer management, possibly signaled in the coded video sequence.
[0074] In some embodiments, the receiver (531) may receive additional (redundant) data along with the encoded video. The additional data may be included as part of the encoded video sequence(s). 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) improvement layers, redundant slices, redundant pictures, forward error correction codes, etc.
[0075] 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. 4.
[0076] 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 encoded by the video encoder (603). In another example, the video source (601) is part of the electronic device (620).
[0077] The video source (601) may provide a source video sequence to be encoded 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 YCrCB, RGB, ...) and any suitable sampling structure (e.g., YCrCb 4:2:0, YCrCb 4:4:4). In a media service system, the video source (601) may be a storage device that stores pre-prepared video. In a video conferencing system, the video source (601) may be a camera that captures image information locally as a video sequence. The video data may be provided as a number of individual pictures that impart 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 can easily understand the relationship between pixels and samples. The following description focuses on samples.
[0078] According to an embodiment, the video encoder (603) can encode and compress pictures of a source video sequence into an encoded video sequence (643) in real-time or under any other required time constraint. Enforcing an appropriate encoding rate is one function of the controller (650). In some embodiments, the controller (650) controls and is operatively coupled to other functional units, such as those described below. Such couplings are not depicted for clarity. Parameters set by the controller (650) can include parameters related to rate control (picture skip, quantizer, lambda value for rate-distortion optimization techniques, ...), picture size, group of pictures (GOP) layout, maximum motion vector search range, etc. The controller (650) can be configured with other suitable functions for the video encoder (603) optimized for a certain system design.
[0079] In some embodiments, the video encoder (603) is configured to operate in an encoding loop. As a simplistic description, in one example, the encoding loop can include a source encoder (630) (e.g., responsible for generating symbols such as a symbol stream based on an input picture to be encoded and a reference picture(s)) and a (local) decoder (633) embedded in the video encoder (603). The decoder (633) reconstructs the symbols to generate sample data in a similar manner that a (remote) decoder would also generate. The reconstructed sample stream (sample data) is input to a reference picture memory (634). Since the decoding of the symbol stream results in bit-accurate results regardless of the decoder location (local or remote), the contents of the reference picture memory (634) are also bit-accurate between the local and remote encoders. In other words, the prediction part of the encoder "sees" exactly the same sample values as the decoder "sees" when using prediction during decoding as reference picture samples. 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.
[0080] The operation of the "local" decoder (633) may be the same as the operation of a "remote" decoder, e.g., the video decoder (410), already described in detail above in connection with Figure 5. However, referring also briefly to Figure 5, since symbols are available and the encoding / decoding of symbols into a coded video sequence by the entropy coder (645) and parser (420) may be lossless, the entropy decoding portion of the video decoder (410), including the buffer memory (415) and the parser (420), may not be fully implemented in the local decoder (633).
[0081] In some embodiments, any decoder technique, except for parsing / entropy decoding, present in a decoder is present in substantially the same functional form in a corresponding encoder. Thus, the disclosed subject matter focuses on the decoder operation. The description of the encoder techniques can be abbreviated since they are the inverse of the decoder techniques described generically. In certain areas, more detailed descriptions are provided below.
[0082] During operation, in some examples, the source encoder (630) may perform motion-compensated predictive encoding, which predictively encodes an input picture with reference to one or more previously encoded pictures from a video sequence, designated as “reference pictures.” In this manner, the encoding engine (632) encodes differences between pixel blocks of the input picture and pixel blocks of the reference picture(s) that may be selected as predictive references for the input picture.
[0083] The local video decoder (633) can decode the coded video data of a picture that may be designated as a reference picture based on the symbols generated by the source encoder (630). The operation of the coding engine (632) can advantageously be a lossy process. When the coded video data can be decoded by a video decoder (not shown in FIG. 6), the reconstructed video sequence can be a copy of the source video sequence, typically with some errors. The local video decoder (633) can replicate the decoding process that may be performed on the reference picture by the video decoder and store the reconstructed reference picture in the reference picture memory (634). In this way, the video encoder (603) can locally store a copy of the reconstructed reference picture that has common content (in the absence of transmission errors) as the reconstructed reference picture that would be obtained by the far-end video decoder.
[0084] 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 certain 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 a sample 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 derived from multiple reference pictures stored in the reference picture memory (634).
[0085] The controller (650) may manage the encoding operations of the source encoder (630), including, for example, setting the parameters and subgroup parameters used to encode the video data.
[0086] The output of all the above functional units can be subjected to entropy coding in an entropy coder (645), which converts the symbols produced by the various functional units into a coded video sequence by applying a lossless compression to the symbols according to techniques such as Huffman coding, variable length coding, arithmetic coding, etc.
[0087] The transmitter (640) can buffer the coded video sequence produced by the entropy coder (645) and prepare it for transmission over a communication channel (660), which may 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).
[0088] A controller (650) may manage the operation of the video encoder (603). During encoding, the controller (650) may assign a coding picture type to each coded picture. The coding picture type may affect the coding technique that may be applied to each picture. For example, pictures may often be assigned as one of the following picture types:
[0089] An intra picture (I picture) may be one that can be coded and decoded without using other pictures in a sequence as a source of prediction. Some video codecs allow different types of intra pictures, including, for example, Independent Decoder Refresh ("IDR") pictures. Those skilled in the art will recognize these variations of I pictures, as well as their respective uses and characteristics.
[0090] A predictive picture (P picture) may be one that can be encoded 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.
[0091] A bidirectionally predictive picture (B picture) may be one that can be encoded and decoded using intra- or inter-prediction that uses up to two motion vectors and reference indices to predict the sample values of each block. Similarly, a multi-predictive picture may use more than two reference pictures and associated metadata for the reconstruction of a single block.
[0092] A source picture is usually spatially divided 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 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 or via temporal prediction with reference to one previously coded reference picture. Blocks of a B picture may be predictively coded via spatial prediction or via temporal prediction with reference to one or two previously coded reference pictures.
[0093] The video encoder (603) may perform encoding operations according to a given video encoding technique or standard, such as ITU-T Recommendation H.265. In its operations, the video encoder (603) may perform various compression operations, including predictive encoding operations that exploit temporal and spatial redundancy in the input video sequence. Thus, the encoded video data may conform to a syntax specified by the video encoding technique or standard used.
[0094] In some embodiments, the sender (640) may transmit additional data along with the encoded video. The source encoder (630) may include such data as part of the encoded video sequence. The additional data may include temporal / spatial / SNR enhancement layers, other forms of redundant data such as redundant pictures and slices, SEI messages, VUI parameter set fragments, etc.
[0095] Video may be captured as multiple source pictures (video pictures) in a temporal sequence. Intra-picture prediction (often abbreviated as intra-prediction) exploits spatial correlations in a given picture, while inter-picture prediction exploits correlations (temporal or otherwise) between pictures. In one example, a particular picture to be encoded / decoded, called the current picture, is divided into blocks. If a block in the current picture is similar to a reference block in a previously coded and still buffered reference picture in the video, that block in the current picture can be coded by a vector called a motion vector. The motion vector points to a reference block in the reference picture, and may have a third dimension that identifies the reference picture if multiple reference pictures are used.
[0096] In some embodiments, bi-prediction techniques can be used in inter-picture prediction. According to bi-prediction techniques, two reference pictures are used, such as a first reference picture and a second reference picture, both of which precede the current picture in decode order (but may be past and future, respectively, in display order) in the video. A block in the current picture can be coded with 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 can be predicted by a combination of the first and second reference blocks.
[0097] Furthermore, to improve coding efficiency, merge mode techniques can be used in inter-picture prediction.
[0098] According to some embodiments of the present disclosure, predictions such as inter-picture prediction and intra-picture prediction are performed on a block-by-block basis. For example, according to the HEVC standard, pictures in a sequence of video pictures are 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 CTU of 64×64 pixels can be partitioned into one CU of 64×64 pixels, or four CUs of 32×32 pixels, or 16 CUs of 16×16 pixels. In one example, each CU is analyzed to determine a prediction type for that CU, such as an inter prediction type or an intra prediction type. A CU is divided into one or more prediction units (PUs) depending on temporal and / or spatial predictability. Generally, each PU includes a luma prediction block (PB) and two chroma PBs. In an embodiment, the prediction operation in encoding / decoding is performed in units of a prediction block. Taking a luma prediction block as an example of a prediction block, the prediction block includes a matrix of values (e.g., luma values) for pixels, such as 8×8 pixels, 16×16 pixels, 8×16 pixels, 16×8 pixels, etc.
[0099] 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 to 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) in the example of FIG. 4.
[0100] In an HEVC example, the video encoder (703) receives a matrix of sample values for a processing block, such as a predictive block, such as 8×8 samples. The video encoder (703) determines whether the processing block is best coded using intra mode, inter mode, or bi-predictive mode, e.g., using rate-distortion optimization. If the processing block is coded in intra mode, the video encoder (703) may use intra prediction techniques to encode the processing block into a coded picture; if the processing block is coded in inter mode or bi-predictive mode, the video encoder (703) may use inter prediction techniques or bi-predictive techniques, respectively, to encode the processing block into a coded picture. In certain video coding techniques, a merge mode may be an inter-picture prediction submode in which a motion vector is derived from one or more motion vector predictors, but 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) for determining a mode of a processing block.
[0101] 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 coder (725), coupled together as shown in FIG.
[0102] The inter encoder (730) is configured to receive samples of a current block (e.g., a processing block), compare the block with one or more reference blocks in a reference picture (e.g., blocks in previous and subsequent pictures), generate inter prediction information (e.g., a description of redundant information due to inter encoding techniques, motion vectors, merge mode information), and calculate an inter prediction result (e.g., a predicted block) based on the inter prediction information using any suitable technique. In some examples, the reference picture is a decoded reference picture that has been decoded based on the encoded video information.
[0103] The intra encoder (722) is configured to receive samples of a current block (e.g., a processing block), optionally compare the block to blocks already encoded in the same picture, generate transformed and quantized coefficients, and optionally 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 an intra prediction result (e.g., a predicted block) based on the intra prediction information and a reference block in the same picture.
[0104] The general controller (721) is configured to determine general control data and control other components of the video encoder (703) based on the general control data. In one example, the general controller (721) determines the mode of the block and provides a control signal to the switch (726) based on the mode. For example, if the mode is intra mode, the general controller (721) controls the switch (726) to select the result of the intra mode 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; if the mode is inter mode, the general controller (721) controls the switch (726) to select the result of inter prediction 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.
[0105] 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 encode the residual data to generate transform coefficients based on the residual data. In one example, the residual encoder (724) is configured to transform the residual data from a spatial domain to a frequency domain to generate transform coefficients. The transform coefficients are then subjected to 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 to generate decoded residual data. The decoded residual data can be suitably used by the intra-encoder (722) and the inter-encoder (730). 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. The decoded blocks are suitably processed to generate decoded pictures, which may be buffered in a memory circuit (not shown) and, in some examples, used as reference pictures.
[0106] 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 a suitable standard, such as the HEVC standard. In one example, the entropy encoder (725) is configured to include general control data, selected prediction information (e.g., intra-prediction information or inter-prediction information), residual information, and other suitable information in the bitstream. It is noted that, in accordance with the disclosed subject matter, when encoding a block in a merged sub-mode of either the inter mode or the bi-prediction mode, the residual information is not present.
[0107] 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) in the example of FIG. 4.
[0108] 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.
[0109] The entropy decoder (871) may be configured to reconstruct from the coded picture certain symbols representing the syntax elements of which the coded picture is composed. Such symbols may include, for example, the mode in which the block is coded (e.g., intra mode, inter mode, bi-predictive mode, merged submode or the latter two in another submode) and prediction information (e.g., intra prediction information or inter prediction information, etc.) that may identify certain samples or metadata used for prediction by the intra decoder (872) or the inter decoder (880), respectively. 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 or bi-predictive mode, the inter prediction information is provided to the inter decoder (880); 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 is provided to the residual decoder (873).
[0110] The inter decoder (880) is configured to receive inter prediction information and generate inter prediction results based on the inter prediction information.
[0111] The intra decoder (872) is configured to receive intra prediction information and generate a prediction result based on the intra prediction information.
[0112] The residual decoder (873) is configured to perform inverse quantization to extract dequantized transform coefficients, and to process the dequantized 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 (including quantizer parameters (QP)), which may be provided by the entropy decoder (871) (data path not depicted since this is only low volume control information).
[0113] The reconstruction module (874) is configured to combine, in the spatial domain, the residual information output by the residual decoder (873) and the prediction result (output by the intra- or inter-prediction module, as the case may be) to form a reconstructed block, which may be part of a reconstructed picture, which may be part of a reconstructed video. It is noted that other suitable operations, such as deblocking operations, may be performed to improve visual quality.
[0114] It should be noted that the video encoders (403), (603), (703) and the video decoders (410), (510), (810) may be implemented using any suitable techniques. In one embodiment, the video encoders (403), (603), (703) and the video decoders (410), (510), (810) may be implemented using one or more integrated circuits. In another embodiment, the video encoders (403), (603), (603) and the video decoders (410), (510), (810) may be implemented using one or more processors executing software instructions.
[0115] This disclosure includes embodiments related to deriving and propagating intra prediction modes for intra block copy (IBC) using reconstructed intra copied blocks via block vectors (BVs).
[0116] ITU-T VCEG (Q6 / 16) and ISO / IEC MPEG (JTC 1 / SC29 / WG11) 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 standards organizations jointly formed the Joint Video Exploration Team (JVET) to explore the possibility of developing the next video coding standard beyond HEVC. In October 2017, the two standards organizations announced a Joint Call for Proposals on Video Compression with Capability beyond HEVC (CfP). By February 15, 2018, 22 CfP responses for standard dynamic range (SDR), 12 CfP responses for high dynamic range (HDR), and 12 CfP responses for 360 video categories had been submitted. In April 2018, all received CfP responses were evaluated at the 122 MPEG / 10th JVET meeting. As a result of this meeting, JVET formally launched the standardization process for next-generation video coding beyond HEVC, and this new standard was named Versatile Video Coding (VVC), and JVET was renamed the Joint Video Experts Team. In 2020, ITU-T VCEG (Q6 / 16) and ISO / IEC MPEG (JTC1 / SC29 / WG11) published the VVC video coding standard (version 1).
[0117] In inter prediction, for each inter predicted coding unit (CU), motion parameters are required, e.g., due to the coding features of VVC used for inter predicted sample generation. The motion parameters may include motion vectors, reference picture indices, reference picture list usage indices, and / or additional information. The motion parameters may be signaled explicitly or implicitly. If a CU is coded in skip mode, the CU may be associated with one PU, and significant residual coefficients, coded motion vector deltas, and / or reference picture indices may not be required. If a CU is coded in merge mode, the motion parameters for the CU may be obtained from neighboring CUs. The neighboring CUs may include spatial and temporal candidates, and additional schedules (or additional candidates) as introduced in VVC. The merge mode can be applied to any inter predicted CU, not just skip mode. An alternative to the merge mode is explicit transmission of motion parameters, where the motion vector, the corresponding reference picture index for each reference picture list, the reference picture list usage flag, and / or other required information may be explicitly signaled for each CU.
[0118] For VVC, the VVC Test model (VTM) reference software can include several new sophisticated inter-prediction coding tools, which can include one or more of the following: (1) Enhanced Merge Prediction (2) Merge motion vector difference (MMVD) (3) AMVP mode with symmetric MVD signaling (4) Affine motion compensation prediction (5) Subblock-based temporal motion vector prediction (SbTMVP) (6) Adaptive motion vector resolution (AMVR) (7) Motion Field Storage: 1 / 16 luma sample MV storage and 8x8 motion field compression (8) Bi-prediction with CU-level weights (BCW) (9) Bi-directional optical flow (BDOF) (10) Decoder side motion vector refinement (DMVR) (11) Combined inter and intra prediction (CIIP) (12) Geometric partitioning mode (GPM)
[0119] A merge candidate list can be constructed by including five types of candidates as in VTM4. A merge candidate list can be constructed in the following order: 1) Spatial MVP from spatially neighboring CUs, 2) Temporal MVP from co-located CUs; 3) History-based MVP from a FIFO table, 4) Pairwise average MVP, 5) Zero MV.
[0120] 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 VTM4. For each CU coded in merge mode, the index of the best merge candidate can be encoded, for example using truncated unary binarization. The first bin of the merge index can be coded using the context, and for the other bins bypass coding can be used.
[0121] 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 maximum number of merge candidates (e.g., four merge candidates) may be selected from among candidates located at the positions shown in FIG. 9, for example. As shown in FIG. 9, a current block (901) may include neighboring blocks (902)-(906) located at positions A0, A1, B0, B1, and B2, respectively. The order of derivation of spatial merge candidates may be B1, A1, B0, A0, and 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 a redundancy check. The redundancy check can ensure that candidates with the same motion information are removed from the merge list so that the coding efficiency is improved. To reduce the computational complexity, the redundancy check may not consider all possible candidate pairs. Instead, only the candidate pairs connected by the arrows in FIG. 10 may be considered. For example, the redundancy check can be applied to five candidate pairs, such as the candidate pair A1 and B1 and the candidate pair A1 and A0. A candidate can 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 can be added to the merge list only if the corresponding candidate B1 does not contain the same motion information.
[0122] In the derivation of a temporal candidate, only one candidate may be added to the merge list. For example, as shown in FIG. 11, in the 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 the derivation of the co-located CU (1104) may be explicitly signaled in the slice header. The scaled motion vector for 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 can be defined as the POC difference between a co-located picture (e.g., Col_ref) (1110) and a co-located picture (e.g., Col_pic) (1112). The reference picture index of a temporal merge candidate can be set to zero.
[0123] The position for the temporal candidate can be selected between candidates C0 and C1, as shown in Figure 12. For example, if the CU at position C0 is unavailable, intra-coded, or outside the current CTU row, then position C1 can be used. Otherwise, position C0 can be used in deriving the temporal merge candidate.
[0124] GPM can be applied for inter prediction. GPM can be applied only to CUs of a certain size, e.g., CUs with size of 8×8 or larger than 8×8. GPM can be signaled, e.g., using a CU-level flag, and can act as a type of merge mode. Other merge modes can include normal merge mode, MMVD mode, CIIP mode, and / or sub-block merge mode.
[0125] When the GPM is used, the CU can be divided into two geometrically shaped partitions by using one of several partition aspects. The partition aspects can be distinguished by angle and / or edge. In an embodiment, 64 different partition aspects can be applied in the GPM. The 64 different partition aspects can be distinguished by 24 non-uniformly quantized angles between 0° and 360° and up to four edges relative to the center of the CU. FIG. 13 shows 24 exemplary angles applied in the GPM. FIG. 14 shows four exemplary possible partition edges associated with an angle with index 3 in the CU (1402), each partition edge can be associated with a respective distance index. The distance index can indicate a distance relative 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, for each partition, only uni-prediction may be allowed. 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 can ensure that only two motion-compensated predictions are needed for each CU, which also applies to conventional bi-prediction.
[0126] If GPM is used for the current CU, a signal indicating the geometric partition index and two merge indices (one for each partition) can be further signaled. The maximum GPM candidate size can be signaled, for example explicitly at the slice level. The maximum GPM candidate size can specify a syntactic binarization for the GPM merge index. After each of the two geometric partitions is predicted, the sample values along the geometric partition edges can be adjusted using a blending process with adaptive weights. Thus, a prediction signal for the entire CU can be generated after the blending process. In other prediction modes, further transformation and quantization processes can be applied to the entire CU. Furthermore, the motion field of the CU predicted using GPM can be stored.
[0127] The implementation cost of IBC can be high over the entire already reconstructed region of the current picture. For example, a drawback of the IBC concept in HEVC is the need for additional memory in the Decode Picture Butter (DPB). Therefore, in hardware implementations of IBC, external memory is usually used. The additional external memory accesses can entail an increase in memory bandwidth.
[0128] In some implementations, it may be necessary to reduce the implementation cost. For example, VVC can use fixed memory, which can realize IBC by using on-chip memory, significantly reducing 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 neighboring BVs and five history-based BVs (HBVPs). Here, when the first HBVP is added to the candidate list (or IBC list), only the first HBVP can be compared with the spatial candidates (e.g., BVs of two spatial candidates).
[0129] To further improve the compression efficiency, as in VVC, template matching (TM) can be used to refine the motion at the decoder side. In TM mode, the motion is refined by building a template from reconstructed samples of the left and top neighborhoods, and the closest match between the template and a reference frame in the current picture can be determined.
[0130] TM can be applied to GPM. When a CU is coded with GPM, it can be decided whether TM is applied to refine each motion for a geometric partition. When TM is selected, a template can be constructed using left and top neighboring samples, and the motion can be further refined by finding the best match between the current template and a reference region with the same template pattern in a reference frame. The refined motion can be used to perform motion compensation for the geometric partition and can be further stored in a motion field.
[0131] GPM can be applied to support inter 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. For each geometric partition, an intra prediction mode or an inter prediction mode can be determined based on a flag. If inter prediction is selected, a uni-predictive signal can be generated by MV from the merge candidate list. If an intra prediction mode is selected instead, a uni-predictive signal can be generated from neighboring samples predicted from a specified index of the intra prediction mode. The variation of possible intra prediction modes can be constrained by the geometry. Finally, the two uni-predictive signals can be blended similarly to normal GPM.
[0132] To reduce complexity and signaling overhead, a variation of possible intra prediction modes can be explored (or defined). For example, the impact of the variation of possible intra prediction modes on a GPM with inter and intra prediction was explored for two exemplary configurations. The first configuration tried only modes parallel and perpendicular to the geometric partition line. In addition to the intra angle modes parallel and perpendicular to the geometric partition line, in the second configuration, a planar mode was also tried. Two or three possible intra prediction modes were tried for the geometric partition in a GPM with inter and intra prediction.
[0133] In template-based intra mode derivation (TIMD), e.g., in JVET-V0098, for each intra mode of the MPM, the sum of absolute transformed differences (SATD) between the prediction of the template domain and the reconstructed samples 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 the intra mode with the smallest SATD cost, e.g., in JVET-W0123, the first two modes with the smallest SATD cost derived in TIMD can also be selected for the current CU. The two selected modes can be further fused with a weight, and the weighted intra prediction can be used as the intra predictor for the current CU. If the cost of the selected intra mode with the smallest SATD cost is larger than half the cost of another 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 fusion is applied, the weight values can be derived from the SATD costs of the two modes.
[0134] During the generation of the MPM list, if a neighboring CU is encoded as an inter CU (i.e., a CU coded in an inter prediction mode), the intra prediction mode of the neighboring CU may be derived as a planar mode by default. To improve the accuracy of the MPM list, an intra mode propagation method for inter CUs may be applied in the construction of the MPM list. For example, in JVET-V0098, the intra prediction mode for inter CUs may be propagated via the reference pictures and motion vectors associated with the inter CU, and the propagated intra prediction mode of the inter CU may be used in the construction of the MPM list. It should be noted that the intra mode propagation for inter CUs may only be applied to the derivation of TIMD modes.
[0135] To improve the accuracy of MPM list construction, for TIMD mode, the propagated intra mode of the neighboring inter CU can be adopted. The propagated intra mode of the neighboring inter CU can be derived from the reference picture and motion vector of the neighboring inter CU. However, if the neighboring CU is encoded as an IBC prediction mode, the planar mode can still be used for MPM list construction.
[0136] In the present disclosure, the intra prediction mode can be derived using the block vector (BV) of IBC, and the intra prediction mode information can be stored for intra mode propagation. For example, if the current block is predicted by IBC, the propagated intra mode of the current block can be derived from the intra mode of the reference block of the current block. The reference block can be indicated (or referenced) by the BV of IBC. The propagated intra mode of the current block can be used for constructing an MPM list for a neighboring block of the current block, if the neighboring block is an IBC block (or is predicted by IBC). Thus, if the neighboring block is IBC coded, the intra prediction mode of the reference block of the current block can be a candidate for constructing an MPM list of the neighboring block.
[0137] In one embodiment, the propagated intra mode may be stored for the smallest IBC coded block (also called smallest subblock or subblock) of the current block, such as for the 4×4 luma block (or subblock) of the current block. Thus, a respective propagated intra mode for each subblock of the current block may be stored. The propagated intra mode of the current block may be derived from the intra mode of the current block's reference block. The reference block may be pointed to (or referenced) by the IBC BV.
[0138] In an embodiment, intra-mode information of an IBC block (or a block predicted by an IBC) can be propagated from a reference block referenced by a BV of the IBC. FIG. 15 shows an example illustration of intra-prediction mode propagation for an IBC block via a BV. As shown in FIG. 15, a BV (1502) can be applied to an IBC block (or current block) (1504) to locate a reference block (1506) of the current block (1504) in a reconstructed picture (not shown). To obtain an intra-prediction mode from the reference block (1506), the reference block (1506) referenced by the BV (1502) can be divided into multiple atomic units (or sub-blocks), such as 4×4 units. For each atomic unit (e.g., (1508)) in the reference block (1506), a respective intra-prediction mode can be derived from samples located in the respective atomic unit (or respective sub-block). The sample may be located at a center or corner position of the atomic unit (or subblock). For example, the sample may be the top-left sample of the atomic unit. The intra-prediction mode of the atomic unit of the reference block may be further stored when the reference block is encoded. The stored intra-prediction mode of the atomic unit of the reference block (1506), which may be a co-located CU of the current block (1504), may be propagated to the current block (1504).
[0139] Continuing to refer to FIG. 15, in some embodiments, the current block (1504) may be divided into a number of sub-blocks (e.g., (1510)). Each of the sub-blocks may have the same size as a minimum unit of the reference block (1506). In this manner, each sub-block of the current block (1504) may have a corresponding minimum unit in the reference block (1506). The position of the sub-block in the current block may be the same as the position of the corresponding minimum unit (or sub-block) in the reference block. For example, the sub-block (1510) is in the first row and third column of the current block (1504), and the minimum unit (1508) is in the first row and third column of the reference block (1506). Thus, the sub-block (1510) of the current block (1504) may correspond to the minimum unit (1508) in the reference block (1506). Thus, each sub-block of the current block (1504) may have a respective propagated intra mode that is derived from its corresponding atomic unit in the reference block (1506). For example, a sub-block (1510) may have a propagated intra mode that may be derived from the intra mode of an atomic unit (1508) in the reference block (1506).
[0140] Additionally, an intra prediction mode (IPM) map (1512) can be formed based on the reconstructed picture (not shown). The IMP map (1512) can include multiple sub-regions (e.g., (1514)). Each sub-region can correspond to a respective intra mode associated with the reconstructed picture (not shown).
[0141] In an embodiment, the center position of each atomic unit (e.g., 4×4 unit) in the reference block (1506) can be applied to derive the corresponding intra-prediction mode of the co-location for the current block (1504). Thus, the intra-prediction mode for a sub-block (e.g., (1510)) in the current block (1504) can be determined as the intra-mode of a pixel (or sample) located at the center position of the atomic unit (e.g., (1508)) of the reference block (1506) corresponding to the sub-block. The center position of the atomic unit (or 4×4 unit) can be in either the second row and second column of the atomic unit, the second row and third column of the atomic unit, the third row and second column of the atomic unit, or the third row and third column of the atomic unit. An exemplary illustration of the center position can be shown in the atomic unit (1508) in FIG. 15. As shown in the minimum unit (1508), the center location may be one of the locations labeled (1,1), (1,2), (2,1), or (2,2). The location labeled (1,1) corresponds to a center location in the second row and second column of the minimum unit (1508). The location labeled (2,1) corresponds to a center location in the second row and third column of the minimum unit (1508). The location labeled (1,2) corresponds to a center location in the third row and second column of the minimum unit (1508). The location labeled (2,2) corresponds to a center location in the third row and third column of the minimum unit (1508). Thus, the propagated intra-prediction mode for the sub-block (1510) may be derived from the intra-prediction mode of the pixel at the center location of the minimum unit (1508).
[0142] In an embodiment, a corner location, such as the top-left, top-right, bottom-left, or bottom-right location of each atomic unit (or 4×4 unit) (1508) can be applied to derive a corresponding intra-prediction mode for the co-location. As shown in FIG. 15, the top-left location can be labeled (0,0), the top-right location can be labeled (3,0), the bottom-left location can be labeled (0,3), and the bottom-right location can be labeled (3,3). Thus, the propagated intra-prediction mode for the sub-block (1510) can be derived from the intra-prediction mode of the pixel at one of the corner locations of the atomic unit (1508).
[0143] In an embodiment, the intra prediction mode of the reference block may only be propagated to sub-blocks of the current block in a geometric partition with IBC mode when the CU to be encoded (or the current block) is encoded in a GPM with IBC and intra modes. As shown in FIG. 16, the current block (1604) may be divided into a first partition (1614) and a second partition (1616) by the GPM. The first partition (1614) may be predicted by intra prediction, and the second partition (1616) may be predicted by IBC. Thus, the intra prediction mode of the reference block (1606) of the current block (1604) may only be propagated to sub-blocks of the second partition (1616). Thus, the intra mode of the atomic unit (1608) in the reference block (1606) can be propagated to the corresponding sub-block (1610) of the second partition (1616) in the current block (1604). The intra mode of the atomic unit (1612) in the reference block (1606) does not have to be propagated to the corresponding sub-block (1618) of the first partition (1614) in the current block (1604).
[0144] FIG. 17 shows a flow chart outlining an exemplary decoding process (1700) according to some embodiments of the present disclosure. FIG. 18 shows a flow chart outlining an exemplary encoding process (1800) according to some embodiments of the present disclosure. The proposed processes may be used separately or in combination 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.
[0145] The operations of the processes (e.g., 1700 and 1800) may be combined or arranged in any quantity or order as desired. In embodiments, two or more of the operations of the processes (e.g., 1700 and 1800) may be performed in parallel.
[0146] The processes (e.g., (1700) and (1800)) can be used in the reconstruction and / or encoding of blocks to generate a prediction block for a block being reconstructed. In various embodiments, the processes (e.g., (1700) and (1800)) are performed by processing circuitry, such as processing circuitry in terminal devices (310), (320), (330) and (340), processing circuitry performing the functions of a video encoder (403), processing circuitry performing the functions of a video decoder (410), processing circuitry performing the functions of a video decoder (510), processing circuitry performing the functions of a video encoder (603), etc. In some embodiments, the processes (e.g., (1700) and (1800)) are implemented with software instructions, such that the processing circuitry performs the processes (e.g., (1700) and (1800)) when the processing circuitry executes the software instructions.
[0147] As shown in Figure 17, the process (1700) may start at (S1701) and proceed to (S1710), where coded information for a current block in a current picture of the video may be received from a coded video bitstream. The coded information may indicate that the current block is an IBC block.
[0148] In (1720), an intra prediction mode can be derived for a sub-block of the current block based on a reference sub-block in the reference block. The reference sub-block can correspond to a sub-block of the current block, and the reference block can be referenced by a block vector of the IBC block.
[0149] At (1730), intra prediction modes for sub-blocks of the current block may also be stored.
[0150] In (1740), neighboring blocks of the current block may be determined as IBC blocks.
[0151] At (1750), an MPM list can be constructed for neighboring blocks of the current block using the stored intra prediction modes.
[0152] The intra prediction mode for the subblock may be derived as the intra mode of a pixel located at a central position of the reference subblock of the reference block, where the central position may be at the second row and second column of the reference subblock.
[0153] The intra prediction mode for the subblock may be derived as the intra mode of a pixel located at a central position of the reference subblock of the reference block, where the central position may be in the second row and third column of the reference subblock.
[0154] The intra prediction mode for the subblock may be derived as the intra mode of a pixel located at a central position of the reference subblock of the reference block, where the central position may be at the third row and second column of the reference subblock.
[0155] The intra prediction mode for the subblock may be derived as the intra mode of a pixel located at a central position of the reference subblock of the reference block, where the central position may be at the third row and third column of the reference subblock.
[0156] The intra prediction mode for a subblock may be derived as the intra mode of a pixel located at one of the top right, top left, bottom left, or bottom right positions of the reference subblock of the reference block.
[0157] In some embodiments, the current block may be divided into a first partition and a second partition based on a geometric partition mode (GPM). The first partition may be predicted by IBC and the second partition may be predicted by intra prediction. The sub-block may be located within the first partition predicted by IBC.
[0158] In some embodiments, the sub-block of the current block may be a 4x4 pixel unit.
[0159] In some embodiments, the intra prediction mode for a subblock may be determined as a candidate prediction mode in an MPM list for a neighboring block of the current block, where the neighboring block may be predicted by IBC.
[0160] After (S1750), the process proceeds to (S1799) and ends.
[0161] The process 1700 may be adapted as desired. Steps in the process 1700 may be modified and / or omitted. Additional steps may be added. Any suitable order of implementation may be used.
[0162] As shown in FIG. 18, the process (1800) may start at (S1801) and proceed to (S1810). In (S1810), an intra prediction mode may be derived for a sub-block of a current block in a current picture based on a reference sub-block in the reference block. The reference sub-block may correspond to a sub-block of the current block. The current block may be an IBC block. The reference block may be referenced by a block vector of the IBC block.
[0163] At (S1820), the intra prediction modes for the sub-blocks of the current block may be stored.
[0164] In (S1830), the neighboring blocks of the current block may be determined as IBC blocks.
[0165] In (S1840), an MPM list may be constructed for neighboring blocks of the current block using the stored intra prediction modes.
[0166] In (S1850), coding information of the current block may be generated. The coding information may indicate that the current block is predicted by IBC, and intra prediction information of sub-blocks of the current block is based on corresponding reference sub-blocks of the reference block of the current block.
[0167] Thereafter, the process proceeds to (S1899) and ends.
[0168] The process 1800 may be adapted as desired. Steps in the process 1800 may be modified and / or omitted. Additional steps may be added. Any suitable order of implementation may be used.
[0169] The techniques described above can be implemented as computer software using computer readable instructions and can be physically stored on one or more computer readable media. For example, Figure 19 illustrates a computer system (1900) suitable for implementing certain embodiments of the disclosed subject matter.
[0170] Computer software may be coded using any suitable machine code or computer language and may be subject to assembly, compilation, linking, or similar mechanisms to produce code containing instructions that are executable by one or more computer central processing units (CPUs), graphics processing units (GPUs), etc., either directly, or through interpretation, microcode execution, etc.
[0171] The instructions may be executed on various types of computers or components thereof including, for example, personal computers, tablet computers, servers, smart phones, gaming devices, Internet of Things devices, and the like.
[0172] 19 for computer system (1900) 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. Neither the configuration of components should be interpreted as having any dependency or requirement regarding any one or combination of components illustrated in the exemplary embodiment of computer system (1900).
[0173] The computer system (1900) may include certain human interface input devices that may be responsive to input by one or more human users through, for example, tactile input (e.g., keystrokes, swipes, data glove movements), audio input (e.g., voice, clapping), visual input (e.g., gestures), or olfactory input (not shown). Human interface devices may also be used to capture certain media that are not necessarily directly related to conscious human input, such as audio (e.g., speech, music, ambient sounds), images (e.g., scanned images, photographic images obtained from still image cameras), and video (e.g., two-dimensional video, three-dimensional video including stereoscopic video).
[0174] The input human interface devices may include one or more (only one of each is shown) of a keyboard (1901), a mouse (1902), a trackpad (1903), a touch screen (1910), a data glove (not shown), a joystick (1905), a microphone (1906), a scanner (1907), and a camera (1908).
[0175] The computer system (1900) may also include some type of human interface output device. Such human interface output devices may stimulate one or more of the human user's senses, for example, through tactile output, sound, light, and smell / taste. Such human interface output devices may include haptic output devices (e.g., haptic feedback via a touch screen (1910), data gloves (not shown), or joystick (1905); although there may be haptic feedback devices that do not act as input devices), audio output devices (e.g., speakers (1909), headphones (not shown)), visual output devices (e.g., screens (1910) including CRT screens, LCD screens, plasma screens, OLED screens; each may or may not have touch screen input capability, each may or may not have haptic feedback capability, some of which may output two-dimensional visual output or higher than three-dimensional output through means such as stereoscopic output; virtual reality glasses (not shown), holographic displays, and smoke tanks (not shown)), and printers (not shown).
[0176] The computer system (1900) may also include human accessible storage and associated media, such as optical media including CD / DVD ROM / RW (1920) along with CD / DVD or similar media (1921), thumb drives (1922), removable hard drives or solid state drives (1923), legacy magnetic media such as tapes and floppy disks (not shown), specialized ROM / ASIC / PLD based devices (not shown) such as security dongles, etc.
[0177] Those skilled in the art should 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.
[0178] The computer system (1900) may also include an interface (1954) to one or more communication networks (1955). The networks may be, for example, wireless, wired, optical. The networks may further be local, wide area, metropolitan, in-vehicle and industrial, real-time, delay tolerant, etc. Examples of networks include Ethernet, WLAN, cellular networks including GSM, 3G, 4G, 5G, LTE, etc., TV wired or wireless wide area digital networks including cable television, satellite television, terrestrial broadcast television, in-vehicle and industrial including CANBus, etc. Some networks typically require an external network interface adapter that is attached to some kind of general purpose data port or peripheral bus (1949) (e.g., a USB port on the computer system (1900)). Others are typically integrated into the core of the computer system (1900) by attachment 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 (1900) can communicate with other entities. Such communications may be unidirectional, receive only (e.g., broadcast television), unidirectional transmit only (e.g., CANbus to certain CANbus devices), or bidirectional, for example, to other computer systems using local or wide area digital networks. With each of these networks and network interfaces as described above, certain protocols and protocol stacks may be used.
[0179] The aforementioned human interface devices, human accessible storage devices, and network interfaces may be attached to a core (1940) of the computer system (1900).
[0180] The core (1940) may include one or more central processing units (CPUs) (1941), graphics processing units (GPUs) (1942), specialized programmable processing units in the form of field programmable gate arrays (FPGAs) (1943), hardware accelerators for certain tasks (1944), graphics adapters (1950), and the like. These devices may be connected through a system bus (1948), along with read only memory (ROM) (1945), random access memory (1946), and internal mass storage devices (1947), such as internal non-user accessible hard drives, solid state drives (SSDs), and the like. In some computer systems, the system bus (1948) may be accessible in the form of one or more physical plugs to allow expansion with additional CPUs, GPUs, and the like. Peripheral devices may be attached directly to the core's system bus (1948) or through a peripheral bus (1949). In one example, a screen 1910 may be connected to a graphics adapter 1950. Architectures for peripheral buses include PCI, USB, and the like.
[0181] The CPU (1941), GPU (1942), FPGA (1943), and accelerator (1944) can execute certain instructions that, in combination, may constitute the computer code described above. The computer code may be stored in a ROM (1945) or a RAM (1946). Temporary data may also be stored in the RAM (1946), while persistent data may be stored, for example, in an internal mass storage device (1947). Rapid storage and retrieval from any of the memory devices may be enabled through the use of a cache memory that may be closely associated with one or more of the CPU (1941), GPU (1942), mass storage device (1947), ROM (1945), RAM (1946), etc.
[0182] The computer-readable medium can have computer code thereon 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 having skill in the computer software arts.
[0183] By way of example and not limitation, a computer system having the architecture (1900), and in particular the core (1940), can provide functionality as a result of the processor (including CPU, GPU, FPGA, accelerator, etc.) executing software embodied in one or more tangible computer readable media. Such computer readable media can be user accessible mass storage as introduced above as well as media associated with some type of storage of the core (1940) of a non-transitory nature such as mass storage (1947) or ROM (1945) internal to the core. Software implementing various embodiments of the present disclosure can be stored in such devices and executed by the core (1940). The computer readable media can include one or more memory devices or chips depending on the particular needs. The software can cause the core (1940) and in particular the processors therein (including CPU, GPU, FPGA, etc.) to execute certain processes or certain specific portions thereof described herein, including defining data structures stored in RAM (1946) and modifying such data structures according to processes defined by the software. Additionally or alternatively, a computer system may provide functionality as a result of logic hardwired or otherwise embodied in circuitry (e.g., an accelerator (1944)), which may operate in place of or together with software to perform particular processes or portions of particular processes described herein. Reference to software includes logic, and vice versa, as appropriate. Reference to a computer-readable medium may include circuitry (e.g., an integrated circuit (IC)) that stores software for execution, circuitry that embodies logic for execution, or both, as appropriate. The present disclosure encompasses any suitable combination of hardware and software.
[0184] 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 GOP: Group of Pictures TU: Transform Unit PU: Prediction Unit CTU: Coding Tree Unit CTB: Coding Tree Block PB: Prediction Block HRD: Hypothetical Reference Decoder SNR: Signal Noise Ratio CPU: Central Processing Unit GPU: Graphics Processing Unit 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 Areas SSD: solid-state drive IC: Integrated Circuit CU: Coding Unit
[0185] While this disclosure has described several exemplary embodiments, there are alterations, substitutions, and various substitute equivalents, which fall within the scope of this disclosure. Thus, it will be appreciated that those skilled in the art will be able to devise many systems and methods that, although not explicitly shown or described herein, embody the principles of the present disclosure and are thus within the spirit and scope of the present disclosure.
Claims
1. 1. A method of video decoding performed in a video decoder, the method comprising: receiving coded information of a current block in a current picture of a video from a coded video bitstream, the coded information indicating that the current block is an intra block copy (IBC) block, and the current block is divided into a plurality of partitions based on a geometric partition mode (GPM); deriving an intra prediction mode for a sub-block from one of the plurality of partitions as an intra mode of a pixel located at a position of a reference sub-block in a reference block, the reference sub-block being a sub-block located at the same relative position in the reference block as the sub-block in the current block, and the reference block being referenced by a block vector of the IBC block; storing the intra-prediction mode for the sub-block of a current block; determining that a neighboring block of the current block is an IBC block; and constructing a most probable mode (MPM) list for the neighboring blocks using the stored intra-prediction modes for the sub-blocks of the current block. method.
2. The method described in claim 1, wherein the sub-block of the current block is a 4x4 pixel unit.
3. The method of claim 2, further comprising indicating the intra prediction mode for the sub-block as a candidate prediction mode in the MPM list for the neighboring blocks of a current block, wherein the neighboring blocks are predicted by IBC. The method of claim 1.
4. The method described in claim 1, wherein the location is a central position in one of (i) the second row and second column of the reference subblock, (ii) the second row and third column of the reference subblock, (iii) the third row and second column of the reference subblock, and (iv) the third row and third column of the reference subblock.
5. The method described in claim 1, wherein the sub-block of the current block is a 4x4 luma block.
6. The current block is divided into the plurality of partitions, including a first partition and a second partition, based on a geometric partitioning mode (GPM), the first partition is predicted by IBC, and the second partition is predicted by intra prediction; the sub-block of the current block is located in the first partition predicted by IBC; The method of claim 1.
7. The method of claim 1, wherein the reference block is within a partition in which the current block resides.
8. The method described in claim 1, wherein the MPM list is used in template-based intra mode derivation (TIMD), in which, for each intra mode in the MPM list, a sum of absolute difference transforms (SATD) between the prediction and reconstructed samples of the template region of the current block is calculated, and the intra mode with the smallest SATD cost is selected for the current block.
9. An apparatus having a processing circuit configured to perform a method according to any one of claims 1 to 8.
10. A computer program for causing at least one processor to carry out a method according to any one of claims 1 to 8.
11. A method of video encoding performed in a video encoder, the method comprising: determining an intra prediction mode for a sub-block of a current block as an intra mode of a pixel located at a position of a reference sub-block in a reference block, the reference sub-block being a sub-block located at the same relative position in the reference block as the sub-block in the current block, the reference block being referenced by a block vector of an intra block copy (IBC) block, and the current block being divided into a plurality of partitions based on a geometric partition mode (GPM); determining that a neighboring block of the current block is an IBC block; constructing a most probable mode (MPM) list for the neighboring blocks using the intra-prediction modes for the sub-blocks of a current block; encoding the sub-blocks of the current block based on the MPM list. method.
12. An apparatus having processing circuitry configured to perform the method of claim 11.
13. A computer program product for causing at least one processor to carry out the method of claim 11.
14. A method of video encoding performed in a video encoder, the method comprising: determining an intra prediction mode for a sub-block of a current block as an intra mode of a pixel located at a position of a reference sub-block in a reference block, the reference sub-block being a sub-block located at the same relative position in the reference block as the sub-block in the current block, the reference block being referenced by a block vector of an intra block copy (IBC) block, and the current block being divided into a plurality of partitions based on a geometric partition mode (GPM); determining that a neighboring block of the current block is an IBC block; constructing a most probable mode (MPM) list for the neighboring blocks using the intra-prediction modes for the sub-blocks of a current block; encoding the sub-blocks of the current block based on the MPM list; generating and outputting a bitstream including the encoded sub-blocks; method.