WO2024149397A1 - Method, apparatus, and medium for video processing - Google Patents
Method, apparatus, and medium for video processing Download PDFInfo
- Publication number
- WO2024149397A1 WO2024149397A1 PCT/CN2024/072185 CN2024072185W WO2024149397A1 WO 2024149397 A1 WO2024149397 A1 WO 2024149397A1 CN 2024072185 W CN2024072185 W CN 2024072185W WO 2024149397 A1 WO2024149397 A1 WO 2024149397A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- video unit
- block
- mode
- current
- current video
- 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/103—Selection of coding mode or of prediction mode
-
- 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/132—Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
-
- 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/103—Selection of coding mode or of prediction mode
- H04N19/105—Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
-
- 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/103—Selection of coding mode or of prediction mode
- H04N19/107—Selection of coding mode or of prediction mode between spatial and temporal predictive coding, e.g. picture refresh
-
- 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/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/136—Incoming video signal characteristics or properties
-
- 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/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/184—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 bits, e.g. of the compressed video stream
-
- 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/189—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
- H04N19/196—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters
-
- 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/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
Definitions
- Embodiments of the present disclosure relates generally to video processing techniques, and more particularly, to video content detection.
- Video compression technologies such as MPEG-2, MPEG-4, ITU-TH. 263, ITU-TH. 264/MPEG-4 Part 10 Advanced Video Coding (AVC) , ITU-TH. 265 high efficiency video coding (HEVC) standard, versatile video coding (VVC) standard, have been proposed for video encoding/decoding.
- AVC Advanced Video Coding
- HEVC high efficiency video coding
- VVC versatile video coding
- Embodiments of the present disclosure provide a solution for video processing.
- a content type of a video unit is determined based on a prediction mode for coding at least one video unit associated with the video unit.
- the proposed method can advantageously enable adaptive video content detection, and thus supports controlling of a coding tool based on the detected video content. Thereby, the coding quality can be improved.
- an apparatus for video processing comprises a processor and a non-transitory memory with instructions thereon.
- a non-transitory computer-readable storage medium stores instructions that cause a processor to perform a method in accordance with the first aspect of the present disclosure.
- non-transitory computer-readable recording medium stores a bitstream of a video which is generated by a method performed by an apparatus for video processing.
- the method comprises: determining a content type of a current video unit of the video based on a prediction mode for coding at least one video unit associated with the current video unit; and generating the bitstream based on the content type.
- a method for storing a bitstream of a video comprises: determining a content type of a current video unit of the video based on a prediction mode for coding at least one video unit associated with the current video unit; generating the bitstream based on the content type; and storing the bitstream in a non-transitory computer-readable recording medium.
- Fig. 1 illustrates a block diagram that illustrates an example video coding system, in accordance with some embodiments of the present disclosure
- Fig. 2 illustrates a block diagram that illustrates a first example video encoder, in accordance with some embodiments of the present disclosure
- Fig. 3 illustrates a block diagram that illustrates an example video decoder, in accordance with some embodiments of the present disclosure
- Fig. 4 illustrates intra prediction modes
- Fig. 5A illustrates reference samples for wide-angular intra prediction
- Fig. 5B illustrates reference samples for wide-angular intra prediction
- Fig. 6 illustrates problem of discontinuity in case of directions beyond 45°
- Fig. 7A illustrates a schematic diagram of a definition of samples used by PDPC applied to a diagonal top-right mode of diagonal and adjacent angular intra modes
- Fig. 7B illustrates a schematic diagram of a definition of samples used by PDPC applied to a diagonal bottom-left mode of diagonal and adjacent angular intra modes
- Fig. 7C illustrates a schematic diagram of a definition of samples used by PDPC applied to an adjacent diagonal top-right mode of diagonal and adjacent angular intra modes
- Fig. 7D illustrates a schematic diagram of a definition of samples used by PDPC applied to an adjacent diagonal bottom-left mode of diagonal and adjacent angular intra modes
- Fig. 8 illustrates an example of four reference lines neighboring to a prediction block
- Fig. 9A illustrates a schematic diagram of a process of sub-partition depending on the block size
- Fig. 9B illustrates a schematic diagram of a process of sub-partition depending on the block size
- Fig. 10 illustrates matrix weighted intra prediction process
- Fig. 11 illustrates spatial GPM candidates
- Fig. 12 illustrates GPM template
- Fig. 13 illustrates GPM blending
- Fig. 14 illustrates positions of spatial merge candidate
- Fig. 15 illustrates candidate pairs considered for redundancy check of spatial merge candidates
- Fig. 16 illustrates illustration of motion vector scaling for temporal merge candidate
- Fig. 17 illustrates candidate positions for temporal merge candidate, C 0 and C 1 ;
- Fig. 18 illustrates MMVD Search Point
- Fig. 19 illustrates extended CU region used in BDOF
- Fig. 20 illustrates illustration for symmetrical MVD mode
- Fig. 21 illustrates decoding side motion vector refinement
- Fig. 23 illustrates examples of the GPM splits grouped by identical angles
- Fig. 24 illustrates uni-prediction MV selection for geometric partitioning mode
- Fig. 25 illustrates exemplified generation of a bending weight w 0 using geometric partitioning mode
- Fig. 27 illustrates residual coding passes for transform skip blocks
- Fig. 28 illustrates an example of a block coded in palette mode
- Fig. 29 illustrates subblock-based index map scanning for palette, left for horizontal scanning and right for vertical scanning
- Fig. 30 illustrates decoding flowchart with ACT
- Fig. 31 illustrates intra template matching search area used
- Fig. 32 illustrates the five locations in reconstructed luma samples
- Fig. 33 illustrates the prediction process of DBV mode
- Fig. 35 illustrates SBT position, type and transform type
- Fig. 36 illustrates the ROI for LFNST16
- Fig. 37 illustrates the ROI for LFNST8
- Fig. 38 illustrates discontinuity measure
- Fig. 39 illustrates a flowchart of a method for video processing in accordance with embodiments of the present disclosure.
- Fig. 40 illustrates a block diagram of a computing device in which various embodiments of the present disclosure can be implemented.
- references in the present disclosure to “one embodiment, ” “an embodiment, ” “an example embodiment, ” and the like indicate that the embodiment described may include a particular feature, structure, or characteristic, but it is not necessary that every embodiment includes the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an example embodiment, it is submitted that it is within the knowledge of one skilled in the art to affect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.
- first and second etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and similarly, a second element could be termed a first element, without departing from the scope of example embodiments.
- the term “and/or” includes any and all combinations of one or more of the listed terms.
- Fig. 1 is a block diagram that illustrates an example video coding system 100 that may utilize the techniques of this disclosure.
- the video coding system 100 may include a source device 110 and a destination device 120.
- the source device 110 can be also referred to as a video encoding device, and the destination device 120 can be also referred to as a video decoding device.
- the source device 110 can be configured to generate encoded video data and the destination device 120 can be configured to decode the encoded video data generated by the source device 110.
- the source device 110 may include a video source 112, a video encoder 114, and an input/output (I/O) interface 116.
- I/O input/output
- the video source 112 may include a source such as a video capture device.
- a source such as a video capture device.
- the video capture device include, but are not limited to, an interface to receive video data from a video content provider, a computer graphics system for generating video data, and/or a combination thereof.
- the video data may comprise one or more pictures.
- the video encoder 114 encodes the video data from the video source 112 to generate a bitstream.
- the bitstream may include a sequence of bits that form a coded representation of the video data.
- the bitstream may include coded pictures and associated data.
- the coded picture is a coded representation of a picture.
- the associated data may include sequence parameter sets, picture parameter sets, and other syntax structures.
- the I/O interface 116 may include a modulator/demodulator and/or a transmitter.
- the encoded video data may be transmitted directly to destination device 120 via the I/O interface 116 through the network 130A.
- the encoded video data may also be stored onto a storage medium/server 130B for access by destination device 120.
- the destination device 120 may include an I/O interface 126, a video decoder 124, and a display device 122.
- the I/O interface 126 may include a receiver and/or a modem.
- the I/O interface 126 may acquire encoded video data from the source device 110 or the storage medium/server 130B.
- the video decoder 124 may decode the encoded video data.
- the display device 122 may display the decoded video data to a user.
- the display device 122 may be integrated with the destination device 120, or may be external to the destination device 120 which is configured to interface with an external display device.
- the video encoder 114 and the video decoder 124 may operate according to a video compression standard, such as the High Efficiency Video Coding (HEVC) standard, Versatile Video Coding (VVC) standard and other current and/or further standards.
- HEVC High Efficiency Video Coding
- VVC Versatile Video Coding
- Fig. 2 is a block diagram illustrating an example of a video encoder 200, which may be an example of the video encoder 114 in the system 100 illustrated in Fig. 1, in accordance with some embodiments of the present disclosure.
- the video encoder 200 may be configured to implement any or all of the techniques of this disclosure.
- the video encoder 200 includes a plurality of functional components.
- the techniques described in this disclosure may be shared among the various components of the video encoder 200.
- a processor may be configured to perform any or all of the techniques described in this disclosure.
- the video encoder 200 may include a partition unit 201, a prediction unit 202 which may include a mode select unit 203, a motion estimation unit 204, a motion compensation unit 205 and an intra-prediction unit 206, a residual generation unit 207, a transform unit 208, a quantization unit 209, an inverse quantization unit 210, an inverse transform unit 211, a reconstruction unit 212, a buffer 213, and an entropy encoding unit 214.
- a partition unit 201 may include a mode select unit 203, a motion estimation unit 204, a motion compensation unit 205 and an intra-prediction unit 206, a residual generation unit 207, a transform unit 208, a quantization unit 209, an inverse quantization unit 210, an inverse transform unit 211, a reconstruction unit 212, a buffer 213, and an entropy encoding unit 214.
- the video encoder 200 may include more, fewer, or different functional components.
- the prediction unit 202 may include an intra block copy (IBC) unit.
- the IBC unit may perform prediction in an IBC mode in which at least one reference picture is a picture where the current video block is located.
- the partition unit 201 may partition a picture into one or more video blocks.
- the video encoder 200 and the video decoder 300 may support various video block sizes.
- the mode select unit 203 may select one of the coding modes, intra or inter, e.g., based on error results, and provide the resulting intra-coded or inter-coded block to a residual generation unit 207 to generate residual block data and to a reconstruction unit 212 to reconstruct the encoded block for use as a reference picture.
- the mode select unit 203 may select a combination of intra and inter prediction (CIIP) mode in which the prediction is based on an inter prediction signal and an intra prediction signal.
- CIIP intra and inter prediction
- the mode select unit 203 may also select a resolution for a motion vector (e.g., a sub-pixel or integer pixel precision) for the block in the case of inter-prediction.
- the motion estimation unit 204 may generate motion information for the current video block by comparing one or more reference frames from buffer 213 to the current video block.
- the motion compensation unit 205 may determine a predicted video block for the current video block based on the motion information and decoded samples of pictures from the buffer 213 other than the picture associated with the current video block.
- the motion estimation unit 204 and the motion compensation unit 205 may perform different operations for a current video block, for example, depending on whether the current video block is in an I-slice, a P-slice, or a B-slice.
- an “I-slice” may refer to a portion of a picture composed of macroblocks, all of which are based upon macroblocks within the same picture.
- P-slices and B-slices may refer to portions of a picture composed of macroblocks that are not dependent on macroblocks in the same picture.
- the motion estimation unit 204 may perform uni-directional prediction for the current video block, and the motion estimation unit 204 may search reference pictures of list 0 or list 1 for a reference video block for the current video block. The motion estimation unit 204 may then generate a reference index that indicates the reference picture in list 0 or list 1 that contains the reference video block and a motion vector that indicates a spatial displacement between the current video block and the reference video block. The motion estimation unit 204 may output the reference index, a prediction direction indicator, and the motion vector as the motion information of the current video block. The motion compensation unit 205 may generate the predicted video block of the current video block based on the reference video block indicated by the motion information of the current video block.
- the motion estimation unit 204 may perform bi-directional prediction for the current video block.
- the motion estimation unit 204 may search the reference pictures in list 0 for a reference video block for the current video block and may also search the reference pictures in list 1 for another reference video block for the current video block.
- the motion estimation unit 204 may then generate reference indexes that indicate the reference pictures in list 0 and list 1 containing the reference video blocks and motion vectors that indicate spatial displacements between the reference video blocks and the current video block.
- the motion estimation unit 204 may output the reference indexes and the motion vectors of the current video block as the motion information of the current video block.
- the motion compensation unit 205 may generate the predicted video block of the current video block based on the reference video blocks indicated by the motion information of the current video block.
- the motion estimation unit 204 may output a full set of motion information for decoding processing of a decoder.
- the motion estimation unit 204 may signal the motion information of the current video block with reference to the motion information of another video block. For example, the motion estimation unit 204 may determine that the motion information of the current video block is sufficiently similar to the motion information of a neighboring video block.
- the motion estimation unit 204 may indicate, in a syntax structure associated with the current video block, a value that indicates to the video decoder 300 that the current video block has the same motion information as the another video block.
- the motion estimation unit 204 may identify, in a syntax structure associated with the current video block, another video block and a motion vector difference (MVD) .
- the motion vector difference indicates a difference between the motion vector of the current video block and the motion vector of the indicated video block.
- the video decoder 300 may use the motion vector of the indicated video block and the motion vector difference to determine the motion vector of the current video block.
- video encoder 200 may predictively signal the motion vector.
- Two examples of predictive signaling techniques that may be implemented by video encoder 200 include advanced motion vector prediction (AMVP) and merge mode signaling.
- AMVP advanced motion vector prediction
- merge mode signaling merge mode signaling
- the intra prediction unit 206 may perform intra prediction on the current video block.
- the intra prediction unit 206 may generate prediction data for the current video block based on decoded samples of other video blocks in the same picture.
- the prediction data for the current video block may include a predicted video block and various syntax elements.
- the residual generation unit 207 may generate residual data for the current video block by subtracting (e.g., indicated by the minus sign) the predicted video block (s) of the current video block from the current video block.
- the residual data of the current video block may include residual video blocks that correspond to different sample components of the samples in the current video block.
- the residual generation unit 207 may not perform the subtracting operation.
- the transform processing unit 208 may generate one or more transform coefficient video blocks for the current video block by applying one or more transforms to a residual video block associated with the current video block.
- the quantization unit 209 may quantize the transform coefficient video block associated with the current video block based on one or more quantization parameter (QP) values associated with the current video block.
- QP quantization parameter
- the inverse quantization unit 210 and the inverse transform unit 211 may apply inverse quantization and inverse transforms to the transform coefficient video block, respectively, to reconstruct a residual video block from the transform coefficient video block.
- the reconstruction unit 212 may add the reconstructed residual video block to corresponding samples from one or more predicted video blocks generated by the prediction unit 202 to produce a reconstructed video block associated with the current video block for storage in the buffer 213.
- loop filtering operation may be performed to reduce video blocking artifacts in the video block.
- Fig. 3 is a block diagram illustrating an example of a video decoder 300, which may be an example of the video decoder 124 in the system 100 illustrated in Fig. 1, in accordance with some embodiments of the present disclosure.
- the video decoder 300 may be configured to perform any or all of the techniques of this disclosure.
- the video decoder 300 includes a plurality of functional components.
- the techniques described in this disclosure may be shared among the various components of the video decoder 300.
- a processor may be configured to perform any or all of the techniques described in this disclosure.
- the video decoder 300 includes an entropy decoding unit 301, a motion compensation unit 302, an intra prediction unit 303, an inverse quantization unit 304, an inverse transformation unit 305, and a reconstruction unit 306 and a buffer 307.
- the video decoder 300 may, in some examples, perform a decoding pass generally reciprocal to the encoding pass described with respect to video encoder 200.
- the entropy decoding unit 301 may retrieve an encoded bitstream.
- the encoded bitstream may include entropy coded video data (e.g., encoded blocks of video data) .
- the entropy decoding unit 301 may decode the entropy coded video data, and from the entropy decoded video data, the motion compensation unit 302 may determine motion information including motion vectors, motion vector precision, reference picture list indexes, and other motion information.
- the motion compensation unit 302 may, for example, determine such information by performing the AMVP and merge mode.
- AMVP is used, including derivation of several most probable candidates based on data from adjacent PBs and the reference picture.
- the motion compensation unit 302 may produce motion compensated blocks, possibly performing interpolation based on interpolation filters. Identifiers for interpolation filters to be used with sub-pixel precision may be included in the syntax elements.
- the motion compensation unit 302 may use the interpolation filters as used by the video encoder 200 during encoding of the video block to calculate interpolated values for sub-integer pixels of a reference block.
- the motion compensation unit 302 may determine the interpolation filters used by the video encoder 200 according to the received syntax information and use the interpolation filters to produce predictive blocks.
- the motion compensation unit 302 may use at least part of the syntax information to determine sizes of blocks used to encode frame (s) and/or slice (s) of the encoded video sequence, partition information that describes how each macroblock of a picture of the encoded video sequence is partitioned, modes indicating how each partition is encoded, one or more reference frames (and reference frame lists) for each inter-encoded block, and other information to decode the encoded video sequence.
- a “slice” may refer to a data structure that can be decoded independently from other slices of the same picture, in terms of entropy coding, signal prediction, and residual signal reconstruction.
- a slice can either be an entire picture or a region of a picture.
- the intra prediction unit 303 may use intra prediction modes for example received in the bitstream to form a prediction block from spatially adjacent blocks.
- the inverse quantization unit 304 inverse quantizes, i.e., de-quantizes, the quantized video block coefficients provided in the bitstream and decoded by entropy decoding unit 301.
- the inverse transform unit 305 applies an inverse transform.
- the reconstruction unit 306 may obtain the decoded blocks, e.g., by summing the residual blocks with the corresponding prediction blocks generated by the motion compensation unit 302 or intra-prediction unit 303. If desired, a deblocking filter may also be applied to filter the decoded blocks in order to remove blockiness artifacts.
- the decoded video blocks are then stored in the buffer 307, which provides reference blocks for subsequent motion compensation/intra prediction and also produces decoded video for presentation on a display device.
- This disclosure is related to video coding technologies. Specifically, it is about coding tool on/off control and related techniques in image/video coding. It may be applied to the existing video coding standard like HEVC, VVC, and etc. It may be also applicable to future video coding standards or video codec.
- Video coding standards have evolved primarily through the development of the well-known ITU-T and ISO/IEC standards.
- the ITU-T produced H. 261 and H. 263, ISO/IEC produced MPEG-1 and MPEG-4 Visual, and the two organizations jointly produced the H. 262/MPEG-2 Video and H. 264/MPEG-4 Advanced Video Coding (AVC) and H. 265/HEVC standards.
- AVC H. 264/MPEG-4 Advanced Video Coding
- H. 265/HEVC High Efficiency Video Coding
- VVC Versatile Video Coding
- VTM VVC test model
- the number of directional intra modes in VVC is extended from 33, as used in HEVC, to 65.
- the new directional modes not in HEVC are depicted as red dotted arrows in Fig. 4, and the planar and DC modes remain the same.
- These denser directional intra prediction modes apply for all block sizes and for both luma and chroma intra predictions.
- every intra-coded block has a square shape and the length of each of its side is a power of 2. Thus, no division operations are required to generate an intra-predictor using DC mode.
- blocks can have a rectangular shape that necessitates the use of a division operation per block in the general case. To avoid division operations for DC prediction, only the longer side is used to compute the average for non-square blocks.
- Fig. 4 illustrates intra prediction modes.
- MPM most probable mode
- a unified 6-MPM list is used for intra blocks irrespective of whether MRL and ISP coding tools are applied or not.
- the MPM list is constructed based on intra modes of the left and above neighboring block. Suppose the mode of the left is denoted as Left and the mode of the above block is denoted as Above, the unified MPM list is constructed as follows:
- the first bin of the mpm index codeword is CABAC context coded. In total three contexts are used, corresponding to whether the current intra block is MRL enabled, ISP enabled, or a normal intra block.
- TBC Truncated Binary Code
- Conventional angular intra prediction directions are defined from 45 degrees to -135 degrees in clockwise direction.
- VVC several conventional angular intra prediction modes are adaptively replaced with wide-angle intra prediction modes for non-square blocks.
- the replaced modes are signalled using the original mode indexes, which are remapped to the indexes of wide angular modes after parsing.
- the total number of intra prediction modes is unchanged, i.e., 67, and the intra mode coding method is unchanged.
- top reference with length 2W+1 and the left reference with length 2H+1, are defined as shown in Figs. 5A and 5B.
- the number of replaced modes in wide-angular direction mode depends on the aspect ratio of a block.
- the replaced intra prediction modes are illustrated in Table 2-1.
- two vertically-adjacent predicted samples may use two non-adjacent reference samples in the case of wide-angle intra prediction.
- low-pass reference samples filter and side smoothing are applied to the wide-angle prediction to reduce the negative effect of the increased gap ⁇ p ⁇ .
- a wide-angle mode represents a non-fractional offset.
- There are 8 modes in the wide-angle modes satisfy this condition, which are [-14, -12, -10, -6, 72, 76, 78, 80].
- Chroma derived mode (DM) derivation table for 4: 2: 2 chroma format was initially ported from HEVC extending the number of entries from 35 to 67 to align with the extension of intra prediction modes. Since HEVC specification does not support prediction angle below -135 degree and above 45 degree, luma intra prediction modes ranging from 2 to 5 are mapped to 2. Therefore, chroma DM derivation table for 4: 2: 2: chroma format is updated by replacing some values of the entries of the mapping table to convert prediction angle more precisely for chroma blocks.
- Four-tap intra interpolation filters are utilized to improve the directional intra prediction accuracy.
- HEVC a two-tap linear interpolation filter has been used to generate the intra prediction block in the directional prediction modes (i.e., excluding Planar and DC predictors) .
- VVC simplified 6-bit 4-tap Gaussian interpolation filter is used for only directional intra modes. Non-directional intra prediction process is unmodified. The selection of the 4-tap filters is performed according to the MDIS condition for directional intra prediction modes that provide non-fractional displacements, i.e. to all the directional modes excluding the following: 2, HOR_IDX, DIA_IDX, VER_IDX, 66.
- the directional intra-prediction mode is classified into one of the following groups:
- a [1, 2, 1] reference sample filter may be applied (depending on the MDIS condition) to reference samples to further copy these filtered values into an intra predictor according to the selected direction, but no interpolation filters are applied;
- PDPC position dependent intra prediction combination
- PDPC is an intra prediction method which invokes a combination of the un-filtered boundary reference samples and HEVC style intra prediction with filtered boundary reference samples.
- PDPC is applied to the following intra modes without signalling: planar, DC, horizontal, vertical, bottom-left angular mode and its eight adjacent angular modes, and top-right angular mode and its eight adjacent angular modes.
- R x, -1 , R -1, y represent the reference samples located at the top and left boundaries of current sample (x, y) , respectively, and R -1, -1 represents the reference sample located at the top-left corner of the current block.
- PDPC is applied to DC, planar, horizontal, and vertical intra modes, additional boundary filters are not needed, as required in the case of HEVC DC mode boundary filter or horizontal/vertical mode edge filters.
- PDPC process for DC and Planar modes is identical and clipping operation is avoided.
- PDPC weight is based on 32 in all angular mode cases. The PDPC weights are dependent on prediction modes and are shown in Table 2-2. PDPC is applied to the block with both width and height greater than or equal to 4.
- Figs. 7A-7D illustrate the definition of reference samples (R x, -1 , R -1, y and R -1, -1 ) for PDPC applied over various prediction modes.
- the prediction sample pred (x’, y’) is located at (x’, y’) within the prediction block.
- the reference samples R x, -1 and R -1, y could be located in fractional sample position. In this case, the sample value of the nearest integer sample location is used.
- Multiple reference line (MRL) intra prediction uses more reference lines for intra prediction.
- FIG. 8 an example of 4 reference lines is depicted, where the samples of segments A and F are not fetched from reconstructed neighbouring samples but padded with the closest samples from Segment B and E, respectively.
- HEVC intra-picture prediction uses the nearest reference line (i.e., reference line 0) .
- reference line 0 the nearest reference line
- 2 additional lines reference line 1 and reference line 3 are used.
- the index of selected reference line (mrl_idx) is signalled and used to generate intra predictor.
- reference line idx which is greater than 0, only include additional reference line modes in MPM list and only signal mpm index without remaining mode.
- the reference line index is signalled before intra prediction modes, and Planar mode is excluded from intra prediction modes in case a nonzero reference line index is signalled.
- MRL is disabled for the first line of blocks inside a CTU to prevent using extended reference samples outside the current CTU line. Also, PDPC is disabled when additional line is used.
- MRL mode the derivation of DC value in DC intra prediction mode for non-zero reference line indices is aligned with that of reference line index 0.
- MRL requires the storage of 3 neighboring luma reference lines with a CTU to generate predictions.
- the Cross-Component Linear Model (CCLM) tool also requires 3 neighboring luma reference lines for its downsampling filters. The definition of MLR to use the same 3 lines is aligned as CCLM to reduce the storage requirements for decoders.
- the intra sub-partitions divides luma intra-predicted blocks vertically or horizontally into 2 or 4 sub-partitions depending on the block size. For example, minimum block size for ISP is 4x8 (or 8x4) . If block size is greater than 4x8 (or 8x4) then the corresponding block is divided by 4 sub-partitions. It has been noted that the M ⁇ 128 (with M ⁇ 64) and 128 ⁇ N (with N ⁇ 64) ISP blocks could generate a potential issue with the 64 ⁇ 64 VDPU. For example, an M ⁇ 128 CU in the single tree case has an M ⁇ 128 luma TB and two corresponding chroma TBs.
- the luma TB will be divided into four M ⁇ 32 TBs (only the horizontal split is possible) , each of them smaller than a 64 ⁇ 64 block.
- chroma blocks are not divided. Therefore, both chroma components will have a size greater than a 32 ⁇ 32 block.
- a similar situation could be created with a 128 ⁇ N CU using ISP. Hence, these two cases are an issue for the 64 ⁇ 64 decoder pipeline. For this reason, the CU sizes that can use ISP is restricted to a maximum of 64 ⁇ 64.
- Figs. 9A and 9B shows examples of the two possibilities.
- FIG. 9A illustrates examples of sub-partitions for 4x8 and 8x4 CUs
- Fig. 9B illustrates examples of sub-partitions for CUs other than 4x8, 8x4 and 4x4. All sub-partitions fulfill the condition of having at least 16 samples.
- the dependence of 1xN/2xN subblock prediction on the reconstructed values of previously decoded 1xN/2xN subblocks of the coding block is not allowed so that the minimum width of prediction for subblocks becomes four samples.
- an 8xN (N > 4) coding block that is coded using ISP with vertical split is split into two prediction regions each of size 4xN and four transforms of size 2xN.
- a 4xN coding block that is coded using ISP with vertical split is predicted using the full 4xN block; four transform each of 1xN is used.
- the transform sizes of 1xN and 2xN are allowed, it is asserted that the transform of these blocks in 4xN regions can be performed in parallel.
- reconstructed samples are obtained by adding the residual signal to the prediction signal.
- a residual signal is generated by the processes such as entropy decoding, inverse quantization and inverse transform. Therefore, the reconstructed sample values of each sub-partition are available to generate the prediction of the next sub-partition, and each sub-partition is processed repeatedly.
- the first sub-partition to be processed is the one containing the top-left sample of the CU and then continuing downwards (horizontal split) or rightwards (vertical split) .
- reference samples used to generate the sub-partitions prediction signals are only located at the left and above sides of the lines. All sub-partitions share the same intra mode. The followings are summary of interaction of ISP with other coding tools.
- MRL Multiple Reference Line
- Entropy coding coefficient group size the sizes of the entropy coding subblocks have been modified so that they have 16 samples in all possible cases, as shown in Table 2-3. Note that the new sizes only affect blocks produced by ISP in which one of the dimensions is less than 4 samples. In all other cases coefficient groups keep the 4 ⁇ 4 dimensions.
- CBF coding it is assumed to have at least one of the sub-partitions has a non-zero CBF. Hence, if n is the number of sub-partitions and the first n-1 sub-partitions have produced a zero CBF, then the CBF of the n-th sub-partition is inferred to be 1.
- the MPM flag will be inferred to be one in a block coded by ISP mode, and the MPM list is modified to exclude the DC mode and to prioritize horizontal intra modes for the ISP horizontal split and vertical intra modes for the vertical one.
- MTS flag if a CU uses the ISP coding mode, the MTS CU flag will be set to 0 and it will not be sent to the decoder. Therefore, the encoder will not perform RD tests for the different available transforms for each resulting sub-partition.
- the transform choice for the ISP mode will instead be fixed and selected according the intra mode, the processing order and the block size utilized. Hence, no signalling is required. For example, let t H and t V be the horizontal and the vertical transforms selected respectively for the w ⁇ h sub-partition, where w is the width and h is the height. Then the transform is selected according to the following rules:
- ISP mode all 67 intra modes are allowed. PDPC is also applied if corresponding width and height is at least 4 samples long. In addition, the condition for intra interpolation filter selection doesn’t exist anymore, and Cubic (DCT-IF) filter is always applied for fractional position interpolation in ISP mode.
- DCT-IF Cubic
- Matrix weighted intra prediction (MIP) method is a newly added intra prediction technique into VVC. For predicting the samples of a rectangular block of width W and height H, matrix weighted intra prediction (MIP) takes one line of H reconstructed neighbouring boundary samples left of the block and one line of W reconstructed neighbouring boundary samples above the block as input. If the reconstructed samples are unavailable, they are generated as it is done in the conventional intra prediction. The generation of the prediction signal is based on the following three steps, which are averaging, matrix vector multiplication and linear interpolation as shown in Fig. 10.
- boundary samples four samples or eight samples are selected by averaging based on block size and shape. Specifically, the input boundaries bdry top and bdry left are reduced to smaller boundaries and by averaging neighboring boundary samples according to predefined rule depends on block size. Then, the two reduced boundaries and are concatenated to a reduced boundary vector bdry red which is thus of size four for blocks of shape 4 ⁇ 4 and of size eight for blocks of all other shapes. If mode refers to the MIP-mode, this concatenation is defined as follows.
- a matrix vector multiplication, followed by addition of an offset, is carried out with the averaged samples as an input.
- the result is a reduced prediction signal on a subsampled set of samples in the original block.
- a reduced prediction signal pred red which is a signal on the downsampled block of width W red and height H red is generated.
- W red and H red are defined as:
- b is a vector of size W red ⁇ H red .
- the matrix A and the offset vector b are taken from one of the sets S 0 , S 1 , S 2 .
- One defines an index idx idx (W, H) as follows:
- each coefficient of the matrix A is represented with 8 bit precision.
- the set S 0 consists of 16 matrices each of which has 16 rows and 4 columns and 16 offset vectors each of size 16. Matrices and offset vectors of that set are used for blocks of size 4 ⁇ 4.
- the set S 1 consists of 8 matrices each of which has 16 rows and 8 columns and 8 offset vectors each of size 16.
- the set S 2 consists of 6 matrices each of which has 64 rows and 8 columns and of 6 offset vectors of size 64.
- the prediction signal at the remaining positions is generated from the prediction signal on the subsampled set by linear interpolation which is a single step linear interpolation in each direction.
- the interpolation is performed firstly in the horizontal direction and then in the vertical direction regardless of block shape or block size.
- MIP coding mode is harmonized with other coding tools by considering following aspects:
- LFNST is enabled for MIP on large blocks.
- the LFNST transforms of planar mode are used.
- Clipping is performed before upsampling and not after upsampling.
- a candidate list is built which includes partition split and two intra prediction modes. Up to 11 MPMs 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 shown in Fig. 11.
- GPM blending process is not used in the template, and SAD between the prediction and reconstruction of the template is used for ordering.
- the SGPM mode is applied to blocks whose width and height meet the same restrictions as in inter GPM.
- an IPM list is derived for each part using intra-inter GPM list derivation.
- the IPM list size is 3.
- TIMD derived mode is replaced by 2 derived modes with horizontal and vertical orientations (using top or left templates) or TIMD derived mode is excluded.
- a uniform MPM list up to 11 elements, is used for all partition modes.
- blending depth ⁇ is derived as follows:
- motion parameters consisting of motion vectors, reference picture indices and reference picture list usage index, and additional information needed for the new coding feature of VVC to be used for inter-predicted sample generation.
- the motion parameter can be signalled in an explicit or implicit manner.
- a CU is coded with skip mode, the CU is associated with one PU and has no significant residual coefficients, no coded motion vector delta or reference picture index.
- a merge mode is specified whereby the motion parameters for the current CU are obtained from neighbouring CUs, including spatial and temporal candidates, and additional schedules introduced in VVC.
- the merge mode can be applied to any inter-predicted CU, not only for skip mode.
- the alternative to merge mode is the explicit transmission of motion parameters, where motion vector, corresponding reference picture index for each reference picture list and reference picture list usage flag and other needed information are signalled explicitly per each CU.
- VVC includes a number of new and refined inter prediction coding tools listed as follows:
- MMVD Merge mode with MVD
- SMVD Symmetric MVD
- AMVR Adaptive motion vector resolution
- Motion field storage 1/16 th luma sample MV storage and 8x8 motion field compression.
- BDOF Bi-directional optical flow
- Geometric partitioning mode (GPM) .
- the merge candidate list is constructed by including the following five types of candidates in order:
- the size of merge list is signalled in sequence parameter set header and the maximum allowed size of merge list is 6.
- an index of best merge candidate is encoded using truncated unary binarization (TU) .
- the first bin of the merge index is coded with context and bypass coding is used for other bins.
- VVC also supports parallel derivation of the merging candidate lists for all CUs within a certain size of area.
- the derivation of spatial merge candidates in VVC is same to that in HEVC except the positions of first two merge candidates are swapped.
- a maximum of four merge candidates are selected among candidates located in the positions depicted in the above Figure.
- the order of derivation is B 0 , A 0 , B 1 , A 1 and B 2 .
- Position B 2 is considered only when one or more than one CUs of position B 0 , A 0 , B 1 , A 1 are not available (e.g. because it belongs to another slice or tile) or is intra coded.
- After candidate at position A 1 is added, the addition of the remaining candidates is subject to a redundancy check which ensures that candidates with same motion information are excluded from the list so that coding efficiency is improved.
- a redundancy check To reduce computational complexity, not all possible candidate pairs are considered in the mentioned redundancy check. Instead only the pairs linked with an arrow in below Figure are considered and a candidate is only added to the list if the corresponding candidate used for redundancy
- a scaled motion vector is derived based on co-located CU belonging to the collocated referenncee picture.
- the reference picture list to be used for derivation of the co-located CU is explicitly signalled in the slice header.
- the scaled motion vector for temporal merge candidate is obtained as illustrated by the dotted line in below Figure, which is scaled from the motion vector of the co-located CU using the POC distances, tb and td, where tb is defined to be the POC difference between the reference picture of the current picture and the current picture and td is defined to be the POC difference between the reference picture of the co-located picture and the co-located picture.
- the reference picture index of temporal merge candidate is set equal to zero.
- the position for the temporal candidate is selected between candidates C 0 and C 1 , as depicted in below Figure . If CU at position C 0 is not available, is intra coded, or is outside of the current row of CTUs, position C 1 is used. Otherwise, position C 0 is used in the derivation of the temporal merge candidate.
- the history-based MVP (HMVP) merge candidates are added to merge list after the spatial MVP and TMVP.
- HMVP history-based MVP
- the motion information of a previously coded block is stored in a table and used as 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 CTU row is encountered. Whenever there is a non-subblock inter-coded CU, the associated motion information is added to the last entry of the table as a new HMVP candidate.
- the HMVP table size S is set to be 6, which indicates up to 6 History-based MVP (HMVP) candidates may be added to the table.
- HMVP History-based MVP
- FIFO constrained first-in-first-out
- HMVP candidates could be used in the merge candidate list construction process.
- the latest several HMVP candidates in the table are checked in order and inserted to the candidate list after the TMVP candidate. Redundancy check is applied on the HMVP candidates to the spatial or temporal merge candidate.
- Pairwise average candidates are generated by averaging predefined pairs of candidates in the existing merge candidate list, and the predefined pairs are defined as ⁇ (0, 1) , (0, 2) , (1, 2) , (0, 3) , (1, 3) , (2, 3) ⁇ , where the numbers denote the merge indices to the merge candidate list.
- the averaged motion vectors are calculated separately for each reference list. If both motion vectors are available in one list, these two motion vectors are averaged even when they point to different reference pictures; if only one motion vector is available, use the one directly; if no motion vector is available, keep this list invalid.
- the zero MVPs are inserted in the end until the maximum merge candidate number is encountered.
- Merge estimation region allows independent derivation of merge candidate list for the CUs in the same merge estimation region (MER) .
- a candidate block that is within the same MER to the current CU is not included for the generation of the merge candidate list of the current CU.
- the updating process for the history-based motion vector predictor candidate list is updated only if (xCb + cbWidth) >> Log2ParMrgLevel is greater than xCb >> Log2ParMrgLevel and (yCb + cbHeight) >> Log2ParMrgLevel is great than (yCb >> Log2ParMrgLevel) and where (xCb, yCb) is the top-left luma sample position of the current CU in the picture and (cbWidth, cbHeight) is the CU size.
- the MER size is selected at encoder side and signalled as log2_parallel_merge_level_minus2 in the sequence parameter set.
- MMVD Merge mode with MVD
- merge mode with motion vector differences is introduced in VVC.
- a MMVD flag is signalled right after sending a skip flag and merge flag to specify whether MMVD mode is used for a CU.
- Distance index specifies motion magnitude information and indicate the pre-defined offset from the starting point. As shown in above Figure, an offset is added to either horizontal component or vertical component of starting MV. The relation of distance index and pre-defined offset is specified in Table 2-5.
- Direction index represents the direction of the MVD relative to the starting point.
- the direction index can represent of the four directions as shown in Table 2-6. It’s noted that the meaning of MVD sign could be variant according to the information of starting MVs.
- the starting MVs is an un-prediction MV or bi-prediction MVs with both lists point to the same side of the current picture (i.e. POCs of two references are both larger than the POC of the current picture, or are both smaller than the POC of the current picture)
- the sign in Table 2-6 specifies the sign of MV offset added to the starting MV.
- the starting MVs is bi-prediction MVs with the two MVs point to the different sides of the current picture (i.e.
- the sign in Table 2-6 specifies the sign of MV offset added to the list0 MV component of starting MV and the sign for the list1 MV has opposite value.
- the bi-prediction signal is generated by averaging two prediction signals obtained from two different reference pictures and/or using two different motion vectors.
- the bi-prediction mode is extended beyond simple averaging to allow weighted averaging of the two prediction signals.
- P bi-pred ( (8-w) *P 0 +w*P 1 +4) >>3 (2-7)
- the weight w is determined in one of two ways: 1) for a non-merge CU, the weight index is signalled after the motion vector difference; 2) for a merge CU, the weight index is inferred from neighbouring blocks based on the merge candidate index. BCW is only applied to CUs with 256 or more luma samples (i.e., CU width times CU height is greater than or equal to 256) . For low-delay pictures, all 5 weights are used. For non-low-delay pictures, only 3 weights (w ⁇ ⁇ 3, 4, 5 ⁇ ) are used.
- affine ME When combined with affine, affine ME will be performed for unequal weights if and only if the affine mode is selected as the current best mode.
- the BCW weight index is coded using one context coded bin followed by bypass coded bins.
- the first context coded bin indicates if equal weight is used; and if unequal weight is used, additional bins are signalled using bypass coding to indicate which unequal weight is used.
- Weighted prediction is a coding tool supported by the H. 264/AVC and HEVC standards to efficiently code video content with fading. Support for WP was also added into the VVC standard. WP allows weighting parameters (weight and offset) to be signalled for each reference picture in each of the reference picture lists L0 and L1. Then, during motion compensation, the weight (s) and offset (s) of the corresponding reference picture (s) are applied. WP and BCW are designed for different types of video content. In order to avoid interactions between WP and BCW, which will complicate VVC decoder design, if a CU uses WP, then the BCW weight index is not signalled, and w is inferred to be 4 (i.e. equal weight is applied) .
- the weight index is inferred from neighbouring blocks based on the merge candidate index. This can be applied to both normal merge mode and inherited affine merge mode.
- the affine motion information is constructed based on the motion information of up to 3 blocks.
- the BCW index for a CU using the constructed affine merge mode is simply set equal to the BCW index of the first control point MV.
- CIIP and BCW cannot be jointly applied for a CU.
- the BCW index of the current CU is set to 2, e.g. equal weight.
- BDOF bi-directional optical flow
- BDOF is used to refine the bi-prediction signal of a CU at the 4 ⁇ 4 subblock level. BDOF is applied to a CU if it satisfies all the following conditions:
- the CU is coded using “true” bi-prediction mode, i.e., one of the two reference pictures is prior to the current picture in display order and the other is after the current picture in display order.
- Both reference pictures are short-term reference pictures.
- the CU is not coded using affine mode or the ATMVP merge mode.
- CU has more than 64 luma samples.
- Both CU height and CU width are larger than or equal to 8 luma samples.
- the BDOF mode is based on the optical flow concept, which assumes that the motion of an object is smooth.
- a motion refinement (v x , v y ) is calculated by minimizing the difference between the L0 and L1 prediction samples.
- the motion refinement is then used to adjust the bi-predicted sample values in the 4x4 subblock.
- the following steps are applied in the BDOF process. First, the horizontal and vertical gradients, and of the two prediction signals are computed by directly calculating the difference between two neighboring samples, i.e.,
- ⁇ is a 6 ⁇ 6 window around the 4 ⁇ 4 subblock
- n a and n b are set equal to min (1, bitDepth -11) and min (4, bitDepth -8) , respectively.
- the motion refinement (v x , v y ) is then derived using the cross-and auto-correlation terms using the following:
- th′ BIO 2 max (5, BD-7) . is the floor function
- pred BDOF (x, y) (I (0) (x, y) +I (1) (x, y) +b (x, y) +o offset ) >>shift (2-13)
- the BDOF in VVC uses one extended row/column around the CU’s boundaries.
- prediction samples in the extended area are generated by taking the reference samples at the nearby integer positions (using floor () operation on the coordinates) directly without interpolation, and the normal 8-tap motion compensation interpolation filter is used to generate prediction samples within the CU (gray positions) .
- These extended sample values are used in gradient calculation only. For the remaining steps in the BDOF process, if any sample and gradient values outside of the CU boundaries are needed, they are padded (i.e. repeated) from their nearest neighbors.
- the width and/or height of a CU When the width and/or height of a CU are larger than 16 luma samples, it will be split into subblocks with width and/or height equal to 16 luma samples, and the subblock boundaries are treated as the CU boundaries in the BDOF process.
- the maximum unit size for BDOF process is limited to 16x16. For each subblock, the BDOF process could skipped.
- the SAD of between the initial L0 and L1 prediction samples is smaller than a threshold, the BDOF process is not applied to the subblock.
- the threshold is set equal to (8 *W* (H >> 1) , where W indicates the subblock width, and H indicates subblock height.
- the SAD between the initial L0 and L1 prediction samples calculated in DVMR process is re-used here.
- BCW is enabled for the current block, i.e., the BCW weight index indicates unequal weight
- WP is enabled for the current block, i.e., the luma_weight_lx_flag is 1 for either of the two reference pictures
- BDOF is also disabled.
- a CU is coded with symmetric MVD mode or CIIP mode, BDOF is also disabled.
- symmetric MVD mode for bi-predictional MVD signalling is applied.
- motion information including reference picture indices of both list-0 and list-1 and MVD of list-1 are not signaled but derived.
- the decoding process of the symmetric MVD mode is as follows:
- BiDirPredFlag is set equal to 0.
- BiDirPredFlag is set to 1, and both list-0 and list-1 reference pictures are short-term reference pictures. Otherwise BiDirPredFlag is set to 0.
- a symmetrical mode flag indicating whether symmetrical mode is used or not is explicitly signaled if the CU is bi-prediction coded and BiDirPredFlag is equal to 1.
- MVD0 When the symmetrical mode flag is true, only mvp_l0_flag, mvp_l1_flag and MVD0 are explicitly signaled.
- the reference indices for list-0 and list-1 are set equal to the pair of reference pictures, respectively.
- MVD1 is set equal to (-MVD0) .
- the final motion vectors are shown in below formula.
- symmetric MVD motion estimation starts with initial MV evaluation.
- a set of initial MV candidates comprising of the MV obtained from uni-prediction search, the MV obtained from bi-prediction search and the MVs from the AMVP list.
- the one with the lowest rate-distortion cost is chosen to be the initial MV for the symmetric MVD motion search.
- a bilateral-matching based decoder side motion vector refinement is applied in VVC.
- bi-prediction operation a refined MV is searched around the initial MVs in the reference picture list L0 and reference picture list L1.
- the BM method calculates the distortion between the two candidate blocks in the reference picture list L0 and list L1.
- the SAD between the red blocks based on each MV candidate around the initial MV is calculated.
- the MV candidate with the lowest SAD becomes the refined MV and used to generate the bi-predicted signal.
- the DMVR can be applied for the CUs which are coded with following modes and features:
- One reference picture is in the past and another reference picture is in the future with respect to the current picture.
- Both reference pictures are short-term reference pictures.
- CU has more than 64 luma samples.
- Both CU height and CU width are larger than or equal to 8 luma samples.
- the refined MV derived by DMVR process is used to generate the inter prediction samples and also used in temporal motion vector prediction for future pictures coding. While the original MV is used in deblocking process and also used in spatial motion vector prediction for future CU coding.
- MV_offset represents the refinement offset between the initial MV and the refined MV in one of the reference pictures.
- the refinement search range is two integer luma samples from the initial MV.
- the searching includes the integer sample offset search stage and fractional sample refinement stage.
- 25 points full search is applied for integer sample offset searching.
- the SAD of the initial MV pair is first calculated. If the SAD of the initial MV pair is smaller than a threshold, the integer sample stage of DMVR is terminated. Otherwise SADs of the remaining 24 points are calculated and checked in raster scanning order. The point with the smallest SAD is selected as the output of integer sample offset searching stage. To reduce the penalty of the uncertainty of DMVR refinement, it is proposed to favor the original MV during the DMVR process. The SAD between the reference blocks referred by the initial MV candidates is decreased by 1/4 of the SAD value.
- the integer sample search is followed by fractional sample refinement.
- the fractional sample refinement is derived by using parametric error surface equation, instead of additional search with SAD comparison.
- the fractional sample refinement is conditionally invoked based on the output of the integer sample search stage. When the integer sample search stage is terminated with center having the smallest SAD in either the first iteration or the second iteration search, the fractional sample refinement is further applied.
- (x min , y min ) corresponds to the fractional position with the least cost and C corresponds to the minimum cost value.
- the resolution of the MVs is 1/16 luma samples.
- the samples at the fractional position are interpolated using a 8-tap interpolation filter.
- the search points are surrounding the initial fractional-pel MV with integer sample offset, therefore the samples of those fractional position need to be interpolated for DMVR search process.
- the bi-linear interpolation filter is used to generate the fractional samples for the searching process in DMVR. Another important effect is that by using bi-linear filter is that with 2-sample search range, the DVMR does not access more reference samples compared to the normal motion compensation process.
- the normal 8-tap interpolation filter is applied to generate the final prediction. In order to not access more reference samples to normal MC process, the samples, which is not needed for the interpolation process based on the original MV but is needed for the interpolation process based on the refined MV, will be padded from those available samples.
- width and/or height of a CU When the width and/or height of a CU are larger than 16 luma samples, it will be further split into subblocks with width and/or height equal to 16 luma samples.
- the maximum unit size for DMVR searching process is limit to 16x16.
- the CIIP prediction combines an inter prediction signal with an intra prediction signal.
- the inter prediction signal in the CIIP mode P inter is derived using the same inter prediction process applied to regular merge mode; and the intra prediction signal P intra is derived following the regular intra prediction process with the planar mode. Then, the intra and inter prediction signals are combined using weighted averaging, where the weight value is calculated depending on the coding modes of the top and left neighbouring blocks as follows:
- the weighting factor ⁇ is specified according to the following table:
- MHP is only applied if non-equal weight in BCW is selected in bi-prediction mode.
- top and left boundary pixels of a CU are refined using neighboring block’s motion information with a weighted prediction.
- 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:
- 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 ⁇ and an offset ⁇ , which forms a linear equation, that is, ⁇ *p [x] + ⁇ 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 ⁇ and ⁇ 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.
- JVET-O0066 The local illumination compensation proposed in JVET-O0066 is used for uni-prediction inter CUs with the following modifications.
- 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.
- a geometric partitioning mode is supported for inter prediction.
- the geometric partitioning mode 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.
- w ⁇ h 2 m ⁇ 2 n with m, n ⁇ ⁇ 3...6 ⁇ excluding 8x64 and 64x8.
- a CU When this mode is used, a CU is split into two parts by a geometrically located straight line (Fig. 23) .
- the location of the splitting line is mathematically derived from the angle and offset parameters of a specific partition.
- Each part of a geometric partition in the CU is inter-predicted using its own motion; 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 same as the conventional bi-prediction, only two motion compensated prediction are needed for each CU.
- a geometric partition index indicating the partition mode of the geometric partition (angle and offset) , and two merge indices (one for each partition) are further signalled.
- the number of maximum GPM candidate size is signalled explicitly in SPS and specifies syntax binarization for GPM merge indices.
- the uni-prediction candidate list is derived directly from the merge candidate list constructed according to the extended merge prediction process.
- n the index of the uni-prediction motion in the geometric uni-prediction candidate list.
- the LX motion vector of the n-th extended merge candidate with X equal to the parity of n, is used as the n-th uni-prediction motion vector for geometric partitioning mode. These motion vectors are marked with “x” in Fig. 24.
- the L (1 -X) motion vector of the same candidate is used instead as the uni-prediction motion vector for geometric partitioning mode.
- blending is applied to the two prediction signals to derive samples around geometric partition edge.
- the blending weight for each position of the CU are derived based on the distance between individual position and the partition edge.
- the distance for a position (x, y) to the partition edge are derived as:
- i, j are the indices for angle and offset of a geometric partition, which depend on the signaled geometric partition index.
- the sign of ⁇ x, j and ⁇ y, j depend on angle index i.
- the partIdx depends on the angle index i.
- One example of weigh w 0 is illustrated below.
- Mv1 from the first part of the geometric partition, Mv2 from the second part of the geometric partition and a combined Mv of Mv1 and Mv2 are stored in the motion filed of a geometric partitioning mode coded CU.
- sType abs (motionIdx) ⁇ 32 ? 2 ⁇ (motionIdx ⁇ 0 ? (1 -partIdx) : partIdx) (2-28)
- motionIdx is equal to d (4x+2, 4y+2) .
- the partIdx depends on the angle index i.
- Mv0 or Mv1 are stored in the corresponding motion field, otherwise if sType is equal to 2, a combined Mv from Mv0 and Mv2 are stored.
- the combined Mv are generated using the following process:
- Mv1 and Mv2 are from different reference picture lists (one from L0 and the other from L1) , then Mv1 and Mv2 are simply combined to form the bi-prediction motion vectors.
- pre-defined intra prediction modes against geometric partitioning line can be selected in addition to merge candidates for each non-rectangular split region in the GPM-applied CU.
- whether intra or inter prediction mode is determined for each GPM-separated region with a flag from the encoder.
- the inter prediction mode a uni-prediction signal is generated by MVs from the merge candidate list.
- the intra prediction mode a uni-prediction signal is generated from the neighboring pixels for the intra prediction mode specified by an index from the encoder.
- the variation of the possible intra prediction modes is restricted by the geometric shapes.
- the two uni-prediction signals are blended with the same way of ordinary GPM.
- Intra block copy is a tool adopted in HEVC extensions on SCC. It is well known that it significantly improves the coding efficiency of screen content materials. Since 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. Here, 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 matching 32-bit CRC
- the 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. 26 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
- VVC inter coding tools
- HMVP history based motion vector predictor
- CIIP combined intra/inter prediction mode
- MMVD merge mode with motion vector difference
- GPM geometric partitioning mode
- IBC can be used with pairwise merge candidate and HMVP.
- a new 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, CIIP, 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.
- HMVP buffer (5 candidates each) is used for conventional MV and IBC.
- 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 bitsream, 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.
- a virtual buffer concept is used to describe the allowable reference region for IBC prediction mode and valid block vectors.
- CTU size as ctbSize
- wIbcBuf 128x128/ctbSize
- height hIbcBuf ctbSize.
- the virtual IBC buffer, ibcBuf is maintained as follows.
- ibcBuf [ (x + bv [0] ) %wIbcBuf] [ (y + bv [1] ) %ctbSize] shall not be equal to -1.
- BDPCM Block differential pulse coded modulation
- VVC supports block differential pulse coded modulation (BDPCM) for screen content coding.
- BDPCM block differential pulse coded modulation
- a flag is transmitted at the CU level if the CU size is smaller than or equal to MaxTsSize by MaxTsSize in terms of luma samples and if the CU is intra coded, where MaxTsSize is the maximum block size for which the transform skip mode is allowed. This flag indicates whether regular intra coding or BDPCM is used. If BDPCM is used, a BDPCM prediction direction flag is transmitted to indicate whether the prediction is horizontal or vertical. Then, the block is predicted using the regular horizontal or vertical intra prediction process with unfiltered reference samples. The residual is quantized and the difference between each quantized residual and its predictor, i.e. the previously coded residual of the horizontal or vertical (depending on the BDPCM prediction direction) neighbouring position, is coded.
- the inverse quantized residuals, Q -1 (Q (r i, j ) ) are added to the intra block prediction values to produce the reconstructed sample values.
- the predicted quantized residual values are sent to the decoder using the same residual coding process as that in transform skip mode residual coding.
- slice_ts_residual_coding_disabled_flag is set to 1
- the quantized residual values are sent to the decoder using regular transform residual coding.
- horizontal or vertical prediction mode is stored for a BDPCM-coded CU if the BDPCM prediction direction is horizontal or vertical, respectively.
- deblocking if both blocks on the sides of a block boundary are coded using BDPCM, then that particular block boundary is not deblocked.
- VVC allows the transform skip mode to be used for luma blocks of size up to MaxTsSize by MaxTsSize, where the value of MaxTsSize is signaled in the PPS and can be at most 32.
- a CU When a CU is coded in transform skip mode, its prediction residual is quantized and coded using the transform skip residual coding process. This process is modified from the transform coefficient coding process.
- transform skip mode the residuals of a TU are also coded in units of non-overlapped subblocks of size 4x4. For better coding efficiency, some modifications are made to customize the residual coding process towards the residual signal’s characteristics.
- transform skip residual coding and regular transform residual coding The following summarizes the differences between transform skip residual coding and regular transform residual coding:
- Forward scanning order is applied to scan the subblocks within a transform block and also the positions within a subblock;
- coded_sub_block_flag is coded for every subblock except for the last subblock when all previous flags are equal to 0;
- sig_coeff_flag context modelling uses a reduced template, and context model of sig_coeff_flag depends on top and left neighbouring values;
- abs_level_gt1 flag also depends on the left and top sig_coeff_flag values
- context model of the sign flag is determined based on left and above neighbouring values and the sign flag is parsed after sig_coeff_flag to keep all context coded bins together.
- coded_subblock_flag 1 (i.e., there is at least one non-zero quantized residual in the subblock)
- coding of the quantized residual levels is performed in three scan passes (see Fig. 27) :
- Remainder scan pass The remainder of the absolute level abs_remainder are coded in bypass mode. The remainder of the absolute levels are binarized using a fixed rice parameter value of 1.
- the bins in scan passes #1 and #2 are context coded until the maximum number of context coded bins in the TU have been exhausted.
- the maximum number of context coded bins in a residual block is limited to 1.75*block_width*block_height, or equivalently, 1.75 context coded bins per sample position on average.
- the bins in the last scan pass (the remainder scan pass) are bypass coded.
- a variable, RemCcbs is first set to the maximum number of context-coded bins for the block and is decreased by one each time a context-coded bin is coded.
- RemCcbs is larger than or equal to four, syntax elements in the first coding pass, which includes the sig_coeff_flag, coeff_sign_flag, abs_level_gt1_flag and par_level_flag, are coded using context-coded bins. If RemCcbs becomes smaller than 4 while coding the first pass, the remaining coefficients that have yet to be coded in the first pass are coded in the remainder scan pass (pass #3) .
- RemCcbs After completion of first pass coding, if RemCcbs is larger than or equal to four, syntax elements in the second coding pass, which includes abs_level_gt3_flag, abs_level_gt5_flag, abs_level_gt7_flag, and abs_level_gt9_flag, are coded using context coded bins. If the RemCcbs becomes smaller than 4 while coding the second pass, the remaining coefficients that have yet to be coded in the second pass are coded in the remainder scan pass (pass #3) .
- Fig. 27 illustrates the transform skip residual coding process.
- the star marks the position when context coded bins are exhausted, at which point all remaining bins are coded using bypass coding.
- a level mapping mechanism is applied to transform skip residual coding until the maximum number of context coded bins has been reached.
- Level mapping uses the top and left neighbouring coefficient levels to predict the current coefficient level in order to reduce signalling cost. For a given residual position, denote absCoeff as the absolute coefficient level before mapping and absCoeffMod as the coefficient level after mapping. Let X 0 denote the absolute coefficient level of the left neighbouring position and let X 1 denote the absolute coefficient level of the above neighbouring position.
- the level mapping is performed as follows:
- absCoeffMod (absCoeff ⁇ pred) ? absCoeff + 1 : absCoeff;
- the absCoeffMod value is coded as described above. After all context coded bins have been exhausted, level mapping is disabled for all remaining scan positions in the current block.
- the palette mode is used for screen content coding in all of the chroma formats supported in a 4: 4: 4 profile (that is, 4: 4: 4, 4: 2: 0, 4: 2: 2 and monochrome) .
- palette mode When palette mode is enabled, a flag is transmitted at the CU level if the CU size is smaller than or equal to 64x64, and the amount of samples in the CU is greater than 16 to indicate whether palette mode is used.
- palette mode is disabled for CU that are smaller than or equal to 16 samples.
- a palette coded coding unit (CU) is treated as a prediction mode other than intra prediction, inter prediction, and intra block copy (IBC) mode.
- the sample values in the CU are represented by a set of representative colour values.
- the set is referred to as the palette.
- the palette indices are signalled. It is also possible to specify a sample that is outside the palette by signalling an escape symbol. For samples within the CU that are coded using the escape symbol, their component values are signalled directly using (possibly) quantized component values. This is illustrated in Fig. 28.
- the quantized escape symbol is binarized with fifth order Exp-Golomb binarization process (EG5) .
- a palette predictor For coding of the palette, a palette predictor is maintained.
- the palette predictor is initialized to 0 at the beginning of each slice for non-wavefront case.
- the palette predictor at the beginning of each CTU row is initialized to the predictor derived from the first CTU in the previous CTU row so that the initialization scheme between palette predictors and CABAC synchronization is unified.
- a reuse flag is signalled to indicate whether it is part of the current palette in the CU.
- the reuse flags are sent using run-length coding of zeros. After this, the number of new palette entries and the component values for the new palette entries are signalled.
- the palette predictor After encoding the palette coded CU, the palette predictor will be updated using the current palette, and entries from the previous palette predictor that are not reused in the current palette will be added at the end of the new palette predictor until the maximum size allowed is reached.
- An escape flag is signaled for each CU to indicate if escape symbols are present in the current CU. If escape symbols are present, the palette table is augmented by one and the last index is assigned to be the escape symbol.
- index runs, palette index values, and quantized colors for escape mode are encoded/parsed sequentially for each CG.
- horizontal or vertical traverse scan can be applied to scan the samples, as shown in Fig. 29.
- decoder doesn’t have to parse run type if the sample is in the first row (horizontal traverse scan) or in the first column (vertical traverse scan) since the INDEX mode is used by default. With the same way, decoder doesn’t have to parse run type if the previously parsed run type is COPY_ABOVE.
- index values for INDEX mode
- quantized escape colors are grouped and coded in another coding pass using CABAC bypass coding. Such separation of context coded bins and bypass coded bins can improve the throughput within each line CG.
- palette is applied on luma (Y component) and chroma (Cb and Cr components) separately, with the luma palette entries containing only Y values and the chroma palette entries containing both Cb and Cr values.
- palette will be applied on Y, Cb, Cr components jointly, i.e., each entry in the palette contains Y, Cb, Cr values, unless when a CU is coded using local dual tree, in which case coding of luma and chroma is handled separately.
- the maximum palette predictor size is 63, and the maximum palette table size for coding of the current CU is 31.
- the maximum predictor and palette table sizes are halved, i.e., maximum predictor size is 31 and maximum table size is 15, for each of the luma palette and the chroma palette.
- deblocking the palette coded block on the sides of a block boundary is not deblocked.
- Palette mode in VVC is supported for all chroma formats in a similar manner as the palette mode in HEVC SCC.
- 4: 4 content the following customization is applied:
- the palette mode is applied to the block in the same way as the palette mode applied to a single tee block with two exceptions:
- palette predictor update is slightly modified as follows. Since the local dual tree block only contains luma (or chroma) component, the predictor update process uses the signalled value of luma (or chroma) component and fills the “missing” chroma (or luma) component by setting it to a default value of (1 ⁇ (component bit depth -1) ) .
- the maximum palette predictor size is kept at 63 (since the slice is coded using single tree) but the maximum palette table size for the luma/chroma block is kept at 15 (since the block is coded using separate palette) .
- the number of colour components in a palette coded block is set to 1 instead of 3.
- the palette table of the current CU is initialized as an empty table. For each sample position in the CU, the SAD between this sample and each palette table entry is calculated and the minimum SAD among all palette table entries is obtained. If the minimum SAD is smaller than a pre-defined error limit, errorLimit, then the current sample is clustered together with the palette table entry with the minimum SAD. Otherwise, a new palette table entry is created.
- errorLimit is QP-dependent and is retrieved from a look-up table containing 57 elements covering the entire QP range. After all samples of the current CU have been processed, the initial palette entries are sorted according to the number of samples clustered together with each palette entry, and any entry after the 31 st entry is discarded.
- the initial palette table colours are adjusted by considering two options: using the centroid of each cluster from step 1 or using one of the palette colours in the palette predictor.
- the option with lower rate-distortion cost is selected to be the final colours of the palette table. If a cluster has only a single sample and the corresponding palette entry is not in the palette predictor, the corresponding sample is converted to an escape symbol in the next step.
- a palette table thus generated contains some new entries from the centroids of the clusters in step 1, and some entries from the palette predictor. So this table is reordered again such that all new entries (i.e. the centroids) are put at the beginning of the table, followed by entries from the palette predictor.
- each entry in the palette table is checked to see if it is used by at least one sample position in the CU. Any unused palette entry will be removed.
- trellis RD optimization is applied to find the best values of run_copy_flag and run type for each sample position by comparing the RD cost of three options: same as the previously scanned position, run type COPY_ABOVE, or run type INDEX.
- SAD values sample values are scaled down to 8 bits, unless the CU is coded in lossless mode, in which case the actual input bit depth is used to calculate the SAD. Further, in the case of lossless coding, only rate is used in the rate-distortion optimization steps mentioned above (because lossless coding incurs no distortion) .
- ACT adaptive color transform
- VVC VVC standard
- ACT performs in-loop color space conversion in the prediction residual domain by adaptively converting the residuals from the input color space to YCgCo space.
- Fig. 30 illustrates the decoding flowchart with the ACT being applied. Two color spaces are adaptively selected by signaling one ACT flag at CU level.
- the residuals of the CU are coded in the YCgCo space; otherwise, the residuals of the CU are coded in the original color space.
- the ACT is only enabled when there is at least one non-zero coefficient in the CU.
- the ACT is only enabled when chroma components select the same intra prediction mode of luma component, i.e., DM mode.
- the ACT supports both lossless and lossy coding based on lossless flag (i.e., cu_transquant_bypass_flag) .
- lossless flag i.e., cu_transquant_bypass_flag
- YCgCo-R transform is applied as ACT to support both lossy and lossless cases.
- the YCgCo-R reversible colour transform is shown as below.
- the QP adjustments of (-5, 1, 3) are applied to the transform residuals of Y, Cg and Co components, respectively.
- the adjusted quantization parameter only affects the quantization and inverse quantization of the residuals in the CU. For other coding processes (such as deblocking) , original QP is still applied.
- the ACT mode is always disabled for separate-tree partition and ISP mode where the prediction block size of different color component is different.
- Transform skip (TS) and block differential pulse coded modulation (BDPCM) which are extended to code chroma residuals, are also enabled when the ACT is applied.
- the following fast encoding algorithms are applied in the VTM reference software to reduce the encoder complexity when the ACT is enabled.
- the order of RD checking of enabling/disabling ACT is dependent on the original color space of input video. For RGB videos, the RD cost of ACT mode is checked first; for YCbCr videos, the RD cost of non-ACT mode is checked first. The RD cost of the second color space is checked only if there is at least one non-zero coefficient in the first color space.
- the same ACT enabling/disabling decision is reused when one CU is obtained through different partition path. Specifically, the selected color space for coding the residuals of one CU will be stored when the CU is coded at the first time. Then, when the same CU is obtained by another partition path, instead of checking the RD costs of the two spaces, the stored color space decision will be directly reused.
- the RD cost of a parent CU is used to decide whether to check the RD cost of the second color space for the current CU. For instance, if the RD cost of the first color space is smaller than that of the second color space for the parent CU, then for the current CU, the second color space is not checked.
- the selected coding mode is shared between two color spaces.
- the preselected intra mode candidates based on SATD-based intra mode selection are shared between two color spaces.
- block vector search or motion estimation is performed only once. The block vectors and motion vectors are shared by two color spaces.
- 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. 31 consisting of:
- R4 left CTU.
- 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.
- ‘a’ is a constant that controls the gain/complexity trade-off. In practice, ‘a’ is equal to 5.
- 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.
- Block vector (BV) derived from the intra template matching prediction (IntraTMP) is used for intra block copy (IBC) .
- IntraTMP BV of the neighboring blocks along with IBC BV are used as spatial BV candidates in IBC candidate list construction.
- chroma components when chroma dual tree is activated in intra slice, if one of the luma blocks (the five locations) is coded with MODE_IBC, its block vector bvL is used and scaled to derive chroma block vector bvC.
- the scaling factor depends on the chroma format sampling structure.
- the corresponding offset position (xCb+ bvC [0] , yCb + bvC [1] ) is determined, and a block copying prediction is performed.
- a CU level flag is signaled to indicate whether the proposed DBV mode is applied as shown in Table 2-7.
- VVC large block-size transforms, up to 64 ⁇ 64 in size, are enabled, which is primarily useful for higher resolution video, e.g., 1080p and 4K sequences.
- High frequency transform coefficients are zeroed out for the transform blocks with size (width or height, or both width and height) equal to 64, so that only the lower-frequency coefficients are retained.
- M size
- N the block height
- transform skip mode is used for a large block, the entire block is used without zeroing out any values.
- transform shift is removed in transform skip mode.
- the VTM also supports configurable max transform size in SPS, such that encoder has the flexibility to choose up to 32-length or 64-length transform size depending on the need of specific implementation.
- a Multiple Transform Selection (MTS) scheme is used for residual coding both inter and intra coded blocks. It uses multiple selected transforms from the DCT8/DST7.
- the newly introduced transform matrices are DST-VII and DCT-VIII.
- Table 2-8 shows the basis functions of the selected DST/DCT.
- the transform matrices are quantized more accurately than the transform matrices in HEVC.
- the transform matrices are quantized more accurately than the transform matrices in HEVC.
- MTS In order to control MTS scheme, separate enabling flags are specified at SPS level for intra and inter, respectively.
- a CU level flag is signalled to indicate whether MTS is applied or not.
- MTS is applied only for luma. The MTS signaling is skipped when one of the below conditions is applied.
- the position of the last significant coefficient for the luma TB is less than 1 (i.e., DC only) .
- the last significant coefficient of the luma TB is located inside the MTS zero-out region. If MTS CU flag is equal to zero, then DCT2 is applied in both directions. However, if MTS CU flag is equal to one, then two other flags are additionally signalled to indicate the transform type for the horizontal and vertical directions, respectively. Transform and signalling mapping table as shown in Table 2-9. Unified the transform selection for ISP and implicit MTS is used by removing the intra-mode and block-shape dependencies. If current block is ISP mode or if the current block is intra block and both intra and inter explicit MTS is on, then only DST7 is used for both horizontal and vertical transform cores. When it comes to transform matrix precision, 8-bit primary transform cores are used.
- transform cores used in HEVC are kept as the same, including 4-point DCT-2 and DST-7, 8-point, 16-point and 32-point DCT-2. Also, other transform cores including 64-point DCT-2, 4-point DCT-8, 8-point, 16-point, 32-point DST-7 and DCT-8, use 8-bit primary transform cores.
- High frequency transform coefficients are zeroed out for the DST-7 and DCT-8 blocks with size (width or height, or both width and height) equal to 32. Only the coefficients within the 16x16 lower-frequency region are retained.
- the residual of a block can be coded with transform skip mode.
- the transform skip flag is not signalled when the CU level MTS_CU_flag is not equal to zero.
- implicit MTS transform is set to DCT2 when LFNST or MIP is activated for the current CU. Also the implicit MTS can be still enabled when MTS is enabled for inter coded blocks.
- LFNST is applied between forward primary transform and quantization (at encoder) and between de-quantization and inverse primary transform (at decoder side) .
- LFNST 4x4 non-separable transform or 8x8 non-separable transform is applied according to block size. For example, 4x4 LFNST is applied for small blocks (i.e., min (width, height) ⁇ 8) and 8x8 LFNST is applied for larger blocks (i.e., min (width, height) > 4) .
- the non-separable transform is calculated as where indicates the transform coefficient vector, and T is a 16x16 transform matrix.
- T is a 16x16 transform matrix.
- the 16x1 coefficient vector is subsequently re-organized as 4x4 block using the scanning order for that block (horizontal, vertical or diagonal) .
- the coefficients with smaller index will be placed with the smaller scanning index in the 4x4 coefficient block.
- LFNST low-frequency non-separable transform
- N is commonly equal to 64 for 8x8 NSST
- RST is the reduction factor
- the inverse transform matrix for RT is the transpose of its forward transform.
- a reduction factor of 4 is applied, and 64x64 direct matrix, which is conventional 8x8 non-separable transform matrix size, is reduced to16x48 direct matrix.
- the 48 ⁇ 16 inverse RST matrix is used at the decoder side to generate core (primary) transform coefficients in 8 ⁇ 8 top-left regions.
- 16x48 matrices are applied instead of 16x64 with the same transform set configuration, each of which takes 48 input data from three 4x4 blocks in a top-left 8x8 block excluding right-bottom 4x4 block.
- LFNST In order to reduce complexity LFNST is restricted to be applicable only if all coefficients outside the first coefficient sub-group are non-significant. Hence, all primary-only transform coefficients have to be zero when LFNST is applied. This allows a conditioning of the LFNST index signalling on the last-significant position, and hence avoids the extra coefficient scanning in the current LFNST design, which is needed for checking for significant coefficients at specific positions only.
- the worst-case handling of LFNST (in terms of multiplications per pixel) restricts the non-separable transforms for 4x4 and 8x8 blocks to 8x16 and 8x48 transforms, respectively.
- the last-significant scan position has to be less than 8 when LFNST is applied, for other sizes less than 16.
- the proposed restriction implies that the LFNST is now applied only once, and that to the top-left 4x4 region only.
- the quantization of coefficients is remarkably simplified when LFNST transforms are tested. A rate-distortion optimized quantization has to be done at maximum for the first 16 coefficients (in scan order) , the remaining coefficients are enforced to be zero.
- transform set 0 is selected for the current chroma block.
- the selected non-separable secondary transform candidate is further specified by the explicitly signalled LFNST index. The index is signalled in a bit-stream once per Intra CU after transform coefficients.
- LFNST index coding depends on the position of the last significant coefficient.
- the LFNST index is context coded but does not depend on intra prediction mode, and only the first bin is context coded.
- LFNST is applied for intra CU in both intra and inter slices, and for both Luma and Chroma. If a dual tree is enabled, LFNST indices for Luma and Chroma are signaled separately. For inter slice (the dual tree is disabled) , a single LFNST index is signaled and used for both Luma and Chroma.
- an LFNST index search could increase data buffering by four times for a certain number of decode pipeline stages. Therefore, the maximum size that LFNST is allowed is restricted to 64x64. Note that LFNST is enabled with DCT2 only. The LFNST index signaling is placed before MTS index signaling.
- VTM subblock transform is introduced for an inter-predicted CU.
- this transform mode only a sub-part of the residual block is coded for the CU.
- cu_cbf 1
- cu_sbt_flag may be signaled to indicate whether the whole residual block or a sub-part of the residual block is coded.
- inter MTS information is further parsed to determine the transform type of the CU.
- a part of the residual block is coded with inferred adaptive transform and the other part of the residual block is zeroed out.
- SBT type and SBT position information are signaled in the bitstream.
- SBT-V or SBT-H
- the TU width (or height) may equal to half of the CU width (or height) or 1/4 of the CU width (or height) , resulting in 2: 2 split or 1: 3/3: 1 split.
- the 2: 2 split is like a binary tree (BT) split while the 1: 3/3: 1 split is like an asymmetric binary tree (ABT) split.
- ABT splitting only the small region contains the non-zero residual. If one dimension of a CU is 8 in luma samples, the 1: 3/3: 1 split along that dimension is disallowed. There are at most 8 SBT modes for a CU.
- Position-dependent transform core selection is applied on luma transform blocks in SBT-V and SBT-H (chroma TB always using DCT-2) .
- the two positions of SBT-H and SBT-V are associated with different core transforms. More specifically, the horizontal and vertical transforms for each SBT position is specified in Fig. 35.
- the horizontal and vertical transforms for SBT-V position 0 is DCT-8 and DST-7, respectively.
- the subblock transform jointly specifies the TU tiling, cbf, and horizontal and vertical core transform type of a residual block.
- the SBT is not applied to the CU coded with combined inter-intra mode.
- Both CTU size and maximum transform size are extended to 256, where the maximum intra coded block can have a size of 128x128.
- the maximum CTU size is set to 256 for UHD sequences and it is set to 128, otherwise.
- LFNST is applied, the primary transform coefficients outside the LFNST region are normatively zeroed-out.
- DCT5 DCT5, DST4, DST1, and identity transform (IDT) are employed.
- MTS set is made dependent on the TU size and intra mode information. 16 different TU sizes are considered, and for each TU size 5 different classes are considered depending on intra-mode information. For each class, 4 different transform pairs are considered, the same as that of VVC. Note, although a total of 80 different classes are considered, some of those different classes often share exactly same transform set. So there are 58 (less than 80) unique entries in the resultant LUT.
- the order of the horizontal and vertical transform kernel is swapped. For example, for a 16x4 block with mode 18 (horizontal prediction) and a 4x16 block with mode 50 (vertical prediction) are mapped to the same class.
- the vertical and horizontal transform kernels are swapped.
- the nearest conventional angular mode is used for the transform set determination. For example, mode 2 is used for all the modes between -2 and -14. Similarly, mode 66 is used for mode 67 to mode 80.
- MTS index [0, 3] is signalled with 2 bit fixed-length coding.
- the LFNST design in VVC is extended as follows:
- lfnstTrSetIdx is equal to 2.
- ⁇ lfnstTrSetIdx predModeIntra, for predModeIntra in [0, 34] .
- ⁇ lfnstTrSetIdx 68 –predModeIntra, for predModeIntra in [35, 66] .
- LFNST4, LFNST8, and LFNST16 are defined to indicate LFNST kernel sets, which are applied to 4xN/Nx4 (N ⁇ 4) , 8xN/Nx8 (N ⁇ 8) , and MxN (M, N ⁇ 16) , respectively.
- the forward LFNST is applied to top-left low frequency region, which is called Region-Of-Interest (ROI) .
- ROI Region-Of-Interest
- the ROI for LFNST16 is depicted in Fig. 36. It consists of six 4x4 sub-blocks, which are consecutive in scan order. Since the number of input samples is 96, transform matrix for forward LFNST16 can be Rx96. R is chosen to be 32 in this contribution, 32 coefficients (two 4x4 sub-blocks) are generated from forward LFNST16 accordingly, which are placed following coefficient scan order.
- the ROI for LFNST8 is shown in Fig. 37.
- the forward LFNST8 matrix can be Rx64 and R is chosen to be 32.
- the generated coefficients are located in the same manner as with LFNST16.
- the mapping from intra prediction modes to these sets is shown in Table 2-11.
- NSP Non-Separable Primary Transform for Intra Coding
- DCT-II+LFNST is replaced by NSPT for the block sizes 4x4, 4x8, 8x4 and 8x8.
- the NSPTs follows the design of LFNST, i.e. 3 candidates and 35 sets, chosen based on the intra mode.
- the kernel sizes are as follows:
- ⁇ NSPT8x8 64x32.
- JVET-D0031 and JVET-J0021 The basic idea of the coefficient sign prediction method is to calculate reconstructed residual for both negative and positive sign combinations for applicable transform coefficients and select the hypothesis that minimizes a cost function.
- the cost function is defined as discontinuity measure across block boundary shown on Fig. 38. It is measured for all hypotheses, and the one with the smallest cost is selected as a predictor for coefficient signs.
- the cost function is defined as a sum of absolute second derivatives in the residual domain for the above row and left column as follows:
- R is reconstructed neighbors
- P is prediction of the current block
- r is the residual hypothesis.
- the term (-R -1 +2R 0 -P 1 ) can be calculated only once per block and only residual hypothesis is subtracted.
- video unit or ‘coding unit’ or ‘block’ may represent a coding tree block (CTB) , a coding tree unit (CTU) , a coding block (CB) , a CU, a PU, a TU, a PB, a TB.
- CTB coding tree block
- CTU coding tree unit
- CB coding block
- mode N may be a prediction mode (e.g., MODE_INTRA, MODE_INTER, MODE_PLT, MODE_IBC, and etc. ) , or a coding technique (e.g., AMVP, SMVD, Merge, BDOF, PROF, DMVR, AMVR, TM, Affine, CIIP, GPM, spatial GPM, SGPM, GPM inter-inter, GPM intra-intra, GPM inter-intra, MHP, GEO, TPM, MMVD, BCW, HMVP, SbTMVP, LIC, OBMC, DIMD, TIMD, PDPC, CCLM, CCCM, GLM, intraTMP, ALF, deblocking, SAO, bilateral filter, LMCS, and the corresponding variants, and etc. ) a prediction mode (e.g., MODE_INTRA, MODE_INTER, MODE_PLT, MODE_IBC, and etc. ) , or a
- whether OBMC is applied to the current block may be dependent on the prediction mode of spatial/temporal neighboring blocks adjacent/non-adjacent to the current block.
- the current block may be inter merge coded.
- the current block may be inter AMVP coded.
- 3) For example, it may be based on whether there is a neighbor block coded with IBC.
- the neighbor block may be adjacent to the current block.
- the neighbor block may be non-adjacent to the current block.
- the neighbor block may be a spatial neighbor block inside the current picture.
- the neighbor block may be a temporal block in a reference picture.
- the neighbor block may be a subblock (e.g., 4x4 or 8x8) which is smaller than the current block.
- the neighbor block may be a video unit which is larger than or equal to the current block.
- the neighbor block may be a sample location.
- a series of adjacent neighboring blocks/subblocks left and/or above the current block may be checked one by one (e.g., following pre-defined positions and pre-defined checking orders) .
- b For example, if there is one neighbor coded with INTER mode, it is further checked whether its reference block is coded with a particular mode, (e.g., the reference block is identified by adding the motion vector associated with such INTER coded neighbor and the position of such INTER coded neighbor) , and if the reference block is coded with the particular mode, the process is terminated, and it is perceived that OBMC is not applied to the current block.
- a particular mode e.g., the reference block is identified by adding the motion vector associated with such INTER coded neighbor and the position of such INTER coded neighbor
- if there is one neighbor coded with intraTMP it may be further checked whether its reference block is coded with a particular mode, (e.g., the reference block is identified by adding the block vector associated with such intraTMP coded neighbor and the position of such intraTMP coded neighbor) , and if the reference block is coded with the particular mode, the process is terminated, and it is perceived that OBMC is not applied to the current block.
- a particular mode e.g., the reference block is identified by adding the block vector associated with such intraTMP coded neighbor and the position of such intraTMP coded neighbor
- the reference block is in the current picture.
- the particular mode may be IBC, and/or PLT.
- the particular mode may be intraTMP.
- the particular mode may be BDPCM.
- the particular mode may be transform skip.
- a series of non-adjacent neighboring blocks/subblocks in the already coded area of the current picture may be checked one by one (e.g., following pre-defined positions and pre-defined checking orders) .
- the reference block is in a reference picture.
- j For example, if there is one neighbor coded with intraTMP, it is further checked whether its reference block is coded with a particular mode, (e.g., the reference block is identified by adding the block vector associated with such intraTMP coded neighbor and the position of such intraTMP coded neighbor) , and if the reference block is coded with the particular mode, the process is terminated, and it is perceived that OBMC is not applied to the current block.
- a particular mode e.g., the reference block is identified by adding the block vector associated with such intraTMP coded neighbor and the position of such intraTMP coded neighbor
- the reference block is in the current picture.
- the particular mode may be IBC, and/or PLT.
- the particular mode may be intraTMP.
- the particular mode may be BDPCM.
- the particular mode may be transform skip.
- a series of temporal blocks/subblocks in a reference picture may be checked one by one (e.g., following a pre-defined positions and orders) .
- a reference block is coded with a particular mode, (e.g., the reference block is identified by adding the motion vector associated with such INTER coded temporal block and the position of such INTER coded temporal block) , and if the reference block is coded with the particular mode, the process is terminated, and it is perceived that OBMC is not applied to the current block.
- the particular mode may be IBC, and/or PLT.
- the particular mode may be intraTMP.
- the particular mode may be BDPCM.
- the particular mode may be transform skip.
- whether OBMC is applied to the current block may be dependent on the prediction mode of a reference block.
- the current block may be inter merge coded.
- the current block may be inter AMVP coded.
- the reference block may be a block/subblock identified based on adding a displacement (e.g., pre-defined, or based on motion vector, or based on block vector) to the location of a first block.
- a displacement e.g., pre-defined, or based on motion vector, or based on block vector
- the first block may be the current block.
- the first block may be a neighbor block adjacent to the current block.
- the first block may be a neighbor block non-adjacent to the current block.
- the first block may be a reference block of the current block.
- the first block may be a reference block of a neighbor block.
- the reference block may be identified based on the location of an INTER mode coded current block and its motion information (e.g., motion vectors and reference indexes) associated to the current block.
- motion information e.g., motion vectors and reference indexes
- the reference block is in a reference picture.
- the reference block may be identified based on the location of a IntraTMP mode coded current block and its motion information (e.g., block vectors) associated to the current block.
- motion information e.g., block vectors
- the reference block is in the current picture.
- the reference block may be identified based on the location of an INTER mode coded neighbor block and its motion information (e.g., motion vectors and reference indexes) associated to this INTER mode coded neighbor.
- motion information e.g., motion vectors and reference indexes
- the reference block is in a reference picture.
- the reference block may be identified based on the location of a IntraTMP mode coded neighbor block and its motion information (e.g., block vectors) associated to this IntraTMP mode coded neighbor.
- motion information e.g., block vectors
- the reference block is in the current picture.
- the reference block may be identified based on the location of an INTER mode coded reference block and its motion information (e.g., motion vectors and reference indexes) associated to this INTER mode coded reference block.
- motion information e.g., motion vectors and reference indexes
- the reference block is in another reference picture (rather than the reference picture where the INTER mode coded reference block locates at) .
- the reference block may be identified based on the location of a IntraTMP mode coded reference block and its motion information (e.g., block vectors) associated to this IntraTMP mode coded reference block.
- motion information e.g., block vectors
- the reference block is in the same reference picture where the IntraTMP mode coded reference block locates at.
- a reference block may be checked in case that the neighbor block is coded with INTER mode.
- a reference block is then identified by adding the motion vector associated with such INTER coded neighbor and the position of such INTER coded neighbor, and if the reference block is coded with the particular mode, it is perceived that OBMC is not applied to the current block.
- the particular mode may be IBC, and/or PLT.
- the particular mode may be intraTMP.
- the particular mode may be BDPCM.
- the particular mode may be transform skip.
- a reference block may be checked in case that the neighbor block is coded with IntraTMP mode.
- a reference block is then identified by adding the block vector associated with such intraTMP coded neighbor and the position of such intraTMP coded neighbor, and if the reference block is coded with the particular mode, it is perceived that OBMC is not applied to the current block.
- the particular mode may be IBC, and/or PLT.
- the particular mode may be BDPCM.
- the particular mode may be transform skip.
- whether OBMC is applied to the current block may be dependent on the prediction mode of a reference block of a reference block.
- the current block may be inter merge coded.
- the current block may be inter AMVP coded.
- the reference block of a reference block may be identified by adding a motion vector associated with an INTER mode coded reference block and the position of such INTER coded reference block.
- the reference block of a reference block may be identified by adding a block vector associated with a IntraTMP mode coded reference block and the position of such IntraTMP coded reference block.
- a historical/propagated prediction mode may be stored in a buffer.
- the particular mode may be stored in a buffer associated with the block information, indicating it has a historical/propagated information with the particular mode.
- the particular mode may be IBC, and/or PLT.
- the particular mode may be intraTMP.
- the particular mode may be BDPCM.
- the particular mode may be transform skip.
- whether a block in the current picture is coded as a particular mode may be stored in a buffer.
- the particular mode may be IBC.
- the particular mode may be PLT.
- the particular mode may be intraTMP.
- the particular mode may be BDPCM.
- the particular mode may be transform skip.
- whether a block is coded with IBC or PLT may be stored using a shared parameter/buffer.
- a single parameter/buffer may be needed for the storage.
- a block is coded with IBC or PLT or intraTMP or BDPCM, may be stored using individual parameters/buffers.
- multiple parameters/buffers may be needed for the storage.
- whether a block and/or its reference block is coded as a particular mode may be stored in a buffer.
- the particular mode may be IBC.
- the particular mode may be PLT.
- the particular mode may be intraTMP.
- the particular mode may be BDPCM.
- the particular mode may be transform skip.
- either the block or its reference block is coded with IBC or PLT, a parameter equal to true (e.g., indicating it is a historical/propagated screen content block) may be stored in a buffer.
- a parameter equal to false may be stored in a buffer.
- whether a block is coded with IBC or PLT, and whether a reference block of such block is coded with IBC or PLT, may be stored as separate parameters and in separate buffers.
- whether to enable OBMC may be coupled with whether a particular tool is enabled.
- the particular tool may be IBC.
- the particular tool may be PLT.
- the particular tool may be intraTMP.
- the particular tool may be BDPCM.
- the particular tool may be transform skip.
- whether to apply the particular tool may be controlled by a first syntax element (SE) , such as in VPS/SPS/PPS/slice header/CTU/CU/etc.
- SE first syntax element
- whether to apply OBMC may be controlled by a second syntax element (SE) , such as in VPS/SPS/PPS/slice header/CTU/CU/etc.
- SE syntax element
- the second SE may be constrained that the second SE must indicate OBMC to be disabled if the first SE indicates the particular tool is enabled.
- the second SE may be set at the encoder that the second SE must indicate OBMC to be disabled if the first SE indicates the particular tool is enabled.
- PB/TB/CB/PU/TU/CU/VPDU/CTU/CTU row/slice/tile/sub-picture/other kinds of region contain more than one sample or pixel.
- video unit or ‘coding unit’ or ‘block’ may represent a coding tree block (CTB) , a coding tree unit (CTU) , a coding block (CB) , a CU, a PU, a TU, a PB, a TB.
- CTB coding tree block
- CTU coding tree unit
- CB coding block
- mode N may be a prediction mode (e.g., MODE_INTRA, MODE_INTER, MODE_PLT, MODE_IBC, and etc. ) , or a coding technique (e.g., AMVP, SMVD, Merge, BDOF, PROF, DMVR, AMVR, TM, Affine, CIIP, GPM, spatial GPM, SGPM, GPM inter-inter, GPM intra-intra, GPM inter-intra, MHP, GEO, TPM, MMVD, BCW, HMVP, SbTMVP, LIC, OBMC, DIMD, TIMD, PDPC, CCLM, CCCM, GLM, intraTMP, ALF, deblocking, SAO, bilateral filter, LMCS, and the corresponding variants, and etc. ) a prediction mode (e.g., MODE_INTRA, MODE_INTER, MODE_PLT, MODE_IBC, and etc. ) , or a
- whether OBMC is applied to the current block may be dependent on sample values of samples inside the current block (and/or neighboring to the current block) .
- the current block may be inter merge coded.
- the current block may be inter AMVP coded.
- the prediction samples of neighboring to the current block may be based on the prediction samples of neighboring to the current block.
- the reconstruction samples of neighboring to the current block may be based on the reconstruction samples of neighboring to the current block.
- 6) For example, it may be based on the gradients/directions/angles (or histogram of gradients/directions/angles) of samples inside the current block (and/or neighboring to the current block) .
- OBMC current prediction samples before OBMC may be used.
- neighboring reconstruction samples may be used.
- the histogram of gradients/directions/angles may be computed based on counting gradients along certain directions/angles.
- the certain directions/angles may be pre-defined.
- the certain directions/angles may be based on the directions of intra prediction angular modes in video coding.
- a gradient amplitude may be computed based on counting the (amplitudes of) gradients of at least one sample in the current block.
- the (amplitude of) gradient at a certain position (e.g., center) in the current block may be counted.
- the (amplitude of) gradient at a series of certain positions in the current block may be counted.
- the (amplitudes of) gradients of all samples in the current block may be counted.
- the (amplitudes of) gradients of all samples except the first row, last row, first column, last column samples in the current block may be counted.
- a gradient amplitude may be computed based on counting the (amplitudes of) gradients of at least one sample neighboring to the current block.
- the (amplitude of) gradient at certain positions neighboring to the current block may be counted.
- the (amplitudes of) gradients of all samples (on the left and/or top) neighboring to the current block may be counted.
- the histogram of gradients/directions/angles may be computed based on dividing the entire range of directions/angles into a series of intervals/bins.
- the histogram of gradients/directions/angles may be computed based on counting the (amplitudes of) gradients in each interval/bin/direction/angle.
- 7) For example, it may be based on the colors/luminance/intensity (or histogram of colors/luminance/intensity) of the samples inside the current block (and/or neighboring to the current block) .
- OBMC current prediction samples before OBMC may be used.
- neighboring reconstruction samples may be used.
- the histogram of colors/luminance/intensity may be computed based on counting the sample values in Y and/or U and/or V (or, R and/or G and/or B) component domain.
- the sample values at a series of certain positions in the current block may be counted.
- the sample values of all samples in the current block may be counted.
- the sample values at certain positions neighboring to the current block may be counted.
- the sample values of all samples (on the left and/or top) neighboring to the current block may be counted.
- the histogram of colors/luminance/intensity may be computed based on dividing the entire range of colors/luminance/intensity values into a series of intervals/bins.
- the histogram of colors/luminance/intensity may be computed based on counting the number of samples in each interval/bin.
- the current block may be based on the number of main gradients/directions/angles/colors/luminance/intensity of samples inside the current block (and/or neighboring to the current block) .
- a For example, it may be calculated based on prediction samples (before OBMC) inside the current block.
- b For example, it may be calculated based on reconstruction samples neighboring to the current block.
- the main gradients/directions/angles/colors/luminance/intensity may be derived based on the histogram of gradients/directions/angles/colors/luminance/intensity.
- the main gradients/directions/angles/colors/luminance/intensity may be derived based on how many intervals/bins in the histogram show values (e.g., gradient amplitudes, color values, luminance values) greater than a threshold.
- the main gradients/directions/angles/colors/luminance/intensity may be derived based on how many intervals/bins in the histogram provide much greater values (e.g., gradient amplitudes, color values, luminance values) than the values of other intervals/bins.
- a scale factor e.g., a may be equal to a constant between 2 and 20
- OBMC may not be applied to the block.
- whether OBMC is applied to the current block may be dependent on template costs.
- the current block may be inter merge coded.
- the current block may be inter AMVP coded.
- 3) For example, it may be based on a first non-blended template cost and a second blended template cost.
- the first template cost may be computed based on a SAD between a current template and a reference template (wherein the reference template is identified by adding the current motion vector to the position of the current template) .
- the second template cost may be computed based on a SAD between a current template and a blended reference template (wherein the blended reference template may be generated by blending a template identified by current motion vector and a template identified by a neighbor motion vector) .
- OBMC may not be applied to the block.
- OBMC may be applied to the block.
- whether OBMC is applied to the current block may be dependent on the motion vector precision of the current block.
- the current block may be inter merge coded.
- the current block may be inter AMVP coded.
- the motion vectors of the block are integer (rather than fractional) precision motion vectors.
- the motion vector differences of the block may be integer (rather than fractional) precision motion vector differences.
- the location of the second block may be restricted based on a certain rule.
- the current block’s coding process may refer to at least one of the followings:
- the second block may be a reference block of the current block.
- the second block may be a reference block of a reference block of the current block.
- the second block may be a luma block collocated or non-collocated of the current chroma block.
- the second block may be required to not exceed a valid range.
- the valid search range may be pre-defined.
- the valid search range may be based on CTU size/information.
- the valid search range may be based on VPDU size/information.
- the valid search range may be based on tile size/information.
- the valid search range may be based on subpicture size/information.
- the requirement of the location of the reference block may be based on the location of the CTU/CTU row/tile/subpicture where the current block locates.
- the collocated CTU i.e., the CTU in the reference picture and collocated to the current CTU
- the location of the reference block may be required to not exceed the collocated CTU and the CTU on the right side adjacent to the collocated CTU.
- the location of the reference block may be required to not exceed the collocated CTU row.
- the location of the reference block may be required to not exceed the collocated subpicture.
- the location of the reference block may be required to not exceed the collocated tile.
- the requirement of the location of the reference block B may be based on the location of the CTU/CTU row/tile/subpicture where the current block locates.
- the location of the reference block may be required to not exceed the collocated CTU and the CTU on the right side adjacent to the collocated CTU.
- the location of the reference block may be required to not exceed the collocated CTU row.
- the location of the reference block may be required to not exceed the collocated CTU and the CTU on the left side adjacent to the collocated CTU.
- the location of the reference block may be required to not exceed the collocated CTU and the CTU on the left side and the CTU on the right side adjacent to the collocated CTU.
- the location of the reference block may be required to not exceed the collocated subpicture.
- the location of the reference block may be required to not exceed the collocated tile.
- the location of the luma block may be required to not exceed the collocated luma CU.
- the location of the luma block may be required to not exceed the current luma CTU.
- the location of the luma block may be required to not exceed the current luma CTU and one CTU on the right side adjacent to the current luma CTU.
- the location of the luma block may be required to not exceed the current luma CTU row.
- the second block when the second block exceeds the valid range (or, outside the required location range) , the second block may be treated as not available.
- a pre-defined coding information may be used instead.
- the coding information of the second block is not used.
- how many and/or which prediction samples are used for a mode decision may be based on coding information and/or pre-defined rules.
- the mode decision may refer to at least one of the followings:
- LFNST kernel derivation for a particular mode e.g., MIP mode
- NSPT kernel derivation for a particular mode e.g., MIP mode
- the prediction samples used for the mode decision may be subsampled.
- the prediction samples inside the current block may be subsampled by a subsampling factor.
- the subsampling factor in width direction may be equal to 1 or 2 or 4 or 8.
- the subsampling factor in height direction may be equal to 1 or 2 or 4 or 8.
- the value of subsampling factor in width and/or height direction may be derived based on the block width and/or height.
- larger subsample factor may be used for larger blocks.
- whether the prediction samples are subsampled may be determined based on block information.
- a may be based on the number of samples in the block.
- b may be based on the block width.
- c may be based on the block height.
- the subsampling method may be based on at least one threshold.
- the first and/or last row and/or columns of samples in a prediction block may not be used for the mode decision.
- the prediction block may be subsampled.
- the prediction block may not be subsampled.
- partial/subsampled samples may be used for the mode decision.
- gradients and/or histogram of gradients/colors/luminance/intensity may be calculated based on the partial/subsampled samples.
- PB/TB/CB/PU/TU/CU/VPDU/CTU/CTU row/slice/tile/sub-picture/other kinds of region contain more than one sample or pixel.
- coding tools are applied to both natural and screen content tools.
- the tool on/off can be controlled by sequence level syntax element, however, without adaptive block level video content detection.
- video unit or ‘coding unit’ or ‘block’ may represent a coding tree block (CTB) , a coding tree unit (CTU) , a coding block (CB) , a CU, a PU, a TU, a PB, a TB.
- CTB coding tree block
- CTU coding tree unit
- CB coding block
- mode N may be a prediction mode (e.g., MODE_INTRA, MODE_INTER, MODE_PLT, MODE_IBC, and etc. ) , or a coding technique (e.g., AMVP, SMVD, Merge, BDOF, PROF, DMVR, AMVR, TM, Affine, CIIP, GPM, spatial GPM, SGPM, GPM inter-inter, GPM intra-intra, GPM inter-intra, MHP, GEO, TPM, MMVD, BCW, HMVP, SbTMVP, LIC, OBMC, DIMD, TIMD, PDPC, CCLM, CCCM, GLM, intraTMP, ALF, deblocking, SAO, bilateral filter, LMCS, and the corresponding variants, and etc. ) a prediction mode (e.g., MODE_INTRA, MODE_INTER, MODE_PLT, MODE_IBC, and etc. ) , or a
- the content type of a video unit may be determined based on sample values within or neighboring to the video unit.
- the video unit may be a block/subblock/CU/PU/TU/tile/slice/subpicture.
- the prediction samples may be before OBMC blending/fusion/weighting.
- the prediction samples may be before MHP blending/fusion/weighting.
- the prediction samples may be before BCW blending/fusion/weighting.
- the prediction samples may be before CIIP blending/fusion/weighting.
- the prediction samples may be before GPM/SGPM blending/fusion/weighting.
- the prediction samples may be before bi-directional blending/fusion/weighting.
- the prediction samples may be before prediction sample refinement process (such as BDOF, PROF, LIC, OBMC, etc. ) .
- prediction sample refinement process such as BDOF, PROF, LIC, OBMC, etc.
- the prediction samples may be before sample filtering process (such as PDPC, CIIP-PDPC, gradient-PDPC, reference sample filtering/smoothing, prediction sample filtering/smoothing, etc. ) .
- sample filtering process such as PDPC, CIIP-PDPC, gradient-PDPC, reference sample filtering/smoothing, prediction sample filtering/smoothing, etc.
- 3) For example, it may be based on prediction samples neighboring to the current video unit.
- the current video unit may be based on reconstruction samples neighboring to the current video unit.
- the reconstruction samples may be before sample filtering process (such as bilateral filtering, deblocking, neural-network-based filtering, LMCS, SAO, CCSAO, ALF, CCALF, motion compensation based temporal filtering, etc. ) .
- sample filtering process such as bilateral filtering, deblocking, neural-network-based filtering, LMCS, SAO, CCSAO, ALF, CCALF, motion compensation based temporal filtering, etc.
- the samples used for the determination may be derived based on subsampling process.
- the subsampling factor may be determined based on the current block width/height.
- the subsampling factor may be determined based on the neighbor block width/height.
- the subsampling factor may be pre-defined as a fixed value.
- 6) For example, it may be based on gradients/directions/angles (or histogram of gradients/directions/angles) of certain samples.
- the histogram of gradients/directions/angles may be computed based on counting gradients along certain directions/angles.
- the certain directions/angles may be pre-defined.
- the certain directions/angles may be based on the directions of intra prediction angular modes in video coding.
- a gradient amplitude may be computed based on counting the (amplitudes of) gradients of at least one sample in specified region.
- the histogram of gradients/directions/angles may be computed based on dividing the entire range of directions/angles into a series of intervals/bins.
- the histogram of gradients/directions/angles may be computed based on counting the (amplitudes of) gradients in each interval/bin/direction/angle.
- 7) For example, it may be based on colors/luminance/intensity (or histogram of colors/luminance/intensity) of certain samples.
- the histogram of colors/luminance/intensity may be computed based on counting the sample values in Y and/or U and/or V (or, R and/or G and/or B) component domain.
- the sample values at a series of certain positions in the current video unit may be counted.
- the sample values of all samples in the current video unit may be counted.
- the sample values at certain positions neighboring to the current video unit may be counted.
- the sample values of all samples (on the left and/or top) neighboring to the current video unit may be counted.
- the histogram of colors/luminance/intensity may be computed based on dividing the entire range of colors/luminance/intensity values into a series of intervals/bins.
- the histogram of colors/luminance/intensity may be computed based on counting the number of samples in each interval/bin.
- the current video unit may be based on the number of main gradients/directions/angles/colors/luminance/intensity of samples inside the current video unit (and/or neighboring to the current video unit) .
- a may be derived based on the histogram of gradients/directions/angles/colors/luminance/intensity.
- b For example, it may be derived based on how many intervals/bins in the histogram show values (e.g., gradient amplitudes, color values, luminance values) greater than a threshold.
- c it may be derived based on how many intervals/bins in the histogram provide much greater values (e.g., gradient amplitudes, color values, luminance values) than the values of other intervals/bins.
- a scale factor e.g., a may be equal to a constant between 2 and 20
- a particular coding tool may not be applied to the video unit.
- the content type of a video unit may be determined based on the prediction
- the neighbor may be spatial/temporal neighboring blocks adjacent/non-adjacent to the current block.
- the neighbor blocks may be adjacent to the current block.
- the neighbor blocks may be non-adjacent to the current block.
- the neighbor blocks may be spatial neighbor blocks inside the current picture.
- the neighbor blocks may be temporal blocks in a reference picture.
- the neighbor blocks may be subblocks (e.g., 4x4 or 8x8) smaller than the current block.
- the neighbor blocks may be video units larger than or equal to the current block.
- the neighbor may be a reference block.
- the reference block may be a block/subblock identified based on adding a displacement (e.g., pre-defined, or based on motion vector, or based on block vector) to the location of a first block.
- a displacement e.g., pre-defined, or based on motion vector, or based on block vector
- the first block may be the current block.
- the first block may be a neighbor of the current block.
- the first block may be a reference of the current block.
- the neighbor may be a reference block of a reference block.
- the reference block of a reference block may be identified by adding a motion vector associated with an INTER mode coded reference block and the position of such INTER coded reference block.
- the reference block of a reference block may be identified by adding a block vector associated with a IntraTMP mode coded reference block and the position of such IntraTMP coded reference block.
- the reference block of a reference block may be identified by adding a block vector associated with a IBC mode coded reference block and the position of such IBC coded reference block.
- a prediction mode decision may be implicitly determined by the results of video content detection.
- a tool on/off flag for a particular prediction mode at the video unit level may not be signalled.
- a tool on/off flag for a particular prediction mode at the video unit level may be implicitly determined withought signaling (e.g., the flag is inferred to a value indicating that a particular prediction mode is not used to the video unit) .
- the particular prediction mode may be at least one of the followings:
- Chroma fusion and/or it variant are examples of Chroma fusion and/or it variant.
- IntraTMP fusion and/or it variant IntraTMP fusion and/or it variant.
- DIMD blending iv. DIMD blending and/or it variant.
- Affine AMVP/MERGE at a certain granularity e.g., 1x1/pixel/sample based, 4x4 subblock based
- a certain granularity e.g., 1x1/pixel/sample based, 4x4 subblock based
- xvi. BDOF at a certain granularity (e.g., sample based, 4x4/8x8/16x16 subblock based) .
- DMVR at a certain granularity (e.g., sample based, 4x4/8x8/16x16 subblock based) .
- MMVD xxi. MMVD and/or it variant.
- the particular prediction mode may be a combination of at least two of the above tools:
- OBMC for Affine AMVP.
- OBMC for Affine MERGE.
- OBMC for Inter AMVP.
- OBMC for Inter MERGE.
- the content type resultant from a video content detection indicates that the current video unit belongs to a certain type (e.g., natural content, camera-captured content) , a particular tool may not be used to the video unit.
- a certain type e.g., natural content, camera-captured content
- the block level on/off flag may not be signalled.
- the block level on/off flag may be implicitly derived (e.g., equal to a value indicating that the particular tool is not used to the video unit) .
- the particular tool may be at least one of the followings:
- IBC i. IBC and/or it variant.
- the location of the temporal reference block which used to derive the inter propagated mode may be restricted to the collocated CTU row.
- M 3 or 4 or 8 row of samples above the collocated CTU.
- an inter propagated mode may be stored in a buffer.
- sequence level/group of pictures level/picture level/slice level/tile group level such as in sequence header/picture header/SPS/VPS/DPS/DCI/PPS/APS/slice header/tile group header.
- PB/TB/CB/PU/TU/CU/VPDU/CTU/CTU row/slice/tile/sub-picture/other kinds of region contain more than one sample or pixel.
- Whether to and/or how to apply the disclosed methods above may be dependent on coded information, such as block size, colour format, single/dual tree partitioning, colour component, slice/picture type.
- video unit may represent a block , a subblock, a coding tree block (CTB) , a coding tree unit (CTU) , a coding block (CB) , a coding unit (CU) , a prediction unit (PU) , a transform unit (TU) , a prediction block (PB) , a transform block (TB) , a tile, a slice, a subpicture, a video processing unit comprising multiple samples/pixels, and/or the like.
- a video unit may be rectangular or non-rectangular.
- Fig. 39 illustrates a flowchart of a method 3900 for video processing in accordance with some embodiments of the present disclosure.
- the method 3900 may be implemented during a conversion between a current video unit of a video and a bitstream of the video.
- the method 3900 starts at 3902, where a content type of the current video unit is determined based on a prediction mode for coding at least one video unit associated with the current video unit.
- the at least one video unit may comprise a neighboring video unit of the current video unit. If the neighboring video unit is coded with a screen content coding mode, the content type of the current video unit may be determined to be screen content. Examples of a screen content coding mode may comprise intra block copy (IBC) , block differential pulse coded modulation (BDPCM) , and/or the like.
- IBC intra block copy
- BDPCM block differential pulse coded modulation
- the conversion is performed based on the content type.
- the content type of the current video unit is screen content
- an overlap subblock based motion compensation (OBMC) may be disabled for the current video unit.
- the conversion may include encoding the current video block into the bitstream.
- the conversion may include decoding the current video block from the bitstream.
- a content type of a video unit is determined based on a prediction mode for coding at least one video unit associated with the video unit.
- the proposed method can advantageously enable adaptive video content detection, and thus supports controlling of a coding tool based on the detected video content. Thereby, the coding quality can be improved.
- the at least one video unit may comprise at least one spatial neighboring video unit adjacent to the current video unit. Additionally or alternatively, the at least one video unit may comprise at least one spatial neighboring video unit non-adjacent to the current video unit. In some alternative or additional embodiments, the at least one video unit may comprise at least one temporal neighboring video unit adjacent to the current video unit. Additionally or alternatively, the at least one video unit may comprise at least one temporal neighboring video unit non-adjacent to the current video unit. It should be understood that the at least one video unit may comprise any other suitable video unit that is temporally or spatially neighboring to the current video unit.
- the at least one video unit may be adjacent to the current video unit. Alternatively, the at least one video unit may be non-adjacent to the current video unit. In some further embodiments, the at least one video unit may comprise at least one spatial neighboring video unit in a current picture comprising the current video unit, and/or at least one temporal neighboring video unit in a reference picture for the current video unit.
- the at least one video unit may be smaller than the current video unit.
- the at least one video unit may be a subblock, and a size of the subblock may be 4 ⁇ 4, 8 ⁇ 8, or the like.
- the at least one video unit may be larger than or equal to the current video unit.
- the at least one video unit may comprise a first reference video unit for the current video unit.
- the first reference video unit may be a block or subblock determined based on a result of adding a displacement to a location of the current video unit.
- the first reference video unit may be a block or subblock determined based on a result of adding a displacement to a location of a neighboring video unit of the current video unit.
- the first reference video unit may be a block or subblock determined based on a result of adding a displacement to a location of a reference video unit for the current video unit.
- the displacement may be predetermined.
- the displacement may be dependent on a motion vector of the current video unit, or the displacement may be dependent on a block vector of the current video unit.
- the at least one video unit may comprise a second reference video unit for a first reference video unit for the current video unit.
- the first reference video unit may be coded with an inter mode, and the second reference video unit may be determined based on a result of adding a motion vector associated with the first reference video unit and a position of the first reference video unit.
- the first reference video unit may be coded with an intraTMP mode, and the second reference video unit may be determined based on a result of adding a block vector associated with the first reference video unit and a position of the first reference video unit.
- the intraTMP may refer to a template matching based prediction mode for intra coding blocks.
- the first reference video unit may be coded with an intra block copy (IBC) mode
- the second reference video unit may be determined based on a result of adding a block vector associated with the first reference video unit and a position of the first reference video unit.
- IBC intra block copy
- first information regarding applying a first prediction mode on the current video unit may be determined based on the content type of the current video unit. Moreover, the conversion is performed based on the first information.
- the first information may comprise whether the first prediction mode is allowed to be used to code a current video unit. Additionally or alternatively, the first information may comprise whether the first prediction mode is used to code the current video unit.
- the first information may be absent from the bitstream.
- an indication indicating the first information may be not comprised in the bitstream.
- the indication may be determined based on coded information.
- the first information may also be referred to as being implicitly determined.
- the first prediction mode may be not allowed to be used to code a current video unit, and/or the first prediction mode may be not used to code the current video unit.
- the first type may comprise screen content.
- the first prediction mode may comprise at least one of the following: an intra luma fusion, a chroma fusion, an intraTMP fusion, a decoder side intra mode derivation (DIMD) blending, a template-based intra mode derivation (TIMD) blending, a regular inter advanced motion vector prediction (AMVP) , a regular inter merge, an affine AMVP, an affine merge, an overlap subblock based motion compensation (OBMC) , a local illumination compensation (LIC) , a spatial geometric partitioning mode (SGPM) blending, a geometric partitioning mode (GPM) blending, a combined inter and intra prediction (CIIP) , a multi-hypothesis prediction (MHP) , a bi-directional optical flow (BDOF) , a prediction refinement with optical flow (PROF) , a decoder side motion vector refinement (DMVR) , an AMVP-merge, a merge mode
- DIMD
- the affine AMVP, affine merge, BDOF and/or DMVR may also be at a specific granularity, e.g., sample based, 4x4 subblock based, 8x8 subblock based, 16x16 subblock based, and/or the like.
- the first type may comprise at least one of natural content or camera-captured content.
- the first prediction mode may comprise at least one of the following: an IBC, a palette mode, a block differential pulse coded modulation (BDPCM) , an intraTMP, sample-based affine AMVP, or sample-based affine merge.
- a location of a temporal reference video unit used to determine the inter propagated mode may be restricted to a collocated coding tree unit (CTU) row of the current video unit.
- the inter propagated mode may be regard as an additional mode other than the prediction mode (s) for the current video unit.
- the current video unit may be inter coded, and a reference video unit for the current video unit may be intra coded.
- An intra mode used for coding the reference video unit may be regard as an inter propagated mode for the current video unit.
- a location of a temporal reference video unit used to determine the inter propagated mode may be restricted to a collocated CTU of the current video unit and a CTU right to the collocated CTU.
- a location of a temporal reference video unit used to determine the inter propagated mode may be restricted to a collocated CTU of the current video unit and a CTU left to the collocated CTU.
- a location of a temporal reference video unit used to determine the inter propagated mode may be restricted to not exceed a first number of rows of samples above a collocated CTU of the current video unit.
- the first number may be one of 3, 4, 8, or the like.
- the inter propagated mode may be stored in a buffer.
- a location of a temporal reference video unit used to determine the temporal motion candidate may be restricted to not exceed a second number of rows of samples above a collocated CTU of the current video unit.
- the second number may be one of 3, 4, 8, or the like.
- a location of a temporal reference video unit used to determine the temporal motion candidate may be restricted to a collocated CTU of the current video unit and a CTU right to the collocated CTU.
- a location of a temporal reference video unit used to determine the temporal motion candidate may be restricted to a collocated CTU of the current video unit and a CTU left to the collocated CTU.
- a location of a temporal reference video unit used to determine the temporal motion candidate may be restricted to a collocated CTU row of the current video unit.
- whether to and/or how to apply the method may be indicated at a sequence level, a group of pictures level, a picture level, a slice level, or a tile group level. Additionally or alternatively, whether to and/or how to apply the method may be indicated in a sequence header, a picture header, a sequence parameter set (SPS) , a video parameter set (VPS) , a dependency parameter set (DPS) , a decoding capability information (DCI) , a picture parameter set (PPS) , an adaptation parameter sets (APS) , a slice header, or a tile group header.
- SPS sequence parameter set
- VPS video parameter set
- DPS dependency parameter set
- DCI decoding capability information
- PPS picture parameter set
- APS adaptation parameter sets
- whether to and/or how to apply the method may be indicated at a region containing more than one sample or pixel.
- the region may comprise a prediction block (PB) , a transform block (TB) , a coding block (CB) , a prediction unit (PU) , a transform unit (TU) , a coding unit (CU) , a virtual pipeline data unit (VPDU) , a coding tree unit (CTU) , a CTU row, a slice, a tile, a sub-picture, and/or the like.
- PB prediction block
- T transform block
- CB coding block
- PU prediction unit
- TU transform unit
- CU coding unit
- VPDU virtual pipeline data unit
- CTU coding tree unit
- whether to and/or how to apply the method may be dependent on the coded information.
- the coded information may comprise a block size, a color format, a single dual tree partitioning, a dual tree partitioning, a color component, a slice type, a picture type, and/or the like.
- the solutions in accordance with some embodiments of the present disclosure can advantageously improve coding efficiency and coding quality.
- a non-transitory computer-readable recording medium stores a bitstream of a video which is generated by a method performed by an apparatus for video processing.
- a content type of a current video unit of the video is determined based on a prediction mode for coding at least one video unit associated with the current video unit.
- the bitstream is generated based on the content type.
- a method for storing bitstream of a video is provided.
- a content type of a current video unit of the video is determined based on a prediction mode for coding at least one video unit associated with the current video unit.
- the bitstream is generated based on the content type, and stored in a non-transitory computer-readable recording medium.
- a method for video processing comprising: determining, for a conversion between a current video unit of a video and a bitstream of the video, a content type of the current video unit based on a prediction mode for coding at least one video unit associated with the current video unit; and performing the conversion based on the content type.
- Clause 2 The method of clause 1, wherein the at least one video unit comprises at least one of the following: at least one spatial neighboring video unit adjacent to the current video unit, at least one spatial neighboring video unit non-adjacent to the current video unit, at least one temporal neighboring video unit adjacent to the current video unit, or at least one temporal neighboring video unit non-adjacent to the current video unit.
- Clause 3 The method of clause 1, wherein the at least one video unit is adjacent to the current video unit, or the at least one video unit is non-adjacent to the current video unit.
- Clause 4 The method of clause 1, wherein the at least one video unit comprises at least one of the following: at least one spatial neighboring video unit in a current picture comprising the current video unit, or at least one temporal neighboring video unit in a reference picture for the current video unit.
- Clause 5 The method of any of clauses 1-4, wherein the at least one video unit is smaller than the current video unit, or the at least one video unit is larger than or equal to the current video unit.
- Clause 6 The method of any of clauses 1-5, wherein the at least one video unit comprises a first reference video unit for the current video unit.
- Clause 7 The method of clause 6, wherein the first reference video unit is a block or subblock determined based on a result of adding a displacement to one of the following: a location of the current video unit, a location of a neighboring video unit of the current video unit, or a location of a reference video unit for the current video unit.
- Clause 9 The method of any of clauses 1-5, wherein the at least one video unit comprises a second reference video unit for a first reference video unit for the current video unit.
- Clause 10 The method of clause 9, wherein the first reference video unit is coded with an inter mode, and the second reference video unit is determined based on a result of adding a motion vector associated with the first reference video unit and a position of the first reference video unit.
- Clause 11 The method of clause 9, wherein the first reference video unit is coded with an intraTMP mode, and the second reference video unit is determined based on a result of adding a block vector associated with the first reference video unit and a position of the first reference video unit.
- Clause 12 The method of clause 9, wherein the first reference video unit is coded with an intra block copy (IBC) mode, and the second reference video unit is determined based on a result of adding a block vector associated with the first reference video unit and a position of the first reference video unit.
- IBC intra block copy
- Clause 13 The method of any of clauses 1-12, wherein performing the conversion comprises: determining first information regarding applying a first prediction mode on the current video unit based on the content type of the current video unit; and performing the conversion based on the first information.
- Clause 14 The method of clause 13, wherein the first information comprises at least one of the following: whether the first prediction mode is allowed to be used to code a current video unit, or whether the first prediction mode is used to code the current video unit.
- Clause 15 The method of any of clauses 13-14, wherein the first information is absent from the bitstream.
- Clause 16 The method of any of clauses 13-15, wherein an indication indicating the first information is not comprised in the bitstream.
- Clause 17 The method of clause 16, wherein the indication is determined based on coded information.
- Clause 18 The method of any of clauses 13-17, wherein if the content type of the current video unit is a first type, the first prediction mode is not allowed to be used to code a current video unit, and/or the first prediction mode is not used to code the current video unit.
- Clause 19 The method of clause 18, wherein the first type comprises screen content.
- the first prediction mode comprises at least one of the following: an intra luma fusion, a chroma fusion, an intraTMP fusion, a decoder side intra mode derivation (DIMD) blending, a template-based intra mode derivation (TIMD) blending, a regular inter advanced motion vector prediction (AMVP) , a regular inter merge, an affine AMVP, an affine merge, an overlap subblock based motion compensation (OBMC) , a local illumination compensation (LIC) , a spatial geometric partitioning mode (SGPM) blending, a geometric partitioning mode (GPM) blending, a combined inter and intra prediction (CIIP) , a multi-hypothesis prediction (MHP) , a bi-directional optical flow (BDOF) , a prediction refinement with optical flow (PROF) , a decoder side motion vector refinement (DMVR) , an AMVP-merge, a merge mode with motion vector difference (M
- Clause 21 The method of clause 18, wherein the first type comprises at least one of natural content or camera-captured content.
- the first prediction mode comprises at least one of the following: an IBC, a palette mode, a block differential pulse coded modulation (BDPCM) , an intraTMP, sample-based affine AMVP, or sample-based affine merge.
- BDPCM block differential pulse coded modulation
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
pred (x’, y’) = (wL×R-1, y’ + wT×Rx’, -1 -wTL ×R-1, -1+ (64 -wL -wT+wTL) ×pred (x’, y’)
+ 32) >>6 (2-1)
predred=A·bdryred+b.
isTransposed=predModeIntra&1
modeId=predModeIntra>>1 (2-6)
Pbi-pred= ( (8-w) *P0+w*P1+4) >>3 (2-7)
predBDOF (x, y) = (I (0) (x, y) +I (1) (x, y) +b (x, y) +ooffset) >>shift (2-13)
MV0′=MV0+MV_offset (2-15)
MV1′=MV1-MV_offset (2-16)
E (x, y) =A (x-xmin) 2+B (y-ymin) 2+C (2-17)
xmin= (E (-1, 0) -E (1, 0) ) / (2 (E (-1, 0) +E (1, 0) -2E (0, 0) ) ) (2-18)
ymin= (E (0, -1) -E (0, 1) ) / (2 ( (E (0, -1) +E (0, 1) -2E (0, 0) ) ) (2-19)
PCIIP= ( (4-wt) *Pinter+wt*Pintra+2) >>2 (2-20)
pn+1= (1-αn+1) pn+αn+1hn+1
wIdxL (x, y) =partIdx ? 32+d (x, y) : 32-d (x, y) (2-25)
w1(x, y) =1-w0 (x, y) (2-27)
sType = abs (motionIdx) < 32 ? 2∶ (motionIdx≤0 ? (1 -partIdx) : partIdx)
(2-28)
if vertical BDPCM is used (2-31)
if horizontal BDPCM is used (2-32)
RD cost = distortion × (isChroma? 0.8 : 1) + lambda × bypass coded bits (2-33)
SearchRange_w = a *BlkW,
SearchRange_h = a *BlkH.
(LFSNT4, LFNST8*, LFNST16*) = (16x16, 32x64, 32x96) .
Claims (46)
- A method for video processing, comprising:determining, for a conversion between a current video unit of a video and a bitstream of the video, a content type of the current video unit based on a prediction mode for coding at least one video unit associated with the current video unit; andperforming the conversion based on the content type.
- The method of claim 1, wherein the at least one video unit comprises at least one of the following:at least one spatial neighboring video unit adjacent to the current video unit,at least one spatial neighboring video unit non-adjacent to the current video unit,at least one temporal neighboring video unit adjacent to the current video unit, orat least one temporal neighboring video unit non-adjacent to the current video unit.
- The method of claim 1, wherein the at least one video unit is adjacent to the current video unit, orthe at least one video unit is non-adjacent to the current video unit.
- The method of claim 1, wherein the at least one video unit comprises at least one of the following:at least one spatial neighboring video unit in a current picture comprising the current video unit, orat least one temporal neighboring video unit in a reference picture for the current video unit.
- The method of any of claims 1-4, wherein the at least one video unit is smaller than the current video unit, orthe at least one video unit is larger than or equal to the current video unit.
- The method of any of claims 1-5, wherein the at least one video unit comprises a first reference video unit for the current video unit.
- The method of claim 6, wherein the first reference video unit is a block or subblock determined based on a result of adding a displacement to one of the following:a location of the current video unit,a location of a neighboring video unit of the current video unit, ora location of a reference video unit for the current video unit.
- The method of claim 7, wherein the displacement is predetermined, orthe displacement is dependent on a motion vector of the current video unit, orthe displacement is dependent on a block vector of the current video unit.
- The method of any of claims 1-5, wherein the at least one video unit comprises a second reference video unit for a first reference video unit for the current video unit.
- The method of claim 9, wherein the first reference video unit is coded with an inter mode, and the second reference video unit is determined based on a result of adding a motion vector associated with the first reference video unit and a position of the first reference video unit.
- The method of claim 9, wherein the first reference video unit is coded with an intraTMP mode, and the second reference video unit is determined based on a result of adding a block vector associated with the first reference video unit and a position of the first reference video unit.
- The method of claim 9, wherein the first reference video unit is coded with an intra block copy (IBC) mode, and the second reference video unit is determined based on a result of adding a block vector associated with the first reference video unit and a position of the first reference video unit.
- The method of any of claims 1-12, wherein performing the conversion comprises:determining first information regarding applying a first prediction mode on the current video unit based on the content type of the current video unit; andperforming the conversion based on the first information.
- The method of claim 13, wherein the first information comprises at least one of the following:whether the first prediction mode is allowed to be used to code a current video unit, orwhether the first prediction mode is used to code the current video unit.
- The method of any of claims 13-14, wherein the first information is absent from the bitstream.
- The method of any of claims 13-15, wherein an indication indicating the first information is not comprised in the bitstream.
- The method of claim 16, wherein the indication is determined based on coded information.
- The method of any of claims 13-17, wherein if the content type of the current video unit is a first type, the first prediction mode is not allowed to be used to code a current video unit, and/or the first prediction mode is not used to code the current video unit.
- The method of claim 18, wherein the first type comprises screen content.
- The method of claim 19, wherein the first prediction mode comprises at least one of the following:an intra luma fusion,a chroma fusion,an intraTMP fusion,a decoder side intra mode derivation (DIMD) blending,a template-based intra mode derivation (TIMD) blending,a regular inter advanced motion vector prediction (AMVP) ,a regular inter merge,an affine AMVP,an affine merge,an overlap subblock based motion compensation (OBMC) ,a local illumination compensation (LIC) ,a spatial geometric partitioning mode (SGPM) blending,a geometric partitioning mode (GPM) blending,a combined inter and intra prediction (CIIP) ,a multi-hypothesis prediction (MHP) ,a bi-directional optical flow (BDOF) ,a prediction refinement with optical flow (PROF) ,a decoder side motion vector refinement (DMVR) ,an AMVP-merge,a merge mode with motion vector difference (MMVD) ,a template matching (TM) ,an OBMC for affine AMVP,an OBMC for affine merge,an OBMC for inter AMVP,an OBMC for inter merge, oran OBMC for MHP when a base hypothesis is affine AMVP or affine merge.
- The method of claim 18, wherein the first type comprises at least one of natural content or camera-captured content.
- The method of claim 21, wherein the first prediction mode comprises at least one of the following:an IBC,a palette mode,a block differential pulse coded modulation (BDPCM) ,an intraTMP,sample-based affine AMVP, orsample-based affine merge.
- The method of any of claims 1-22, wherein if an inter propagated mode is used to code the current video unit, a location of a temporal reference video unit used to determine the inter propagated mode is restricted to a collocated coding tree unit (CTU) row of the current video unit.
- The method of any of claims 1-22, wherein if an inter propagated mode is used to code the current video unit, a location of a temporal reference video unit used to determine the inter propagated mode is restricted to a collocated CTU of the current video unit and a CTU right to the collocated CTU.
- The method of any of claims 1-22, wherein if an inter propagated mode is used to code the current video unit, a location of a temporal reference video unit used to determine the inter propagated mode is restricted to a collocated CTU of the current video unit and a CTU left to the collocated CTU.
- The method of any of claims 1-22, wherein if an inter propagated mode is used to code the current video unit, a location of a temporal reference video unit used to determine the inter propagated mode is restricted to not exceed a first number of rows of samples above a collocated CTU of the current video unit.
- The method of claim 26, wherein the first number is one of 3, 4, or 8.
- The method of any of claims 1-22, wherein if a temporal reference video unit used to determine an inter propagated mode for coding the current video unit is within a restricted region, the inter propagated mode is stored in a buffer.
- The method of any of claims 1-28, wherein if a temporal motion candidate is used to code the current video unit, a location of a temporal reference video unit used to determine the temporal motion candidate is restricted to not exceed a second number of rows of samples above a collocated CTU of the current video unit.
- The method of claim 29, wherein the second number is one of 3, 4, or 8.
- The method of any of claims 1-28, wherein if a temporal motion candidate is used to code the current video unit, a location of a temporal reference video unit used to determine the temporal motion candidate is restricted to a collocated CTU of the current video unit and a CTU right to the collocated CTU.
- The method of any of claims 1-28, wherein if a temporal motion candidate is used to code the current video unit, a location of a temporal reference video unit used to determine the temporal motion candidate is restricted to a collocated CTU of the current video unit and a CTU left to the collocated CTU.
- The method of any of claims 1-28, wherein if a temporal motion candidate is used to code the current video unit, a location of a temporal reference video unit used to determine the temporal motion candidate is restricted to a collocated CTU row of the current video unit.
- The method of any of claims 1-33, wherein the current video unit comprises one of the following:a block,a subblock,a coding unit (CU) ,a prediction unit (PU) ,a transform unit (TU) ,a tile,a slice, ora subpicture.
- The method of any of claims 1-34, wherein whether to and/or how to apply the method is indicated at one of the following:a sequence level,a group of pictures level,a picture level,a slice level, ora tile group level.
- The method of any of claims 1-34, wherein whether to and/or how to apply the method is indicated in one of the following:a sequence header,a picture header,a sequence parameter set (SPS) ,a video parameter set (VPS) ,a dependency parameter set (DPS) ,a decoding capability information (DCI) ,a picture parameter set (PPS) ,an adaptation parameter sets (APS) ,a slice header, ora tile group header.
- The method of any of claims 1-34, wherein whether to and/or how to apply the method is indicated at a region containing more than one sample or pixel.
- The method of claim 37, wherein the region comprises at least one of the following:a prediction block (PB) ,a transform block (TB) ,a coding block (CB) ,a prediction unit (PU) ,a transform unit (TU) ,a coding unit (CU) ,a virtual pipeline data unit (VPDU) ,a coding tree unit (CTU) ,a CTU row,a slice,a tile, ora sub-picture.
- The method of any of claims 1-38, wherein whether to and/or how to apply the method is dependent on the coded information.
- The method of claim 39, wherein the coded information comprises at least one of the following:a block size,a color format,a single dual tree partitioning,a dual tree partitioning,a color component,a slice type, ora picture type.
- The method of any of claims 1-40, wherein the conversion includes encoding the current video unit into the bitstream.
- The method of any of claims 1-40, wherein the conversion includes decoding the current video unit from the bitstream.
- An apparatus for video processing comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to perform a method in accordance with any of claims 1-42.
- A non-transitory computer-readable storage medium storing instructions that cause a processor to perform a method in accordance with any of claims 1-42.
- A non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by an apparatus for video processing, wherein the method comprises:determining a content type of a current video unit of the video based on a prediction mode for coding at least one video unit associated with the current video unit; andgenerating the bitstream based on the content type.
- A method for storing a bitstream of a video, comprising:determining a content type of a current video unit of the video based on a prediction mode for coding at least one video unit associated with the current video unit;generating the bitstream based on the content type; andstoring the bitstream in a non-transitory computer-readable recording medium.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202480007632.2A CN120530640A (en) | 2023-01-13 | 2024-01-12 | Method, device and medium for video processing |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2023072010 | 2023-01-13 | ||
| CNPCT/CN2023/072010 | 2023-01-13 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| WO2024149397A1 true WO2024149397A1 (en) | 2024-07-18 |
| WO2024149397A9 WO2024149397A9 (en) | 2025-08-21 |
Family
ID=91897893
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/072189 Ceased WO2024149398A1 (en) | 2023-01-13 | 2024-01-12 | Method, apparatus, and medium for video processing |
| PCT/CN2024/072185 Ceased WO2024149397A1 (en) | 2023-01-13 | 2024-01-12 | Method, apparatus, and medium for video processing |
Family Applications Before (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/072189 Ceased WO2024149398A1 (en) | 2023-01-13 | 2024-01-12 | Method, apparatus, and medium for video processing |
Country Status (3)
| Country | Link |
|---|---|
| US (2) | US20250343914A1 (en) |
| CN (2) | CN120530640A (en) |
| WO (2) | WO2024149398A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20260012602A1 (en) * | 2024-07-05 | 2026-01-08 | Sharp Kabushiki Kaisha | Systems and methods for performing local illumination compensation for screen captured content in video coding |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150016516A1 (en) * | 2013-07-15 | 2015-01-15 | Samsung Electronics Co., Ltd. | Method for intra prediction improvements for oblique modes in video coding |
| US20150163485A1 (en) * | 2013-12-05 | 2015-06-11 | Industrial Technology Research Institute | Method and system of coding prediction for screen video |
| CN109769120A (en) * | 2019-02-19 | 2019-05-17 | 北京微吼时代科技有限公司 | Coding mode decision method, device, equipment and medium are skipped based on video content |
| US20200084450A1 (en) * | 2018-07-02 | 2020-03-12 | Tencent America LLC | Method and apparatus for video coding |
| US20220329826A1 (en) * | 2021-01-13 | 2022-10-13 | Lemon Inc. | Usage of templates for decoder-side intra mode derivation |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11399187B2 (en) * | 2017-03-10 | 2022-07-26 | Intel Corporation | Screen content detection for adaptive encoding |
| CN107277509B (en) * | 2017-08-03 | 2019-10-25 | 重庆邮电大学 | A Fast Intra Prediction Method Based on Screen Content |
| CN111526371B (en) * | 2020-04-30 | 2022-12-06 | 华侨大学 | Video intra-frame coding rapid algorithm based on Gabor features and gray level co-occurrence matrix |
| CN113099233B (en) * | 2021-03-26 | 2024-07-16 | 百果园技术(新加坡)有限公司 | Video encoding method, apparatus, video encoding device and storage medium |
| WO2022266971A1 (en) * | 2021-06-24 | 2022-12-29 | Oppo广东移动通信有限公司 | Encoding method, decoding method, encoder, decoder and computer storage medium |
| CN114710667A (en) * | 2022-03-18 | 2022-07-05 | 华侨大学 | Fast prediction method and device for intra CU division of H.266/VVC screen content |
-
2024
- 2024-01-12 CN CN202480007632.2A patent/CN120530640A/en active Pending
- 2024-01-12 WO PCT/CN2024/072189 patent/WO2024149398A1/en not_active Ceased
- 2024-01-12 CN CN202480007649.8A patent/CN120530618A/en active Pending
- 2024-01-12 WO PCT/CN2024/072185 patent/WO2024149397A1/en not_active Ceased
-
2025
- 2025-07-11 US US19/267,426 patent/US20250343914A1/en active Pending
- 2025-07-11 US US19/267,416 patent/US20250343901A1/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150016516A1 (en) * | 2013-07-15 | 2015-01-15 | Samsung Electronics Co., Ltd. | Method for intra prediction improvements for oblique modes in video coding |
| US20150163485A1 (en) * | 2013-12-05 | 2015-06-11 | Industrial Technology Research Institute | Method and system of coding prediction for screen video |
| US20200084450A1 (en) * | 2018-07-02 | 2020-03-12 | Tencent America LLC | Method and apparatus for video coding |
| CN109769120A (en) * | 2019-02-19 | 2019-05-17 | 北京微吼时代科技有限公司 | Coding mode decision method, device, equipment and medium are skipped based on video content |
| US20220329826A1 (en) * | 2021-01-13 | 2022-10-13 | Lemon Inc. | Usage of templates for decoder-side intra mode derivation |
Non-Patent Citations (1)
| Title |
|---|
| C. LAN (XIDIAN UNIV.), X. PENG (USTC), J. XU (MICROSOFT), F. WU (MICROSOFT): "Intra and inter coding tools for screen contents", 5. JCT-VC MEETING; 96. MPEG MEETING; 16-3-2011 - 23-3-2011; GENEVA; (JOINT COLLABORATIVE TEAM ON VIDEO CODING OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16 ), 11 March 2011 (2011-03-11), pages 1 - 11, XP030008651 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN120530618A (en) | 2025-08-22 |
| WO2024149398A9 (en) | 2025-08-28 |
| WO2024149398A1 (en) | 2024-07-18 |
| US20250343901A1 (en) | 2025-11-06 |
| WO2024149397A9 (en) | 2025-08-21 |
| CN120530640A (en) | 2025-08-22 |
| US20250343914A1 (en) | 2025-11-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2023072216A1 (en) | Method, apparatus, and medium for video processing | |
| WO2023208057A9 (en) | Method, apparatus, and medium for video processing | |
| WO2024099334A1 (en) | Method, apparatus, and medium for video processing | |
| US20260012608A1 (en) | Method, apparatus, and medium for video processing | |
| US20250343914A1 (en) | Method, apparatus, and medium for video processing | |
| US20250343892A1 (en) | Method, apparatus, and medium for video processing | |
| WO2024146432A1 (en) | Method, apparatus, and medium for video processing | |
| WO2024156273A1 (en) | Method, apparatus, and medium for video processing | |
| WO2024078629A1 (en) | Method, apparatus, and medium for video processing | |
| WO2024153094A9 (en) | Method, apparatus, and medium for video processing | |
| WO2024179478A1 (en) | Method, apparatus, and medium for video processing | |
| WO2024125363A1 (en) | Method, apparatus, and medium for video processing | |
| WO2024188285A9 (en) | Method, apparatus, and medium for video processing | |
| WO2024125368A9 (en) | Method, apparatus, and medium for video processing | |
| WO2024140958A1 (en) | Method, apparatus, and medium for video processing | |
| WO2024153151A9 (en) | Method, apparatus, and medium for video processing | |
| WO2024140853A9 (en) | Method, apparatus, and medium for video processing | |
| WO2025108465A1 (en) | Method, apparatus, and medium for video processing | |
| WO2024216125A1 (en) | Method, apparatus, and medium for video processing | |
| WO2024011140A9 (en) | Method, apparatus, and medium for video processing |
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: 24741391 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 202480007632.2 Country of ref document: CN |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWP | Wipo information: published in national office |
Ref document number: 202480007632.2 Country of ref document: CN |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 24741391 Country of ref document: EP Kind code of ref document: A1 |