WO2024254216A1 - Methods and devices for intra block copy and intra template matching - Google Patents
Methods and devices for intra block copy and intra template matching Download PDFInfo
- Publication number
- WO2024254216A1 WO2024254216A1 PCT/US2024/032666 US2024032666W WO2024254216A1 WO 2024254216 A1 WO2024254216 A1 WO 2024254216A1 US 2024032666 W US2024032666 W US 2024032666W WO 2024254216 A1 WO2024254216 A1 WO 2024254216A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- ibc
- current block
- candidates
- determining
- scanning
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/119—Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/513—Processing of motion vectors
- H04N19/517—Processing of motion vectors by encoding
- H04N19/52—Processing of motion vectors by encoding by predictive encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
Definitions
- Digital video is supported by a variety of electronic devices, such as digital televisions, laptop or desktop computers, tablet computers, digital cameras, digital recording devices, digital media players, video gaming consoles, smart phones, video teleconferencing devices, video streaming devices, etc.
- the electronic devices transmit and receive or otherwise communicate digital video data across a communication network, and/or store the digital video data on a storage device. Due to a limited bandwidth capacity of the communication network and limited memory resources of the storage device, video coding may be used to compress the video data according to one or more video coding standards before it is communicated or stored.
- video coding standards include Versatile Video Coding (VVC), Joint Exploration test Model (JEM), High-Efficiency Video Coding (HEVC/H.265), Advanced Video Coding (AVC/H.264), Moving Picture Expert Group (MPEG) coding, or the like.
- VVC Versatile Video Coding
- JEM Joint Exploration test Model
- HEVC/H.265 High-Efficiency Video Coding
- AVC/H.264 Advanced Video Coding
- MPEG Moving Picture Expert Group
- Video coding generally utilizes prediction methods (e.g., inter-prediction, intra-prediction, or the like) that take advantage of redundancy inherent in the video data.
- Video coding aims to compress video data into a form that uses a lower bit rate, while avoiding or minimizing degradations to video quality.
- the present disclosure provides examples of techniques relating to improving the Intra Block Copy method in a video encoding or decoding process.
- a method for video decoding includes: obtaining, by a decoder, a current block coded with Geometric Partition Mode (GPM); obtaining, by the decoder, a first Intra Block Copy (IBC) prediction and a second IBC prediction based on partitions using GPM for the current block; receiving, by the decoder, coding modes of the current block; and obtaining, by the decoder, a final prediction for the current block using the first IBC prediction, the second IBC prediction, and the coding modes of the current block.
- GPM Geometric Partition Mode
- a method for video decoding includes: obtaining, by a decoder for applying an intra-block copy (IBC) merge mode or an IBC Adaptive Motion Vector Prediction (AMVP) mode to a current block, IBC candidates from non-adjacent neighboring blocks according to a scanning rule corresponding to the IBC merge mode or the IBC AMVP mode, wherein the non-adjacent neighboring blocks have distances from the current block by at least one block and are positioned in a plurality of directions relative to the current block, and the scanning rule is obtained based on the distances and the directions; and obtaining, by the decoder, a prediction for the current block by applying the IBC merge mode or the IBC AMVP mode based on the IBC candidates.
- IBC intra-block copy
- AMVP IBC Adaptive Motion Vector Prediction
- a method for video encoding includes: obtaining, by an encoder for applying an intra-block copy (IBC) merge mode or an IBC Adaptive Motion Vector Prediction (AMVP) mode to a current block, IBC candidates from non-adjacent neighboring blocks according to a scanning rule corresponding to the IBC merge mode or the IBC AMVP mode, wherein the non-adjacent neighboring blocks have distances from the current block by at least one block and are positioned in a plurality of directions relative to the current block, and the scanning rule is obtained based on the distances and the directions; obtaining, by the encoder, a prediction for the current block by applying the IBC merge mode or the IBC AMVP mode based on the IBC candidates; and generating, by the encoder, a bitstream based on the prediction.
- IBC intra-block copy
- AMVP IBC Adaptive Motion Vector Prediction
- a method for video decoding includes: obtaining, by a decoder for applying an intra-block copy (IBC) merge mode or an IBC Adaptive Motion Vector Prediction (AMVP) mode to a current block, an ordered list of IBC candidates; inserting, by the decoder, non-adjacent spatial candidates into the ordered list of IBC candidates after adjacent spatial candidates or historybased Block Vector Prediction (BVP) candidates; and obtaining, by the decoder, a prediction for the current block by applying the IBC merge mode or the IBC AMVP mode based on the ordered list of IBC candidates.
- IBC intra-block copy
- AMVP IBC Adaptive Motion Vector Prediction
- a method for video encoding includes: obtaining, by an encoder for applying an intra-block copy (IBC) merge mode or an IBC Adaptive Motion Vector Prediction (AMVP) mode to a current block, an ordered list of IBC candidates; inserting, by the encoder, non-adjacent spatial candidates into the ordered list of IBC candidates after adjacent spatial candidates or historybased Block Vector Prediction (BVP) candidates; obtaining, by the encoder, a prediction for the current block by applying the IBC merge mode or the IBC AMVP mode based on the ordered list of IBC candidates; and generating, by the encoder, a bitstream based on the prediction.
- IBC intra-block copy
- AMVP IBC Adaptive Motion Vector Prediction
- an apparatus for video decoding may include one or more processors and a memory coupled to the one or more processors and configured to store instructions executable by the one or more processors. Furthermore, the one or more processors, upon execution of the instructions, are configured to perform the method according to the first, third, or fifth aspect.
- an apparatus for video encoding may include one or more processors and a memory coupled to the one or more processors and configured to store instructions executable by the one or more processors. Furthermore, the one or more processors, upon execution of the instructions, are configured to perform the method according to the second, fourth, or sixth aspect.
- a non- transitory computer-readable storage medium for storing a bitstream to be decoded by the method according to the first, third, or fifth aspect.
- a non- transitory computer-readable storage medium for storing a bitstream generated by the method according to the second, fourth, or sixth aspect.
- FIG. 2 is a block diagram illustrating an exemplary video encoder in accordance with some examples of the present disclosure.
- FIG. 5 illustrates a diagram of positions of spatial candidates in accordance with some examples of the present disclosure.
- FIG. 6 illustrates a diagram of candidate pairs considered for redundancy check of spatial candidates in accordance with some examples of the present disclosure.
- FIG. 7 illustrates a diagram of scaling of a motion vector for a temporal candidate in accordance with some examples of the present disclosure.
- FIG. 8 illustrates a diagram of candidate positions for a temporal candidate in accordance with some examples of the present disclosure.
- FIG. 9 illustrates a diagram of Merge mode with Motion Vector Difference (MMVD) search points in accordance with some examples of the present disclosure.
- MMVD Motion Vector Difference
- FIG. 10 illustrates uni-prediction motion vector selection for Geometric Partitioning Mode (GPM) in accordance with some examples of the present disclosure.
- FIG. 20 illustrates the template used for template matching based OBMC in accordance with some examples of the present disclosure.
- FIG. 28 illustrates an example where the non-adjacent spatial area is restricted to be within half CTU size on the above and left of the current CTU according to some examples of the present disclosure.
- FIG. 39 is a diagram illustrating GPM blending according to some examples of the present disclosure.
- FIG. 41 illustrates another example of spatial neighboring blocks used to derive the non-adjacent spatial candidates for IBC mode, where the number in the non-adjacent neighboring block represents the scanning order according to some examples of the present disclosure.
- FIG. 42 A and FIG. 42B respectively illustrate BV adjustment for horizontal flip and vertical flip in accordance with some implementations of the present disclosure.
- FIG. 47 illustrates another example of spatial neighboring blocks used to derive the non-adjacent spatial candidates for IBC mode, where the number in the non-adjacent neighboring block represents the scanning order.
- the example is in accordance with some implementations of the present disclosure.
- FIG. 48 illustrates another example of spatial neighboring blocks used to derive the non-adjacent spatial candidates for IBC mode, where the number in the non-adjacent neighboring block represents the scanning order.
- the example is in accordance with some implementations of the present disclosure.
- FIG. 49 illustrates another example of spatial neighboring blocks used to derive the non-adjacent spatial candidates for IBC mode, where the number in the non-adjacent neighboring block represents the scanning order.
- the example is in accordance with some implementations of the present disclosure.
- FIG. 50 is a flow chart illustrating a method for video decoding in accordance with some examples of the present disclosure.
- FIG. 51 is a flow chart illustrating a method for video encoding corresponding to the method for video decoding as shown in FIG. 44 in accordance with some examples of the present disclosure.
- FIG. 53 is a flow chart illustrating a method for video encoding corresponding to the method for video decoding as shown in FIG. 46 in accordance with some examples of the present disclosure.
- FIG. 54 is a flow chart illustrating a method for video decoding in accordance with some examples of the present disclosure.
- FIG. 55 is a flow chart illustrating a method for video encoding corresponding to the method for video decoding as shown in FIG. 48 in accordance with some examples of the present disclosure.
- module may include memory (shared, dedicated, or group) that stores code or instructions that can be executed by one or more processors.
- a module may include one or more circuits with or without stored code or instructions.
- the module or circuit may include one or more components that are directly or indirectly connected. These components may or may not be physically attached to, or located adjacent to, one another.
- a method may comprise steps of: i) when or if condition X is present, function or action X’ is performed, and ii) when or if condition Y is present, function or action Y’ is performed.
- the method may be implemented with both the capability of performing function or action X’, and the capability of performing function or action Y’.
- the functions X’ and Y’ may both be performed, at different times, on multiple executions of the method.
- a unit or module may be implemented purely by software, purely by hardware, or by a combination of hardware and software.
- the unit or module may include functionally related code blocks or software components, that are directly or indirectly linked together, so as to perform a particular function.
- the destination device 14 may receive the encoded video data to be decoded via a link 16.
- the link 16 may include any type of communication medium or device capable of moving the encoded video data from the source device 12 to the destination device 14.
- the link 16 may include a communication medium to enable the source device 12 to transmit the encoded video data directly to the destination device 14 in real time.
- the encoded video data may be modulated according to a communication standard, such as a wireless communication protocol, and transmitted to the destination device 14.
- the communication medium may include any wireless or wired communication medium, such as a Radio Frequency (RF) spectrum or one or more physical transmission lines.
- RF Radio Frequency
- the communication medium may form part of a packet-based network, such as a local area network, a wide-area network, or a global network such as the Internet.
- the communication medium may include routers, switches, base stations, or any other equipment that may be useful to facilitate communication from the source device 12 to the destination device 14.
- the encoded video data may be transmitted from an output interface 22 to a storage device 32. Subsequently, the encoded video data in the storage device 32 may be accessed by the destination device 14 via an input interface 28.
- the storage device 32 may include any of a variety of distributed or locally accessed data storage media such as a hard drive, Blu-ray discs, Digital Versatile Disks (DVDs), Compact Disc Read-Only Memories (CD-ROMs), flash memory, volatile or non-volatile memory, or any other suitable digital storage media for storing the encoded video data.
- the storage device 32 may correspond to a file server or another intermediate storage device that may hold the encoded video data generated by the source device 12.
- the destination device 14 may access the stored video data from the storage device 32 via streaming or downloading.
- the file server may be any type of computer capable of storing the encoded video data and transmitting the encoded video data to the destination device 14.
- Exemplary file servers include a web server (e.g., for a website), a File Transfer Protocol (FTP) server, Network Attached Storage (NAS) devices, or a local disk drive.
- the destination device 14 may access the encoded video data through any standard data connection, including a wireless channel (e.g., a Wireless Fidelity (Wi-Fi) connection), a wired connection (e.g., Digital Subscriber Line (DSL), cable modem, etc.), or a combination of both that is suitable for accessing encoded video data stored on a file server.
- the transmission of the encoded video data from the storage device 32 may be a streaming transmission, a download transmission, or a combination of both.
- the source device 12 includes a video source 18, a video encoder 20 and the output interface 22.
- the video source 18 may include a source such as a video capturing device, e.g., a video camera, a video archive containing previously captured video, a video feeding interface to receive video from a video content provider, and/or a computer graphics system for generating computer graphics data as the source video, or a combination of such sources.
- a video capturing device e.g., a video camera, a video archive containing previously captured video, a video feeding interface to receive video from a video content provider, and/or a computer graphics system for generating computer graphics data as the source video, or a combination of such sources.
- the source device 12 and the destination device 14 may form camera phones or video phones.
- the implementations described in the present application may be applicable to video coding in general, and may be applied to wireless and/or wired applications.
- the captured, pre-captured, or computer-generated video may be encoded by the video encoder 20.
- the encoded video data may be transmitted directly to the destination device 14 via the output interface 22 of the source device 12.
- the encoded video data may also (or alternatively) be stored onto the storage device 32 for later access by the destination device 14 or other devices, for decoding and/or playback.
- the output interface 22 may further include a modem and/or a transmitter.
- the destination device 14 includes the input interface 28, a video decoder 30, and a display device 34.
- the input interface 28 may include a receiver and/or a modem and receive the encoded video data over the link 16.
- the encoded video data communicated over the link 16, or provided on the storage device 32 may include a variety of syntax elements generated by the video encoder 20 for use by the video decoder 30 in decoding the video data. Such syntax elements may be included within the encoded video data transmitted on a communication medium, stored on a storage medium, or stored on a file server.
- the destination device 14 may include the display device 34, which can be an integrated display device and an external display device that is configured to communicate with the destination device 14.
- the display device 34 displays the decoded video data to a user, and may include any of a variety of display devices such as a Liquid Crystal Display (LCD), a plasma display, an Organic Light Emitting Diode (OLED) display, or another type of display device.
- LCD Liquid Crystal Display
- OLED Organic Light Emitting Diode
- the video encoder 20 and the video decoder 30 may operate according to proprietary or industry standards, such as VVC, HEVC, MPEG-4, Part 10, AVC, or extensions of such standards. It should be understood that the present application is not limited to a specific video encoding/decoding standard and may be applicable to other video encoding/decoding standards. It is generally contemplated that the video encoder 20 of the source device 12 may be configured to encode video data according to any of these current or future standards. Similarly, it is also generally contemplated that the video decoder 30 of the destination device 14 may be configured to decode video data according to any of these current or future standards.
- the video encoder 20 and the video decoder 30 each may be implemented as any of a variety of suitable encoder and/or decoder circuitry, such as one or more microprocessors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs), discrete logic, software, hardware, firmware or any combinations thereof.
- DSPs Digital Signal Processors
- ASICs Application Specific Integrated Circuits
- FPGAs Field Programmable Gate Arrays
- an electronic device may store instructions for the software in a suitable, non-transitory computer-readable medium and execute the instructions in hardware using one or more processors to perform the video encoding/decoding operations disclosed in the present disclosure.
- Each of the video encoder 20 and the video decoder 30 may be included in one or more encoders or decoders, either of which may be integrated as part of a combined encoder/decoder (CODEC) in a respective device.
- CODEC combined encoder/decoder
- At least a part of components of the source device 12 may operate in a cloud computing service network which may provide software, platforms, and/or infrastructure, such as Software as a Service (SaaS), Platform as a Service (PaaS), or Infrastructure as a Service (laaS).
- SaaS Software as a Service
- PaaS Platform as a Service
- laaS Infrastructure as a Service
- one or more components in the source device 12 and/or the destination device 14 which are not included in the cloud computing service network may be provided in one or more client devices, and the one or more client devices may communicate with server computers in the cloud computing service network through a wireless communication network (for example, a cellular communication network, a short-range wireless communication network, or a global navigation satellite system (GNSS) communication network) or a wired communication network (e.g., a local area network (LAN) communication network or a power line communication (PLC) network).
- a wireless communication network for example, a cellular communication network, a short-range wireless communication network, or a global navigation satellite system (GNSS) communication network
- GNSS global navigation satellite system
- wired communication network e.g., a local area network (LAN) communication network or a power line communication (PLC) network.
- LAN local area network
- PLC power line communication
- At least a part of operations described herein may be implemented as cloud-based services provided by one or more server computers which are implemented by the at least a part of the components of the source device 12 and/or the at least a part of the components of the destination device 14 in the cloud computing service network; and one or more other operations described herein may be implemented by the one or more client devices.
- the cloud computing service network may be a private cloud, a public cloud, or a hybrid cloud.
- the terms such as “cloud,” “cloud computing,” “cloud-based” etc. herein may be used interchangeably as appropriate without departing from the scope of the present disclosure. It should be understood that the present disclosure is not limited to being implemented in the cloud computing service network described above. Instead, the present disclosure may also be implemented in any other type of computing environments currently known or developed in the future.
- FIG. 2 is a block diagram illustrating another exemplary video encoder 20 in accordance with some implementations described in the present application.
- the video encoder 20 may perform intra and inter predictive coding of video blocks within video frames.
- Intra predictive coding relies on spatial prediction to reduce or remove spatial redundancy in video data within a given video frame or picture.
- Inter predictive coding relies on temporal prediction to reduce or remove temporal redundancy in video data within adjacent video frames or pictures of a video sequence.
- the term “frame” may be used as synonyms for the term “image” or “picture” in the field of video coding.
- the video encoder 20 includes a video data memory 40, a prediction processing unit 41, a Decoded Picture Buffer (DPB) 64, a summer 50, a transform processing unit 52, a quantization unit 54, and an entropy encoding unit 56.
- the prediction processing unit 41 further includes a motion estimation unit 42, a motion compensation unit 44, a partition unit 45, an intra prediction processing unit 46, and an intra Block Copy (BC) unit 48.
- the video encoder 20 also includes an inverse quantization unit 58, an inverse transform processing unit 60, and a summer 62 for video block reconstruction.
- An in-loop filter 63 such as a deblocking filter, may be positioned between the summer 62 and the DPB 64 to filter block boundaries to remove blockiness artifacts from reconstructed video.
- Another inloop filter such as Sample Adaptive Offset (SAO) filter, Cross Component Sample Adaptive Offset (CCSAO) filter and/or Adaptive in-Loop Filter (ALF), may also be used in addition to the deblocking filter to filter an output of the summer 62.
- SAO Sample Adaptive Offset
- CCSAO Cross Component Sample Adaptive Offset
- ALF Adaptive in-Loop Filter
- the present application is not limited to the embodiments described herein, and instead, the application may be applied to a situation where an offset is selected for any of a luma component, a Cb chroma component and a Cr chroma component according to any other of the luma component, the Cb chroma component and the Cr chroma component to modify said any component based on the selected offset.
- a first component mentioned herein may be any of the luma component, the Cb chroma component and the Cr chroma component
- a second component mentioned herein may be any other of the luma component, the Cb chroma component and the Cr chroma component
- a third component mentioned herein may be a remaining one of the luma component, the Cb chroma component and the Cr chroma component.
- the in-loop filters may be omitted, and the decoded video block may be directly provided by the summer 62 to the DPB 64.
- the video encoder 20 may take the form of a fixed or programmable hardware unit or may be divided among one or more of the illustrated fixed or programmable hardware units.
- the video data memory 40 may store video data to be encoded by the components of the video encoder 20.
- the video data in the video data memory 40 may be obtained, for example, from the video source 18 as shown in FIG. 1.
- the DPB 64 is a buffer that stores reference video data (for example, reference frames or pictures) for use in encoding video data by the video encoder 20 (e.g., in intra or inter predictive coding modes).
- the video data memory 40 and the DPB 64 may be formed by any of a variety of memory devices.
- the video data memory 40 may be on-chip with other components of the video encoder 20, or off-chip relative to those components.
- the partition unit 45 within the prediction processing unit 41 partitions the video data into video blocks.
- This partitioning may also include partitioning a video frame into slices, tiles (for example, sets of video blocks), or other larger Coding Units (CUs) according to predefined splitting structures such as a Quad- Tree (QT) structure associated with the video data.
- the video frame is or may be regarded as a two-dimensional array or matrix of samples with sample values.
- a sample in the array may also be referred to as a pixel or a pel.
- a number of samples in horizontal and vertical directions (or axes) of the array or picture define a size and/or a resolution of the video frame.
- the video frame may be divided into multiple video blocks by, for example, using QT partitioning.
- the video block again is or may be regarded as a two-dimensional array or matrix of samples with sample values, although of smaller dimension than the video frame.
- a number of samples in horizontal and vertical directions (or axes) of the video block define a size of the video block.
- the video block may further be partitioned into one or more block partitions or sub-blocks (which may form again blocks) by, for example, iteratively using QT partitioning, Binary-Tree (BT) partitioning or Triple-Tree (TT) partitioning or any combination thereof.
- BT Binary-Tree
- TT Triple-Tree
- block or video block may be a portion, in particular a rectangular (square or non- square) portion, of a frame or a picture.
- the block or video block may be or correspond to a Coding Tree Unit (CTU), a CU, a Prediction Unit (PU) or a Transform Unit (TU) and/or may be or correspond to a corresponding block, e.g., a Coding Tree Block (CTB), a Coding Block (CB), a Prediction Block (PB) or a Transform Block (TB) and/or to a sub-block.
- CTU Coding Tree Unit
- PU Prediction Unit
- TU Transform Unit
- a corresponding block e.g., a Coding Tree Block (CTB), a Coding Block (CB), a Prediction Block (PB) or a Transform Block (TB) and/or to a sub-block.
- CTB Coding Tree Block
- PB Prediction Block
- TB Transform Block
- the prediction processing unit 41 may select one of a plurality of possible predictive coding modes, such as one of a plurality of intra predictive coding modes or one of a plurality of inter predictive coding modes, for the current video block based on error results (e.g., coding rate and the level of distortion).
- the prediction processing unit 41 may provide the resulting intra or inter prediction coded block to the summer 50 to generate a residual block and to the summer 62 to reconstruct the encoded block for use as part of a reference frame subsequently.
- the prediction processing unit 41 also provides syntax elements, such as motion vectors, intramode indicators, partition information, and other such syntax information, to the entropy encoding unit 56.
- the intra prediction processing unit 46 within the prediction processing unit 41 may perform intra predictive coding of the current video block relative to one or more neighbor blocks in the same frame as the current block to be coded to provide spatial prediction.
- the motion estimation unit 42 and the motion compensation unit 44 within the prediction processing unit 41 perform inter predictive coding of the current video block relative to one or more predictive blocks in one or more reference frames to provide temporal prediction.
- the video encoder 20 may perform multiple coding passes, e.g., to select an appropriate coding mode for each block of video data.
- the motion estimation unit 42 determines the inter prediction mode for a current video frame by generating a motion vector, which indicates the displacement of a video block within the current video frame relative to a predictive block within a reference video frame, according to a predetermined pattern within a sequence of video frames.
- Motion estimation performed by the motion estimation unit 42, is the process of generating motion vectors, which estimate motion for video blocks.
- a motion vector for example, may indicate the displacement of a video block within a current video frame or picture relative to a predictive block within a reference frame relative to the current block being coded within the current frame.
- the predetermined pattern may designate video frames in the sequence as P frames or B frames.
- the intra BC unit 48 may determine vectors, e.g., block vectors, for intra BC coding in a manner similar to the determination of motion vectors by the motion estimation unit 42 for inter prediction, or may utilize the motion estimation unit 42 to determine the block vector.
- a predictive block for the video block may be or may correspond to a block or a reference block of a reference frame that is deemed as closely matching the video block to be coded in terms of pixel difference, which may be determined by Sum of Absolute Difference (SAD), Sum of Square Difference (SSD), or other difference metrics.
- the video encoder 20 may calculate values for sub-integer pixel positions of reference frames stored in the DPB 64. For example, the video encoder 20 may interpolate values of one-quarter pixel positions, one-eighth pixel positions, or other fractional pixel positions of the reference frame. Therefore, the motion estimation unit 42 may perform a motion search relative to the full pixel positions and fractional pixel positions and output a motion vector with fractional pixel precision.
- the motion estimation unit 42 calculates a motion vector for a video block in an inter prediction coded frame by comparing the position of the video block to the position of a predictive block of a reference frame selected from a first reference frame list (List 0) or a second reference frame list (List 1), each of which identifies one or more reference frames stored in the DPB 64.
- the motion estimation unit 42 sends the calculated motion vector to the motion compensation unit 44 and then to the entropy encoding unit 56.
- Motion compensation performed by the motion compensation unit 44, may involve fetching or generating the predictive block based on the motion vector determined by the motion estimation unit 42.
- the motion compensation unit 44 may locate a predictive block to which the motion vector points in one of the reference frame lists, retrieve the predictive block from the DPB 64, and forward the predictive block to the summer 50.
- the summer 50 then forms a residual video block of pixel difference values by subtracting pixel values of the predictive block provided by the motion compensation unit 44 from the pixel values of the current video block being coded.
- the pixel difference values forming the residual video block may include luma or chroma component differences or both.
- the motion compensation unit 44 may also generate syntax elements associated with the video blocks of a video frame for use by the video decoder 30 in decoding the video blocks of the video frame.
- the syntax elements may include, for example, syntax elements defining the motion vector used to identify the predictive block, any flags indicating the prediction mode, or any other syntax information described herein. Note that the motion estimation unit 42 and the motion compensation unit 44 may be highly integrated, but are illustrated separately for conceptual purposes.
- the intra BC unit 48 may generate vectors and fetch predictive blocks in a manner similar to that described above in connection with the motion estimation unit 42 and the motion compensation unit 44, but with the predictive blocks being in the same frame as the current block being coded and with the vectors being referred to as block vectors as opposed to motion vectors.
- the intra BC unit 48 may determine an intra-prediction mode to use to encode a current block.
- the intra BC unit 48 may encode a current block using various intra-prediction modes, e.g., during separate encoding passes, and test their performance through rate-distortion analysis.
- the intra BC unit 48 may select, among the various tested intra-prediction modes, an appropriate intraprediction mode to use and generate an intra-mode indicator accordingly.
- the intra BC unit 48 may calculate rate-distortion values using a rate-distortion analysis for the various tested intra-prediction modes, and select the intra-prediction mode having the best rate- distortion characteristics among the tested modes as the appropriate intra-prediction mode to use.
- Rate-distortion analysis generally determines an amount of distortion (or error) between an encoded block and an original, unencoded block that was encoded to produce the encoded block, as well as a bitrate (i.e., a number of bits) used to produce the encoded block.
- Intra BC unit 48 may calculate ratios from the distortions and rates for the various encoded blocks to determine which intra-prediction mode exhibits the best rate-distortion value for the block. [0101] In other examples, the intra BC unit 48 may use the motion estimation unit 42 and the motion compensation unit 44, in whole or in part, to perform such functions for Intra BC prediction according to the implementations described herein. In either case, for Intra block copy, a predictive block may be a block that is deemed as closely matching the block to be coded, in terms of pixel difference, which may be determined by SAD, SSD, or other difference metrics, and identification of the predictive block may include calculation of values for subinteger pixel positions.
- the video encoder 20 may form a residual video block by subtracting pixel values of the predictive block from the pixel values of the current video block being coded, forming pixel difference values.
- the pixel difference values forming the residual video block may include both luma and chroma component differences.
- the intra prediction processing unit 46 may intra-predict a current video block, as an alternative to the inter-prediction performed by the motion estimation unit 42 and the motion compensation unit 44, or the intra block copy prediction performed by the intra BC unit 48, as described above.
- the intra prediction processing unit 46 may determine an intra prediction mode to use to encode a current block. To do so, the intra prediction processing unit 46 may encode a current block using various intra prediction modes, e.g., during separate encoding passes, and the intra prediction processing unit 46 (or a mode selection unit, in some examples) may select an appropriate intra prediction mode to use from the tested intra prediction modes.
- the intra prediction processing unit 46 may provide information indicative of the selected intra-prediction mode for the block to the entropy encoding unit 56.
- the entropy encoding unit 56 may encode the information indicating the selected intra-prediction mode in the bitstream.
- the summer 50 forms a residual video block by subtracting the predictive block from the current video block.
- the residual video data in the residual block may be included in one or more TUs and is provided to the transform processing unit 52.
- the transform processing unit 52 transforms the residual video data into residual transform coefficients using a transform, such as a Discrete Cosine Transform (DCT) or a conceptually similar transform.
- DCT Discrete Cosine Transform
- the transform processing unit 52 may send the resulting transform coefficients to the quantization unit 54.
- the quantization unit 54 quantizes the transform coefficients to further reduce the bit rate.
- the quantization process may also reduce the bit depth associated with some or all of the coefficients.
- the degree of quantization may be modified by adjusting a quantization parameter.
- the quantization unit 54 may then perform a scan of a matrix including the quantized transform coefficients.
- the entropy encoding unit 56 may perform the scan.
- the entropy encoding unit 56 entropy encodes the quantized transform coefficients into a video bitstream using, e.g., Context Adaptive Variable Length Coding (CAVLC), Context Adaptive Binary Arithmetic Coding (CABAC), Syntax-based context-adaptive Binary Arithmetic Coding (SB AC), Probability Interval Partitioning Entropy (PIPE) coding or another entropy encoding methodology or technique.
- CAVLC Context Adaptive Variable Length Coding
- CABAC Context Adaptive Binary Arithmetic Coding
- SB AC Syntax-based context-adaptive Binary Arithmetic Coding
- PIPE Probability Interval Partitioning Entropy
- the encoded bitstream may then be transmitted to the video decoder 30 as shown in FIG. 1, or archived in the storage device 32 as shown in FIG. 1 for later transmission to or retrieval by the video decoder 30.
- the entropy encoding unit 56 may also en
- the inverse quantization unit 58 and the inverse transform processing unit 60 apply inverse quantization and inverse transformation, respectively, to reconstruct the residual video block in the pixel domain for generating a reference block for prediction of other video blocks.
- the motion compensation unit 44 may generate a motion compensated predictive block from one or more reference blocks of the frames stored in the DPB 64.
- the motion compensation unit 44 may also apply one or more interpolation filters to the predictive block to calculate sub-integer pixel values for use in motion estimation.
- the summer 62 adds the reconstructed residual block to the motion compensated predictive block produced by the motion compensation unit 44 to produce a reference block for storage in the DPB 64.
- the reference block may then be used by the intra BC unit 48, the motion estimation unit 42 and the motion compensation unit 44 as a predictive block to inter predict another video block in a subsequent video frame.
- FIG. 3 is a block diagram illustrating another exemplary video decoder 30 in accordance with some implementations of the present application.
- the video decoder 30 includes a video data memory 79, an entropy decoding unit 80, a prediction processing unit 81, an inverse quantization unit 86, an inverse transform processing unit 88, a summer 90, and a DPB 92.
- the prediction processing unit 81 further includes a motion compensation unit 82, an intra prediction unit 84, and an intra BC unit 85.
- the video decoder 30 may perform a decoding process generally reciprocal to the encoding process described above with respect to the video encoder 20 in connection with FIG. 2.
- the motion compensation unit 82 may generate prediction data based on motion vectors received from the entropy decoding unit 80, while the intra-prediction unit 84 may generate prediction data based on intra-prediction mode indicators received from the entropy decoding unit 80.
- a unit of the video decoder 30 may be tasked to perform the implementations of the present application. Also, in some examples, the implementations of the present disclosure may be divided among one or more of the units of the video decoder 30.
- the intra BC unit 85 may perform the implementations of the present application, alone, or in combination with other units of the video decoder 30, such as the motion compensation unit 82, the intra prediction unit 84, and the entropy decoding unit 80.
- the video decoder 30 may not include the intra BC unit 85 and the functionality of intra BC unit 85 may be performed by other components of the prediction processing unit 81, such as the motion compensation unit 82.
- the video data memory 79 may store video data, such as an encoded video bitstream, to be decoded by the other components of the video decoder 30.
- the video data stored in the video data memory 79 may be obtained, for example, from the storage device 32, from a local video source, such as a camera, via wired or wireless network communication of video data, or by accessing physical data storage media (e.g., a flash drive or hard disk).
- the video data memory 79 may include a Coded Picture Buffer (CPB) that stores encoded video data from an encoded video bitstream.
- the DPB 92 of the video decoder 30 stores reference video data for use in decoding video data by the video decoder 30 (e.g., in intra or inter predictive coding modes).
- the video data memory 79 and the DPB 92 may be formed by any of a variety of memory devices, such as dynamic random access memory (DRAM), including Synchronous DRAM (SDRAM), Magneto-resistive RAM (MRAM), Resistive RAM (RRAM), or other types of memory devices.
- DRAM dynamic random access memory
- SDRAM Synchronous DRAM
- MRAM Magneto-resistive RAM
- RRAM Resistive RAM
- the video data memory 79 and the DPB 92 are depicted as two distinct components of the video decoder 30 in FIG. 3. But it will be apparent to one skilled in the art that the video data memory 79 and the DPB 92 may be provided by the same memory device or separate memory devices.
- the video data memory 79 may be on-chip with other components of the video decoder 30, or off-chip relative to those components.
- the video decoder 30 receives an encoded video bitstream that represents video blocks of an encoded video frame and associated syntax elements.
- the video decoder 30 may receive the syntax elements at the video frame level and/or the video block level.
- the entropy decoding unit 80 of the video decoder 30 entropy decodes the bitstream to generate quantized coefficients, motion vectors or intra-prediction mode indicators, and other syntax elements.
- the entropy decoding unit 80 then forwards the motion vectors or intra-prediction mode indicators and other syntax elements to the prediction processing unit 81.
- the intra prediction unit 84 of the prediction processing unit 81 may generate prediction data for a video block of the current video frame based on a signaled intra prediction mode and reference data from previously decoded blocks of the current frame.
- the motion compensation unit 82 of the prediction processing unit 81 produces one or more predictive blocks for a video block of the current video frame based on the motion vectors and other syntax elements received from the entropy decoding unit 80.
- Each of the predictive blocks may be produced from a reference frame within one of the reference frame lists.
- the video decoder 30 may construct the reference frame lists, List 0 and List 1, using default construction techniques based on reference frames stored in the DPB 92.
- the intra BC unit 85 of the prediction processing unit 81 produces predictive blocks for the current video block based on block vectors and other syntax elements received from the entropy decoding unit 80.
- the predictive blocks may be within a reconstructed region of the same picture as the current video block defined by the video encoder 20.
- the motion compensation unit 82 and/or the intra BC unit 85 determines prediction information for a video block of the current video frame by parsing the motion vectors and other syntax elements, and then uses the prediction information to produce the predictive blocks for the current video block being decoded. For example, the motion compensation unit 82 uses some of the received syntax elements to determine a prediction mode (e.g., intra or inter prediction) used to code video blocks of the video frame, an inter prediction frame type (e.g., B or P), construction information for one or more of the reference frame lists for the frame, motion vectors for each inter predictive encoded video block of the frame, inter prediction status for each inter predictive coded video block of the frame, and other information to decode the video blocks in the current video frame.
- a prediction mode e.g., intra or inter prediction
- an inter prediction frame type e.g., B or P
- the motion compensation unit 82 may also perform interpolation using the interpolation filters as used by the video encoder 20 during encoding of the video blocks to calculate interpolated values for sub-integer pixels of reference blocks. In this case, the motion compensation unit 82 may determine the interpolation filters used by the video encoder 20 from the received syntax elements and use the interpolation filters to produce predictive blocks.
- the inverse quantization unit 86 inverse quantizes the quantized transform coefficients provided in the bitstream and entropy decoded by the entropy decoding unit 80 using the same quantization parameter calculated by the video encoder 20 for each video block in the video frame to determine a degree of quantization.
- the inverse transform processing unit 88 applies an inverse transform, e.g., an inverse DCT, an inverse integer transform, or a conceptually similar inverse transform process, to the transform coefficients in order to reconstruct the residual blocks in the pixel domain.
- the summer 90 reconstructs decoded video block for the current video block by summing the residual block from the inverse transform processing unit 88 and a corresponding predictive block generated by the motion compensation unit 82 and the intra BC unit 85.
- An in-loop filter 91 such as deblocking filter, SAO filter, CCSAO filter and/or ALF may be positioned between the summer 90 and the DPB 92 to further process the decoded video block.
- the in-loop filter 91 may be omitted, and the decoded video block may be directly provided by the summer 90 to the DPB 92.
- the decoded video blocks in a given frame are then stored in the DPB 92, which stores reference frames used for subsequent motion compensation of next video blocks.
- the DPB 92, or a memory device separate from the DPB 92, may also store decoded video for later presentation on a display device, such as the display device 34 of FIG. 1.
- a video sequence typically includes an ordered set of frames or pictures.
- Each frame may include three sample arrays, denoted SL, SCb, and SCr.
- SL is a two-dimensional array of luma samples.
- SCb is a two-dimensional array of Cb chroma samples.
- SCr is a two-dimensional array of Cr chroma samples.
- a frame may be monochrome and therefore includes only one two-dimensional array of luma samples.
- the video encoder 20 (or more specifically a partition unit in a prediction processing unit of the video encoder 20) generates an encoded representation of a frame by first partitioning the frame into a set of CTUs.
- a video frame may include an integer number of CTUs ordered consecutively in a raster scan order from left to right and from top to bottom.
- Each CTU is a largest logical coding unit and the width and height of the CTU are signaled by the video encoder 20 in a sequence parameter set, such that all the CTUs in a video sequence have the same size being one of 128x 128, 64x64, 32x32, and 16x 16. But it should be noted that the present application is not necessarily limited to a particular size.
- each CTU may include one CTB of luma samples, two corresponding coding tree blocks of chroma samples, and syntax elements used to code the samples of the coding tree blocks.
- the syntax elements describe properties of different types of units of a coded block of pixels and how the video sequence can be reconstructed at the video decoder 30, including inter or intra prediction, intra prediction mode, motion vectors, and other parameters.
- a CTU may include a single coding tree block and syntax elements used to code the samples of the coding tree block.
- a coding tree block may be an NxN block of samples.
- the video encoder 20 may recursively perform tree partitioning such as binary -tree partitioning, ternary -tree partitioning, quad-tree partitioning or a combination thereof on the coding tree blocks of the CTU and divide the CTU into smaller CUs.
- FIGS. 4B-4E are block diagrams illustrating how a frame is recursively partitioned into multiple video blocks of different sizes and shapes in accordance with some implementations of the present disclosure. As depicted in FIG. 4C, the 64x64 CTU 400 is first divided into four smaller CUs, each having a block size of 32x32.
- FIG. 4D depicts a quad-tree data structure illustrating the end result of the partition process of the CTU 400 as depicted in FIG. 4C, each leaf node of the quad-tree corresponding to one CU of a respective size ranging from 32x32 to 8x8.
- CTU depicted in FIG. 4C the CTU depicted in FIG. 4C
- each CU may include a CB of luma samples and two corresponding coding blocks of chroma samples of a frame of the same size, and syntax elements used to code the samples of the coding blocks.
- a CU may include a single coding block and syntax structures used to code the samples of the coding block.
- each CTU is partitioned by a quad-tree structure and each quad-tree leaf CU can be further partitioned by a binary and ternary tree structure.
- FIG. 4E there are five possible partitioning types of a coding block having a width W and a height H, i.e., quaternary partitioning, horizontal binary partitioning, vertical binary partitioning, horizontal ternary partitioning, and vertical ternary partitioning.
- the video encoder 20 may further partition a coding block of a CU into one or more MxN PBs.
- APB is a rectangular (square or non-square) block of samples on which the same prediction, inter or intra, is applied.
- APU of a CU may include a PB of luma samples, two corresponding PBs of chroma samples, and syntax elements used to predict the PBs.
- a PU may include a single PB and syntax structures used to predict the PB.
- the video encoder 20 may generate predictive luma, Cb, and Cr blocks for luma, Cb, and Cr PBs of each PU of the CU.
- the video encoder 20 may use intra prediction or inter prediction to generate the predictive blocks for a PU. If the video encoder 20 uses intra prediction to generate the predictive blocks of a PU, the video encoder 20 may generate the predictive blocks of the PU based on decoded samples of the frame associated with the PU. If the video encoder 20 uses inter prediction to generate the predictive blocks of a PU, the video encoder 20 may generate the predictive blocks of the PU based on decoded samples of one or more frames other than the frame associated with the PU.
- the video encoder 20 may generate a luma residual block for the CU by subtracting the CU’s predictive luma blocks from its original luma coding block such that each sample in the CU’s luma residual block indicates a difference between a luma sample in one of the CU’s predictive luma blocks and a corresponding sample in the CU’s original luma coding block.
- the video encoder 20 may generate a Cb residual block and a Cr residual block for the CU, respectively, such that each sample in the CU’s Cb residual block indicates a difference between a Cb sample in one of the CU’s predictive Cb blocks and a corresponding sample in the CU’s original Cb coding block and each sample in the CU’s Cr residual block may indicate a difference between a Cr sample in one of the CU’s predictive Cr blocks and a corresponding sample in the CU’s original Cr coding block.
- the video encoder 20 may use quad-tree partitioning to decompose the luma, Cb, and Cr residual blocks of a CU into one or more luma, Cb, and Cr transform blocks respectively.
- a transform block is a rectangular (square or nonsquare) block of samples on which the same transform is applied.
- a TU of a CU may include a transform block of luma samples, two corresponding transform blocks of chroma samples, and syntax elements used to transform the transform block samples.
- each TU of a CU may be associated with a luma transform block, a Cb transform block, and a Cr transform block.
- the luma transform block associated with the TU may be a sub-block of the CU’s luma residual block.
- the Cb transform block may be a sub-block of the CU’s Cb residual block.
- the Cr transform block may be a sub-block of the CU’s Cr residual block.
- a TU may include a single transform block and syntax structures used to transform the samples of the transform block.
- the video encoder 20 may apply one or more transforms to a luma transform block of a TU to generate a luma coefficient block for the TU.
- a coefficient block may be a two- dimensional array of transform coefficients.
- a transform coefficient may be a scalar quantity.
- the video encoder 20 may apply one or more transforms to a Cb transform block of a TU to generate a Cb coefficient block for the TU.
- the video encoder 20 may apply one or more transforms to a Cr transform block of a TU to generate a Cr coefficient block for the TU.
- the video encoder 20 may quantize the coefficient block. Quantization generally refers to a process in which transform coefficients are quantized to possibly reduce the amount of data used to represent the transform coefficients, providing further compression.
- the video encoder 20 may entropy encode syntax elements indicating the quantized transform coefficients. For example, the video encoder 20 may perform CAB AC on the syntax elements indicating the quantized transform coefficients.
- the video encoder 20 may output a bitstream that includes a sequence of bits that forms a representation of coded frames and associated data, which is either saved in the storage device 32 or transmitted to the destination device 14.
- the video decoder 30 may parse the bitstream to obtain syntax elements from the bitstream.
- the video decoder 30 may reconstruct the frames of the video data based at least in part on the syntax elements obtained from the bitstream.
- the process of reconstructing the video data is generally reciprocal to the encoding process performed by the video encoder 20.
- the video decoder 30 may perform inverse transforms on the coefficient blocks associated with TUs of a current CU to reconstruct residual blocks associated with the TUs of the current CU.
- the video decoder 30 also reconstructs the coding blocks of the current CU by adding the samples of the predictive blocks for PUs of the current CU to corresponding samples of the transform blocks of the TUs of the current CU. After reconstructing the coding blocks for each CU of a frame, video decoder 30 may reconstruct the frame.
- video coding achieves video compression using primarily two modes, i.e., intra-frame prediction (or intra-prediction) and inter-frame prediction (or inter-prediction). It is noted that IBC could be regarded as either intra-frame prediction or a third mode. Between the two modes, inter-frame prediction contributes more to the coding efficiency than intra- frame prediction because of the use of motion vectors for predicting a current video block from a reference video block.
- motion information of spatially neighboring CUs and/or temporally co-located CUs as an approximation of the motion information (e.g., motion vector) of a current CU by exploring their spatial and temporal correlation, which is also referred to as “Motion Vector Predictor (MVP)” of the current CU.
- MVP Motion Vector Predictor
- the motion vector predictor of the current CU is subtracted from the actual motion vector of the current CU to produce a Motion Vector Difference (MVD) for the current CU.
- MVD Motion Vector Difference
- a set of rules need to be adopted by both the video encoder 20 and the video decoder 30 for constructing a motion vector candidate list (also known as a “merge list”) for a current CU using those potential candidate motion vectors associated with spatially neighboring CUs and/or temporally co-located CUs of the current CU and then selecting one member from the motion vector candidate list as a motion vector predictor for the current CU.
- a motion vector candidate list also known as a “merge list”
- VVC the basic inter prediction scheme applied in VVC is almost kept the same as that of HEVC, except that several prediction tools are further extended, added and/or improved, e.g., extended merge prediction, MMVD, and GPM.
- prediction tools e.g., extended merge prediction, MMVD, and GPM.
- motion information e.g., a motion vector
- a spatially neighboring CU e.g., a temporally collocated CU etc.
- an approximation e.g., prediction
- MVP Motion Vector Predictor
- a set of rules need to be adopted by both the video encoder 20 and the video decoder 30 for constructing an MVP candidate list for a current CU and then selecting one MVP candidate from the MVP candidate list as an MVP for the current CU.
- an index of the MVP candidate selected from the MVP candidate list is sufficient for the video encoder 20 and the video decoder 30 to use the same MVP candidate selected from the MVP candidate list for encoding and decoding the current CU.
- the MVP candidate list is constructed by including the following five types of MVPs in order:
- Temporal MVP from temporally collocated CUs i.e., temporal candidates
- HMVP History-based MVP from a First-In-First-Out (FIFO) table
- a size of the MVP candidate list is signalled in a sequence parameter set header and a maximum allowed size of the MVP candidate list is 6.
- an index of the best MVP candidate is encoded using truncated unary binarization.
- a first bin of the index is coded with contexts and bypass coding is used for other bins of the index.
- a derivation process of each type of MVPs is provided as follows. As in HEVC, VVC also supports parallel derivation of MVP candidate lists for all CUs within a certain size of area.
- the derivation of MVPs from spatial candidates (for example, CUs neighboring a current CU 101 in FIG. 5) in VVC is the same as that in HEVC except that positions of first two spatial candidates are swapped.
- a maximum of four spatial candidates are selected from spatial candidates located at positions depicted in FIG. 5, that is, a top position B0, a left position A0, a top-right position Bl, a bottom-left position Al and a top-left position B2.
- the derivation is performed in an order of CUs at the positions B0, A0, Bl, Al and B2.
- ACU at the position B2 is considered only when one or more CUs at the positions B0, A0, Bl and Al are not available (for example, because said one or more CUs belong to other slices or tiles) or is intra coded.
- a scaled motion vector is derived based on a collocated CU (for example, col CU
- the scaled motion vector is obtained (i.e., scaled) from a motion vector of the collocated CU using Picture Order Count (POC) distances, i.e., tb and td, as illustrated in FIG. 7, where tb is defined to be a POC difference between a reference picture (for example, curr ref 305 in FIG. 7) of the current picture (for example, curr_pic 304 in FIG.
- POC Picture Order Count
- the current picture and td is defined to be a POC difference between a reference picture (for example, col ref 306 in FIG. 7) of the collocated picture and the collocated picture.
- a reference picture index of the temporal candidate is set equal to zero.
- a position for the temporal candidate (i.e., the collocated CU) in the current CU 401 is selected between positions Co and Ci, as depicted in FIG. 8. If a CU at position Co in the collocated picture is not available, is intra coded, or is outside of a current row of CTUs, a CU at position Ci is used as the collocated CU for the derivation of the temporal MVP candidate. Otherwise, a CU at position Co is used as the collocated CU for the derivation of the temporal MVP candidate.
- HMVP candidates are added to the MVP candidate list after the spatial MVPs and the temporal MVP.
- Motion information of a previously coded block is stored in an HMVP table and used as an MVP for the current CU.
- the table with multiple HMVP candidates is maintained during the encoding/decoding process.
- the table is reset (emptied) when a new row of CTUs is encountered. Whenever there is a non-subblock inter-coded CU, associated motion information is added to a last entry of the HMVP table as a new HMVP candidate.
- a size of the HMVP table is set to 6.
- a constrained FIFO rule is utilized, wherein redundancy check is firstly applied to find whether there is an identical HMVP in the HMVP table. If found, the identical HMVP is removed from the HMVP table and all the HMVP candidates afterwards are moved forward, and the identical HMVP is added to the last entry of the HMVP table.
- HMVP candidates may be used in the MVP candidate list construction process. The latest several HMVP candidates in the HMVP table are checked in order and inserted into the MVP candidate list after the temporal MVP candidate. Redundancy check is applied on the HMVP candidates relative to the spatial candidates and/or temporal MVP candidate.
- Pairwise average MVP candidates are generated by averaging MVPs derived using a predefined pair of first two merge candidates in the existing merge candidate list.
- a first merge candidate in the predefined pair may be defined as pOCand and a second merge candidate in the predefined pair may be defined as plCand.
- Averaged motion vectors are calculated according to availability of motion vectors of pOCand and plCand separately for each reference picture list.
- both motion vectors are available for one reference picture list, these two motion vectors are averaged even when they point to different reference pictures, and a reference picture of the averaged motion vector is set to a reference picture of pOCand; if only one motion vector is available for one reference picture list, the motion vector is used directly; if no motion vector is available for one reference picture list, the motion vector and the reference picture index for this reference picture list are kept invalid.
- motion information i.e., an MVP candidate
- an MVP candidate is implicitly derived from an MVP candidate list constructed for a current CU and is directly used as an MV of the current CU for generation of prediction samples of the current CU, which may result in a certain error between an actual MV of the current CU and the implicitly derived MVP.
- MMVD is introduced in VVC where a Motion Vector Difference (MVD) of the current CU is added to the implicitly derived MVP to obtain the MV of the current CU.
- An MMVD flag is signalled after a regular merge flag is transmitted to specify whether an MMVD mode is used for the current CU.
- MMVD information is signalled, wherein the MMVD information includes an MMVD candidate flag which is used to specify which one of the first two MVP candidates is selected to be used as an MV basis, a distance index for indication of motion magnitude information of the MVD, and a direction index for indication of motion direction information of the MVD.
- the distance index which specifies the motion magnitude information of the MVD, indicates a pre-defined offset from a starting point (represented by, for example, a dotted circle in FIG. 9) in a reference picture (for example, L0 reference picture 501 or LI reference picture 503 in FIG. 9) of the current CU to which the selected MVP candidate points, and the MVD may be derived from the offset and may be added to the selected MVP candidate.
- a relation between distance indexes and pre-defined offsets is specified in Table 1 below.
- the direction index specifies a sign of the MVD, which represents a direction of the MVD relative to the starting point.
- Table 2 specifies a relation between direction indexes and pre-defined signs.
- the meaning of a sign of the MVD may be variant according to information of the selected MVP candidate.
- the sign in Table 2 specifies the sign of the MVD added to the selected MVP candidate.
- the selected MVP candidate is bi-prediction MVs with both MVs pointing to different sides of the current picture (i.e.
- a POC of one reference picture of the current picture is greater than the POC of the current picture, and a POC of the other reference picture of the current picture is less than the POC of the current picture
- a POC distance for LO reference picture i.e., a POC distance between the LO reference picture and the current picture
- a POC distance for LI reference picture i.e., a POC distance between the LI reference picture and the current picture
- the sign in Table 2 specifies a sign of an MVD for list 0 MVDO added to an MVP for list 0 MVPO of the selected MVP candidate and a sign of an MVD for list 1 MVD1 added to an MVP for list 1 MVP1 of the selected MVP candidate is opposite to the sign in Table 2; otherwise, if the POC distance for LI reference picture is greater than the POC distance for LO reference picture, the sign in Table 2 specifies the sign of MVD1 added to MVP1 and the sign of MVDO added to MVPO is opposite to the sign in Table 2.
- the MVD is scaled according to the POC distances. If the POC distances for both LO reference picture and LI reference picture are the same, no scaling is needed for the MVD. Otherwise, if the POC distance for LO reference picture is greater than the POC distance for LI reference picture, MVD1 is scaled. If the POC distance for LI reference picture is greater than the POC distance for LO reference picture, MVDO is scaled.
- GPM is supported for inter prediction.
- the GPM is signalled using a CU-level flag as one kind of merge mode, with other merge modes including the regular merge mode, the MMVD mode, the CIIP mode and the subblock merge mode.
- a CU is split into two parts by a geometrically located straight line.
- the position of the splitting line is mathematically derived from angle and offset parameters of a specific partition.
- Each part of the CU obtained by the geometrical partitioning is inter-predicted using its own motion; and only uni-prediction is allowed for each partition, that is, each part has one motion vector and one reference index.
- the uni -prediction motion constraint is applied to ensure that like the conventional bi-prediction, only two motion compensated predictions are needed for each CU.
- a geometric partition index indicating a partition mode of the geometric partitioning (indicating an angle and an offset of the geometric partitioning)
- two merge indexes (one for each partition) are further signalled.
- a uni-prediction candidate list is derived directly from a merge candidate list constructed according to the extended merge prediction process described above.
- n an index of a uni -prediction motion vector in the uni -prediction candidate list.
- These motion vectors are marked with “x” in FIG. 10.
- an L(1 - X) motion vector of the same merge candidate is used instead as the uni -predict! on motion vector for the GPM.
- VVC when a CU is coded in a merge mode, if the CU contains at least 64 luma samples (that is, a width of CU times a height of the CU is equal to or larger than 64), and if both the width and the height of the CU are less than 128 luma samples, an additional flag is signalled to indicate if a CUP mode is applied to the current CU.
- a prediction signal is obtained by combining an inter prediction signal with an intra prediction signal.
- the inter prediction signal in the CUP mode is derived using the same inter prediction process as that applied in the regular merge mode; and the intra prediction signal in the CUP mode is derived following the regular intra prediction process with a planar mode. Then, the intra prediction signal and the inter prediction signal are combined using weighted averaging, where a weight value is calculated depending on coding modes of top and left neighboring blocks of the current CU 1601 (as shown in FIG. 11) as follows:
- the weight value is set to 1.
- the prediction signal P CIIP in the CIIP mode is derived as follows: fciIP
- Pi nter is the inter prediction signal in the CIIP mode
- Pi ntra is the intra prediction signal in the CIIP mode
- wt is the weight value
- » represents a right shift operation
- VVC Versatile Video Coding
- Intra block copy is a tool adopted in HEVC extensions on SCC.
- the IBC significantly improves the coding efficiency of screen content materials.
- IBC mode is implemented as a block level coding mode, block matching (BM) is performed at the encoder to find the optimal block vector (or motion vector) for each CU.
- BM block matching
- a block vector is used to indicate the displacement from the current block to a reference block, which is already reconstructed inside the current picture.
- the luma block vector of an IBC-coded CU is in integer precision.
- the chroma block vector rounds to integer precision as well.
- the IBC mode can switch between 1 -pel and 4-pel motion vector precisions.
- An IBC-coded CU is treated as the third prediction mode other than intra or inter prediction modes.
- the IBC mode is applicable to the CUs with both width and height smaller than or equal to 64 luma samples.
- hash-based motion estimation is performed for IBC.
- the encoder performs RD check for blocks with either width or height no larger than 16 luma samples.
- the block vector search is performed using hash-based search first. If hash search does not return valid candidate, block matching based local search will be performed.
- hash key matching 32-bit CRC
- hash key calculation for every position in the current picture is based on 4x4 subblocks.
- a hash key is determined to match that of the reference block when all the hash keys of all 4 ⁇ 4 subblocks match the hash keys in the corresponding reference locations. If hash keys of multiple reference blocks are found to match that of the current block, the block vector costs of each matched reference are calculated and the one with the minimum cost is selected.
- IBC mode is signalled with a flag and it can be signaled as IBC AMVP mode or IBC skip/merge mode as follows:
- IBC skip/merge mode a merge candidate index is used to indicate which of the block vectors in the list from neighboring candidate IBC coded blocks is used to predict the current block.
- the merge list consists of spatial, HMVP, and pairwise candidates.
- IBC AMVP mode block vector difference is coded in the same way as a motion vector difference.
- the block vector prediction method uses two candidates as predictors, one from left neighbor and one from above neighbor (if IBC coded). When either neighbor is not available, a default block vector will be used as a predictor. A flag is signaled to indicate the block vector predictor index.
- the IBC in VVC allows only the reconstructed portion of the predefined area including the region of current CTU and some region of the left CTU.
- FIG. 12 illustrates the reference region of IBC Mode, where each block represents 64x64 luma sample unit.
- current block falls into the top-left 64x64 block of the current CTU, then in addition to the already reconstructed samples in the current CTU, it can also refer to the reference samples in the bottom-right 64x64 blocks of the left CTU, using CPR mode.
- the current block can also refer to the reference samples in the bottom-left 64x64 block of the left CTU and the reference samples in the top-right 64x64 block of the left CTU, using CPR mode.
- the current block can also refer to the reference samples in the bottom-left 64x64 block and bottom-right 64x64 block of the left CTU, using CPR mode; otherwise, the current block can also refer to reference samples in bottom-right 64x64 block of the left CTU.
- the current block can also refer to the reference samples in the top-right 64x64 block and bottom-right 64x64 block of the left CTU, using CPR mode. Otherwise, the current block can also refer to the reference samples in the bottom-right 64x64 block of the left CTU, using CPR mode.
- IBC mode inter coding tools in VVC, such as pairwise merge candidate, history based motion vector predictor (HMVP), combined intra/inter prediction mode (CUP), merge mode with motion vector difference (MMVD), and geometric partitioning mode (GPM) are as follows:
- IBC can be used with pairwise merge candidate and HMVP.
- Anew pairwise IBC merge candidate can be generated by averaging two IBC merge candidates.
- IBC motion is inserted into history buffer for future referencing.
- IBC cannot be used in combination with the following inter tools: affine motion, CUP, MMVD, and GPM.
- IBC is not allowed for the chroma coding blocks when DUAL TREE partition is used.
- the current picture is no longer included as one of the reference pictures in the reference picture list 0 for IBC prediction.
- the derivation process of motion vectors for IBC mode excludes all neighboring blocks in inter mode and vice versa. The following IBC design aspects are applied:
- IBC shares the same process as in regular MV merge including with pairwise merge candidate and history-based motion predictor, but disallows TMVP and zero vector because they are invalid for IBC mode.
- Block vector constraints are implemented in the form of bitstream conformance constraint, the encoder needs to ensure that no invalid vectors are present in the bitstream, and merge shall not be used if the merge candidate is invalid (out of range or 0).
- bitstream conformance constraint is expressed in terms of a virtual buffer as described below.
- IBC is handled as inter mode.
- AMVR does not use quarter- pel; instead, AMVR is signaled to only indicate whether MV is inter-pel or 4 integer-pel.
- the number of IBC merge candidates can be signalled in the slice header separately from the numbers of regular, subblock, and geometric merge candidates.
- the size of ibcBuf is also 128x128; for a CTU size of 64x64, the size of ibcBuf is 256x64; and a CTU size of 32x32, the size of ibcBuf is 512x32.
- the virtual IBC buffer, ibcBuf is maintained as follows.
- the HMVP table size for IBC is increased to 25. After up to 20 IBC merge candidates are derived with full pruning, they are reordered together. After reordering, the first 6 candidates with the lowest template matching costs are selected as the final candidates in the IBC merge list.
- the zero vectors’ candidates to pad the IBC Merge/AMVP list are replaced with a set of B VP candidates located in the IBC reference region.
- a zero vector is invalid as a block vector in IBC merge mode, and consequently, it is discarded as BVP in the IBC candidate list.
- Three candidates are located on the nearest comers of the reference region, and three additional candidates are determined in the middle of the three sub-regions (A, B, and C), whose coordinates are determined by the width, and height of the current block and the AX and AY parameters, as is depicted in FIG. 13.
- block vector (BV) derived from the intra template matching prediction (IntraTMP) is used for intra block copy (IBC).
- the stored IntraTMP BV of the neighbouring blocks along with IBC BV are used as spatial BV candidates in IBC candidate list construction.
- IntraTMP block vector is stored in the IBC block vector buffer and, the current IBC block can use both IBC BV and IntraTMP B V of neighbouring blocks as BV candidate for IBC BV candidate list.
- IntraTMP block vectors are added to IBC block vector candidate list as spatial candidates.
- Template Matching is used in IBC for both IBC merge mode and IBC AMVP mode.
- the IBC-TM merge list is modified compared to the one used by regular IBC merge mode such that the candidates are selected according to a pruning method with a motion distance between the candidates as in the regular TM merge mode.
- the ending zero motion fulfillment is replaced by motion vectors to the left (-W, 0), top (0, -H) and top-left (-W, -H), where W is the width and H the height of the current CU.
- the selected candidates are refined with the Template Matching method prior to the RDO or decoding process.
- the IBC-TM merge mode has been put in competition with the regular IBC merge mode and a TM-merge flag is signaled.
- IBC-TM AMVP mode up to 3 candidates are selected from the IBC-TM merge list. Each of those 3 selected candidates are refined using the Template Matching method and sorted according to their resulting Template Matching cost. Only the 2 first ones are then considered in the motion estimation process as usual.
- IBC-TM merge and AMVP modes are quite simple since IBC motion vectors are constrained (i) to be integer and (ii) within a reference region as shown in FIG. 12. So, in IBC-TM merge mode, all refinements are performed at integer precision, and in IBC-TM AMVP mode, they are performed either at integer or 4-pel precision depending on the AMVR value. Such a refinement accesses only to samples without interpolation. In both cases, the refined motion vectors and the used template in each refinement step must respect the constraint of the reference region. IBC reference area
- FIG. 14 illustrates the reference area for coding CTU (m,n). Specifically, for CTU (m,n) to be coded, the reference area includes CTUs with index (m-2,n-2). . . (W,n-2),(0,n-l). . . (W,n-l),(0,n). . . (m,n), where W denotes the maximum horizontal index within the current tile, slice or picture.
- W denotes the maximum horizontal index within the current tile, slice or picture.
- the per-sample block vector search (or called local search) range is limited to [-(C « 1), C » 2] horizontally and [-C, C » 2] vertically to adapt to the reference area extension, where C denotes the CTU size.
- IBC merge mode with block vector differences is adopted in ECM.
- the distance set is ⁇ 1-pel, 2-pel, 4-pel, 8-pel, 12-pel, 16-pel, 24-pel, 32-pel, 40-pel, 48-pel, 56-pel, 64-pel, 72-pel, 80-pel, 88-pel, 96-pel, 104-pel, 112-pel, 120-pel, 128-pel ⁇ , and the BVD directions are two horizontal and two vertical directions.
- the base candidates are selected from the first five candidates in the reordered IBC merge list. And based on the SAD cost between the template (one row above and one column left to the current block) and its reference for each refinement position, all the possible MBVD refinement positions (20 ⁇ 4) for each base candidate are reordered. Finally, the top 8 refinement positions with the lowest template SAD costs are kept as available positions, consequently for MBVD index coding.
- IBC reference range is reduced from 2 CTU rows to 2x128 rows as shown in FIG. 15.
- the local search range is set to [-8,8] horizontally and [-8,8] vertically centered at the first block vector predictor of the current CU. This encoder modification is not applied to SCC sequences.
- a Reconstruction-Reordered IBC (RR-IBC) mode is allowed for IBC coded blocks.
- RR-IBC Reconstruction-Reordered IBC
- the samples in a reconstruction block are flipped according to a flip type of the current block.
- the original block is flipped before motion search and residual calculation, while the prediction block is derived without flipping.
- the reconstruction block is flipped back to restore the original block.
- a syntax flag is firstly signalled for an IBC AMVP coded block, indicating whether the reconstruction is flipped, and if it is flipped, another flag is further signaled specifying the flip type.
- the flip type is inherited from neighbouring blocks, without syntax signalling. Considering the horizontal or vertical symmetry, the current block and the reference block are normally aligned horizontally or vertically. Therefore, when a horizontal flip is applied, the vertical component of the BV is not signaled and is inferred to be equal to 0. Similarly, the horizontal component of the BV is not signaled and is inferred to be equal to 0 when a vertical flip is applied.
- a flip-aware BV adjustment approach is applied to refine the block vector candidate.
- (xnbr, ynbr) and (xcur, ycur) represent the coordinates of the center sample of the neighbouring block and the current block, respectively
- B Vnbr and BVcur denote the B V of the neighbouring block and the current block, respectively.
- Intra block copy with geometry partitioning mode is a coding tool which divides a CU into two sub-partitions geometrically.
- the prediction signals of the two subpartitions are generated using IBC and intra prediction.
- IBC-GPM can be applied to regular IBC merge mode or IBC TM merge mode.
- An intra prediction mode (IPM) candidate list is constructed using the same method as GPM with inter and intra prediction for intra prediction, and the IPM candidate list size is pre-defined as 3.
- IPM intra prediction mode
- an IBC-GPM geometry partitioning mode set flag is signalled to indicate whether the first or the second geometry partitioning mode set is selected, followed by the geometry partitioning mode index.
- An IBC-GPM intra flag is signalled to indicate whether intra prediction is used for the first sub-partition.
- intra prediction mode index is signalled.
- IBC is used for a sub-partition, a merge index is signalled.
- the prediction samples are generated by weighting an inter prediction signal predicted using CIIP-TM merge candidate and an intra prediction signal predicted using TIMD derived intra prediction mode.
- the method is only applied to coding blocks with an area less than or equal to 1024.
- the TIMD derivation method is used to derive the intra prediction mode in CIIP. Specifically, the intra prediction mode with the smallest SATD values in the TIMD mode list is selected and mapped to one of the 67 regular intra prediction modes.
- CIIP-TM a CIIP-TM merge candidate list is built for the CIIP-TM mode.
- the merge candidates are refined by template matching.
- the CIIP-TM merge candidates are also reordered by the ARMC method as regular merge candidates.
- the maximum number of CIIP- TM merge candidates is equal to two.
- the multi-hypothesis inter prediction mode one or more additional motion- compensated prediction signals are signaled, in addition to the conventional bi prediction signal.
- the resulting overall prediction signal is obtained by sample-wise weighted superposition.
- the weighting factor a is specified by the new syntax element add hyp weight idx, according to the mapping presented in Table 6:
- more than one additional prediction signal can be used.
- the resulting overall prediction signal is accumulated iteratively with each additional prediction signal.
- the resulting overall prediction signal is obtained as the last p n (i.e., the p n having the largest index ri). Within this mode, up to two additional prediction signals can be used (i.e., n is limited to 2). [0245]
- the motion parameters of each additional prediction hypothesis can be signaled either explicitly by specifying the reference index, the motion vector predictor index, and the motion vector difference, or implicitly by specifying a merge index. A separate multi-hypothesis merge flag distinguishes between these two signaling modes.
- MHP is only applied if non-equal weight in BCW is selected in bi-prediction mode.
- GPM in VVC is extended by applying motion vector refinement on top of the existing GPM uni-directional MVs.
- Aflag is first signalled for a GPM CU, to specify whether this mode is used. If the mode is used, each geometric partition of a GPM CU can further decide whether to signal MVD or not. If MVD is signalled for a geometric partition, after a GPM merge candidate is selected, the motion of the partition is further refined by the signalled MVDs information. All other procedures are kept the same as in GPM.
- the MVD is signaled as a pair of distance and direction, similar as in MMVD.
- There are nine candidate distances (14-pel, U-pel, 1 -pel, 2-pel, 3-pel, 4-pel, 6-pel, 8-pel, 16-pel), and eight candidate directions (four horizontal/vertical directions and four diagonal directions) involved in GPM with MMVD (GPM-MMVD).
- GPS-MMVD GPM-MMVD
- pic fpel mmvd enabled flag is equal to 1
- the MVD is left shifted by 2 as in MMVD.
- Template matching is applied to GPM.
- GPM mode When GPM mode is enabled for a CU, a CU- level flag is signaled to indicate whether TM is applied to both geometric partitions.
- Motion information for each geometric partition is refined using TM.
- TM When TM is chosen, a template is constructed using left, above or left and above neighboring samples according to partition angle, as shown in Table 7. The motion is then refined by minimizing the difference between the current template and the template in the reference picture using the same search pattern of merge mode with half-pel interpolation filter disabled.
- a GPM candidate list is constructed as follows:
- Interleaved List-0 MV candidates and List-1 MV candidates are derived directly from the regular merge candidate list, where List-0 MV candidates are higher priority than List- 1 MV candidates.
- a pruning method with an adaptive threshold based on the current CU size is applied to remove redundant MV candidates.
- the GPM-MMVD and GPM-TM are exclusively enabled to one GPM CU. This is done by firstly signaling the GPM-MMVD syntax. When both two GPM-MMVD control flags are equal to false (i.e., the GPM-MMVD are disabled for two GPM partitions), the GPM-TM flag is signaled to indicate whether the template matching is applied to the two GPM partitions. Otherwise (at least one GPM-MMVD flag is equal to true), the value of the GPM-TM flag is inferred to be false.
- the final prediction samples are generated by weighting inter predicted samples and intra predicted samples for each GPM-separated region.
- the inter predicted samples are derived by inter GPM whereas the intra predicted samples are derived by an intra prediction mode (IPM) candidate list and an index signaled from the encoder.
- the IPM candidate list size is pre-defined as 3.
- the available IPM candidates are the parallel angular mode against the GPM block boundary (Parallel mode), the perpendicular angular mode against the GPM block boundary (Perpendicular mode), and the Planar mode as shown FIGS. 17A-17D, respectively.
- GPM with intra and intra prediction as shown FIG. 17D is restricted to reduce the signaling overhead for IPMs and avoid an increase in the size of the intra prediction circuit on the hardware decoder.
- a direct motion vector and IPM storage on the GPM-blending area is introduced to further improve the coding performance.
- DIMD and neighboring mode based IPM derivation Parallel mode is registered first. Therefore, max two IPM candidates derived from the decoder-side intra mode derivation (DIMD) method and/or the neighboring blocks can be registered if there is not the same IPM candidate in the list.
- the neighboring mode derivation there are five positions for available neighboring blocks at most, but they are restricted by the angle of GPM block boundary as shown in Table 8, which are already used for GPM with template matching (GPM- TM). the angle of GPM block boundary.
- a and L denotes the above and left side of the prediction block.
- GPM-intra can be combined with GPM with merge with motion vector difference (GPM-MMVD).
- TIMD is used for on IPM candidates of GPM-intra to further improve the coding performance.
- the Parallel mode can be registered first, then IPM candidates of TIMD, DIMD, and neighboring blocks.
- the reordering method for GPM split modes is a two-step process performed after the respective reference templates of the two GPM partitions in a coding unit are generated, as follows:
- the edge on the template is extended from that of the current CU, as FIG. 18 illustrates, but GPM blending process is not used in the template area across the edge.
- the final prediction samples are generated with by blending the prediction of the two prediction signals using weighted average.
- Two integer blending matrices W0 and Wl are used.
- the weights in the GPM blending matrices are derived from the ramp function based on the displacement from a predicted sample position to the GPM partitioning boundary.
- the blending area size is fixed to two (2 samples on each side of the GPM partition split boundary).
- the blending process in ECM is improved by adding four extra blending area sizes (quarter, half, double, and quadrupole of the existing area size) as shown in FIG. 36.
- a CU level flag is coded to signal the selected blending area size is signalled.
- the extended weighting precision is utilized, in which the maximum value of the weighs is changed from 8 (in VVC) to 32 to accommodate the extended blending area sizes.
- SGPM is an intra mode that resembles the inter coding tool of GPM, where the two prediction parts are generated from intra predicted process.
- a candidate list is built with each entry containing one partition split and two intra prediction modes as shown in FIGS. 37A-37C. 26 partition modes and 3 of intra prediction modes are used to form the combinations.
- the length of the candidate list is set equal to 16.
- the selected candidate index is signalled.
- the list is reordered using template (FIG. 38) where SAD between the prediction and reconstruction of the template is used for ordering.
- the template size is fixed to 1.
- the template size may be set differently in some other examples.
- an IPM list is derived for each part using the same intra-inter GPM list derivation.
- the IPM list size is set to 3.
- TIMD derived mode is replaced by 2 derived modes with horizontal and vertical orientations.
- Adaptive blending is also used for spatial GPM, where blending depth T shown in FIG. 39 is derived as follows:
- Intra template matching prediction is a special intra prediction mode that copies the best prediction block from the reconstructed part of the current frame, whose L- shaped template matches the current template. For a predefined search range, the encoder searches for the most similar template to the current template in a reconstructed part of the current frame and uses the corresponding block as a prediction block. The encoder then signals the usage of this mode, and the same prediction operation is performed at the decoder side.
- the prediction signal is generated by matching the L-shaped causal neighbor of the current block with another block in a predefined search area in FIG. 19 consisting of:
- Sum of absolute differences (SAD) is used as a cost function.
- the decoder searches for the template that has least SAD with respect to the current one and uses its corresponding block as a prediction block.
- the Intra template matching tool is enabled for CUs with size less than or equal to 64 in width and height. This maximum CU size for Intra template matching is configurable.
- the Intra template matching prediction mode is signaled at CU level through a dedicated flag when DIMD is not used for current CU.
- TIMD modes For each intra prediction mode in MPMs, The SATD between the prediction and reconstruction samples of the template is calculated. First two intra prediction modes with the minimum SATD are selected as the TIMD modes. These two TIMD modes are fused with the weights after applying PDPC process, and such weighted intra prediction is used to code the current CU. Position dependent intra prediction combination (PDPC) is included in the derivation of the TIMD modes.
- PDPC Position dependent intra prediction combination
- LIC is an inter prediction technique to model local illumination variation between current block and its prediction block as a function of that between current block template and reference block template.
- the parameters of the function can be denoted by a scale a and an offset P, which forms a linear equation, that is, a*p[x]+P to compensate illumination changes, where p[x] is a reference sample pointed to by MV at a location x on reference picture.
- the MV shall be clipped with wrap around offset taken into consideration. Since a and P can be derived based on current block template and reference block template, no signaling overhead is required for them, except that an LIC flag is signaled for AMVP mode to indicate the use of LIC.
- Intra neighbor samples can be used in LIC parameter derivation
- LIC is disabled for blocks with less than 32 luma samples
- LIC parameter derivation is performed based on the template block samples corresponding to the current CU, instead of partial template block samples corresponding to first top-left 16x16 unit;
- Samples of the reference block template are generated by using MC with the block MV without rounding it to integer-pel precision.
- the MMVD offsets are extended for MMVD and affine MMVD modes. Additional refinement positions along k> ⁇ 7t/8 diagonal angles are added shown in FIG. 40, thus increasing the number of directions from 4 to 16. Second, based on the SAD cost between the template (one row above and one column left to the current block) and its reference for each refinement position, all the possible MMVD refinement positions (16 ⁇ 6) for each base candidate are reordered. Finally, the top 1/8 refinement positions with the smallest template SAD costs are kept as available positions, consequently for MMVD index coding. The MMVD index is binarized by the rice code with the parameter equal to 2. The affine MMVD reordering is extended, in which additional refinement positions along kxjt/4 diagonal angles are added. After reordering top 1/2 refinement positions with the smallest template SAD costs are kept.
- N is equal to 3 for MMVD, and [1, 3] depending on the neighboring block affine flags for affine MMVD.
- Two ways of adding MMVD offsets are allowed, including the ‘two-side’ and ‘one-side’, depending on whether the offset of the other reference picture list is mirrored or directly set to zero. Which way is applied to one block is dependent on the TM cost.
- top and left boundary pixels of a CU are refined using neighboring block’s motion information with a weighted prediction as described in JVET- L0101.
- a subblock-boundary OBMC is performed by applying the same blending to the top, left, bottom, and right subblock boundary pixels using neighboring subblocks’ motion information. It is enabled for the subblock based coding tools: [0313] Affine AMVP modes;
- Inter predY represents the samples predicted by the motion of current block in the original domain
- Intra predY represents the samples predicted in the mapped domain
- 0BMC predY represents the samples predicted by the motion of neighboring blocks in the original domain
- w 0 are the weights.
- the prediction value of CU boundary samples derivation approach is decided according to the template matching costs, including using current block’s motion information only, or using neighboring block’s motion information as well with one of the blending modes.
- the above template size equals to 4x 1. If A adjacent blocks have the same motion information, then the above template size is enlarged to 4Ax 1 since the MC operation can be processed at one time. For each left block with a size of 4x4 at the left CU boundary, the left template size equals to 1 x4 or 1x4# (FIG. 20).
- Costl is calculated according to A’s motion information.
- Cost2 is calculated according to AboveNeighbor A’s motion information.
- Cost3 is calculated according to weighted prediction of A’s and AboveNeighbor_A’s motion information with weighting factors as 3/4 and 1/4 respectively.
- NewPixel(i, 1) (7 *Pixel 1 (i, 1)+Pixel2(i, l)+4)»3
- NewPixel(i,2) (l 5 *Pixel 1 (i,2)+Pixel2(i,2)+8)»4
- NewPixel(i,3) (31 > ⁇ Pixell(i,3)+Pixel2(i,3)+16)»5
- NewPixel(i,0) (26xPixell(i,0)+6xPixel2(i,0)+16)»5
- NewPixel(i,0) (l 5 *Pixel 1 (i,0)+Pixel2(i,0)+8)»4
- NewPixel (i, 1 ) (31 *Pixel 1 (i, 1 )+Pixel2(i, 1 )+ 16)»5
- NewPixel(i,0) (l 5 *Pixel 1 (i,0)+Pixel2(i,0)+8)»4
- NewPixel(i, 1) (7 *Pixel 1 (i, 1)+Pixel2(i, l)+4)»3
- NewPixel(i,2) (l 5 *Pixel 1 (i,2)+Pixel2(i,2)+8)»4
- NewPixel(i,3) (31 > ⁇ Pixell(i,3)+Pixel2(i,3)+16)»5
- NewPixel(i,0) (7xPixell(i,0)+Pixel2(i,0)+4)»3
- the IBC tool is not combined with the GPM tool.
- the present disclosure provides examples to combine them together, which may improve the prediction accuracy and improve the coding performance.
- the coding block coded with IBC mode is not combined with the coding block coded with intra mode or inter mode.
- the present disclosure provides examples to combine them together, which may improve the prediction accuracy and improve the coding performance.
- the weights of intra coded block and inter coded block in CIIP are predefined in a fixed mannar.
- the present disclosure provides examples to adaptively decide the weights based on template matching methods, which may improve the prediction accuracy and improve the coding perfromance.
- the block vector (BV) number in the IBC tool is singular.
- the present disclosure provides examples to increase the block vector (BV) number and the prediction results can be combined, which may improve the prediction accuracy and improve the coding performance.
- the coding block coded with Intra TMP mode is not combined with the coding block coded with intra mode or inter mode.
- the present disclosure provides examples to combine them together, which may improve the prediction accuracy and improve the coding performance.
- the Intra TMP tool is not combined with the GPM tool.
- the present disclosure provides examples to combine them together, which may improve the prediction accuracy and improve the coding performance.
- the IBC tool is not combined with the TIMD tool.
- the present disclosure provides examples to combine them together, which may improve the prediction accuracy and improve the coding performance.
- the Intra TMP tool is not combined with the TIMD tool.
- the present disclosure provides examples to combine them together, which may improve the prediction accuracy and improve the coding performance.
- the Intra TMP tool is not combined with the LIC tool.
- the present disclosure provides examples to combine them together, which may improve the prediction accuracy and improve the coding performance.
- the IBC tool is not combined with the OBMC tool.
- the present disclosure provides examples to combine them together, which may improve the prediction accuracy and improve the coding performance.
- the Intra TMP tool is not combined with the OBMC tool.
- the present disclosure provides examples to combine them together, which may improve the prediction accuracy and improve the coding performance.
- the candidate derivation process of IBC merge mode and IBC AMVP mode only uses adjacent neighboring blocks and parital non-adjacent neighboring blocks in the topleft area, it is thus provided in the present disclosure to further extend more non-adjacent neighboring blocks, which may improve the prediction accuracy and improve the coding performance.
- the IBC mode usually uses a BV in block level to conduct motion compensation, it is thus provided in the present disclosure to further import a sub-block based IBC mode, which may improve the prediction accuracy and improve the coding performance.
- the TM IBC mode and TM regular inter mode use both left and above templates to do motion refinement, it is thus provided in the present disclosure to further extend the template pattern, which may improve the prediction accuracy and improve the coding performance.
- deblocking filter treats the block coded with IBC mode and the block coded with Intra TMP mode differently when obtaining the boundary strength. It is thus provided in the present disclosure to unify these two kinds of modes, which may improve the coding perfromance.
- the Intra TMP tool is not combined with IBC tool, it is thus provided in the present disclosure to combine these two tools in a GPM or CUP manner, which may improve the coding performance.
- the MMVD candidates of GPM with MMVD mode are signalled similar to the MMVD design in VVC, it is thus provided in the present disclosure to reorder the MMVD candidates of GPM with MMVD mode based on template matching methods, which may improve the coding performance.
- the IBC/regular inter/affine inter HMVP candidates are utilized just based on the coding order of the HMVP candidates, it is thus provided in the present disclosure to utilize the HMVP candidates based on the relative postion of the HMVP candidate to current coding block, which may improve the coding performance.
- the IBC tool is combined with OBMC tool, where top and left boundary pixels of current block predicted with IBC are refined with OBMC tool.
- the MMVD candidates of GPM with MMVD mode are reordered based on template matching methods.
- the IBC/regular inter/affine inter HMVP candidates are utilized based on the relative position of the HMVP candidate to the current coding block.
- the intra prediction mode which the block vector of IBC or Intra TMP points to is used to construct the intra MPM list of the current block.
- the IBC tool is combined with GPM tool in the form of GPM with IBC and IBC prediction. Different methods may be used to achieve this goal.
- both “inter” parts of GPM with inter and inter prediction method in VVC is replaced with IBC. That means that two IBC merge prediction results are weighted averaged with each other according to a splitting line in the coding block. The weight can be obtained referring to GPM with inter and inter prediction method in VVC.
- both “inter” parts of GPM with inter and inter prediction method in ECM is replaced with IBC, where some template matching tools can be utilized to further improve the coding performance.
- the IBC prediction results can be from the regular merge candidates, TM refined merge candidates, or merge candidates with block vector difference (MBVD).
- the regular merge candidates, the TM refined merge candidates, or the MBVD candicates may exist in the ECM.
- the two IBC prediction results are from the same kind of merge candidates.
- the two IBC prediction results are both from regular merge candidates, or both from TM refined merge candidates, or both from MBVD candidates, where the merge indices for the two IBC prediction results are different.
- one flag which signals whether regular merge candidates or TM refined merge candidates are utilized is signalled into bitstream. This flag can be signalled with different methods.
- a TM merge flag is signalled into bitstream to indicate whether current block is code with IBC TM merge mode, this flag can be resused for GPM with IBC and IBC prediction. Specifically, after a TM merge flag is signalled, a flag which signals whether current block is coded with IBC-GPM is further signalled. Then, if the TM merge flag is true, the two IBC prediction results are both from TM refined merge candidates; if the TM merge flag is false, the two IBC prediction results are both from regular merge candidates.
- the merge indexes of the two IBC merge candidates are signalled in the IBC- GPM syntax structure, which indicates that the merge indexes of the two IBC merge candidates need not to be signalled again in other place.
- the flag which signals whether current block is coded with IBC-GPM is further signalled only when the TM merge flag is false. If the flag which signals whether current block is coded with IBC-GPM is true, another flag which signals whether the two IBC prediction results are both from TM refined merge candidates are further signalled. If this flag is true, it indicates the two IBC prediction results are both from TM refined merge candidates; if this flag is false, the two IBC prediction results are both from regular merge candidates.
- the two IBC prediction results are from different kinds of merge candidates.
- one IBC prediction result is from regular merge candidates
- the other IBC prediction result is from TM refined merge candidates.
- a flag which signals whether the IBC prediction result of the first GPM partition is from regular merge candidates is signalled into bitstream. If this flag is true, the IBC prediction result of the first GPM partition is from regular merge candidates, the IBC prediction result of the second GPM partition is from TM refined merge candidates. If this flag is false, the IBC prediction result of the first GPM partition is from TM refined merge candidates, the IBC prediction result of the second GPM partition is from regular merge candidates.
- the merge indexes for the two IBC prediction results can be same or different.
- the merge indexes for the two IBC prediction results can be same or different.
- the two IBC prediction results can not be from the merge candidates coded with RR- IBC mode.
- different methods can be utilized.
- the IBC merge candidate list is scanned from the beginning to the end, if one merge candidate is coded with RR-IBC mode, it is moved to the end of the IBC merge candidate list, and the latter one merge candidate is moved forward accordingly. After reordering all the merge candidates or the maxmium allowable number of merge candidates which are not coded with RR-IBC mode is reached, the scanning is terminated.
- the reordered merge candidate list is utilized for generating the IBC prediction result of GPM with IBC and IBC prediction.
- the IBC merge candidate list is unchanged and the merge candidates which are coded with RR-IBC mode is just skipped when generating the IBC prediction result of GPM with IBC and IBC prediction.
- the two IBC prediction results can be from the merge candidates coded with RR-IBC mode or the merge candidates not coded with RR-IBC mode, there is no constraint when generating the IBC prediction result of GPM with IBC and IBC prediction.
- TM refined merge candidates When TM refined merge candidates are utilized for GPM with IBC and IBC prediction, the TM refined merge candidates can be directly reused for GPM with IBC and IBC prediction, or similar to GPM with TM, different templates may be utilized for different parts of GPM partitions for a predefined GPM split mode. For example, for one GPM partition, a template is constructed using left, above or left and above neighboring samples according to GPM partition angle, as shown in Table 7. The block vector is then refined by minimizing the difference between the current template and the template in the reference area using the same search pattern of TM refined merge mode with half-pel interpolation filter disabled.
- the provided methods presented in this section can be combined with the methods presented in section “Source of IBC prediction results” freely.
- the two IBC prediction results are both from regular merge candidates or both from TM refined merge candidates
- the TM refined merge candidates can be directly reused, or different templates are utilized for different parts of GPM partitions for a predefined GPM split mode.
- the reordered IBC MBVD candidates can be directly reused for GPM with IBC and IBC prediction, or similar to GPM with MMVD mode, the chosen MBVD candidate is signalled with one distance index and one direction index, or different templates may be utilized for reordering the MBVD candidates for different parts of GPM partitions for a predefined GPM split mode.
- an index is signalled to represent the chosen MBVD candidate.
- the two IBC prediction results are both from the merge candidates refined with block vector difference (MBVD) or both from the regular merge candidates.
- MBVD block vector difference
- one flag which signals whether MBVD is applied for GPM with IBC and IBC prediction needs to be signalled into bitstream. If this flag is true, the two IBC prediction results are both from the regular merge candidates refined with MBVD. If this flag is false, the two IBC prediction results are from the regular merge candidates.
- one IBC prediction result is from the merge candidates refined with block vector difference (MBVD)
- the other IBC prediction result is from the regular merge candidates.
- a flag which signals whether the IBC prediction result of the first GPM partition is from regular merge candidates is signalled into bitstream. If this flag is true, the IBC prediction result of the first GPM partition is from regular merge candidates, the IBC prediction result of the second GPM partition is from regular merge candidates refined with block vector difference. If this flag is false, the IBC prediction result of the first GPM partition is from regular merge candidates refined with block vector difference, the IBC prediction result of the second GPM partition is from regular merge candidates.
- one IBC prediction result can be from regular merge candidates or regular merge candidates refined with block vector difference, and the other IBC prediction result can also be from regular merge candidates or regular merge candidates refined with block vector difference.
- the first GPM partition one flag which signals whether the IBC prediction result of this GPM partition is from regular merge candidates is first signalled.
- the second GPM partition one flag which signals whether the IBC prediction result of this GPM partition is from regular merge candidates is also signalled. If the two flags are both true or both false, it indicates that the two IBC prediction results are both from regular merge candidates or both from regular merge candidates refined with block vector difference.
- first flag is true and the second flag is false or the first flag is false and the second flag is true, it indicates the IBC prediction result of the first GPM partition is from regular merge candidates and the IBC prediction result of the second GPM partition is from regular merge candidates refined with block vector difference, or the IBC prediction result of the first GPM partition is from regular merge candidates refined with block vector difference and the IBC prediction result of the second GPM partition is from regular merge candidates.
- the merge indexes of the two IBC prediction results are different; when one IBC prediction result is from the merge candidates refined with block vector difference (MBVD), the other IBC prediction result is from the regular merge candidates, the merge indexes of the two IBC prediction results can be same or different, or must be different.
- the merge indexes of the two IBC prediction results are allowed to be the same when the MV refinements of two partitions are different, and disallowed to be the same when the two MV refinements are identical.
- the tool ‘GPM with IBC and IBC prediction with MBVD’ is applied after the tool ‘GPM with IBC and IBC prediction with TM’ .
- the tool ‘GPM with IBC and IBC prediction with MBVD’ can be applied.
- the two IBC prediction results are only allowed to be both from regular merge candidates, or both from TM refined merge candidates.
- One flag which signals whether the two IBC prediction results are both from regular merge candidates is signalled.
- the process is terminated. If the flag is true, the second step can be applied.
- one IBC prediction result is allowed to be from regular merge candidates or regular merge candidates refined with block vector difference, and the other IBC prediction result is also allowed to be from regular merge candidates or regular merge candidates refined with block vector difference.
- the first GPM partition one flag which signals whether the IBC prediction result of this GPM partition is from regular merge candidates is first signalled.
- the second GPM partition one flag which signals whether the IBC prediction result of this GPM partition is from regular merge candidates is also signalled.
- the tool ‘GPM with IBC and IBC prediction with MBVD’ is applied before the tool ‘GPM with IBC and IBC prediction with TM’.
- the tool ‘GPM with IBC and IBC prediction with TM’ can be applied.
- one IBC prediction result is allowed to be from regular merge candidates or regular merge candidates refined with block vector difference
- the other IBC prediction result is also allowed to be from regular merge candidates or regular merge candidates refined with block vector difference.
- one flag which signals whether the IBC prediction result of this GPM partition is from regular merge candidates is first signalled.
- one flag which signals whether the IBC prediction result of this GPM partition is from regular merge candidates is also signalled. If at least one flag is false, which indicates at least one IBC prediction result is from regular merge candidates refined with block vector difference, the process is teriminated. If both flags are true, the second step can be applied. In the second step, the two IBC prediction results are only allowed to be both from regular merge candidates, or both from TM refined merge candidates. The flag which signals whether the two IBC prediction results are both from regular merge candidates is signalled.
- all allowed GPM split modes are divided into several groups, and two indexes are coded to indentify the transmitted GPM split mode, where the first index is used to signal which group is utilized, the second index is used to signal the specific index in the chosen group.
- all allowed GPM split modes are divided into two groups, where the GPM split modes along horizontal or vertical directions consitute one group, the GPM split modes along other directions consistute the other group.
- a flag which is context coded or bypass coded is first coded to signal which group the transmitted GPM split mode belongs to, then an index which is coded with equal probability is coded to signal which index the transmitted GPM split mode belongs to in the chosen group.
- the intra prediction mode of current CU is just all filled with the intra prediction mode pointed by the block vector of the IBC merge candidate of GPM split partition A or GPM split partition B no matter where the GPM split line locates.
- the merge index of the CU coded with GPM with IBC and IBC prediction is set to the merge index of the GPM split partition B, and the corresponding modes (such as IBC-LIC flag, RRIBC type, etc.) of the CU coded with GPM with IBC and IBC prediction is set to the corresponding modes of the GPM split partition B.
- the modes of the CU coded with GPM with IBC and IBC prediction can be set to default values. For example, the IBC-LIC flag of the CU coded with GPM with IBC and IBC prediction is set to false, the RR-IBC type of the CU coded with GPM with IBC and IBC prediction is set to 0.
- the IBC prediction result can be from the regular merge candidates, TM refined merge candidates, or merge candidates with block vector difference (MBVD).
- the template pattern of the first GPM partition is reused for the TM refined merge candidates; if the second GPM partition is predicted by IBC, then the template pattern of the second GPM partition is reused for the TM refined merge candidates.
- the block vector is then refined by minimizing the difference between the current template and the template in the reference area using the same search pattern of TM refined merge mode with half-pel interpolation filter disabled.
- the reordered IBC MBVD candidates can be directly reused for GPM with IBC and intra prediction, or similar to GPM with MMVD mode, the chosen MBVD candidate is signalled with one distance index and one direction index, or different templates may be utilized for reordering the MBVD candidates for the IBC predicted GPM partition for a predefined GPM split mode.
- an index is signalled to represent the chosen MBVD candidate.
- the tool ‘GPM with IBC and intra prediction with MBVD’ is applied after the tool ‘GPM with IBC and intra prediction with TM’.
- the tool ‘GPM with IBC and intra prediction with MBVD’ can be applied.
- the IBC prediction result is only allowed to be from regular merge candidates or from TM refined merge candidates.
- One flag which signals whether the IBC prediction result is from regular merge candidates is first signalled. If the flag is false, which indicates that the IBC prediction result is from TM refined merge candidates, the process is terminated. If the flag is true, the second step can be applied.
- the process is teriminated. If the flag is false, which indicates the IBC prediction result is from regular merge candidates refined with block vector difference, the process is teriminated. If the flag is true, the second step can be applied. In the second step, the IBC prediction result is only allowed to be from regular merge candidates or TM refined merge candidates. The flag which signals whether the IBC prediction result is from regular merge candidates is signalled.
- all allowed GPM split modes are divided into several groups, and two indexes are coded to indentify the transmitted GPM split mode, where the first index is used to signal which group is utilized, the second index is used to signal the specific index in the chosen group.
- all allowed GPM split modes are divided into two groups, where the GPM split modes along horizontal or vertical directions consitute one group, the GPM split modes along other directions consistute the other group.
- a flag which is context coded or bypass coded is first coded to signal which group the transmitted GPM split mode belongs to, then an index which is coded with equal probability is coded to signal which index the transmitted GPM split mode belongs to in the chosen group.
- TM based method is utilized to code the GPM split mode.
- TM based method is utilized to reorder all the allowed GPM split modes, then an index using Golomb-Rice code to indicate where the exact GPM split mode is located in the reordering list is signaled.
- TM based method is utilized to reorder the GPM split modes in the chosen group, then an index using Golomb-Rice code to indicate where the exact GPM split mode is located in the reordering chosen group is signaled.
- GPM split modes are divided into two groups, the first group is constituted from Table 3, and the second group is constituted from Table 4, a flag which is context coded is first coded to signal which group the transmitted GPM split mode belongs to, then TM based method is utilized to reorder the GPM split modes in the chosen group, finally an index using Golomb-Rice code to indicate where the exact GPM split mode is located in the reordering chosen group is signaled.
- adaptive blending is utilized.
- different blending widths For example, 5 different blending widths as shown in FIG. 36
- the index which signals the chosen blending width is transmitted into bit stream.
- the blending width can be chosen via a predifined criteria, then no index is needed to transmit into bit stream.
- the blending width is chosen according the width and height of current CU.
- GPM in VVC similar to GPM in VVC, only one blending width which is equal to T as shown in FIG. 36 is utilized for all CU sizes.
- only one blending width which is equal to 1/4 T as shown in FIG. 36 is utilized for all CU sizes.
- the third method for different kinds of content, different blending methods are utilized. For example, for screen content, hard blending where the blending width is equal to 1/4 T is utilized, and no index is needed to transmit into bit stream; for natural content, adaptive blending as presented in the first method is utilized, and the index which signals the chosen blending width is transmitted into bit stream.
- the fourth method for different slice types, different blending methods are utilized. For example, for I slice, adaptive blending as presented in the first method is utilized; for P slice or B slice, hard blending where the blending width is equal to 1/4 T as shwon in FIG. 36 is utilized. It should be noted, when adaptive blending is utilized only for I slice, the index which signals the chosen blending width is only transmitted into bitstream for I slice; for P slice or B slice, the index which signals the chosen blending width needs not to be transmitted into bitstream.
- spanning motion information of a sub-block refers to filling the motion information of the subblock according to the subblock’s central position in the current CU.
- spanning intra prediction mode information of a sub-block refers to filling the intra prediction mode information of the sub-block according to the subblock’s central position in the current CU.
- the central postion of a sub-block (For example, 4x4) in current CU locates in GPM split partition B
- the GPM split partition B is predicted by IBC
- the motion imformation of this sub-block is filled with the block vector of the IBC merge candidate of GPM split partition B
- the intra prediction mode information of this sub-block is filled with the intra prediction mode pointed by the block vector of the IBC merge candidate of GPM split partition B
- the GPM split partition B is predicted by intra
- the motion information of this sub-block is null
- the intra prediction mode information of this sub-block is filled with the intra prediction mode of GPM split partition B.
- the other GPM partition must be predicted by intra.
- the motion information of current CU is just all filled with the block vector of the IBC merge candidate of GPM split partition which is predicted by IBC
- the intra prediction mode information of current CU is just all filled with the intra prediction mode pointed by the block vector of the IBC merge candidate of GPM split partition which is predicted by IBC
- the intra prediction mode information of current CU is just all filled with the intra prediction mode of GPM split partition which is predicted by intra.
- the coding tools of GPM with intra and intra prediction, GPM with IBC and intra prediction, and GPM with IBC and IBC prediction are unified into one set of syntax elements.
- GPM GPM enabling flag
- SPS sequence parameter set
- the GPM syntax elements are signaled inside the merge data syntax. Specificially, a flag which signals whether a CU is GPM coded is first coded into bit stream. If this flag is true, the GPM split mode is transmitted into bit stream. For one GPM split partition, a flag which signails whether this GPM split partition is intra coded is first coded into bit stream. If this flag is true, the intra mode index is transmitted into bit stream; else, the IBC merge index is transmitted into bit stream. For the other GPM split partition, same syntax elements are transmitted. In some embodiments, when the two GPM split partitions are both intra coded or both IBC coded, the intra mode index or IBC merge index of the two GPM split partitions are different.
- the syntax elements at the CU level can be simplified as follows: a flag which signals whether a CU is GPM coded is first coded into bit stream. If this flag is true, the GPM split mode is transmitted into bit stream. For the first GPM split partition, a flag which signails whether this GPM split partition is intra coded is first coded into bit stream. If this flag is true, the intra mode index is transmitted into bit stream; else, the IBC merge index is transmitted into bit stream.
- the IBC merge index of the second GPM split partition is transmitted into bit stream; if the flag which signals whether the first GPM split partition is intra coded is false, another flag which signals whether the second GPM split partition is intra coded is coded into bitstream. If the flag which signals whether the second GPM split partition is intra coded is true, the intra mode index of the second GPM split partition is transmitted into bit stream, otherwise, the IBC merge index of the second GPM split partition is transmitted into bit stream. In some embodiments, when the two GPM split partitions are both IBC coded, the IBC merge index of the two GPM split partitions are different. To present the syntax elements table is presented as follow:
- the IBC merge index is binarized with O-th order truncated Rice code and coded using one single context model that is initialized with the same initial value of the regular IBC merge index.
- the used GPM merge indexes GPM_idxO,l are derived from the signaled syntax elements by
- GPM idxl ibc merge gpm idxl + (ibc merge gpm idxl > GPM idxO) ? 1 : 0 because the two IBC merge indexes are not allowed to be identical.
- the IBC tool is combined with GPM tool in the form of GPM with IBC and inter prediction. Different methods may be used to achieve this goal.
- one “inter” part of GPM with inter and inter prediction method in VVC is replaced with IBC, where the IBC merge predicted results are weighted averaged with the inter merge prediction results to obtain the final prediction signal.
- one “inter” part of GPM with inter and inter prediction method in ECM is replaced with IBC, where some template matching tools can be utilized to further improve the coding performance.
- the IBC tool is combined with GPM tool in the form of simplified GPM with IBC and intra prediction, such as IBC and intra prediction is combined at a certain splitting mode, which can save the bits overhead of the splitting representation. Different methods may be used to achieve this goal.
- the upper left parts of the coding block is coded with intra prediction mode, and the bottom right parts of the coding block is coded with IBC prediction mode, then they are averaged in GPM form to obtain the final prediction signal.
- the coding block coded with IBC mode are combined with the coding block coded with intra mode or inter mode. Different methods may be used to achieve this goal.
- the weights may also be designed in a mask version, i.e. the weights for IBC coded block and intra coded block may be one or zero for different areas of current block.
- the specific weights for IBC coded block and intra coded block may be decided based on coding modes of neighboring blocks and intra mode of current block.
- the weights for intra coded block is one in the left 1/4 area of current block and zero in the right 3/4 area of current block as shown in FIG. 21 (c), and vice versa for the weights for IBC coded block.
- the weights for intra coded block is one in the top 3/4 area of current block and zero in the bottom 1/4 area of current block as shown in FIG. 21 (d), and vice versa for the weights for IBC coded block; if only one neighboring block is intra coded, the weights for intra coded block is one in the top 1/2 area of current block and zero in the bottom 1/2 area of current block as shown in FIG.
- the weights for intra coded block is one in the top 1/4 area of current block and zero in the bottom 3/4 area of current block as shown in FIG. 21 (f), and vice versa for the weights for IBC coded block.
- the weights for intra coded block is one in the top left 3/4 area (horizontal index is smaller than 1/2 width of current block or vertical index is smaller than 1/2 height of current block) of current block and zero in the right bottom 1/4 area (horizontal index is equal or bigger than 1/2 width of current block and vertical index is equal or bigger than 1/2 height of current block) of current block as shown in FIG. 21 (g), and vice versa for the weights for IBC coded block; if only up neighboring block is intra coded, the weights for intra coded block is one in the top 1/2 area of current block and zero in the bottom 1/2 area of current block as shown in FIG.
- the weights for intra coded block if only left neighboring block is intra coded, the weights for intra coded block is one in the left 1/2 area of current block and zero in the right 1/2 area of current block as shown in FIG. 21 (b), and vice versa for the weights for IBC coded block; if none of the up and left neighboring blocks of current block are intra coded, the weights for intra coded block is one in the top left 1/4 area (horizontal index is smaller than 1/2 width of current block and vertical index is smaller than 1/2 height of current block) of current block and zero in the bottom right 3/4 area (horizontal index is equal or bigger than 1/2 width of current block or vertical index is equal or bigger than 1/2 height of current block) of current block as shown in FIG. 21 (h), and vice versa for the weights for IBC coded block.
- the above two weights design methods may be utilized independently or combined together.
- the weights for IBC coded block and intra coded block may be designed similar to the CUP technology in VVC. In other conditions, the weights for IBC coded block and intra coded block may be designed in a mask version.
- the weights may also be designed based on template matching methods, where the sum of absolute difference (SAD), sum of square difference (SSD) or sum of absolute transformed difference (SATD) between the prediction and reconstruction samples of the current block template may be utilized to compute the weights for IBC coded block and intra coded block.
- SAD sum of absolute difference
- SSD sum of square difference
- SATD sum of absolute transformed difference
- the SATD is a block matching criterion widely used in scenarios such as fractional motion estimation for video compression.
- the weights for IBC coded block and intra coded block may be decided as follows: For intra coded block, as shown in FIG.
- the SATD between the prediction and reconstruction samples of current block template is calculated as SATD intra , where the prediction samples of current block template are intra predicted using the reference samples of the template with the intra mode of current block.
- the SATD between the prediction and reconstruction samples of current block template is calculated as SATD IBC , where the prediction samples of current block template are predicted using the reference samples pointed by the block vector of current block.
- the weights for IBC coded block w IBC and intra coded block w intra are decided as follows:
- both left and top template may be utilized if they are available, or only left template or only top template is utilized if it is available.
- the utilization of both left and top template, only top template or only left template may be decided in a Rate-Distortion Optimization (RDO) process or in a predefined criteria.
- RDO Rate-Distortion Optimization
- the RDO technique generally minimizes the amount of distortion (loss of video quality) against the amount of data required to encode the video.
- the weights derived based on template matching methods can be compared with the weights derived refer to CUP in ECM (or the weights designed in a mask version) in a RDO process, which means a flag in coding block level needs to be transmitted into bit stream to signal which method is utilized; or the weights derived based on template matching methods can be used to replace total or partial of the weights derived refer to CIIP in ECM (or the weights designed in a mask version).
- the weights of intra coded block and IBC coded block are decided based on template matching methods; otherwise, the weights are decided refer to CIIP in ECM (or in a mask version).
- the decoder/encoder may combine the coding block coded with IBC mode with the coding block coded with inter mode.
- Various methods may be utilized in this combination.
- the coding block coded with IBC merge mode is regarded as the coding block coded with planar intra mode, and it is combined with the coding block coded with inter merge mode.
- the coding block coded with IBC merge mode is regarded as the coding block coded with inter merge mode, and it is combined with the coding block coded with inter merge mode by equally averaging.
- the decoder/encoder may combine the coding block coded with IBC mode with the coding block coded with intra mode and the coding block coded with inter mode.
- Various methods may be utilized in this combination.
- the coding block coded with IBC mode, the coding block coded with intra mode, and the coding block coded with inter mode are directly combined by equally averaging.
- the coding block coded with IBC mode is separately combined with the coding block coded with intra mode and inter mode as presented in the first and second method. Then, the separate combined results are combined by equally averaging.
- the weights of intra coded block and inter coded block in CIIP can be designed based on template matching methods, where the sum of absoulte difference (SAD), sum of square difference (SSD) or sum of absolute transformed difference (SATD) between the prediction and reconstruction samples of the current block template can be utilized to compute the weights for intra coded block and inter coded block.
- SAD absoulte difference
- SSD sum of square difference
- SATD sum of absolute transformed difference
- the SATD between the prediction and reconstruction samples of current block template is calculated as SATD inter , where the prediction samples of current block template is predicted using the reference samples of the template with the motion vector of current block.
- the weights for inter coded block w inter and intra coded block w intra are decided as follow:
- both left and top template can be utilized if they are available, or only left template or only top template is utilized if it is available.
- the weights derived based on template matching methods can be compared with the weights derived based on original methods in a RDO process, which means a flag in coding block level needs to be transmitted into bit stream to signal which method is utilized; or the weights derived based on template matching methods can be used to replace total or partial of the weights derived based on original methods. For example, if the intra mode of current block is planar mode or DC mode, the weights of intra coded block and inter coded block in CIIP are decided based on template matching methods; otherwise, the weights are decided based on original methods.
- the block vector (BV) number in IBC tool is increased to 2 or more, and 2 or more hypothesis are combined to obtain the final prediction result. Different methods may be used to achieve this goal.
- the decoder/encoder may combine 2 hypothesis corresponding to 2 BVs to obtain the final prediction result.
- Various methods may be utilized to achieve this goal.
- the 2 BVs corresponding the smallest and the second smallest rate distortion metrics in IBC AMVP mode are equally averaged to obtain the final prediction result.
- the prediction result corresponding to IBC AMVP mode and the prediction result corresponding to IBC merge mode are equally averaged to obtain the final prediction result.
- the decoder/encoder may combine more hypothesis corresponding to more BVs to obtain the final prediction result.
- Various methods may be utilized to achieve this goal.
- the iterative accumulation method proposed in Multi-hypothesis prediction (MHP) technology is utilized to obtain the final prediction result.
- MHP Multi-hypothesis prediction
- all the BVs corresponding the smallest, the second smallest, the third smallest, . . . , rate distortion metrics in IBC AMVP mode are equally averaged to obtain the final prediction result.
- the prediction block candidates are searched and selected according to the criterion of minimizing template matching cost, i.e., the top N candidates which lead to the minimum BV matching cost are selected.
- the BV matching cost can be not limited to SAD (sum of absolute difference) and SSE (sum of square error).
- the prediction block candidates may be selected according to the predefine mode, i.e., planar mode.
- the prediction block candidates may be selected according to the neighbor predefine mode, i.e., top predefine mode, left predefine mode.
- the weighting factors to generate the final prediction block are predefined and fixed at both the encoder and decoder side.
- equal weighting factors can be used, i.e., 1/N for all the candidate blocks.
- the weighting factors may be derived based on the BV matching costs. Denote the BV matching costs of the N candidates as C x , C 2 ,..., C N , the weighting factors are calculated as follow.
- the BV matching cost can be measured with (but not limited to)
- the weighting factors may be derived/switched based on the block size or syntax element signaled in SPS/DPS/VPS/SEI/APS/PPS/PH/SH/Region/CTU/CU/Subblock/Sample levels.
- Equation (5) may be solved using Wiener-Hopf equations as ALF.
- the derived filter coefficients are then quantized to integer type and signaled in the block level.
- the weighting factors may be derived at the encoder side and then signaled in the bitstream to the decoder. Denote the N prediction block candidates as P , P 2 ,..., PN and the current block as X, then the weighting factors may be solved by the following equation:
- Equation (6) may be solved using LDL decomposition or Gaussian elimination.
- the weighting factors are derived based on the templates and the derived weighting factors are applied to the prediction block candidates to generate the final prediction block.
- the templates of the prediction candidates as T- ⁇ , T 2 ,..., T N and the current block as T
- IBC mode exploits the nonlocal correlation to improve the prediction accuracy, in which similar blocks are searched and used to generate the final prediction block.
- N prediction block candidates are searched and identified as conducted in the IBC.
- the weighting factor is calculated as follows.
- Di is used to measure the distance between the template of the i-th prediction block candidate and the template of the current block
- h is used as the degree of weighting
- Z[i] is the normalization constant:
- the strength of weighting should be determined first.
- several methods are provided to decide the weighting strength.
- a weighting strength candidate list including some typical weighting strength values is defined and fixed at both encoder and decoder side.
- the weighting strength values are checked using rate distortion optimization and the optimal weighting strength value is identified and signaled in the bitstream to the decoder side.
- the weighting strength value is estimated using the template of the prediction block candidates and the template of the current block. Denote the templates of the prediction candidates as T- , T 2 ,..., T N and the current block as T. Then the weighting strength value can be solved using the following equation:
- the weighting strength value can be estimated using the QP value and variance of the template of the current block, i.e., the relationship between the weighting strength value, QP value and the template variance can be fitted offline.
- singular value decomposition (SVD) is utilized to generate the final prediction block from the prediction block candidates.
- W and H the width and height of the current block
- d H x W.
- Stepl K prediction block candidates y t are searched and identified as conducted in the FIBC.
- Step2 The K prediction block candidates of the current block y construct the block group G and are arranged as a matrix:
- Y G is a matrix with size of d x K by arranging every candidate in group G as a column vector.
- Step3. Perform SVD decomposition on the matrix Y G .
- Step4. Apply soft-thresholding operation on the singular value matrix A G .
- softThQ is a function which shrinks the diagonal elements of A G with the threshold T. For the k-th diagonal element in A G , it is shrunken by the nonlinear function D T(-k ) at level T(/C) :
- a G T is the matrix composed of the shrunken singular values, positions.
- Step5. Perform inverse SVD to obtain the filtered patch group.
- One of the key steps is to determine the thresholding values for each diagonal elements in step 4.
- the thresholding values are calculated as follows.
- the threshold is estimated for each group of image patches with the following equation:
- u n G is the standard deviation of noise
- a x>G>k is the standard deviation of the original block in the k-th dimension of SVD space for group G. The deviation of the original block in SVD space is estimated as follow.
- a G k is the k-th singular value of Y G
- ⁇ J x G k is zero
- the soft-thresholding operation is skipped.
- the deviation of noise is estimated with the deviation of the predicted block using a power function which is parameterized with a and fl.
- y k (i) represents the i-th pixel of prediction block candidate vector y k .
- the proposed multi-hypothesis IBC can be utilized as a replacement of the current IBC mode or the encoder can adaptively select IBC mode or multi-hypothesis IBC mode.
- the multi-hypothesis IBC may be used as a replacement of the current IBC mode, i.e., always using multiple hypothesis for prediction.
- one of the multi-hypothesis IBC methods in the above sections is used jointly with the current IBC mode.
- a flag is signaled in the bitstream to indicate whether multi-hypothesis IBC mode is applied to the CU.
- more than one multi-hypothesis IBC methods in the above sections are used jointly with the current IBC mode.
- a flag is firstly signaled in the bitstream to indicate whether multi-hypothesis IBC mode is applied.
- an index is signaled to indicate which of the multi-hypothesis IBC methods is applied to the CU.
- multi-hypothesis IBC method in the above sections is used jointly with the current IBC mode.
- the multi -hypothesis IBC may be used as a replacement of the current IBC mode according to certain coded information of the current block, e.g., SAD (sum of absolute difference), SSE (sum of square error), quantization parameter (QP) associated with the TB/CB and/or the slice, the neighbor prediction modes of the CU (e.g., IBC mode or intra or inter) and/or the slice type (e.g. I slice, P slice or B slice).
- the coding block coded with Intra TMP mode are combined with the coding block coded with intra mode or inter mode. Different methods may be used to achieve this goal.
- the decoder/encoder may combine the coding block coded with Intra TMP mode with the coding block coded with intra mode.
- Various methods may be utilized in this combination.
- the coding block coded with Intra TMP mode is regarded as the coding block coded with inter merge mode, and it is combined with the coding block coded with planar intra prediction mode.
- the coding block coded with Intra TMP mode is combined with the coding block coded with TIMD derived intra prediction mode.
- the weights can be decided refer to the weights design of the CUP technology in VVC or ECM, or the weights can also be designed based on template matching methods, where the sum of absolute difference (SAD), sum of square difference (SSD) or sum of absolute transformed difference (SATD) between the prediction and reconstruction samples of the current block template can be utilized to compute the weights for Intra TMP coded block and intra coded block.
- SAD sum of absolute difference
- SSD sum of square difference
- SATD sum of absolute transformed difference
- the weights for Intra TMP coded block and intra coded block can be decided as follows: For intra coded block, as shown in FIG.
- the SATD between the prediction and reconstruction samples of current block template is calculated as SATD intra , where the prediction samples of current block template are intra predicted using the reference samples of the template with the intra mode of current block.
- SATD IntraTMP the SATD between the prediction and reconstruction samples of current block template is calculated as SATD IntraTMP , where the prediction samples of current block template are predicted using the reference samples pointed by a block vector of the first block.
- both left and top template can be utilized if they are available, or only left template or only top template is utilized if it is available.
- the weights derived based on template matching methods can be compared with the weights derived refer to CIIP in ECM in a RDO process, which means a flag in coding block level needs to be transmitted into bit stream to signal which method is utilized; or the weights derived based on template matching methods can be used to replace total or partial of the weights derived refer to CIIP in ECM.
- the intra mode of current block is planar mode or DC mode
- the weights of intra coded block and IBC coded block are decided based on template matching methods; otherwise, the weights are decided refer to CIIP in ECM.
- the decoder/encoder may combine the coding block coded with Intra TMP mode with the coding block coded with inter mode.
- Various methods may be utilized in this combination.
- the coding block coded with Intra TMP mode is regarded as the coding block coded with planar intra mode, and it is combined with the coding block coded with inter merge mode.
- the coding block coded with Intra TMP mode is regarded as the coding block coded with inter merge mode, and it is combined with the coding block coded with inter merge mode by equally averaging.
- the decoder/encoder may combine the coding block coded with Intra TMP mode with the coding block coded with intra mode and the coding block coded with inter mode.
- Various methods may be utilized in this combination.
- the coding block coded with Intra TMP mode, the coding block coded with intra mode, and the coding block coded with inter mode are directly combined by equally averaging.
- the coding block coded with Intra TMP mode is separately combined with the coding block coded with intra mode and inter mode as presented in the first and second method. Then, the separate combined results are combined by equally averaging.
- the Intra TMP tool is combined with GPM tool in the form of GPM with Intra TMP and Intra TMP prediction. Different methods may be used to achieve this goal.
- both “inter” parts of GPM with inter and inter prediction method in VVC is replaced with Intra TMP. That means that two Intra TMP prediction results are weighted averaged with each other according to a splitting line in the coding block. The weight may be obtained referring to GPM with inter and inter prediction method in VVC.
- both “inter” parts of GPM with inter and inter prediction method in ECM is replaced with Intra TMP, where some template matching tools may be utilized to further improve the coding performance.
- the Intra TMP tool is combined with GPM tool in the form of GPM with Intra TMP and intra prediction. Different methods may be used to achieve this goal.
- the “inter” part of GPM with inter and intra prediction method in ECM is replaced with Intra TMP, where the Intra TMP predicted results are weighted averaged with the intra prediction results to obtain the final prediction signal.
- the Intra TMP tool is combined with GPM tool in the form of GPM with Intra TMP and inter prediction. Different methods may be used to achieve this goal.
- one “inter” part of GPM with inter and inter prediction method in VVC is replaced with Intra TMP, where the Intra TMP predicted results are weighted averaged with the inter merge prediction results to obtain the final prediction signal.
- one “inter” part of GPM with inter and inter prediction method in ECM is replaced with Intra TMP, where some template matching tools may be utilized to further improve the coding performance.
- the Intra TMP tool is combined with GPM tool in the form of simplified GPM with Intra TMP and intra prediction, such as Intra TMP and intra prediction is combined at a certain splitting mode, which may save the bits overhead of the splitting representation. Different methods may be used to achieve this goal.
- the upper left parts of the coding block is coded with intra prediction mode, and the bottom right parts of the coding block is coded with Intra TMP prediction mode, then they are averaged in GPM form to obtain the final prediction signal.
- the IBC tool is combined with TIMD tool. Different methods may be used to achieve this goal.
- the IBC mode is regarded as one intra prediction mode added in the MPM list, then the IBC mode is compared with other intra prediction modes in the MPM list using template matching cost, finally two modes with the minimum and second minimum costs are fused using TIMD method to obtain the final prediction result.
- the second method first the regular TIMD prediction result is obtained, then the template matching cost of the IBC mode and the regular TIMD prediction result are calculated, finally the IBC mode and the regular TIMD prediction result are fused using TIMD method to obtain the final prediction result.
- the Intra TMP tool is combined with TIMD tool. Different methods may be used to achieve this goal.
- the Intra TMP mode is regarded as one intra prediction mode added in the MPM list, then the Intra TMP mode is compared with other intra prediction modes in the MPM list using template matching cost, finally two modes with the minimum and second minimum costs are fused using TIMD method to obtain the final prediction result.
- the second method first the regular TIMD prediction result is obtained, then the template matching cost of the Intra TMP mode and the regular TIMD prediction result are calculated, finally the Intra TMP mode and the regular TIMD prediction result are fused using TIMD method to obtain the final prediction result.
- the Intra TMP tool is combined with LIC tool. Different methods may be used to achieve this goal.
- the Intra TMP mode is regarded as inter mode
- LIC is used to model local illumination variation between current block and its Intra TMP prediction block as a function of that between current block template and reference block template.
- the function is a linear equation as used in the regular LIC method.
- the IBC tool is combined with OBMC tool. Different methods may be used to achieve this goal.
- the IBC mode is regarded as inter mode
- the regular OBMC method is applied to refine the top and left boundary pixels of an IBC coded CU using neighboring block’s block vector information with a weighted prediction.
- the IBC mode is regarded as inter mode
- the template matching based OBMC method is applied to refine the top and left boundary pixels of an IBC coded CU using template matching based methods.
- neighboring block when combining IBC with OBMC, for a CU coded with IBC mode, when using regular OBMC method or template matching based OBMC method to refine the top and left boundary pixels of current CU using neighboring block’s shift information, neighboring block can be coded with IBC mode or Intra TMP mode.
- the Intra TMP tool is combined with OBMC tool. Different methods may be used to achieve this goal.
- the Intra TMP mode is regarded as inter mode
- the regular OBMC method is applied to refine the top and left boundary pixels of an Intra TMP coded CU using neighboring block’s block vector information with a weighted prediction.
- the Intra TMP mode is regarded as inter mode
- the template matching based OBMC method is applied to refine the top and left boundary pixels of an Intra TMP coded CU using template matching based methods.
- neighboring block when combining Intra TMP with OBMC, for a CU coded with Intra TMP mode, when using regular OBMC method or template matching based OBMC method to refine the top and left boundary pixels of current CU using neighboring block’s shift information, neighboring block can be coded with Intra TMP mode or IBC mode.
- the candidate derivation process for IBC merge mode or IBC AMVP mode is extended by using not only adjacent neighboring blocks but also non-adjacent neighboring blocks.
- the related contents are summarized as sections “Candidate scanning and candidate pruning”, “Candidate reordering” , “Motion information storage,” “Scope of application” and “application block size” and presented as follow:
- non-adjacent neighboring blocks are scanned and selected by following below methods:
- non-adjacent neighboring blocks may be scanned from left area and above area of the current coding block.
- the scanning distance may be defined as the number of coding blocks from the scanning position to the left side or top side of the current coding blocks.
- the distance shown in the FIG. 24 represents the number of coding blocks from each candidate position to the left side or top side of the current block.
- the area with "distance 2" on the left side of the current block indicates that the candidate neighboring blocks located in this area are 2 blocks away from the current block. Similar indications may be applied to other scanning areas with different distances.
- the non-adjacent neighboring blocks at each distance may have the same block size as the current coding block, as shown in the FIG. 25 A. Note that when the non-adjacent neighboring blocks at each distance have the same block size as the current coding block, the value of the block size is adaptively changed according to the partition granularity at each different area in an image.
- the non-adjacent neighboring blocks at each distance may have a different block size as the current coding block, as shown in the FIG. 25B. Note that when the non-adjacent neighboring blocks at each distance have a different block size as the current coding block, the value of the block size may be predefined as a constant value, such as 4x4, 8x8 or 16x16.
- the total size of the scanning area on either the left or above of the current coding clock may be determined by a configurable distance value.
- the maximum scanning distance on the left side and above side may use a same value or different values. For example, the maximum distance on both the left side and above side shares a same value of 2.
- the maximum scanning distance value(s) may be determined by the encoder side and signaled in a bitstream.
- the maximum scanning distance value(s) may be predefined as fixed value(s), such as the value of 2 or 4. When the maximum scanning distance is predefined as the value of 4, it indicates that the scanning process is terminated when the candidate list is full or all the non-adjacent neighboring blocks with at most distance 4 have been scanned, whichever comes first.
- the starting and ending neighboring blocks may be position dependent.
- the starting neighboring blocks may be the adjacent bottom -left block of the starting neighboring block of the adjacent scanning area with smaller distance.
- the starting neighboring block of the "distance 2" scanning area on the left side of the current block is the adjacent bottom-left neighboring block of the starting neighboring block of the "distance 1" scanning area.
- the ending neighboring blocks may be the adjacent left block of the ending neighboring block of the above scanning area with smaller distance.
- the ending neighboring block of the "distance 2" scanning area on the left side of the current block is the adjacent left neighboring block of the ending neighboring block of the "distance 1" scanning area above the current block.
- the starting neighboring blocks may be the adjacent top-right block of the starting neighboring block of the adjacent scanning area with smaller distance.
- the ending neighboring blocks may be the adjacent top-left block of the ending neighboring block of the adjacent scanning area with smaller distance.
- the sampling interval between the starting and ending neighboring blocks may be position dependent. In one or more embodiments, the sampling interval between the starting and ending neighboring blocks is smaller in a scanning area with smaller distance. For example, as shown in the FIG. 24, every neighboring block between the starting and ending neighboring blocks is scanned in the scanning area with “diatance 1”, every 2 neighboring block between the starting and ending neighboring blocks is scanned in the scanning area with “diatance 2”. In one or more embodiments, the sampling interval between the starting and ending neighboring blocks may be same or different for different side scanning areas at a specific distance. For example, the sampling interval between the starting and ending neighboring blocks is same for left and above side scanning areas at a specific distance.
- the left area may be scanned first, and then followed by scanning the above areas.
- three lines of non-adjacent areas e.g., from distance 1 to distance 3
- three lines of non-adjacent areas e.g., from distance 1 to distance 3
- three lines of non-adjacent areas e.g., from distance 1 to distance 3
- the left areas and above areas may be scanned alternatively. For example, as shown in the FIG. 24, the left scanning area with “distance 1 " is scanned first, then followed by the scanning the above area with "distance 1".
- the scanning order is from the areas with small distance to the areas with large distance. This order may be flexibly combined with other embodiments of scanning order. For example, the left and above areas may be scanned alternatively, and the order for same side areas is scheduled to be from small distance to large distance.
- a scanning order may be defined.
- the scanning may be started from the bottom neighboring block to the top neighboring block.
- the scanning may be started from the right block to the left block.
- the non-adjacent areas along one direction may be scanned first, and then followed by scanning non-adjacent areas along other directions.
- a scanning order may be defined.
- the scanning may be started from smaller distance to larger distance.
- the non-adjacent areas along different directions may be scanned alternatively. For example, as shown in the FIGS. 26-27, the non-adjacent areas with smaller distance along direction with degree value 225 of angle is scanned first, then the non-adjacent areas with smaller distance along direction with degree value 45, 90, 180, 135 of angles are scanned successively. After that, the non-adjacent areas with larger distance along direction with degree value 225 of angle is scanned, followed by the non-adjacent areas with larger distance along direction with degree value 45, 90, 180, 135 of angles.
- a total of 18 blocks are scanned, as shown in FIG. 26, where scanned blocks are indicated by a boxed integer n, where n is in the range from 1 to 18, inclusive, and where n represents the scanning order.
- a total of 48 blocks are scanned, as shown in FIG. 27, where scanned blocks are indicated by a boxed integer n, where n is in the range from 1 to 48, and where n represents the scanning order, inclusive; in these examples, degree values of270, 0, 247.5, 22.5, 202.5, 67.5, 157.5, and 112.5 may be additionally used for determining the scanning order.
- the neighboring blocks coded with IBC mode or Intra TMP mode are defined as qualified candidates.
- the scanning process may be performed interactively. For example, the scanning performed in a specific area at a specific distance may be stopped at the instance when first X qualified candidates are identified, where X is a predefined positive value. For example, as shown in the FIG. 24, the scanning in the left scanning area with distance 1 may be stopped when the first one or more qualified candidates are identified. Then the next iteration of scanning process is started by targeting at another scanning area, which is regulated by a pre-defined scanning order/rule.
- the X may be defined for each distance. For example, at each distance, X is set to be 1, which means the scanning is terminated for each distance if the first qualified candidate is found and the scanning process is restarted from a different distance of the same area or the same or different distance of a different area. Note that the value of X may be set as the same value or different values for different distances. If the maximum number of qualified candidates are found from all allowable distances (e.g., regulated by a maximum distance) of an area, the scanning process for one area is completely terminated.
- allowable distances e.g., regulated by a maximum distance
- the X may be defined for an area.
- X is set to be 3, which means the scanning is terminated for the whole area (e.g., left or above area of the current block) if the first 3 qualified candidates are found and the scanning process is restarted from the same or different distance of another area.
- the value of X may be set as the same value or different values for different areas. If the maximum number of qualified candidates are found from all areas, the whole scanning process is completely terminated.
- the values of X may be defined for both distance and areas. For example, for each area (e.g., left or above area of the current block), X is set to 3, and for each distance, X is set to 1. The values of X may be set as the same value or different values for different areas and distances.
- the scanning process may be performed continuously. For example, the scanning performed in a specific area at a specific distance may be stopped at the instance when all covered neighboring blocks are scanned and no more qualified candidates are identified or the maximum allowable number of candidates is reached.
- the maximum allowable number of candidates can be set according to different methods. In one example, the maximum allowable number of candidates are set to a predefined value, where the predefined value may be set to the maximum allowable size of IBC merge candidate list (equal to 28 in ECM), or the maximum allowable size of IBC merge candidate list minus 1, or other values. In another example, the maximum allowable number of candidates may be set to different values depending on the coding condition, and this value is transmitted into bit stream.
- each candidate non-adjacent neighboring block is determined and scanned by following the above proposed scanning methods.
- each candidate non-adjacent neighboring block may be indicated or located by a specific scanning position. For example, bottom-right positions are used for both above and left non-adjacent neighboring blocks.
- this candidate may go through a similarity check against all existing candidates that are already in the candidate list.
- the details of similarity check can refer to the similarity check rules already existed in current IBC candidates derivation. If the newly qualified candidate is found to be similar with any existing candidate in the candidate list, this newly qualified candidate is removed/pruned.
- above candidate scanning and candidate pruning process may be same or different for IBC AMVP and merge candidates derivation.
- the candidate scanning and pruning process presented in FIG. 26 may be used for both IBC AMVP and merge candidates derivation.
- the candidate scanning and pruning process presented in FIG. 26 may be used for IBC AMVP candidates derivation
- the candidate scanning and pruning process presented in FIG. 27 may be used for IBC merge candidates derivation.
- the candidate scanning and pruning process presented in FIG. 26 may be used for IBC AMVP candidates derivation
- the candidate scanning and pruning process presented in FIG. 41 may be used for IBC merge candidates derivation.
- the candidate scanning and pruning process presented in FIG. 41 may be used for IBC merge candidates derivation.
- the candidate scanning and pruning process presented in FIG. 26 may be used for IBC AMVP candidates derivation
- the candidate scanning and pruning process presented in FIG. 45 may be used for IBC merge candidates derivation.
- the candidate scanning and pruning process presented in FIG. 46 may be used for IBC AMVP candidates derivation
- the candidate scanning and pruning process presented in FIG. 41 may be used for IBC merge candidates derivation.
- the candidate scanning and pruning process presented in FIG. 47 may be used for IBC AMVP candidates derivation
- the candidate scanning and pruning process presented in FIG. 26 may be used for IBC AMVP candidates derivation
- the candidate scanning and pruning process presented in FIG. 48 may be used for IBC merge candidates derivation.
- the candidate scanning and pruning process presented in FIG. 26 may be used for IBC AMVP candidates derivation
- the candidate scanning and pruning process presented in FIG. 49 may be used for IBC merge candidates derivation.
- the candidate scanning and pruning process presented in FIG. 41 may be used for both IBC AMVP and merge candidates derivation.
- FIG. 26, FIG. 27, FIG. 41, FIG. 44, FIG. 45, FIG. 46, FIG. 47, FIG. 48 and FIG. 49 present the examples of scanning area, scanning distance, and scanning order information.
- scanning termination in one example, the scanning performed in a specific area at a specific distance is stopped at the instance when all covered neighboring blocks are scanned and no more qualified candidates are identified or the maximum allowable number of IBC merge candidates is reached. In another example, the scanning performed in a specific area at a specific distance is stopped at the instance when all covered neighboring blocks are scanned and no more qualified candidates are identified or the maximum allowable number of IBC merge candidates minus 1 is reached.
- the non-adjacent neighboring blocks at each distance have the same block size as the current coding block in FIG. 26, FIG. 41 and FIG. 44, the maximum scanning distance on the left side and above side is set to 4 (the adjacent neighboring blocks is not counted) in FIG. 26 and FIG. 44, and the maximum scanning distance on the left side and above side is set to 7 (the adjacent neighboring blocks is not counted) in FIG. 41, bottom-right scanning positions are used for the non-adjacent neighboring blocks along bottom left, above right and above left direction in FIG. 26, FIG. 41 and FIG.
- the bottom -middle (with the horizontal index equal to half of the block width, the vertical index equal to the vertial index of the non-adjacent neighboring block along above right direction in the same scanning distance) scanning positions are used for the non-adjacent neighboring blocks along above direction in FIG. 26, FIG. 41 and FIG. 44
- the middle-right (with the vertical index equal to half of the block height, the horizontal index equal to the horizontal index of the non-adjacent neighboring block along bottom left direction in the same scanning distance) scanning positions are used for the non- adjacent neighboring blocks along left direction in FIG. 26, FIG. 41 and FIG. 44.
- all non- adjacent spatial candidates may be grouped as a whole to insert to different positions of the IBC candidate list, or non-adjacent spatial candidates may be divided into several subgroups and each subgroup is inserted into different postions of the IBC candidate list.
- the non-adjacent spatial candidates may be inserted into the IBC candidate list by following the order below:
- the non-adjacent spatial candidates may be inserted into the IBC candidate list by following the order below:
- the non-adjacent spatial candidates may be inserted into the IBC candidate list by following the order below:
- the value of X may be the same as the value of Y.
- the value of X may be different from the value of Y.
- the order of the above different categories of candidates may be designed in different methods below:
- the order of the candidates remains the same as the above insertion order.
- An adaptive reordering method may be applied to reorder the candidates afterwards; the adaptive reordering method may be template matching based methods (ARMC).
- an adaptive reordering method before inserting the non-adjacent spatial candidates into IBC candidate list, an adaptive reordering method may be first applied to the derived non- adjacent spatial candidates (the adaptive reordering method may be template matching based methods (ARMC)), then the first X candidates may be inserted into the IBC candidate list based on above inserting methods.
- a signaled value sequence/slice/block/CTU level signaled parameters
- the reordering methods may be selected and applied according to different factors: In one or more embodiments, the reordering methods may be selected based on the types of the video frames/slices. For example, for low-delay pictures or slices, all the nonadj acent spatial candidates may be placed after all the adjacent spatial candidates. While for non-low-delay pictures or slices, the first X non-adj acent spatial candidates may be placed after the adjacent spatial candidates, and the remaining non-adj acent spatial candidates may be placed after the history -based BVP candidates.
- above candidate reordering process may be same or different for IBC AMVP and merge candidate list derivation.
- all the non-adj acent spatial candidates are placed after all the adjacent spatial candidates.
- all the non- adj acent spatial candidates are placed after all the adjacent spatial candidates;
- the first X non-adj acent spatial candidates may be placed after the adjacent spatial candidates, and the remaining non-adj acent spatial candidates may be placed after the history-based BVP candidates.
- the selected non-adj acent spatial neighbors may be IBC coded blocks or Intra TMP coded blocks.
- the motion information may include translational BVs.
- the motion information of these blocks may need to be saved in a memory once these blocks have been coded.
- the non-adj acent spatial neighbors may be restricted to a certain area.
- the allowed non-adj acent area for scanning non-adj acent spatial neighboring blocks may be restricted to a limited area size.
- the restricted area may be applied to IBC or Intra TMP spatial neighboring blocks.
- the size of the allowed non-adj area may be defined according to the size of current coding tree unit (CTU), e.g., integer (e.g., 1 or 2 or other integer) or fractional number (e.g.. 0.5 or 0.25 or other fractional number) of current CTU size.
- CTU current coding tree unit
- the size of the allowed non-adj area may be defined according to a fixed number of pixels or samples, e.g., 128 samples on the above of the current CTU or/and on the left of the current CTU.
- the size (e.g., according to the CTU size or number of samples) may be a prefixed value or a signaled value determined at the encoder and carried in the bit-stream.
- the size of the restricted area may be separately defined for top and left non-adjacent neighboring blocks.
- non-adjacent neighboring blocks may be non-adjacent spatial neighbors
- top non-adjacent neighboring blocks may be top non-adjacent spatial neighbors
- left non-adjacent neighboring blocks may be left non-adjacent spatial neighbors.
- the above non-adjacent neighboring blocks may be restricted to be within the current CTU, or outside of the current CTU but within at most fixed number samples/pixels away from the top of the current CTU such that no additional line buffer is needed for saving the motion information of above non-adjacent neighboring blocks.
- the fixed number may be defined as 8, if 8 sample rows of neighboring area away from the current CTU top is already covered by the existing line buffer.
- the left non-adjacent neighboring blocks may be restricted to be within the current CTU, or outside of the current CTU but within a predefined or a signaled number of samples/pixels away from the left boundary of the current CTU.
- the allowed non-adjacent area (for either non-adjacent IBC neighbors or Intra TMP neighbors) above the current CU may have large memory cost if the allowed non-adjacent area is beyond the current CTU. In this case, the actual memory cost is proportionally increased with the picture width and the maximum allowable scanning distance in the vertical direction.
- the height of the above non-adjacent area outside of the current CTU may be limited to a value of h (as shown in FIG. 29 A). Note that this value of h may be configurable or signaled to decoder.
- the line buffer used to store IBC motion may indicate that the buffer area where the CU B is located is set to be invalid since CU B is not IBC CU.
- the line buffer used to store IBC motion may indicate that the buffer area where the CU B is located is set to be valid and the IBC motion is copied from CU A, since CU Ais CU B’s adjacent IBC neighbor.
- the height value h and width value w may be set to be multiples of 4 for easier implementation.
- the value h and w may be set to be the minimum value (e.g., 4) of an IBC CU.
- the allowed non-adjacent area for scanning non-adjacent spatial neighboring blocks is restricted to a limited area size, such as the examples in FIG. 28 and 29, the scanned non-adjacent neighbor position may be out of the allowed non-adjacent area. In this case, different methods may be used to solve this issue:
- the scanning process may indicate that this scanned position has no valid neighbor information.
- the scanning process may project or clip this out-of-range position to another position which is within the allowed non-adjacent area.
- there are two positions i.e., the two spots 3001 out of the range of the allowable non- adjacent area. These two positions are projected/clipped to another two positions which are at the same vertical/horizontal coordinate but within the allowable non-adjacent area, respectively.
- the projected/clipped new position may be located on the boundary of the allowable non- adjacent area which is closest to the original position.
- the projected/clipped new position may be interchangeably set to be on the one boundary or the other boundary because the buffer is so small that the motion information from only one CU may be stored and in this case there is no difference to be clipped to one boundary side or the other side.
- the allowed non-adjacent spatial area may include three regions. As shown in FIG. 31, the three regions are the spatial areas located on the top-left, left, and above area outside of the current CTU and adjacent to the current CTU.
- the height of the top-left region and above region in the allowed non-adjacent spatial area is defined as h, while the width may depend on the picture width.
- the width of the left allowed non-adjacent spatial area is defined as w, while the height is equal to the height of the current CTU.
- w the height of the current CTU.
- the projected/clipped new position (one of the spots 3002 corresponding to the one of the spots 3001 by the dotted arrow in FIG. 31) may be defined in different ways.
- the projected/clipped new position is always the pixel position adjacent to the top-left position of the current CTU. For example, if the top-left position of the current CTU is (ctu x, ctu_y), the projected/clipped new position is (ctu x - 1, ctu_y - 1).
- the projected/clipped new position has the same horizontal coordinate, but the vertical coordinate becomes (ctu_y - 1).
- the projected/clipped new position has the same vertical coordinate, but the horizontal coordinate becomes (ctu x - 1).
- the motion information of an IBC-coded block may be saved at the granularity of minimum IBC block size (e.g., an 4x4 block).
- minimum IBC block size e.g., an 4x4 block
- the motion information may be saved in different methods.
- the motion information saved at each minimum IBC block (e.g. 4x4 block) within the current block is just a repeated copy of the motion information of the current block.
- each 8x8 block may only save one set of IBC motion information, which represents one single IBC model, even though the four 4x4 sub-blocks within this 8x8 block may be from more than one IBC blocks, which is shown in the FIG. 32.
- the four 4x4 sub-blocks A, B, C and D form an 8x8 block/area, and only one IBC model information is saved.
- the four 4x4 sub-blocks are from four different IBC blocks, which represent four IBC models and include four sets of IBC motion information. In this case, there may be different ways to derive and save one single set of IBC information:
- one of the multiple sets of available IBC motion information may be selected and saved.
- the IBC motion information at one fixed or configurable position e.g., the top-left minimum IBC block
- an averaged IBC motion information of multiple models may be calculated for motion storage.
- the IBC motion information at a selected neighboring IBC block may be simplified/compressed before storage.
- each saved BV may be compressed before storage to further reduce the memory size.
- One example is to use general techniques for data compression. For example, it is provided to save a compounded value from one exponent and mantissa to approximately represent each saved BV.
- the above provided methods in sections “Candidate scanning and candidate pruning”, “Candidate reordering” and “Motion information storage” mainly aim to derive spatial nonadj acent candidates for IBC AMVP or merge mode.
- the temporal candidates can also utilize the non-adj acent neighboring blocks in the collocated pictures. Different from spatial non-adj acent candidates which are mainly extracted from left and above areas of current block, the temporal non- adj acent candidates may be extracted from left, above, right, below and collocated areas of current block.
- spatial adjacent candidates are applied to the coding block whose area is bigger than 16
- spatial non-adj acent candidates are applied to all the coding block sizes.
- spatial non-adj acent candidates are applied to the coding block whose area is bigger than 16.
- the spatial non-adj acent candidates are derived according to the candidate scanning and pruning process presented in FIG. 26 for IBC AMVP mode and IBC merge mode.
- the spatial non-adj acent candidates are derived according to the candidate scanning and pruning process presented in FIG.
- the scanning performed in a specific area at a specific distance is stopped at the instance when all covered neighboring blocks are scanned and no more qualified candidates are identified or the maximum allowable number of IBC merge candidates is reached.
- the scanning performed in a specific area at a specific distance is stopped at the instance when all covered neighboring blocks are scanned and no more qualified candidates are identified or the maximum allowable number of IBC merge candidates minus 1 is reached.
- the IBC mode is extended to sub-block level, where a sub-block in current block may have its own BV to do motion compensation.
- Different example methods may be used to achieve this goal.
- the BV of the sub-block in current block is obtained by reusing the BV of the sub-block of the collocated block in the collocated picture. If the B V of one sub-block in the collocated block can not be obtained, such as the subblock is intra coded, the BV of the sub-block can be set to the BV of the collocated block. Besides the collocated block in the collocated picture, the block in other postions can also be utilized to obtain the sub-block level B V, where other postions can be obtained refer to temporal non-adjacent candidates. In addition, the BV of the sub-block of the collcated block or other postions in the collocated picture can be refined with template matching methods.
- the BV of the left or above subblock in current block is obtained by refining the BV of current block with template matching methods.
- the BV of current block may be obtained by regular IBC mode, TM IBC mode or other modes.
- For the left sub-block in current block only left template can be utilized to refine the BV of the sub-block.
- For the above sub-block in current block only above template can be utilized to refine the BV of the sub-block.
- both left and above templates can be utilized to refine the BV of the sub-block.
- the template pattern for TM IBC mode and TM regular mode is extended by importing more kinds of templates. Different methods may be used to achieve this goal.
- deblocking filter treats the block coded with IBC mode and the block coded with Intra TMP mode equally when obtaining the boundary strength. Different methods may be used to achieve this goal.
- the block coded with IBC mode and the block coded with Intra TMP mode are both regarded as the block coded with intra mode when obtaining the boundary strength for deblocking filter. Then, the boundary strength decision criteria for the block coded with intra mode can be applied to the block coded with IBC mode and the block coded with Intra TMP mode. For example, if two neigboring blocks are both coded with IBC mode or Intra TMP mode, or one of two neighboring blocks is coded with IBC mode or Intra TMP mode, the boundary strength is set to a predetermined positive integer, for example, 2.
- the block coded with IBC mode and the block coded with Intra TMP mode are both regarded as the block coded with inter mode when obtaining the boundary strength for deblocking filter. Then, the boundary strength decision criteria for the block coded with inter mode can be applied to the block coded with IBC mode and the block coded with Intra TMP mode.
- the boundary strength is set to a predetermined positive integer, for example, 1. In another example, if the difference of the two block vectors of the two neighboring blocks is bigger, then the boundary strength is set to larger value.
- the block coded with IBC mode or the block coded with Intra TMP mode is combined with an intra tool, such as combining IBC with intra prediction, GPM with IBC and intra prediction, combining Intra TMP with intra prediction, GPM with Intra TMP and intra prediction, and son on, the block is regarded as the block coded with intra mode when obtaining the boundary strength for deblocking filter.
- an intra tool such as combining IBC with intra prediction, GPM with IBC and intra prediction, combining Intra TMP with intra prediction, GPM with Intra TMP and intra prediction, and son on
- the block coded with IBC mode or the block coded with Intra TMP mode is combined with an inter tool, such as combining IBC with inter prediction, GPM with IBC and inter prediction, combining Intra TMP with inter prediction, GPM with Intra TMP and inter prediction, and son on, the block is regarded as the block coded with inter mode when obtaining the boundary strength for deblocking filter.
- an inter tool such as combining IBC with inter prediction, GPM with IBC and inter prediction, combining Intra TMP with inter prediction, GPM with Intra TMP and inter prediction, and son on
- the IBC tool is combined with Intra TMP tool. Different methods may be used to achieve this goal.
- the IBC tool is combined with Intra TMP tool in the form of GPM with IBC and Intra TMP prediction.
- both “inter” parts of GPM with inter and inter prediction method in VVC is replaced with IBC and Intra TMP prediction, respectively. That means that the IBC prediction result and Intra TMP prediction result are weighted averaged with each other according to a splitting line in the coding block. The weight may be obtained referring to GPM with inter and inter prediction method in VVC.
- both “inter” parts of GPM with inter and inter prediction method in ECM is replaced with IBC and Intra TMP prediction, where some template matching tools may be utilized to further improve the coding performance.
- the IBC tool is combined with Intra TMP tool in the form of CUP with IBC and Intra TMP prediction.
- fixed weight is utilized for weighting IBC prediction result and Intra TMP prediction result, where the specific weight value depends on the coding modes of neighboring blocks.
- the fixed weight value is obtained based on template matching methods.
- template matching (TM) based methods are used to reordering the MMVD candidates of GPM with MMVD mode. Different methods may be used to achieve this goal.
- one kind of template is utilized to reorder the MMVD candidates of different parts of the GPM partitions for different split modes. After reordering, an index is signalled to represent the chosen MMVD candidate for a part of GPM partition.
- the IBC/regular inter/affine inter HMVP candidates are utilized based on the relative position of the HMVP candidate to the current block. Different methods may be used to achieve this goal.
- the IBC/regular inter/affme inter HMVP candidates are first divided into several groups according to the distance between the central position of the HMVP candidate and central postion of current block. For example, with some predefined thresholds T , T 2 , ... , T N , the HMVP candidates with distance less than 7 ⁇ are divided into group 1, the HMVP candidates with distance equal to or bigger than 7 ⁇ but less than T 2 are divided into group 2, . . . , the HMVP candidates with distance equal to or bigger than but less than T N are divided into group N.
- the specific vaule of the predefined thresholds can be set with different methods.
- 7 ⁇ is set to the max value of the height and width of current block.
- T 2 is set to 2 times of T
- T N is set to N times of 7 ⁇ .
- the predefined scanning order can be defined in different methods, for example, the HMVP candidates in every divided group are scanned in the following order: left direction, above direction, bottom left direction, above right direction, above left direction.
- the value of M t can be set same in all divided groups, or different in different divided groups.
- the chosen candidates in every divided groups are added into IBC/regular inter/affme inter candidate list in the order from the smaller distance to the bigger distance.
- the first M t valid candidates in evry divided group are chosen based on template matching methods. Specifically, the HMVP candidates in every divided group are reordered based on template matching methods, then the first M t valid candidates with minimum template matching costs are chosen. Finally, the chosen candidates in every divided groups are added into IBC/regular inter/affme inter candidate list in the order from the smaller distance to the bigger distance.
- the number of the HMVP candidates may be further enlarged. Different methods may be used to achieve this goal. In one example, same to the original design in VVC or ECM, there is only one HMVP table to save the HMVP candidates, but the size of the HMVP table is further enlarged. In another example, there are several HMVP tables to save the HMVP candidates, different HMVP tables may be assigned for different CTUs, or different HMVP tables may be assigned for different areas of the coding picture.
- HMVP table size may be set to a same number for different HMVP tables, or different numbers for different HMVP tables.
- the coding block coded with both IBC mode or Intra TMP mode may be added to IBC HMVP table, or only the coding block coded with IBC mode may be added into the IBC HMVP table.
- the coding block with all block sizes may be added into IBC HMVP table, or only the coding block whose area is bigger than 16 may be added into the IBC HMVP table.
- the intra prediction mode which the block vector of IBC or Intra TMP points to is used to construct the intra MPM list of the current block. Different methods may be used to achieve this goal.
- a first method when the current block is coded with regular intra mode, multiple reference line intra mode, GPM with inter and intra mode, spatial GPM mode, or GPM with IBC and intra mode, to construct the intra MPM list of the current block, when one neighboring block is IBC coded or Intra TMP coded, the intra prediction mode which the block vector of IBC or Intra TMP points to is used, rather than setting the Intra prediction mode of the IBC or Intra TMP coded block to planar mode.
- FIG. 35 shows a computing environment (or a computing device) 1610 coupled with a user interface 1650.
- the computing environment 1610 may be part of a data processing server.
- the computing device 1610 can perform any of various methods or processes (such as encoding/decoding methods or processes) as described hereinbefore in accordance with various examples of the present disclosure.
- the computing environment 1610 includes a processor 1620, a memory 1630, and an Input/Output (VO) interface 1640.
- VO Input/Output
- the processor 1620 typically controls overall operations of the computing environment 1610, such as the operations associated with display, data acquisition, data communications, and image processing.
- the processor 1620 may include one or more processors to execute instructions to perform all or some of the steps in the above-described methods.
- the processor 1620 may include one or more modules that facilitate the interaction between the processor 1620 and other components.
- the processor may be a Central Processing Unit (CPU), a microprocessor, a single chip machine, a Graphical Processing Unit (GPU), or the like.
- the memory 1630 is configured to store various types of data to support the operation of the computing environment 1610.
- the memory 1630 may include predetermined software 1632. Examples of such data includes instructions for any applications or methods operated on the computing environment 1610, video datasets, image data, etc.
- the memory 1630 may be implemented by using any type of volatile or non-volatile memory devices, or a combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM), a Read-Only Memory (ROM), a magnetic memory, a flash memory, a magnetic or optical disk.
- SRAM Static Random Access Memory
- EEPROM Electrically Erasable Programmable Read-Only Memory
- EPROM Erasable Programmable Read-Only Memory
- PROM Programmable Read-Only Memory
- ROM Read-Only Memory
- magnetic memory a magnetic memory
- the I/O interface 1640 provides an interface between the processor 1620 and peripheral interface modules, such as a keyboard, a click wheel, buttons, and the like.
- the buttons may include but are not limited to, a home button, a start scan button, and a stop scan button.
- the I/O interface 1640 can be coupled with an encoder and decoder.
- FIG. 50 is a flowchart illustrating a method for video decoding according to an example of the present disclosure.
- the processor 1620 may, at the side of a decoder, obtain a current block coded with Geometric Partition Mode (GPM).
- GPS Geometric Partition Mode
- the processor 1620 may, at the side of the decoder, obtain a first Intra Block Copy (IBC) prediction and a second IBC prediction based on partitions using GPM for the current block.
- IBC Intra Block Copy
- the processor 1620 may, at the side of the decoder, receive coding modes of the current block.
- coding modes are related to or represented by syntax elements.
- the processor 1620 may, at the side of the decoder, obtain a final prediction for the current CU using the first IBC prediction, the second IBC prediction, and the coding modes of the current block.
- the current block includes a first GPM split partition and a second GPM split partition
- the processor 1620 may, at the side of the decoder, obtain the first IBC prediction corresponding to the first GPM split partition, and obtain the second IBC prediction corresponding to the second GPM split partition.
- the coding modes of the current block comprise an IBC local illumination compensation (IBC-LIC) flag of the current block or a Reconstruction-Reordered IBC (RR-IBC) type of the current block; and in Step 5030, the processor 1620 may, at the side of the decoder, receive the coding modes of the current block as one of following: first coding modes of the first GPM split partition, or second coding modes of the second GPM split partition, or default values.
- IBC-LIC IBC local illumination compensation
- RR-IBC Reconstruction-Reordered IBC
- a merge index of the current block is set to be a first merge index of the first GPM split partition, and in Step 5030, the processor 1620 may, at the side of the decoder, receive the coding modes of the current block as the first coding modes of the first GPM split partition.
- a merge index of the current block is set to be a second merge index of the second GPM split partition, and in Step 5030, the processor 1620 may, at the side of the decoder, receive the coding modes of the current block as the second coding modes of the second GPM split partition.
- the processor 1620 may, at the side of the decoder, receive the IBC-LIC flag of the current block as a first constant, or receive the RR- IBC type of the current block as a second constant.
- the first constant may be false; in one or more examples, the second constant may be 0.
- FIG. 51 is a flowchart illustrating a method for video encoding corresponding to the method for video decoding as shown in FIG. 50.
- the processor 1620 may, at the side of an encoder, obtain a current block coded with Geometric Partition Mode (GPM).
- GPS Geometric Partition Mode
- the processor 1620 may, at the side of the encoder, obtain a first Intra Block Copy (IBC) prediction and a second IBC prediction based on partitions using GPM for the current block.
- IBC Intra Block Copy
- the processor 1620 may, at the side of the encoder, set coding modes of the current block.
- coding modes are related to or represented by syntax elements.
- the processor 1620 may, at the side of the encoder, obtain a final prediction for the current CU using the first IBC prediction, the second IBC prediction, and the coding modes of the current block.
- the processor 1620 may, at the side of the encoder, generate a bitstream based on the final prediction.
- the current block includes a first GPM split partition and a second GPM split partition
- the processor 1620 may, at the side of the encoder, obtain the first IBC prediction corresponding to the first GPM split partition, and obtain the second IBC prediction corresponding to the second GPM split partition.
- a merge index of the current block is set to be a first merge index of the first GPM split partition, and in Step 5130, the processor 1620 may, at the side of the encoder, set the coding modes of the current block to be the first coding modes of the first GPM split partition. In one or more examples, a merge index of the current block is set to be a second merge index of the second GPM split partition, and in Step 5130, the processor 1620 may, at the side of the encoder, set the coding modes of the current block to be the second coding modes of the second GPM split partition.
- FIG. 52 is a flowchart illustrating a method for video decoding according to an example of the present disclosure.
- the processor 1620 may, at the side of a decoder and for applying an intrablock copy (IBC) merge mode or an IBC Adaptive Motion Vector Prediction (AMVP) mode to a current block, obtain IBC candidates from non-adjacent neighboring blocks according to a scanning rule corresponding to the IBC merge mode or the IBC AMVP mode, where the non- adjacent neighboring blocks have distances from the current block by at least one block and are positioned in a plurality of directions relative to the current block, and the scanning rule is obtained based on the distances and the directions.
- IBC intrablock copy
- AMVP IBC Adaptive Motion Vector Prediction
- the processor 1620 may, at the side of the decoder, obtain a prediction for the current block by applying the IBC merge mode or the IBC AMVP mode based on the IBC candidates.
- the IBC candidates are IBC merge candidates; in response to determining to apply the IBC AMVP mode to the current block, the IBC candidates are IBC AMVP candidates; and the scanning rule includes: determining a plurality of scanning areas according to a range of scanning distances indicating a range of numbers of blocks away from a side of the current block, and determining a plurality of scanning positions in each of the plurality of scanning areas according to the plurality of directions relative to the current block, the plurality of directions being measured by a plurality of angles relative to a horizontal right direction of the current block.
- the range of scanning distances is from 1 to 7, or from 1 to 4, or from 1 to 3, or from 1 to 2; and the plurality of angles relative to the horizontal right direction of the current block includes 5 angles each being a multiple of 45 degrees, or 9 angles each being a multiple of 22.5 degrees, or 13 angles each being a multiple of 22.5 degrees.
- the processor 1620 may, to determine the plurality of scanning areas according to the range of scanning distances and to determine the plurality of scanning positions in each of the plurality of scanning areas according to the plurality of directions relative to the current block, determine the range of scanning distances to be from 1 to 4, and determine the plurality of angles to comprise 5 angles each being a multiple of 45 degrees.
- the processor 1620 may, to determine the plurality of scanning areas according to the range of scanning distances and to determine the plurality of scanning positions in each of the plurality of scanning areas according to the plurality of directions relative to the current block, determine the range of scanning distances to be from 1 to 2, and determine the plurality of angles to comprise 5 angles each being a multiple of 45 degrees.
- the processor 1620 may, to determine the plurality of scanning areas according to the range of scanning distances and to determine the plurality of scanning positions in each of the plurality of scanning areas according to the plurality of directions relative to the current block, determine the range of scanning distances to be from 1 to 7, and determine the plurality of angles to comprise 5 angles each being a multiple of 45 degrees.
- the processor 1620 may, to determine the plurality of scanning areas according to the range of scanning distances and to determine the plurality of scanning positions in each of the plurality of scanning areas according to the plurality of directions relative to the current block, determine the range of scanning distances to be from 1 to 7, and determining the plurality of angles to comprise 5 angles each being a multiple of 45 degrees; where, in response to determining to apply the IBC merge mode to the current block and determining that an angle relative to the horizontal right direction of the current block is 90 degrees or 180 degrees in a scanning area, the scanning rule further includes: determining a minimum scanning distance to be 2 for the scanning area.
- the processor 1620 may, to determine the plurality of scanning areas according to the range of scanning distances and to determine the plurality of scanning positions in each of the plurality of scanning areas according to the plurality of directions relative to the current block, determine the range of scanning distances to be from 1 to 7, and determine the plurality of angles to comprise 9 angles each being a multiple of 22.5 degrees.
- FIG. 53 is a flowchart illustrating a method for video encoding corresponding to the method for video decoding as shown in FIG. 52.
- the processor 1620 may, at the side of an encoder and for applying an intra-block copy (IBC) merge mode or an IBC Adaptive Motion Vector Prediction (AMVP) mode to a current block, obtain IBC candidates from non-adjacent neighboring blocks according to a scanning rule corresponding to the IBC merge mode or the IBC AMVP mode, where the non-adjacent neighboring blocks have distances from the current block by at least one block and are positioned in a plurality of directions relative to the current block, and the scanning rule is obtained based on the distances and the directions.
- IBC intra-block copy
- AMVP IBC Adaptive Motion Vector Prediction
- the processor 1620 may, at the side of the encoder, obtain a prediction for the current block by applying the IBC merge mode or the IBC AMVP mode based on the IBC candidates.
- the processor 1620 may, at the side of the encoder, generate a bitstream based on the prediction.
- the IBC candidates are IBC merge candidates; in response to determining to apply the IBC AMVP mode to the current block, the IBC candidates are IBC AMVP candidates; and the scanning rule includes: determining a plurality of scanning areas according to a range of scanning distances indicating a range of numbers of blocks away from a side of the current block, and determining a plurality of scanning positions in each of the plurality of scanning areas according to the plurality of directions relative to the current block, the plurality of directions being measured by a plurality of angles relative to a horizontal right direction of the current block.
- Ill of the current block includes 5 angles each being a multiple of 45 degrees, or 9 angles each being a multiple of 22.5 degrees, or 13 angles each being a multiple of 22.5 degrees.
- the processor 1620 may, to determine the plurality of scanning areas according to the range of scanning distances and to determine the plurality of scanning positions in each of the plurality of scanning areas according to the plurality of directions relative to the current block, determine the range of scanning distances to be from 1 to 7, and determine the plurality of angles to comprise 5 angles each being a multiple of 45 degrees.
- the processor 1620 may, to determine the plurality of scanning areas according to the range of scanning distances and to determine the plurality of scanning positions in each of the plurality of scanning areas according to the plurality of directions relative to the current block, determine the range of scanning distances to be from 1 to 4, and determine the plurality of angles to comprise 5 angles each being a multiple of 45 degrees.
- the processor 1620 may, to determine the plurality of scanning areas according to the range of scanning distances and to determine the plurality of scanning positions in each of the plurality of scanning areas according to the plurality of directions relative to the current block, determine the range of scanning distances to be from 1 to 3, and determine the plurality of angles to comprise 5 angles each being a multiple of 45 degrees.
- the processor 1620 may, to determine the plurality of scanning areas according to the range of scanning distances and to determine the plurality of scanning positions in each of the plurality of scanning areas according to the plurality of directions relative to the current block, determine the range of scanning distances to be from 1 to 2, and determine the plurality of angles to comprise 5 angles each being a multiple of 45 degrees.
- the processor 1620 may, to determine the plurality of scanning areas according to the range of scanning distances and to determine the plurality of scanning positions in each of the plurality of scanning areas according to the plurality of directions relative to the current block, determine the range of scanning distances to be from 1 to 7, and determine the plurality of angles to comprise 5 angles each being a multiple of 45 degrees.
- the processor 1620 may, to determine the plurality of scanning areas according to the range of scanning distances and to determine the plurality of scanning positions in each of the plurality of scanning areas according to the plurality of directions relative to the current block, determine the range of scanning distances to be from 1 to 4, and determine the plurality of angles to comprise 5 angles each being a multiple of 45 degrees; where, in response to determining to apply the IBC AMVP mode to the current block and determining that an angle relative to the horizontal right direction of the current block is 90 degrees or 180 degrees in a scanning area, the scanning rule further includes: determining a minimum scanning distance to be 2 for the scanning area.
- the processor 1620 may, to determine the plurality of scanning areas according to the range of scanning distances and to determine the plurality of scanning positions in each of the plurality of scanning areas according to the plurality of directions relative to the current block, determine the range of scanning distances to be from 1 to 7, and determining the plurality of angles to comprise 5 angles each being a multiple of 45 degrees; where, in response to determining to apply the IBC merge mode to the current block and determining that an angle relative to the horizontal right direction of the current block is 90 degrees or 180 degrees in a scanning area, the scanning rule further includes: determining a minimum scanning distance to be 2 for the scanning area.
- the processor 1620 may, to determine the plurality of scanning areas according to the range of scanning distances and to determine the plurality of scanning positions in each of the plurality of scanning areas according to the plurality of directions relative to the current block, determine the range of scanning distances to be from 1 to 7, and determine the plurality of angles to comprise 13 angles each being a multiple of 22.5 degrees.
- FIG. 54 is a flowchart illustrating a method for video decoding according to an example of the present disclosure.
- the processor 1620 may, at the side of a decoder and for applying an intrablock copy (IBC) merge mode or an IBC Adaptive Motion Vector Prediction (AMVP) mode to a current block, obtain an ordered list of IBC candidates.
- IBC intrablock copy
- AMVP IBC Adaptive Motion Vector Prediction
- the processor 1620 may, at the side of the decoder, insert non-adjacent spatial candidates into the ordered list of IBC candidates after adjacent spatial candidates or history-based Block Vector Prediction (BVP) candidates.
- BVP Block Vector Prediction
- the processor 1620 may, at the side of the decoder, obtain a prediction for the current block by applying the IBC merge mode or the IBC AMVP mode based on the ordered list of IBC candidates.
- the non-adjacent spatial candidates include non-adjacent spatial IBC merge candidates, and in Step 5420, the processor 1620 may, at the side of the decoder, insert the non- adjacent spatial IBC merge candidates into the ordered list of IBC candidates after adjacent spatial IBC merge candidates.
- the non-adjacent spatial candidates include non-adjacent spatial IBC AMVP candidates, and in Step 5420, the processor 1620 may, at the side of the decoder, insert the non- adjacent spatial IBC AMVP candidates into the ordered list of IBC candidates after the historybased BVP candidates.
- the non-adjacent spatial candidates include one or more spatial BVPs from non-adjacent spatial neighboring blocks
- the adjacent spatial candidates include one or more spatial BVPs from adjacent spatial neighboring blocks.
- the processor 1620 may, at the side of the decoder, insert the one or more spatial BVPs from the adjacent spatial neighboring blocks into the ordered list of IBC candidates, insert the history -based BVP candidates from a first-in-first- out (FIFO) table into the ordered list of IBC candidates, and insert the one or more spatial BVPs from the non-adjacent spatial neighboring blocks into the ordered list of IBC candidates.
- FIFO first-in-first- out
- the processor 1620 may further, at the side of the decoder, insert one or more pairwise average BVPs into the ordered list of IBC candidates, insert BVP candidates located in an IBC reference region into the ordered list of IBC candidates; and insert a zero BVP into the ordered list of IBC candidates.
- FIG. 55 is a flowchart illustrating a method for video encoding corresponding to the method for video decoding as shown in FIG. 54.
- the processor 1620 may, at the side of the encoder, insert non-adjacent spatial candidates into the ordered list of IBC candidates after adjacent spatial candidates or history-based Block Vector Prediction (BVP) candidates.
- BVP Block Vector Prediction
- the processor 1620 may, at the side of the encoder, obtain a prediction for the current block by applying the IBC merge mode or the IBC AMVP mode based on the ordered list of IBC candidates.
- the non-adjacent spatial candidates include non-adjacent spatial IBC merge candidates, and in Step 5520, the processor 1620 may, at the side of the encoder, insert the non- adjacent spatial IBC merge candidates into the ordered list of IBC candidates after adjacent spatial IBC merge candidates.
- the non-adjacent spatial candidates include non-adjacent spatial IBC AMVP candidates, and in Step 5520, the processor 1620 may, at the side of the encoder, insert the non- adjacent spatial IBC AMVP candidates into the ordered list of IBC candidates after the historybased BVP candidates.
- the non-adjacent spatial candidates include one or more spatial BVPs from non-adjacent spatial neighboring blocks
- the adjacent spatial candidates include one or more spatial BVPs from adjacent spatial neighboring blocks.
- the processor 1620 may, at the side of the encoder, insert the one or more spatial BVPs from the adjacent spatial neighboring blocks into the ordered list of IBC candidates, insert the history -based BVP candidates from a first-in-first- out (FIFO) table into the ordered list of IBC candidates, and insert the one or more spatial BVPs from the non-adjacent spatial neighboring blocks into the ordered list of IBC candidates.
- FIFO first-in-first- out
- the processor 1620 may further, at the side of the encoder, insert one or more pairwise average BVPs into the ordered list of IBC candidates, insert BVP candidates located in an IBC reference region into the ordered list of IBC candidates; and insert a zero BVP into the ordered list of IBC candidates.
- an apparatus for video coding includes a processor 1620 and a memory 1640 configured to store instructions executable by the processor; where the processor, upon execution of the instructions, is configured to perform any method as illustrated in FIGS. 50-55.
- a non-transitory computer-readable storage medium comprising a plurality of programs, for example, in the memory 1630, executable by the processor 1620 in the computing environment 1610, for performing the above-described methods and/or storing a bitstream generated by the encoding method described above or a bitstream to be decoded by the decoding method described above.
- the plurality of programs may be executed by the processor 1620 in the computing environment 1610 to receive (for example, from the video encoder 20 in FIG.
- bitstream or data stream including encoded video information (for example, video blocks representing encoded video frames, and/or associated one or more syntax elements, etc.), and may also be executed by the processor 1620 in the computing environment 1610 to perform the decoding method described above according to the received bitstream or data stream.
- the plurality of programs may be executed by the processor 1620 in the computing environment 1610 to perform the encoding method described above to encode video information (for example, video blocks representing video frames, and/or associated one or more syntax elements, etc.) into a bitstream or data stream, and may also be executed by the processor 1620 in the computing environment 1610 to transmit the bitstream or data stream (for example, to the video decoder 30 in FIG. 3).
- the non-transitory computer-readable storage medium may have stored therein a bitstream or a data stream comprising encoded video information (for example, video blocks representing encoded video frames, and/or associated one or more syntax elements etc.) generated by an encoder (for example, the video encoder 20 in FIG. 2) using, for example, the encoding method described above for use by a decoder (for example, the video decoder 30 in FIG. 3) in decoding video data.
- the non-transitory computer-readable storage medium may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, an optical data storage device or the like.
- bitstream generated by the encoding method described above or a bitstream to be decoded by the decoding method described above.
- a bitstream comprising encoded video information generated by the encoding method described above or encoded video information to be decoded by the decoding method described above.
- the is also provided a computing device comprising one or more processors (for example, the processor 1620); and the non-transitory computer-readable storage medium or the memory 1630 having stored therein a plurality of programs executable by the one or more processors, where the one or more processors, upon execution of the plurality of programs, are configured to perform the above-described methods.
- processors for example, the processor 1620
- non-transitory computer-readable storage medium or the memory 1630 having stored therein a plurality of programs executable by the one or more processors, where the one or more processors, upon execution of the plurality of programs, are configured to perform the above-described methods.
- a computer program product having instructions for storage or transmission of a bitstream comprising encoded video information generated by the encoding method described above or encoded video information to be decoded by the decoding method described above.
- a computer program product comprising a plurality of programs, for example, in the memory 1630, executable by the processor 1620 in the computing environment 1610, for performing the above-described methods.
- the computer program product may include the non- transitory computer-readable storage medium.
- the computing environment 1610 may be implemented with one or more ASICs, DSPs, Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), FPGAs, GPUs, controllers, micro-controllers, microprocessors, or other electronic components, for performing the above methods.
- ASICs application-specific integrated circuits
- DSPs Digital Signal Processing Devices
- PLDs Programmable Logic Devices
- FPGAs field-programmable Logic Devices
- GPUs GPUs
- controllers micro-controllers
- microprocessors microprocessors, or other electronic components, for performing the above methods.
- bitstream comprising storing the bitstream on a non-transitory computer-readable storage medium or digital storage medium, where the bitstream includes encoded video information generated by the encoding method described above or encoded video information to be decoded by the decoding method described above.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
Claims
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202480037514.6A CN121264049A (en) | 2023-06-09 | 2024-06-05 | Method and apparatus for intra block copy and intra template matching |
| EP24819974.7A EP4725200A1 (en) | 2023-06-09 | 2024-06-05 | Methods and devices for intra block copy and intra template matching |
| US19/318,076 US20260006183A1 (en) | 2023-03-03 | 2025-09-03 | Methods and Devices for Intra Block Copy and Intra Template Matching |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US202363472250P | 2023-06-09 | 2023-06-09 | |
| US63/472,250 | 2023-06-09 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US19/318,076 Continuation-In-Part US20260006183A1 (en) | 2023-03-03 | 2025-09-03 | Methods and Devices for Intra Block Copy and Intra Template Matching |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| WO2024254216A1 true WO2024254216A1 (en) | 2024-12-12 |
| WO2024254216A9 WO2024254216A9 (en) | 2026-04-09 |
Family
ID=93796404
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US2024/032666 Ceased WO2024254216A1 (en) | 2023-03-03 | 2024-06-05 | Methods and devices for intra block copy and intra template matching |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP4725200A1 (en) |
| CN (1) | CN121264049A (en) |
| WO (1) | WO2024254216A1 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2023284694A1 (en) * | 2021-07-15 | 2023-01-19 | Beijing Bytedance Network Technology Co., Ltd. | Method, apparatus, and medium for video processing |
| WO2023059979A1 (en) * | 2021-10-05 | 2023-04-13 | Tencent America LLC | Grouping based adaptive reordering of merge candidate |
-
2024
- 2024-06-05 EP EP24819974.7A patent/EP4725200A1/en active Pending
- 2024-06-05 CN CN202480037514.6A patent/CN121264049A/en active Pending
- 2024-06-05 WO PCT/US2024/032666 patent/WO2024254216A1/en not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2023284694A1 (en) * | 2021-07-15 | 2023-01-19 | Beijing Bytedance Network Technology Co., Ltd. | Method, apparatus, and medium for video processing |
| WO2023059979A1 (en) * | 2021-10-05 | 2023-04-13 | Tencent America LLC | Grouping based adaptive reordering of merge candidate |
Non-Patent Citations (3)
| Title |
|---|
| C. MA (KWAI), X. XIU, W. CHEN, H.-J. JHU, C.-W. KUO, N. YAN, X. WANG (KWAI): "Non-EE2: Extension of IBC-GPM", 30. JVET MEETING; 20230421 - 20230428; ANTALYA; (THE JOINT VIDEO EXPLORATION TEAM OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16 ), no. JVET-AD0215 ; m62900, 21 April 2023 (2023-04-21), XP030308995 * |
| C. MA (KWAI), X. XIU, W. CHEN, H.-J. JHU, C.-W. KUO, N. YAN, X. WANG (KWAI): "Non-EE2: IBC with non-adjacent spatial candidates", 30. JVET MEETING; 20230421 - 20230428; ANTALYA; (THE JOINT VIDEO EXPLORATION TEAM OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16 ), no. JVET-AD0216 ; m62901, 15 April 2023 (2023-04-15), XP030308997 * |
| M. COBAN, F. LE LÉANNEC, R.-L. LIAO, K. NASER, J. STRÖM, L. ZHANG: "Algorithm description of Enhanced Compression Model 8 (ECM 8)", 141. MPEG MEETING; 20230116 - 20230120; ONLINE; (MOTION PICTURE EXPERT GROUP OR ISO/IEC JTC1/SC29/WG11), no. m62440 ; JVET-AC2025, 6 April 2023 (2023-04-06), XP030308550 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN121264049A (en) | 2026-01-02 |
| WO2024254216A9 (en) | 2026-04-09 |
| EP4725200A1 (en) | 2026-04-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2024044404A1 (en) | Methods and devices using intra block copy for video coding | |
| WO2024173443A1 (en) | Methods and devices for intra block copy and intra template matching | |
| US20260039883A1 (en) | Methods and devices for intra block copy and intra template matching | |
| WO2024108228A1 (en) | Methods and devices for intra block copy and intra template matching | |
| US20250247557A1 (en) | Methods and Devices for Intra Block Copy and Intra Template Matching | |
| US20250240433A1 (en) | Methods and devices with intra block copy | |
| WO2024216062A2 (en) | Methods and devices for filtered intra block copy | |
| US20260039866A1 (en) | Methods and Devices for Intra Block Copy and Intra Template Matching | |
| US20260006183A1 (en) | Methods and Devices for Intra Block Copy and Intra Template Matching | |
| WO2024254216A1 (en) | Methods and devices for intra block copy and intra template matching | |
| US20260089340A1 (en) | Methods and devices for filtered intra block copy | |
| US20260019610A1 (en) | Methods and devices for filtered intra block copy | |
| EP4706256A1 (en) | Methods and devices for intra block copy and intra template matching | |
| US20250358443A1 (en) | Methods and devices for filtered intra block copy, intra block copy and intra template matching | |
| WO2025251956A1 (en) | Methods and devices for filtered intra block copy | |
| WO2024220737A9 (en) | Methods and devices for intra block copy and intra template matching | |
| WO2025140559A1 (en) | Methods and devices on geometric partitioning mode | |
| WO2025098463A1 (en) | Methods and devices on combined inter intra prediction and geometric partitioning mode | |
| WO2025103344A1 (en) | Methods and devices of extrapolation filter-based prediction mode | |
| WO2024254297A2 (en) | Methods and devices for filtered intra block copy | |
| WO2025072875A1 (en) | Methods and devices for intra block copy and intra template matching | |
| WO2025006716A2 (en) | Methods and devices for filtered intra block copy | |
| WO2024211283A2 (en) | Methods and devices for filtered intra block copy | |
| WO2024220661A2 (en) | Methods and devices for filtered intra block copy | |
| WO2024163312A1 (en) | Methods and devices for filtered intra block copy |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24819974 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: CN2024800375146 Country of ref document: CN |
|
| REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112025026825 Country of ref document: BR |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2024819974 Country of ref document: EP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2024819974 Country of ref document: EP Effective date: 20260109 |
|
| ENP | Entry into the national phase |
Ref document number: 2024819974 Country of ref document: EP Effective date: 20260109 |
|
| ENP | Entry into the national phase |
Ref document number: 2024819974 Country of ref document: EP Effective date: 20260109 |
|
| ENP | Entry into the national phase |
Ref document number: 2024819974 Country of ref document: EP Effective date: 20260109 |
|
| ENP | Entry into the national phase |
Ref document number: 2024819974 Country of ref document: EP Effective date: 20260109 |
|
| WWP | Wipo information: published in national office |
Ref document number: 2024819974 Country of ref document: EP |














