WO2020017513A1 - Systems and methods for generating prediction blocks for coding of video data - Google Patents

Systems and methods for generating prediction blocks for coding of video data Download PDF

Info

Publication number
WO2020017513A1
WO2020017513A1 PCT/JP2019/027973 JP2019027973W WO2020017513A1 WO 2020017513 A1 WO2020017513 A1 WO 2020017513A1 JP 2019027973 W JP2019027973 W JP 2019027973W WO 2020017513 A1 WO2020017513 A1 WO 2020017513A1
Authority
WO
WIPO (PCT)
Prior art keywords
prediction
coding
video
luma
video data
Prior art date
Application number
PCT/JP2019/027973
Other languages
French (fr)
Inventor
Kiran Mukesh MISRA
Christopher Andrew Segall
Original Assignee
Sharp Kabushiki Kaisha
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Sharp Kabushiki Kaisha filed Critical Sharp Kabushiki Kaisha
Publication of WO2020017513A1 publication Critical patent/WO2020017513A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/17Methods 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/176Methods 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods 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/103Selection of coding mode or of prediction mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods 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/103Selection of coding mode or of prediction mode
    • H04N19/11Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/96Tree coding, e.g. quad-tree coding

Definitions

  • This disclosure relates to video coding and more particularly to techniques for generating prediction blocks for coding video data.
  • Digital video capabilities can be incorporated into a wide range of devices, including digital televisions, laptop or desktop computers, tablet computers, digital recording devices, digital media players, video gaming devices, cellular telephones, including so-called smartphones, medical imaging devices, and the like.
  • Digital video may be coded according to a video coding standard.
  • Video coding standards may incorporate video compression techniques. Examples of video coding standards include ISO/IEC MPEG-4 Visual and ITU-T H.264 (also known as ISO/IEC MPEG-4 AVC) and High-Efficiency Video Coding (HEVC).
  • HEVC is described in High Efficiency Video Coding (HEVC), Rec. ITU-T H.265, December 2016, which is incorporated by reference, and referred to herein as ITU-T H.265.
  • ITU-T H.265 Extensions and improvements for ITU-T H.265 are currently being considered for the development of next generation video coding standards.
  • ITU-T Video Coding Experts Group (VCEG) and ISO/IEC (Moving Picture Experts Group (MPEG) (collectively referred to as the Joint Video Exploration Team (JVET)) have commenced standardization of video coding technology with a compression capability that significantly exceeds that of the current HEVC standard.
  • JEM 7 Joint Exploration Model 7
  • JEM 7 Algorithm Description of Joint Exploration Test Model 7
  • JEM 7 is implemented in JEM reference software.
  • the term JEM may collectively refer to algorithms included in JEM 7 and implementations of JEM reference software.
  • Video compression techniques enable data requirements for storing and transmitting video data to be reduced. Video compression techniques may reduce data requirements by exploiting the inherent redundancies in a video sequence. Video compression techniques may sub-divide a video sequence into successively smaller portions (i.e., groups of frames within a video sequence, a frame within a group of frames, slices within a frame, coding tree units (e.g., macroblocks) within a slice, coding blocks within a coding tree unit, etc.). Intra prediction coding techniques (e.g., intra-picture (spatial)) and inter prediction techniques (i.e., inter-picture (temporal)) may be used to generate difference values between a unit of video data to be coded and a reference unit of video data.
  • Intra prediction coding techniques e.g., intra-picture (spatial)
  • inter prediction techniques i.e., inter-picture (temporal)
  • Residual data may be coded as quantized transform coefficients.
  • Syntax elements may relate residual data and a reference coding unit (e.g., intra-prediction mode indices, motion vectors, and block vectors).
  • Residual data and syntax elements may be entropy coded. Entropy encoded residual data and syntax elements may be included in a compliant bitstream.
  • a method of generating a prediction block comprises partitioning a luma channel of video data and a chroma channel of video data according to a common partitioning structure, at a coding unit resulting from the common partitioning structure, signaling a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and generating a prediction according to a technique indicated by the flag.
  • a method of generating a prediction block comprises determining a partitioning for a luma channel of video data and for a chroma channel of video data according to a common signaled partitioning structure, at a coding unit resulting from the common partitioning structure, determining a value of a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and generating a prediction according to a technique indicated by the flag.
  • FIG. 1 is a block diagram illustrating an example of a system that may be configured to encode and decode video data according to one or more techniques of this disclosure.
  • FIG. 2 is a conceptual diagram illustrating partitioning modes in accordance with one or more techniques of this disclosure.
  • FIG. 3 is a conceptual diagram illustrating a quadtree multi-type tree partitioning in accordance with one or more techniques of this disclosure.
  • FIG. 4 is a conceptual diagram illustrating a quadtree multi-type tree partitioning in accordance with one or more techniques of this disclosure.
  • FIG. 5 is a conceptual diagram illustrating an example of generating a prediction block in accordance with one or more techniques of this disclosure.
  • FIG. 1 is a block diagram illustrating an example of a system that may be configured to encode and decode video data according to one or more techniques of this disclosure.
  • FIG. 2 is a conceptual diagram illustrating partitioning modes in accordance with one or more techniques of this disclosure.
  • FIG. 3 is a conceptual diagram illustrating a quadtree multi-type tree
  • FIG. 6 is a block diagram illustrating an example of a video encoder that may be configured to encode video data according to one or more techniques of this disclosure.
  • FIG. 7 is a conceptual diagram illustrating an example of coding a prediction block in accordance with one or more techniques of this disclosure.
  • FIG. 8 is a block diagram illustrating an example of a video decoder that may be configured to decode video data according to one or more techniques of this disclosure.
  • this disclosure describes various techniques for coding video data.
  • this disclosure describes techniques for generating prediction blocks for coding of video data.
  • this disclosure describes techniques of this disclosure with respect to ITU-T H.264, ITU-T H.265, and JEM, the techniques of this disclosure are generally applicable to video coding.
  • the coding techniques described herein may be incorporated into video coding systems, (including video coding systems based on future video coding standards) including block structures, intra prediction techniques, inter prediction techniques, transform techniques, filtering techniques, and/or entropy coding techniques other than those included in ITU-T H.265 and JEM.
  • ITU-T H.264, ITU-T H.265, and/or JEM is for descriptive purposes and should not be construed to limit the scope of the techniques described herein.
  • incorporation by reference of documents herein is for descriptive purposes and should not be construed to limit or create ambiguity with respect to terms used herein.
  • the term should be interpreted in a manner that broadly includes each respective definition and/or in a manner that includes each of the particular definitions in the alternative.
  • a device for video coding comprises one or more processors configured to partition a luma channel of video data and a chroma channel of video data according to a common partitioning structure, at a coding unit resulting from the common partitioning structure, signal a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and generate a prediction according to a technique indicated by the flag.
  • a non-transitory computer-readable storage medium comprises instructions stored thereon that, when executed, cause one or more processors of a device to partition a luma channel of video data and a chroma channel of video data according to a common partitioning structure, at a coding unit resulting from the common partitioning structure, signal a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and generate a prediction according to a technique indicated by the flag.
  • an apparatus comprises means for partitioning a luma channel of video data and a chroma channel of video data according to a common partitioning structure, means for signaling a flag, at a coding unit resulting from the common partitioning structure, indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and means for generating a prediction according to a technique indicated by the flag.
  • a device for video coding comprises one or more processors configured to determine a partitioning for a luma channel of video data and for a chroma channel of video data according to a common signaled partitioning structure, at a coding unit resulting from the common partitioning structure, determine a value of a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and generate a prediction according to a technique indicated by the flag.
  • a non-transitory computer-readable storage medium comprises instructions stored thereon that, when executed, cause one or more processors of a device to determine a partitioning for a luma channel of video data and for a chroma channel of video data according to a common signaled partitioning structure, at a coding unit resulting from the common partitioning structure, determine a value of a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and generate a prediction according to a technique indicated by the flag.
  • an apparatus comprises means for determining a partitioning for a luma channel of video data and for a chroma channel of video data according to a common signaled partitioning structure, means for determining a value of a flag, at a coding unit resulting from the common partitioning structure, indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and means for generating a prediction according to a technique indicated by the flag.
  • Video content typically includes video sequences comprised of a series of frames.
  • a series of frames may also be referred to as a group of pictures (GOP).
  • Each video frame or picture may include a plurality of slices or tiles, where a slice or tile includes a plurality of video blocks.
  • video block may generally refer to an area of a picture including one or more video components, or may more specifically refer to the largest array of pixel/sample values that may be predictively coded, sub-divisions thereof, and/or corresponding structures.
  • the term current video block may refer to an area of a picture being encoded or decoded.
  • a video block may be defined as an array of pixel values (also referred to as samples) that may be predictively coded.
  • Video blocks may be ordered according to a scan pattern (e.g., a raster scan).
  • a video encoder may perform predictive encoding on video blocks and sub-divisions thereof.
  • Video blocks and sub-divisions thereof may be referred to as nodes.
  • ITU-T H.264 specifies a macroblock including 16x16 luma samples.
  • ITU-T H.265 specifies an analogous Coding Tree Unit (CTU) structure where a picture may be split into CTUs of equal size and each CTU may include Coding Tree Blocks (CTB) having 16x16, 32x32, or 64x64 luma samples.
  • CTU Coding Tree Unit
  • the respective CTBs of a CTU may be partitioned into Coding Blocks (CB) according to a corresponding quadtree block structure.
  • CB Coding Blocks
  • one luma component CB together with two corresponding chroma component CBs (e.g., Cr and Cb chroma components) and associated syntax elements are referred to as a coding unit (CU).
  • CU coding unit
  • the luma component may be referred to as the luma channel and the two chroma components may be collectively referred to as the chroma channel.
  • a minimum allowed size of a CB may be signaled.
  • a CU is associated with a prediction unit (PU) structure defining one or more prediction units (PU) for the CU, where a PU is associated with corresponding reference samples. That is, in ITU-T H.265, the decision to code a picture area using intra prediction or inter prediction is made at the CU level.
  • a PU may include luma and chroma prediction blocks (PBs), where square PBs are supported for intra prediction and rectangular PBs are supported for inter prediction.
  • Intra prediction data e.g., intra prediction mode syntax elements
  • inter prediction data e.g., motion data syntax elements
  • Residual data may include respective arrays of difference values corresponding to each component of video data. Residual data may be in the pixel domain.
  • a transform such as, a discrete cosine transform (DCT), a discrete sine transform (DST), an integer transform, a wavelet transform, or a conceptually similar transform, may be applied to pixel difference values to generate transform coefficients.
  • DCT discrete cosine transform
  • DST discrete sine transform
  • an integer transform e.g., a wavelet transform, or a conceptually similar transform
  • CUs may be further sub-divided into Transform Units (TUs).
  • an array of pixel difference values may be sub-divided for purposes of generating transform coefficients (e.g., four 8x8 transforms may be applied to a 16x16 array of residual values), for each component of video data, such sub-divisions may be referred to as Transform Blocks (TBs).
  • transform coefficients e.g., four 8x8 transforms may be applied to a 16x16 array of residual values
  • TBs Transform Blocks
  • JEM specifies a CTU having a maximum size of 256x256 luma samples.
  • CTUs may be partitioned according a quadtree plus binary tree (QTBT) structure.
  • QTBT binary tree
  • the QTBT structure enables quadtree leaf nodes to be further partitioned according to a binary tree structure.
  • the binary tree structure indicates binary splits. A binary split divides a block at its center either vertically or horizontally.
  • the binary tree structure enables square quadtree leaf nodes to be recursively symmetrically divided vertically or horizontally.
  • the binary tree structure in JEM enables square and rectangular nodes.
  • nodes resulting from a QTBT may be analogous to both a PB and TB in ITU-T H.265. That is, a prediction is generated for a node resulting from a QTBT.
  • the luma channel and the chroma channel may have separate QTBT structures. That is, the chroma channel may be partitioned independent of luma partitioning.
  • separate QTBT structures are enabled for slices of video data coded restricted to being coded using intra prediction techniques.
  • JVET-J1001 CTUs are partitioned according a quadtree plus multi-type tree (QTMT) structure.
  • the QTMT in JVET-J1001 is similar to the QTBT in JEM.
  • the multi-type tree may indicate so-called ternary (or triple tree (TT)) splits.
  • TT triple tree
  • a ternary split divides a block vertically or horizontally into three blocks. In the case of a vertical TT split, a block is divided at one quarter of its width from the left edge and at one quarter its width from the right edge and in the case of a horizontal TT split a block is at one quarter of its height from the top edge and at one quarter of its height from the bottom edge.
  • FIG. 2 illustrates each of the partition split types that may be signaled in JVET-J1001.
  • JVET provides where a flag, qt_split_cu_flag, indicates recursive quadtree partitioning. That is, one or more qt_split_cu_flag values indicate the partitioning of a CTU into quadtree leaf nodes.
  • a multi-type tree syntax structure indicates recursive multi-type tree partitioning. That is, the multi-type tree syntax structure indicates further partitioning of a quadtree leaf node according to zero or more BT and/or TT splits.
  • the multi-type tree syntax structure includes a flag, mtt_split_cu_flag, which indicates whether a coding unit is reached (i.e., the current block is not further split and forms a coding unit) or whether the current block is further split according to a BT or TT split.
  • mtt_split_cu_flag indicates that the current block is further split
  • two flags, mtt_split_cu_vertical_flag and mtt_split_cu_binary_flag are signaled indicate one of: a horizontal TT split, a horizontal BT split, a vertical TT split, or a vertical BT split.
  • Table 1 provides a summary of how split modes are indicated according to mtt_split_cu_flag, mtt_split_cu_vertical_flag, and mtt_split_cu_binary_flag.
  • mtt_split_cu_vertical_flag and mtt_split_cu_binary_flag are not signaled when mtt_split_cu_flag indicates a CU is reached. Further, it should be noted that signaling of mtt_split_cu_flag is repeated after the signaling of mtt_split_cu_vertical_flag and mtt_split_cu_binary_flag. It should be noted that JVET-J1001 provides various conditions where multi-type tree syntax is not signaled and/or limited.
  • FIG. 3 illustrates an example of a CTU (e.g., a CTU having a size of 256x256 luma samples) being partitioned into quadtree leaf nodes and the quadtree leaf nodes being further partitioned according to a multi-type tree. That is, in FIG. 3 dashed lines indicate additional binary and ternary partitions of quadtree lead nodes and resulting CUs of a CTU. For each CU, a prediction may be generated for the luma channel and the chroma channel.
  • a CTU e.g., a CTU having a size of 256x256 luma samples
  • FIG. 4 illustrates an example of a CTU being partitioned according to a QTMT for the luma channel and an independent QTMT for the chroma channel.
  • blocks of the luma component do not necessarily align with blocks of the chroma components. It should be noted in FIG. 4, blocks are identified as CBs and a prediction may be generated for each CB.
  • a video sampling format which may also be referred to as a chroma format, may define the number of chroma samples included in a region of a picture with respect to the number of luma samples included in the region of the picture. For example, for the 4:2:0 format, the sampling rate for the luma component is twice that of the chroma components for both the horizontal and vertical directions. As a result, for a CTU formatted according to the 4:2:0 format, the width and height of an array of samples for the luma component are twice that of each array of samples for the chroma components. As described above, a CTU is typically defined according to the number of horizontal and vertical luma samples.
  • a 64x64 CTU formatted according to the 4:2:0 sample format includes 64x64 samples of luma components and 32x32 samples for each chroma component.
  • the width of an array of samples for the luma component is twice that of the width of an array of samples for each chroma component, but the height of the array of samples for the luma component is equal to the height of an array of samples for each chroma component.
  • an array of samples for the luma component has the same width and height as an array of samples for each chroma component.
  • residual date may be in the form of transform coefficients.
  • a quantization process may be performed on transform coefficients. Quantization essentially scales transform coefficients in order to vary the amount of data required to represent a group of transform coefficients. Quantization may include division of transform coefficients by a quantization scaling factor and any associated rounding functions (e.g., rounding to the nearest integer). Quantized transform coefficients may be referred to as coefficient level values. Inverse quantization (or “dequantization”) may include multiplication of coefficient level values by the quantization scaling factor. It should be noted that as used herein the term quantization process in some instances may refer to division by a scaling factor to generate level values and multiplication by a scaling factor to recover transform coefficients in some instances. That is, a quantization process may refer to quantization in some cases and inverse quantization in some cases.
  • Quantized transform coefficients are coded into a bitstream.
  • Quantized transform coefficients and syntax elements may be entropy coded according to an entropy coding technique.
  • entropy coding techniques include content adaptive variable length coding (CAVLC), context adaptive binary arithmetic coding (CABAC), probability interval partitioning entropy coding (PIPE), and the like.
  • Entropy encoded quantized transform coefficients and corresponding entropy encoded syntax elements may form a compliant bitstream that can be used to reproduce video data at a video decoder.
  • An entropy coding process may include performing a binarization on syntax elements.
  • Binarization refers to the process of converting a value of a syntax value into a series of one or more bits. These bits may be referred to as “bins.” Binarization is a lossless process and may include one or a combination of the following coding techniques: fixed length coding, unary coding, truncated unary coding, truncated Rice coding, Golomb coding, k-th order exponential Golomb coding, and Golomb-Rice coding. For example, binarization may include representing the integer value of 5 for a syntax element as 00000101 using an 8-bit fixed length binarization technique or representing the integer value of 5 as 11110 using a unary coding binarization technique.
  • each of the terms fixed length coding, unary coding, truncated unary coding, truncated Rice coding, Golomb coding, k-th order exponential Golomb coding, and Golomb-Rice coding may refer to general implementations of these techniques and/or more specific implementations of these coding techniques.
  • a Golomb-Rice coding implementation may be specifically defined according to a video coding standard, for example, ITU-T H.265.
  • An entropy coding process further includes coding bin values using lossless data compression algorithms.
  • a context model may be selected from a set of available context models associated with the bin.
  • a context model may be selected based on a previous bin and/or values of previous syntax elements.
  • a context model may identify the probability of a bin having a particular value. For instance, a context model may indicate a 0.7 probability of coding a 0-valued bin.
  • a CABAC entropy encoder may arithmetically code a bin based on the identified context model.
  • the context model may be updated based on the value of a coded bin.
  • the context model may be updated based on an associated variable stored with the context, e.g., adaptation window size, number of bins coded using the context.
  • CABAC entropy encoder may be implemented, such that some syntax elements may be entropy encoded using arithmetic encoding without the usage of an explicitly assigned context model, such coding may be referred to as bypass coding.
  • intra prediction data or inter prediction data may associate an area of a picture with corresponding reference samples.
  • an intra prediction mode is used to specify how a prediction is generated for a current block using available samples within a current picture.
  • defined possible intra prediction modes include non-directional prediction modes, a planar (i.e., surface fitting) prediction mode (predMode: 0) and a DC (i.e., flat overall averaging) prediction mode (predMode: 1), and 33 angular prediction modes (predMode: 2-34).
  • Angular prediction modes For angular prediction modes, a row of adjacent neighboring samples above the current block, a column of adjacent neighboring samples to the left of the current block, and an upper-left adjacent neighboring sample to the current block are defined. Angular prediction modes essentially define how a reference sample is derived for each sample included in the current block by pointing to samples in the row of neighboring samples, the column of neighboring samples, and/or the upper-left neighboring sample. It should be noted that in JEM, defined possible intra-prediction modes include a planar prediction mode (predMode: 0), a DC prediction mode (predMode: 1), and 65 angular prediction modes (predMode: 2-66).
  • a previously decoded picture i.e., a reference picture
  • a motion vector identifies samples in the reference picture.
  • a current video block may be predicted using reference sample values located in one or more previously coded picture(s) and a motion vector is used to indicate the location of the reference block relative to the current video block.
  • a motion vector may describe, for example, a horizontal displacement component of the motion vector (i.e., MV x ), a vertical displacement component of the motion vector (i.e., MV y ), and a resolution for the motion vector (e.g., one-quarter pixel precision, one-half pixel precision, one-pixel precision, two-pixel precision, four-pixel precision).
  • a motion vector is represented at 1/4-pixel precision.
  • Previously decoded pictures which may include pictures output before or after a current picture, may be organized into one or more to reference pictures lists and identified using a reference picture index value.
  • uni-prediction refers to generating a prediction using sample values from a single reference picture
  • bi-prediction refers to generating a prediction using respective sample values from two reference pictures. That is, in uni-prediction, a single reference picture and corresponding motion vector are used to generate a prediction for a current video block and in bi-prediction, a first reference picture and corresponding first motion vector and a second reference picture and corresponding second motion vector are used to generate a prediction for a current video block.
  • respective sample values are combined (e.g., added, rounded, and clipped, or averaged according to weights) to generate a prediction.
  • a coding standard such as, for example ITU-T H.265, may support motion vector prediction.
  • Motion vector prediction enables the value of a motion vector to be derived based on another motion vector.
  • Examples of motion vector prediction include advanced motion vector prediction (AMVP), temporal motion vector prediction (TMVP), so-called “merge” mode, and “skip” and “direct” motion inference.
  • JEM supports advanced temporal motion vector prediction (ATMVP) and Spatial-temporal motion vector prediction (STMVP).
  • ITU-T H.265 supports two modes for motion vector prediction: a merge mode and so-called Advanced Motion Vector Prediction (AMVP).
  • a candidate block includes a video block having associated motion information from which motion information used to generate a prediction for a current video block can be derived.
  • all motion information i.e., motion vector displacement values, reference picture indices, and reference picture lists
  • a candidate block is selected from the derived set of candidates and an index value included in the bitstream indicates the selected candidate and thus, indicates the motion information for the current PB.
  • the motion vector information for the selected candidate is used as a motion vector predictor (MVP) for the motion vector of the current PB.
  • MVP motion vector predictor
  • a candidate block is selected from the derived set of candidates and an index value indicating the selected candidate and a delta value (i.e., a motion vector delta (MVD)) indicating the difference between the motion vector predictor and the motion vector for the current PB are included in the bitstream.
  • a delta value i.e., a motion vector delta (MVD)
  • pictures and slices may be classified based on which types of prediction modes may be utilized for encoding video blocks thereof. That is, for slices having a B type (i.e., a B slice), bi-prediction, uni-prediction, and intra prediction may be utilized, for slices having a P type (i.e., a P slice), uni-prediction and intra prediction may be utilized, and for slices having an I type (i.e., an I slice), only intra prediction may be utilized. Further, as described above, reference pictures are identified through reference indices.
  • ITU-T H.265 for a P slice, there is a single reference picture list, RefPicList0 and for a B slice, there is a second independent reference picture list, RefPicList1, in addition to RefPicList0. It should be noted that for uni-prediction in a B slice, one of RefPicList0 or RefPicList1 may be used to generate a prediction. Further, it should be noted that in ITU-T H.265, during the decoding process, at the onset of decoding a picture, reference picture list(s) are generated from previously decoded picture stored in a decoded picture buffer (DPB).
  • DPB decoded picture buffer
  • blocking artifacts may cause coding block boundaries of reconstructed video data to be visually perceptible to a user.
  • reconstructed sample values may be modified to minimize artifacts introduced by the video coding process. Such modifications may generally be referred to as filtering.
  • Deblocking or de-blocking
  • deblock filtering performing deblocking, or applying a deblocking filter refers to the process of smoothing video block boundaries with neighboring reconstructed video blocks (i.e., making boundaries less perceptible to a viewer). Smoothing the boundaries of neighboring reconstructed video blocks may include modifying sample values included in rows or columns adjacent to a boundary.
  • boundaries may include CU, CB, TB, PB, and/or sub-PU boundaries.
  • deblocking may be performed according to a deblocking grid.
  • ITU-T H.265 includes two types of deblocking filters that may be used for modifying luma samples: a Strong Filter which modifies sample values in the three adjacent rows or columns to a boundary and a Weak Filter which modifies sample values in the immediately adjacent row or column to a boundary and conditionally modifies sample values in the second row or column from the boundary.
  • ITU-T H.265 includes one type of filter that may be used for modifying chroma samples, i.e., a Normal Filter.
  • a deblocking filter strength may be specified according the number of samples that are modified on each side of a boundary and/or the degree to which samples are modified (e.g., the weight of a filter).
  • CPR Current picture referencing
  • IBC Intra block copy
  • a prediction block in the partially decoded portion of the current picture may be identified according to a displacement vector.
  • a displacement vector may be similar to a motion vector.
  • CPR may be implemented as a special case of inter prediction, where the partially coded current picture is available as a reference picture.
  • FIG. 5 illustrates an example of CPR where for a current block a prediction is identified from the available portion of the current partially decoded picture using a displacement vector, MV (MV x , MV y ).
  • JVET-K0076 Current picture referencing using reference index signaling
  • JVET-K0076 the current partially decoded picture is signaled as an entry in reference picture list 0 and inter coding syntax is used to generate a prediction for the current block.
  • a slice utilizing CPR is either a P slice or a B slice.
  • palette coding modes may be used for intra-prediction coding.
  • an index value may reference other types of values that may be used to derive a sample value.
  • Source device 102 and/or destination device 120 may include computing devices equipped for wired and/or wireless communications and may include set top boxes, digital video recorders, televisions, desktop, laptop, or tablet computers, gaming consoles, mobile devices, including, for example, “smart” phones, cellular telephones, personal gaming devices, and medical imagining devices.
  • Communications medium 110 may include any combination of wireless and wired communication media, and/or storage devices.
  • Communications medium 110 may include coaxial cables, fiber optic cables, twisted pair cables, wireless transmitters and receivers, routers, switches, repeaters, base stations, or any other equipment that may be useful to facilitate communications between various devices and sites.
  • Communications medium 110 may include one or more networks.
  • communications medium 110 may include a network configured to enable access to the World Wide Web, for example, the Internet.
  • a network may operate according to a combination of one or more telecommunication protocols. Telecommunications protocols may include proprietary aspects and/or may include standardized telecommunication protocols.
  • Examples of standardized telecommunications protocols include Digital Video Broadcasting (DVB) standards, Advanced Television Systems Committee (ATSC) standards, Integrated Services Digital Broadcasting (ISDB) standards, Data Over Cable Service Interface Specification (DOCSIS) standards, Global System Mobile Communications (GSM) standards, code division multiple access (CDMA) standards, 3rd Generation Partnership Project (3GPP) standards, European Telecommunications Standards Institute (ETSI) standards, Internet Protocol (IP) standards, Wireless Application Protocol (WAP) standards, and Institute of Electrical and Electronics Engineers (IEEE) standards.
  • DVD Digital Video Broadcasting
  • ATSC Advanced Television Systems Committee
  • ISDB Integrated Services Digital Broadcasting
  • DOCSIS Data Over Cable Service Interface Specification
  • GSM Global System Mobile Communications
  • CDMA code division multiple access
  • 3GPP 3rd Generation Partnership Project
  • ETSI European Telecommunications Standards Institute
  • IP Internet Protocol
  • WAP Wireless Application Protocol
  • IEEE Institute of Electrical and Electronics Engineers
  • Storage devices may include any type of device or storage medium capable of storing data.
  • a storage medium may include a tangible or non-transitory computer-readable media.
  • a computer readable medium may include optical discs, flash memory, magnetic memory, or any other suitable digital storage media.
  • a memory device or portions thereof may be described as non-volatile memory and in other examples portions of memory devices may be described as volatile memory.
  • Examples of volatile memories may include random access memories (RAM), dynamic random access memories (DRAM), and static random access memories (SRAM).
  • Examples of non-volatile memories may include magnetic hard discs, optical discs, floppy discs, flash memories, or forms of electrically programmable memories (EPROM) or electrically erasable and programmable (EEPROM) memories.
  • Storage device(s) may include memory cards (e.g., a Secure Digital (SD) memory card), internal/external hard disk drives, and/or internal/external solid state drives. Data may be stored on a storage device according to a defined file format
  • Interface 108 may include any device configured to receive a compliant video bitstream and transmit and/or store the compliant video bitstream to a communications medium.
  • Interface 108 may include a network interface card, such as an Ethernet card, and may include an optical transceiver, a radio frequency transceiver, or any other type of device that can send and/or receive information.
  • interface 108 may include a computer system interface that may enable a compliant video bitstream to be stored on a storage device.
  • destination device 120 includes interface 122, video decoder 124, and display 126.
  • Interface 122 may include any device configured to receive a compliant video bitstream from a communications medium.
  • Interface 108 may include a network interface card, such as an Ethernet card, and may include an optical transceiver, a radio frequency transceiver, or any other type of device that can receive and/or send information.
  • interface 122 may include a computer system interface enabling a compliant video bitstream to be retrieved from a storage device.
  • interface 122 may include a chipset supporting PCI and PCIe bus protocols, proprietary bus protocols, USB protocols, I 2 C, or any other logical and physical structure that may be used to interconnect peer devices.
  • FIG. 6 is a block diagram illustrating an example of video encoder 200 that may implement the techniques for encoding video data described herein. It should be noted that although example video encoder 200 is illustrated as having distinct functional blocks, such an illustration is for descriptive purposes and does not limit video encoder 200 and/or sub-components thereof to a particular hardware or software architecture. Functions of video encoder 200 may be realized using any combination of hardware, firmware, and/or software implementations. In one example, video encoder 200 may be configured to encode video data according to the techniques described herein. Video encoder 200 may perform intra prediction coding and inter prediction coding of picture areas, and, as such, may be referred to as a hybrid video encoder. In the example illustrated in FIG. 6, video encoder 200 receives source video blocks.
  • source video blocks may include areas of picture that has been divided according to a coding structure.
  • source video data may include macroblocks, CTUs, CBs, sub-divisions thereof, and/or another equivalent coding unit.
  • video encoder may be configured to perform additional sub-divisions of source video blocks. It should be noted that the techniques described herein are generally applicable to video coding, regardless of how source video data is partitioned prior to and/or during encoding. In the example illustrated in FIG.
  • video encoder 200 includes summer 202, transform coefficient generator 204, coefficient quantization unit 206, inverse quantization/transform processing unit 208, summer 210, intra prediction processing unit 212, inter prediction processing unit 214, filter unit 216, and entropy encoding unit 218. As illustrated in FIG. 6, video encoder 200 receives source video blocks and outputs a bitstream.
  • video encoder 200 may generate residual data by subtracting a predictive video block from a source video block.
  • Summer 202 represents a component configured to perform this subtraction operation.
  • the subtraction of video blocks occurs in the pixel domain.
  • Transform coefficient generator 204 applies a transform, such as a discrete cosine transform (DCT), a discrete sine transform (DST), or a conceptually similar transform, to the residual block or sub-divisions thereof (e.g., four 8x8 transforms may be applied to a 16x16 array of residual values) to produce a set of residual transform coefficients.
  • Transform coefficient generator 204 may be configured to perform any and all combinations of the transforms included in the family of discrete trigonometric transforms. Transform coefficient generator 204 may output transform coefficients to coefficient quantization unit 206.
  • Coefficient quantization unit 206 may be configured to perform quantization of the transform coefficients. As described above, the degree of quantization may be modified by adjusting a quantization scaling factor which may be determined by quantization parameters. Coefficient quantization unit 206 may be further configured to determine quantization values and output QP data that may be used by a video decoder to reconstruct a quantization parameter (and thus a quantization scaling factor) to perform inverse quantization during video decoding. For example, signaled QP data may include QP delta values. In ITU-T H.265, the degree of quantization applied to a set of transform coefficients may depend on slice level parameters, parameters inherited from a previous coding unit, and/or optionally signaled CU level delta values.
  • quantized transform coefficients are output to inverse quantization/transform processing unit 208.
  • Inverse quantization/transform processing unit 208 may be configured to apply an inverse quantization and/or an inverse transformation to generate reconstructed residual data.
  • reconstructed residual data may be added to a predictive video block.
  • an encoded video block may be reconstructed and the resulting reconstructed video block may be used to evaluate the encoding quality for a given quality for a given prediction, transformation type, and/or level of quantization.
  • Video encoder 200 may be configured to perform multiple coding passes (e.g., perform encoding while varying one or more coding parameters). The rate-distortion of a bitstream or other system parameters may be optimized based on evaluation of reconstructed video blocks. Further, reconstructed video blocks may be stored and used as reference for predicting subsequent blocks.
  • Intra prediction processing unit 212 may be configured to select an intra prediction mode, e.g., the intra prediction modes described above, for a video block to be coded. Intra prediction processing unit 212 may be configured to evaluate a frame and/or an area thereof and determine an intra prediction mode to use to encode a current block. As illustrated in FIG. 6, intra prediction processing unit 212 outputs intra prediction data (e.g., syntax elements) to filter unit 216 and entropy encoding unit 218. It should be noted that the techniques described herein may be generally applicable regardless of the number of defined possible non-directional and angular prediction modes.
  • Inter prediction processing unit 214 may be configured to perform inter prediction coding for a current video block. Inter prediction processing unit 214 may be configured to generate a predictive block using the motion prediction data. For example, inter prediction processing unit 214 may locate a predictive video block within a frame buffer (not shown in FIG. 6). Inter prediction processing unit 214 may output motion prediction data for a calculated motion vector to filter unit 216 and entropy encoding unit 218. Inter prediction processing unit 214 may be configured to receive source video blocks and calculate a motion vector for PUs, or the like, of a video block. A motion vector may indicate the displacement of a PU, or the like, of a video block within a current video frame relative to a predictive block within a reference frame.
  • Inter prediction coding may use one or more reference pictures. Further, motion prediction may be uni-predictive (use one motion vector) or bi-predictive (use two motion vectors). Inter prediction processing unit 214 may be configured to select a predictive block by calculating a pixel difference determined by, for example, sum of absolute difference (SAD), sum of square difference (SSD), or other difference metrics. It should be noted that inter prediction processing unit 214 may further be configured to apply one or more interpolation filters to calculate sub-integer pixel values for use in motion estimation.
  • SAD sum of absolute difference
  • SSD sum of square difference
  • a prediction block in the partially decoded portion of the current picture may be identified according to a displacement vector.
  • a CTU may be partitioned according to a QTMT for the luma channel and an independent QTMT for the chroma channel.
  • FIG. 4 which illustrates an example of blocks for a luma channel resulting from a QTMT and blocks for a chroma channel resulting from an independent QTMT, for the luma channel, 18 blocks result from the partitioning and for the chroma channel 13 blocks result from the partitioning.
  • 31 displacement vectors may be signaled, i.e., one for each block. However, such signaling is likely to be inefficient in most cases.
  • luma and chroma channels may be partitioned according to a common partitioning until a particular level is reached and at the particular level CPR signaling may occur.
  • luma and chroma channels may be partitioned according to a common QTMT until a CU is reached, as described above.
  • a flag may be signaled indicating (1) whether CPR is used or (2) whether another technique is used to generate predictions for the luma and chroma channels.
  • the flag indicates another technique is used to generate predictions for the luma and chroma channels, separate partitioning trees may be signaled for each of the luma channel and the chroma channel.
  • the luma channel and chroma channel may be enabled to be further independently partitioned beyond the CU level.
  • a flag may be used to indicate whether further partitioning is performed according separate or a share partitioning structure.
  • no further partitioning may occur and a displacement vector may be indicated for the CU.
  • the luma channel and the chroma channels may be further partitioned according to a shared partitioning tree and a displacement vector may be indicated for each block resulting from the shared partitioning.
  • FIG. 7 illustrates an example, where luma and chroma channels are partitioned according to a common QTMT until a CU is reached and at a CU, CPR coding may occur or the luma channel and the chroma channels may be further partitioned according separate coding trees.
  • luma and chroma channels may be partitioned according to a common QTMT until a CU is reached and at the CU, a flag indicating a first prediction type or a second prediction type may be signaled.
  • a flag is signaled for each CU to indicate if CPR or another prediction type is used and no further partitioning is allowed.
  • a flag is signaled for each CU to indicate if additional partitioning according separate partitioning structures for the luma and chroma channels is allowed and if the flag is true, the separate partitioning structures are indicated.
  • a flag is signaled for each CU to indicate if CPR or another prediction type used, and a flag is signaled for each CU to indicate if additional partitioning according shared partitioning structures for the luma and chroma channels is allowed and if the flag is true, the shared partitioning structure is indicated.
  • a flag is signaled for each CU to indicate if additional partitioning according separate partitioning structures for the luma and chroma channels is allowed and if the flag is true, the separate partitioning structures are indicated.
  • luma and chroma channels may be partitioned according to a common QTMT until a CU is reached and at the CU, a flag indicating a first prediction type or a second prediction type may be signaled.
  • a flag is inferred for each CU to indicate that CPR is used, and a flag is signaled for each CU to indicate if additional partitioning according shared partitioning structures for the luma and chroma channels is allowed and if the flag is true, the share partitioning structure is indicated.
  • a flag is signaled for each CU to indicate if additional partitioning according separate partitioning structures for the luma and chroma channels is allowed and if the flag is true, the separate partitioning structures are indicated.
  • the values of flags may be inferred based on slice type and/or block size.
  • the current partially decoded picture is signaled as an entry in reference picture list 0.
  • the value of the entry in reference picture list 0 corresponding to the current partially decoded picture may be inferred.
  • an index value corresponding to the current partially decoded picture may be inferred.
  • an index value indicating a reference picture may be constrained so that the CU or further divisions thereof (e.g., according to a shared partitioning tree) reference the current picture.
  • luma and chroma channels may be partitioned according to a common partitioning until a particular level is reached and at the particular level CPR signaling may occur, for example, as described above.
  • I slices do not include syntax to indicate reference pictures, and as such in this case, the current partially decoded picture may be inferred.
  • displacement vectors may be sent for such blocks in an I slice.
  • determining whether a current CU or divisions thereof use the current partially decoded picture to generate a prediction may be based on slice type and/or a flag received.
  • displacement vectors for chroma blocks may be derived from displacement vectors determined for luma blocks.
  • each chroma block may be assigned one or more corresponding luma blocks having displacement vectors.
  • corresponding luma blocks may be derived based on one or more of a chroma block top-left position, a chroma block width, and/or a chroma block height.
  • the chroma block top-left position may be collocated with a luma block and the displacement vector of the luma block may be assigned to the chroma block.
  • each luma block which includes a sample collocated with any sample of the chroma block may be a corresponding luma block.
  • a displacement vector may be generated for the chroma block by performing a function on the multiple luma displacement vectors. For example, a median filter or a mean filter may be applied to multiple luma displacement vectors to generate a displacement vector for the chroma block.
  • an index value may be sent to indicate a selected displacement vector from a set of luma displacement vectors.
  • the displacement vector may be further refined by using a displacement vector difference. The displacement vector difference may be signaled in the bitstream.
  • a flag (e.g., merge_flag) may be used to signal that the luma block has zero residue.
  • a flag e.g., merge_flag
  • a luma displacement vector may be scaled when used as displacement vector for a chroma block. In one example, the scaling may be based on a chroma format. In one example, in a similar manner, displacement vectors for luma blocks may be derived from displacement vectors determined for chroma blocks.
  • video encoder 200 represents an example of a device configured to partition a luma channel of video data and a chroma channel of video data according to a common partitioning structure, at a coding unit resulting from the common partitioning structure, signal a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and generate a prediction according to a technique indicated by the flag.
  • an index value may be used to represent a 3-tuple color value (e.g., Y, Cb, and Cr).
  • a 3-tuple color value e.g., Y, Cb, and Cr.
  • luma and chroma channels may be partitioned according to a common partitioning until a particular level is reached and at the particular level, palette coding signaling may occur.
  • luma and chroma channels may be partitioned according to a common QTMT until a CU is reached, as described above.
  • a flag may be signaled indicating (1) whether palette coding is used or (2) whether another technique is used to generate predictions for the luma and chroma channels.
  • the flag indicates another technique is used to generate predictions for the luma and chroma channels
  • separate partitioning trees may be signaled for each of the luma channel and the chroma channel. That is, the luma channel and chroma channel may be enabled to be further independently partitioned beyond the CU level.
  • a flag may be used to indicate whether further partitioning is performed according separate or a share partitioning structure.
  • no further partitioning may occur and an index value may be indicated for the CU.
  • the luma channel and the chroma channels may be further partitioned according to a shared partitioning tree and an index value may be indicated for each block resulting from the shared partitioning.
  • the values of flags may be inferred based on slice type and/or block size.
  • palette coding may be performed separately for each of the luma channel and the chroma channel.
  • a palette, P L may be generated for the luma channel and a palette, P C , may be generated for the chroma channel and respective index values may be used for each channel.
  • filter unit 216 receives reconstructed video blocks and coding parameters and outputs modified reconstructed video data.
  • Filter unit 216 may be configured to perform deblocking and/or Sample Adaptive Offset (SAO) filtering.
  • SAO filtering is a non-linear amplitude mapping that may be used to improve reconstruction by adding an offset to reconstructed video data.
  • deblocking may include smoothing block boundaries according to a deblocking grid. As described above, when separate trees are used to partition the luma channel and the chroma channel, block boundaries may not align, which may result in the inconsistent deblocking of the luma and chroma channels.
  • the luma channel may be deblocked along a segment of a deblocking grid and the chroma channel may not be deblocked along the segment.
  • the luma channel and the chroma channel are not deblocked along the same segments of a deblocking grid, visual artifacts may result.
  • filter selection e.g., strong or weak
  • a deblocking control process e.g., whether deblocking is performed or not
  • filter selection and/or a deblocking control process for a luma edge may be based on whether it aligns with a chroma edge.
  • a chroma edge may be deblocked with a relatively stronger filter, if a luma edge (or chroma edge) is not deblocked; a chroma edge (or luma edge) may be deblocked with a relatively weaker filter, if a luma edge (or chroma edge) is deblocked; a chroma edge (or luma edge) may always be deblocked, if a luma edge (or chroma edge) is not deblocked; and/or a different threshold may be used for a smoothness comparison of a chroma edge (or luma edge), if a luma edge (or chroma edge) is not deblocked.
  • intra prediction processing unit 212 and inter prediction processing unit 214 may receive modified reconstructed video block via filter unit 216.
  • Entropy encoding unit 218 receives quantized transform coefficients and predictive syntax data (i.e., intra prediction data, motion prediction data, QP data, etc.).
  • coefficient quantization unit 206 may perform a scan of a matrix including quantized transform coefficients before the coefficients are output to entropy encoding unit 218.
  • entropy encoding unit 218 may perform a scan.
  • Entropy encoding unit 218 may be configured to perform entropy encoding according to one or more of the techniques described herein.
  • Entropy encoding unit 218 may be configured to output a compliant bitstream, i.e., a bitstream that a video decoder can receive and reproduce video data therefrom.
  • FIG. 8 is a block diagram illustrating an example of a video decoder that may be configured to decode video data according to one or more techniques of this disclosure.
  • video decoder 400 may be configured to intra and inter prediction techniques based on one or more of the techniques described above. It should be noted that video encoder 200 may signal syntax elements in a bitstream indicating coding parameters for reconstructed video data based on the intra and inter prediction techniques described above. In this manner, video decoder 400 may receive a bitstream generated based on the techniques described above and perform a reciprocal coding process to generate reconstructed video data.
  • video decoder 400 represents an example of a device configured to determine a partitioning for a luma channel of video data and for a chroma channel of video data according to a common signaled partitioning structure, at a coding unit resulting from the common partitioning structure, determine a value of a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and generate a prediction according to a technique indicated by the flag.
  • Video decoder 400 may be configured to perform intra prediction decoding and inter prediction decoding and, as such, may be referred to as a hybrid decoder.
  • video decoder 400 includes an entropy decoding unit 402, inverse quantization unit 404, inverse transform processing unit 406, intra prediction processing unit 408, inter prediction processing unit 410, summer 412, filter unit 414, reference buffer 416, and scaling unit 418.
  • Video decoder 400 may be configured to decode video data in a manner consistent with a video encoding system, which may implement one or more aspects of a video coding standard.
  • example video decoder 400 is illustrated as having distinct functional blocks, such an illustration is for descriptive purposes and does not limit video decoder 400 and/or sub-components thereof to a particular hardware or software architecture. Functions of video decoder 400 may be realized using any combination of hardware, firmware, and/or software implementations.
  • Entropy decoding unit 402 receives an entropy encoded bitstream.
  • Entropy decoding unit 402 may be configured to decode syntax elements and quantized coefficients from the bitstream according to a process reciprocal to an entropy encoding process.
  • Entropy decoding unit 402 may be configured to perform entropy decoding according any of the entropy coding techniques described above.
  • Entropy decoding unit 402 may parse an encoded bitstream in a manner consistent with a video coding standard.
  • inverse quantization unit 404 receives quantized transform coefficients (i.e., level values) and quantization parameter data from entropy decoding unit 402.
  • Quantization parameter data may include any and all combinations of delta QP values and/or quantization group size values and the like described above.
  • Video decoder 400 and/or inverse quantization unit 404 may be configured to determine quantization values used for inverse quantization based on values signaled by a video encoder and/or through video properties and/or coding parameters. That is, inverse quantization unit 404 may operate in a reciprocal manner to coefficient quantization unit 206 described above.
  • Inverse quantization unit 404 may be configured to apply an inverse quantization.
  • Inverse transform processing unit 406 may be configured to perform an inverse transformation to generate reconstructed residual data.
  • the techniques respectively performed by inverse quantization unit 404 and inverse transform processing unit 406 may be similar to techniques performed by inverse quantization/transform processing unit 208 described above.
  • Inverse transform processing unit 406 may be configured to apply an inverse DCT, an inverse DST, an inverse integer transform, Non-Separable Secondary Transform (NSST), or a conceptually similar inverse transform processes to the transform coefficients in order to produce residual blocks in the pixel domain. Further, as described above, whether particular transform (or type of particular transform) is performed may be dependent on an intra prediction mode. As illustrated in FIG. 8, reconstructed residual data may be provided to summer 412. Summer 412 may add reconstructed residual data to a predictive video block and generate reconstructed video data.
  • a predictive video block may be determined according to a predictive video technique (i.e., intra prediction and inter frame prediction).
  • Intra prediction processing unit 408 may be configured to receive intra prediction syntax elements and retrieve a predictive video block from reference buffer 416.
  • Reference buffer 416 may include a memory device configured to store one or more frames of video data.
  • Intra prediction syntax elements may identify an intra prediction mode, such as the intra prediction modes described above.
  • intra prediction processing unit 408 may reconstruct a video block using according to one or more of the intra prediction coding techniques describe herein.
  • Inter prediction processing unit 410 may receive inter prediction syntax elements and generate motion vectors to identify a prediction block in one or more reference frames stored in reference buffer 416.
  • Inter prediction processing unit 410 may produce motion compensated blocks, possibly performing interpolation based on interpolation filters.
  • Inter prediction processing unit 410 may use interpolation filters to calculate interpolated values for sub-integer pixels of a reference block.
  • Inter prediction processing unit 410 may be configured to perform inter prediction coding according to techniques described herein. For example, inter prediction processing unit 410 may perform inter prediction decoding in reciprocal manner to processes performed by inter prediction processing unit 214 as described above.
  • Filter unit 414 may be configured to perform filtering on reconstructed video data according to the techniques described herein.
  • filter unit 414 may be configured to perform deblocking and/or SAO filtering, as described above with respect to filter unit 216 and filter unit 300. Further, it should be noted that in some examples, filter unit 414 may be configured to perform proprietary discretionary filter (e.g., visual enhancements). As illustrated in FIG. 8, a reconstructed video block may be output by video decoder 400.
  • a color domain conversion may be performed on a residual.
  • the residual does not necessarily align for the luma channel and the chroma channel.
  • a color domain conversion may be applied to the luma and chroma channel after the residual is added to a prediction. In some case, such a process may require delaying further processing of either the luma or chroma channel to facilitate the color domain conversion.
  • Computer-readable media may include computer-readable storage media, which corresponds to a tangible medium such as data storage media, or communication media including any medium that facilitates transfer of a computer program from one place to another, e.g., according to a communication protocol.
  • Computer-readable media generally may correspond to (1) tangible computer-readable storage media which is non-transitory or (2) a communication medium such as a signal or carrier wave.
  • Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, code and/or data structures for implementation of the techniques described in this disclosure.
  • a computer program product may include a computer-readable medium.
  • such computer-readable storage media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage, or other magnetic storage devices, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer.
  • any connection is properly termed a computer-readable medium.
  • a computer-readable medium For example, if instructions are transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium.
  • DSL digital subscriber line
  • Disk and disc includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
  • processors such as one or more digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry.
  • DSPs digital signal processors
  • ASICs application specific integrated circuits
  • FPGAs field programmable logic arrays
  • processors may refer to any of the foregoing structure or any other structure suitable for implementation of the techniques described herein.
  • the functionality described herein may be provided within dedicated hardware and/or software modules configured for encoding and decoding, or incorporated in a combined codec. Also, the techniques could be fully implemented in one or more circuits or logic elements.
  • the techniques of this disclosure may be implemented in a wide variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC) or a set of ICs (e.g., a chip set).
  • IC integrated circuit
  • a set of ICs e.g., a chip set.
  • Various components, modules, or units are described in this disclosure to emphasize functional aspects of devices configured to perform the disclosed techniques, but do not necessarily require realization by different hardware units. Rather, as described above, various units may be combined in a codec hardware unit or provided by a collection of interoperative hardware units, including one or more processors as described above, in conjunction with suitable software and/or firmware.
  • each functional block or various features of the base station device and the terminal device used in each of the aforementioned embodiments may be implemented or executed by a circuitry, which is typically an integrated circuit or a plurality of integrated circuits.
  • the circuitry designed to execute the functions described in the present specification may comprise a general-purpose processor, a digital signal processor (DSP), an application specific or general application integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic, or a discrete hardware component, or a combination thereof.
  • the general-purpose processor may be a microprocessor, or alternatively, the processor may be a conventional processor, a controller, a microcontroller or a state machine.
  • the general-purpose processor or each circuit described above may be configured by a digital circuit or may be configured by an analogue circuit. Further, when a technology of making into an integrated circuit superseding integrated circuits at the present time appears due to advancement of a semiconductor technology, the integrated circuit by this technology is also able to be used.

Abstract

This disclosure relates to video coding and more particularly to techniques for generating a prediction block. A method of generating a prediction block comprising: partitioning a luma channel and a chroma channel according to a common partitioning structure; at a coding unit resulting from the common partitioning structure, signaling a flag (CPR flag) indicating whether prediction is performed according to a current picture referencing (CPR) technique or another technique; and generating a prediction according to a technique indicated by the flag.

Description

SYSTEMS AND METHODS FOR GENERATING PREDICTION BLOCKS FOR CODING OF VIDEO DATA
This disclosure relates to video coding and more particularly to techniques for generating prediction blocks for coding video data.
Digital video capabilities can be incorporated into a wide range of devices, including digital televisions, laptop or desktop computers, tablet computers, digital recording devices, digital media players, video gaming devices, cellular telephones, including so-called smartphones, medical imaging devices, and the like. Digital video may be coded according to a video coding standard. Video coding standards may incorporate video compression techniques. Examples of video coding standards include ISO/IEC MPEG-4 Visual and ITU-T H.264 (also known as ISO/IEC MPEG-4 AVC) and High-Efficiency Video Coding (HEVC). HEVC is described in High Efficiency Video Coding (HEVC), Rec. ITU-T H.265, December 2016, which is incorporated by reference, and referred to herein as ITU-T H.265. Extensions and improvements for ITU-T H.265 are currently being considered for the development of next generation video coding standards. For example, the ITU-T Video Coding Experts Group (VCEG) and ISO/IEC (Moving Picture Experts Group (MPEG) (collectively referred to as the Joint Video Exploration Team (JVET)) have commenced standardization of video coding technology with a compression capability that significantly exceeds that of the current HEVC standard. The Joint Exploration Model 7 (JEM 7), Algorithm Description of Joint Exploration Test Model 7 (JEM 7), ISO/IEC JTC1/SC29/WG11 Document: JVET-G1001, July 2017, Torino, IT, which is incorporated by reference herein, describes coding features under coordinated test model study by the JVET as potentially enhancing video coding technology beyond the capabilities of ITU-T H.265. It should be noted that the coding features of JEM 7 are implemented in JEM reference software. As used herein, the term JEM may collectively refer to algorithms included in JEM 7 and implementations of JEM reference software. Further, in response to a “Joint Call for Proposals on Video Compression with Capabilities beyond HEVC,” jointly issued by VCEG and MPEG, multiple descriptions of video coding were proposed by various groups at the 10th Meeting of ISO/IEC JTC1/SC29/WG11 16-20 April 2018, San Diego, CA. As a result of the multiple descriptions of video coding, a draft text of a video coding specification is described in “Versatile Video Coding (Draft 1),” 10th Meeting of ISO/IEC JTC1/SC29/WG11 16-20 April 2018, San Diego, CA, document JVET-J1001-v2, which is incorporated by reference herein, and referred to as JVET-J1001.
Video compression techniques enable data requirements for storing and transmitting video data to be reduced. Video compression techniques may reduce data requirements by exploiting the inherent redundancies in a video sequence. Video compression techniques may sub-divide a video sequence into successively smaller portions (i.e., groups of frames within a video sequence, a frame within a group of frames, slices within a frame, coding tree units (e.g., macroblocks) within a slice, coding blocks within a coding tree unit, etc.). Intra prediction coding techniques (e.g., intra-picture (spatial)) and inter prediction techniques (i.e., inter-picture (temporal)) may be used to generate difference values between a unit of video data to be coded and a reference unit of video data. The difference values may be referred to as residual data. Residual data may be coded as quantized transform coefficients. Syntax elements may relate residual data and a reference coding unit (e.g., intra-prediction mode indices, motion vectors, and block vectors). Residual data and syntax elements may be entropy coded. Entropy encoded residual data and syntax elements may be included in a compliant bitstream.
In one example, a method of generating a prediction block, comprises partitioning a luma channel of video data and a chroma channel of video data according to a common partitioning structure, at a coding unit resulting from the common partitioning structure, signaling a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and generating a prediction according to a technique indicated by the flag.
In one example, a method of generating a prediction block, comprises determining a partitioning for a luma channel of video data and for a chroma channel of video data according to a common signaled partitioning structure, at a coding unit resulting from the common partitioning structure, determining a value of a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and generating a prediction according to a technique indicated by the flag.
FIG. 1 is a block diagram illustrating an example of a system that may be configured to encode and decode video data according to one or more techniques of this disclosure. FIG. 2 is a conceptual diagram illustrating partitioning modes in accordance with one or more techniques of this disclosure. FIG. 3 is a conceptual diagram illustrating a quadtree multi-type tree partitioning in accordance with one or more techniques of this disclosure. FIG. 4 is a conceptual diagram illustrating a quadtree multi-type tree partitioning in accordance with one or more techniques of this disclosure. FIG. 5 is a conceptual diagram illustrating an example of generating a prediction block in accordance with one or more techniques of this disclosure. FIG. 6 is a block diagram illustrating an example of a video encoder that may be configured to encode video data according to one or more techniques of this disclosure. FIG. 7 is a conceptual diagram illustrating an example of coding a prediction block in accordance with one or more techniques of this disclosure. FIG. 8 is a block diagram illustrating an example of a video decoder that may be configured to decode video data according to one or more techniques of this disclosure.
In general, this disclosure describes various techniques for coding video data. In particular, this disclosure describes techniques for generating prediction blocks for coding of video data. It should be noted that although techniques of this disclosure are described with respect to ITU-T H.264, ITU-T H.265, and JEM, the techniques of this disclosure are generally applicable to video coding. For example, the coding techniques described herein may be incorporated into video coding systems, (including video coding systems based on future video coding standards) including block structures, intra prediction techniques, inter prediction techniques, transform techniques, filtering techniques, and/or entropy coding techniques other than those included in ITU-T H.265 and JEM. Thus, reference to ITU-T H.264, ITU-T H.265, and/or JEM is for descriptive purposes and should not be construed to limit the scope of the techniques described herein. Further, it should be noted that incorporation by reference of documents herein is for descriptive purposes and should not be construed to limit or create ambiguity with respect to terms used herein. For example, in the case where an incorporated reference provides a different definition of a term than another incorporated reference and/or as the term is used herein, the term should be interpreted in a manner that broadly includes each respective definition and/or in a manner that includes each of the particular definitions in the alternative.
In one example, a device for video coding comprises one or more processors configured to partition a luma channel of video data and a chroma channel of video data according to a common partitioning structure, at a coding unit resulting from the common partitioning structure, signal a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and generate a prediction according to a technique indicated by the flag.
In one example, a non-transitory computer-readable storage medium comprises instructions stored thereon that, when executed, cause one or more processors of a device to partition a luma channel of video data and a chroma channel of video data according to a common partitioning structure, at a coding unit resulting from the common partitioning structure, signal a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and generate a prediction according to a technique indicated by the flag.
In one example, an apparatus comprises means for partitioning a luma channel of video data and a chroma channel of video data according to a common partitioning structure, means for signaling a flag, at a coding unit resulting from the common partitioning structure, indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and means for generating a prediction according to a technique indicated by the flag.
In one example, a device for video coding comprises one or more processors configured to determine a partitioning for a luma channel of video data and for a chroma channel of video data according to a common signaled partitioning structure, at a coding unit resulting from the common partitioning structure, determine a value of a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and generate a prediction according to a technique indicated by the flag.
In one example, a non-transitory computer-readable storage medium comprises instructions stored thereon that, when executed, cause one or more processors of a device to determine a partitioning for a luma channel of video data and for a chroma channel of video data according to a common signaled partitioning structure, at a coding unit resulting from the common partitioning structure, determine a value of a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and generate a prediction according to a technique indicated by the flag.
In one example, an apparatus comprises means for determining a partitioning for a luma channel of video data and for a chroma channel of video data according to a common signaled partitioning structure, means for determining a value of a flag, at a coding unit resulting from the common partitioning structure, indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and means for generating a prediction according to a technique indicated by the flag.
The details of one or more examples are set forth in the accompanying drawings and the description below. Unless explicitly stated otherwise, components and functions are optional and may be combined or subdivided, and operations may vary in sequence or may be combined or subdivided. Other features, objects, and advantages will be apparent from the description and drawings, and from the claims.
Video content typically includes video sequences comprised of a series of frames. A series of frames may also be referred to as a group of pictures (GOP). Each video frame or picture may include a plurality of slices or tiles, where a slice or tile includes a plurality of video blocks. As used herein, the term video block may generally refer to an area of a picture including one or more video components, or may more specifically refer to the largest array of pixel/sample values that may be predictively coded, sub-divisions thereof, and/or corresponding structures. Further, the term current video block may refer to an area of a picture being encoded or decoded. A video block may be defined as an array of pixel values (also referred to as samples) that may be predictively coded. Video blocks may be ordered according to a scan pattern (e.g., a raster scan). A video encoder may perform predictive encoding on video blocks and sub-divisions thereof. Video blocks and sub-divisions thereof may be referred to as nodes. ITU-T H.264 specifies a macroblock including 16x16 luma samples. ITU-T H.265 specifies an analogous Coding Tree Unit (CTU) structure where a picture may be split into CTUs of equal size and each CTU may include Coding Tree Blocks (CTB) having 16x16, 32x32, or 64x64 luma samples. In ITU-T H.265, the respective CTBs of a CTU may be partitioned into Coding Blocks (CB) according to a corresponding quadtree block structure. According to ITU-T H.265, one luma component CB together with two corresponding chroma component CBs (e.g., Cr and Cb chroma components) and associated syntax elements are referred to as a coding unit (CU). It should be noted that the luma component may be referred to as the luma channel and the two chroma components may be collectively referred to as the chroma channel. In ITU-T H.265, a minimum allowed size of a CB may be signaled. In ITU-T H.265, a CU is associated with a prediction unit (PU) structure defining one or more prediction units (PU) for the CU, where a PU is associated with corresponding reference samples. That is, in ITU-T H.265, the decision to code a picture area using intra prediction or inter prediction is made at the CU level. In ITU-T H.265, a PU may include luma and chroma prediction blocks (PBs), where square PBs are supported for intra prediction and rectangular PBs are supported for inter prediction. Intra prediction data (e.g., intra prediction mode syntax elements) or inter prediction data (e.g., motion data syntax elements) may associate PUs with corresponding reference samples.
The difference between sample values included in a current PB, or another type of picture area structure, and associated reference samples (e.g., those generated using a prediction) may be referred to as residual data. Residual data may include respective arrays of difference values corresponding to each component of video data. Residual data may be in the pixel domain. A transform, such as, a discrete cosine transform (DCT), a discrete sine transform (DST), an integer transform, a wavelet transform, or a conceptually similar transform, may be applied to pixel difference values to generate transform coefficients. It should be noted that in ITU-T H.265, CUs may be further sub-divided into Transform Units (TUs). That is, in ITU-T H.265, an array of pixel difference values may be sub-divided for purposes of generating transform coefficients (e.g., four 8x8 transforms may be applied to a 16x16 array of residual values), for each component of video data, such sub-divisions may be referred to as Transform Blocks (TBs).
JEM specifies a CTU having a maximum size of 256x256 luma samples. In JEM, CTUs may be partitioned according a quadtree plus binary tree (QTBT) structure. In JEM, the QTBT structure enables quadtree leaf nodes to be further partitioned according to a binary tree structure. In JEM, the binary tree structure indicates binary splits. A binary split divides a block at its center either vertically or horizontally. Thus, the binary tree structure enables square quadtree leaf nodes to be recursively symmetrically divided vertically or horizontally. Thus, the binary tree structure in JEM enables square and rectangular nodes. In JEM, for each channel, nodes resulting from a QTBT, may be analogous to both a PB and TB in ITU-T H.265. That is, a prediction is generated for a node resulting from a QTBT. Further, in JEM, the luma channel and the chroma channel may have separate QTBT structures. That is, the chroma channel may be partitioned independent of luma partitioning. In JEM, separate QTBT structures are enabled for slices of video data coded restricted to being coded using intra prediction techniques.
In JVET-J1001, CTUs are partitioned according a quadtree plus multi-type tree (QTMT) structure. The QTMT in JVET-J1001 is similar to the QTBT in JEM. However, in JVET-J1001, in addition to indicating binary splits, the multi-type tree may indicate so-called ternary (or triple tree (TT)) splits. A ternary split divides a block vertically or horizontally into three blocks. In the case of a vertical TT split, a block is divided at one quarter of its width from the left edge and at one quarter its width from the right edge and in the case of a horizontal TT split a block is at one quarter of its height from the top edge and at one quarter of its height from the bottom edge. FIG. 2 illustrates each of the partition split types that may be signaled in JVET-J1001. Further, JVET provides where a flag, qt_split_cu_flag, indicates recursive quadtree partitioning. That is, one or more qt_split_cu_flag values indicate the partitioning of a CTU into quadtree leaf nodes. At each quadtree leaf node, a multi-type tree syntax structure indicates recursive multi-type tree partitioning. That is, the multi-type tree syntax structure indicates further partitioning of a quadtree leaf node according to zero or more BT and/or TT splits. The multi-type tree syntax structure includes a flag, mtt_split_cu_flag, which indicates whether a coding unit is reached (i.e., the current block is not further split and forms a coding unit) or whether the current block is further split according to a BT or TT split. When mtt_split_cu_flag indicates that the current block is further split, two flags, mtt_split_cu_vertical_flag and mtt_split_cu_binary_flag, are signaled indicate one of: a horizontal TT split, a horizontal BT split, a vertical TT split, or a vertical BT split. Table 1 provides a summary of how split modes are indicated according to mtt_split_cu_flag, mtt_split_cu_vertical_flag, and mtt_split_cu_binary_flag.
Figure JPOXMLDOC01-appb-I000001
As indicated in Table 1, mtt_split_cu_vertical_flag and mtt_split_cu_binary_flag are not signaled when mtt_split_cu_flag indicates a CU is reached. Further, it should be noted that signaling of mtt_split_cu_flag is repeated after the signaling of mtt_split_cu_vertical_flag and mtt_split_cu_binary_flag. It should be noted that JVET-J1001 provides various conditions where multi-type tree syntax is not signaled and/or limited. For example, partitioning of a block may be disabled based on a minimum block size being reach and/or a maximum depth from a CTU being reached. For the sake of brevity, these conditions are not described in detail herein. However, reference is made to section 6 of JVET-J1001 which describes conditions where splits are allowed or disallowed. FIG. 3 illustrates an example of a CTU (e.g., a CTU having a size of 256x256 luma samples) being partitioned into quadtree leaf nodes and the quadtree leaf nodes being further partitioned according to a multi-type tree. That is, in FIG. 3 dashed lines indicate additional binary and ternary partitions of quadtree lead nodes and resulting CUs of a CTU. For each CU, a prediction may be generated for the luma channel and the chroma channel.
As described above, in JEM, the luma channel and chroma channel may be partitioned according to separate QTBTs. In a similar manner, it may be useful to partition a luma channel and chroma channel according to separate QTMTs. FIG. 4 illustrates an example of a CTU being partitioned according to a QTMT for the luma channel and an independent QTMT for the chroma channel. As illustrated in FIG. 4, when independent QTMTs are used for partitioning a CTU, blocks of the luma component do not necessarily align with blocks of the chroma components. It should be noted in FIG. 4, blocks are identified as CBs and a prediction may be generated for each CB. A video sampling format, which may also be referred to as a chroma format, may define the number of chroma samples included in a region of a picture with respect to the number of luma samples included in the region of the picture. For example, for the 4:2:0 format, the sampling rate for the luma component is twice that of the chroma components for both the horizontal and vertical directions. As a result, for a CTU formatted according to the 4:2:0 format, the width and height of an array of samples for the luma component are twice that of each array of samples for the chroma components. As described above, a CTU is typically defined according to the number of horizontal and vertical luma samples. Thus, a 64x64 CTU formatted according to the 4:2:0 sample format includes 64x64 samples of luma components and 32x32 samples for each chroma component. Similarly, for a CTU formatted according to the 4:2:2 format, the width of an array of samples for the luma component is twice that of the width of an array of samples for each chroma component, but the height of the array of samples for the luma component is equal to the height of an array of samples for each chroma component. Further, for a CTU formatted according to the 4:4:4 format, an array of samples for the luma component has the same width and height as an array of samples for each chroma component. Thus, a partitioning of a CTU according to independent QTMTs for the luma channel and the chroma channel may result in video blocks in each channel that are not aligned and/or similarly sized.
A described above, residual date may be in the form of transform coefficients. A quantization process may be performed on transform coefficients. Quantization essentially scales transform coefficients in order to vary the amount of data required to represent a group of transform coefficients. Quantization may include division of transform coefficients by a quantization scaling factor and any associated rounding functions (e.g., rounding to the nearest integer). Quantized transform coefficients may be referred to as coefficient level values. Inverse quantization (or “dequantization”) may include multiplication of coefficient level values by the quantization scaling factor. It should be noted that as used herein the term quantization process in some instances may refer to division by a scaling factor to generate level values and multiplication by a scaling factor to recover transform coefficients in some instances. That is, a quantization process may refer to quantization in some cases and inverse quantization in some cases.
Quantized transform coefficients are coded into a bitstream. Quantized transform coefficients and syntax elements (e.g., syntax elements indicating a coding structure for a video block) may be entropy coded according to an entropy coding technique. Examples of entropy coding techniques include content adaptive variable length coding (CAVLC), context adaptive binary arithmetic coding (CABAC), probability interval partitioning entropy coding (PIPE), and the like. Entropy encoded quantized transform coefficients and corresponding entropy encoded syntax elements may form a compliant bitstream that can be used to reproduce video data at a video decoder. An entropy coding process may include performing a binarization on syntax elements. Binarization refers to the process of converting a value of a syntax value into a series of one or more bits. These bits may be referred to as “bins.” Binarization is a lossless process and may include one or a combination of the following coding techniques: fixed length coding, unary coding, truncated unary coding, truncated Rice coding, Golomb coding, k-th order exponential Golomb coding, and Golomb-Rice coding. For example, binarization may include representing the integer value of 5 for a syntax element as 00000101 using an 8-bit fixed length binarization technique or representing the integer value of 5 as 11110 using a unary coding binarization technique. As used herein each of the terms fixed length coding, unary coding, truncated unary coding, truncated Rice coding, Golomb coding, k-th order exponential Golomb coding, and Golomb-Rice coding may refer to general implementations of these techniques and/or more specific implementations of these coding techniques. For example, a Golomb-Rice coding implementation may be specifically defined according to a video coding standard, for example, ITU-T H.265. An entropy coding process further includes coding bin values using lossless data compression algorithms. In the example of a CABAC, for a particular bin, a context model may be selected from a set of available context models associated with the bin. In some examples, a context model may be selected based on a previous bin and/or values of previous syntax elements. A context model may identify the probability of a bin having a particular value. For instance, a context model may indicate a 0.7 probability of coding a 0-valued bin. After selecting an available context model, a CABAC entropy encoder may arithmetically code a bin based on the identified context model. The context model may be updated based on the value of a coded bin. The context model may be updated based on an associated variable stored with the context, e.g., adaptation window size, number of bins coded using the context. It should be noted, that according to ITU-T H.265, a CABAC entropy encoder may be implemented, such that some syntax elements may be entropy encoded using arithmetic encoding without the usage of an explicitly assigned context model, such coding may be referred to as bypass coding.
As described above, intra prediction data or inter prediction data may associate an area of a picture with corresponding reference samples. For intra prediction coding, typically an intra prediction mode is used to specify how a prediction is generated for a current block using available samples within a current picture. In ITU-T H.265, defined possible intra prediction modes include non-directional prediction modes, a planar (i.e., surface fitting) prediction mode (predMode: 0) and a DC (i.e., flat overall averaging) prediction mode (predMode: 1), and 33 angular prediction modes (predMode: 2-34). For angular prediction modes, a row of adjacent neighboring samples above the current block, a column of adjacent neighboring samples to the left of the current block, and an upper-left adjacent neighboring sample to the current block are defined. Angular prediction modes essentially define how a reference sample is derived for each sample included in the current block by pointing to samples in the row of neighboring samples, the column of neighboring samples, and/or the upper-left neighboring sample. It should be noted that in JEM, defined possible intra-prediction modes include a planar prediction mode (predMode: 0), a DC prediction mode (predMode: 1), and 65 angular prediction modes (predMode: 2-66).
For inter prediction coding, a previously decoded picture, i.e., a reference picture, is determined and a motion vector (MV) identifies samples in the reference picture. For example, a current video block may be predicted using reference sample values located in one or more previously coded picture(s) and a motion vector is used to indicate the location of the reference block relative to the current video block. A motion vector may describe, for example, a horizontal displacement component of the motion vector (i.e., MVx), a vertical displacement component of the motion vector (i.e., MVy), and a resolution for the motion vector (e.g., one-quarter pixel precision, one-half pixel precision, one-pixel precision, two-pixel precision, four-pixel precision). In ITU-T H.265, a motion vector is represented at 1/4-pixel precision. Previously decoded pictures, which may include pictures output before or after a current picture, may be organized into one or more to reference pictures lists and identified using a reference picture index value. Further, in inter prediction coding, uni-prediction refers to generating a prediction using sample values from a single reference picture and bi-prediction refers to generating a prediction using respective sample values from two reference pictures. That is, in uni-prediction, a single reference picture and corresponding motion vector are used to generate a prediction for a current video block and in bi-prediction, a first reference picture and corresponding first motion vector and a second reference picture and corresponding second motion vector are used to generate a prediction for a current video block. In bi-prediction, respective sample values are combined (e.g., added, rounded, and clipped, or averaged according to weights) to generate a prediction.
Further, a coding standard, such as, for example ITU-T H.265, may support motion vector prediction. Motion vector prediction enables the value of a motion vector to be derived based on another motion vector. Examples of motion vector prediction include advanced motion vector prediction (AMVP), temporal motion vector prediction (TMVP), so-called “merge” mode, and “skip” and “direct” motion inference. Further, JEM supports advanced temporal motion vector prediction (ATMVP) and Spatial-temporal motion vector prediction (STMVP). ITU-T H.265 supports two modes for motion vector prediction: a merge mode and so-called Advanced Motion Vector Prediction (AMVP). In ITU-T H.265, for both the merge mode and the AMVP for a current PB, a set of candidate blocks is derived. Both a video encoder and video decoder perform the same process to derive a set of candidates. Thus, for a current video block, the same set of candidates is generated during encoding and decoding. A candidate block includes a video block having associated motion information from which motion information used to generate a prediction for a current video block can be derived. For the merge mode in ITU-T H.265, all motion information (i.e., motion vector displacement values, reference picture indices, and reference picture lists) associated with a selected candidate is inherited as the motion information for the current PB. That is, at a video encoder, a candidate block is selected from the derived set of candidates and an index value included in the bitstream indicates the selected candidate and thus, indicates the motion information for the current PB. For AMVP in ITU-T H.265, the motion vector information for the selected candidate is used as a motion vector predictor (MVP) for the motion vector of the current PB. That is, at a video encoder, a candidate block is selected from the derived set of candidates and an index value indicating the selected candidate and a delta value (i.e., a motion vector delta (MVD)) indicating the difference between the motion vector predictor and the motion vector for the current PB are included in the bitstream. Further, for AMVP in ITU-T H.265, syntax elements identifying a reference picture are included in the bitstream.
It should be noted that pictures and slices may be classified based on which types of prediction modes may be utilized for encoding video blocks thereof. That is, for slices having a B type (i.e., a B slice), bi-prediction, uni-prediction, and intra prediction may be utilized, for slices having a P type (i.e., a P slice), uni-prediction and intra prediction may be utilized, and for slices having an I type (i.e., an I slice), only intra prediction may be utilized. Further, as described above, reference pictures are identified through reference indices. In ITU-T H.265, for a P slice, there is a single reference picture list, RefPicList0 and for a B slice, there is a second independent reference picture list, RefPicList1, in addition to RefPicList0. It should be noted that for uni-prediction in a B slice, one of RefPicList0 or RefPicList1 may be used to generate a prediction. Further, it should be noted that in ITU-T H.265, during the decoding process, at the onset of decoding a picture, reference picture list(s) are generated from previously decoded picture stored in a decoded picture buffer (DPB).
In some cases, blocking artifacts may cause coding block boundaries of reconstructed video data to be visually perceptible to a user. In order to reduce blocking artifacts, reconstructed sample values may be modified to minimize artifacts introduced by the video coding process. Such modifications may generally be referred to as filtering. Deblocking (or de-blocking), deblock filtering, performing deblocking, or applying a deblocking filter refers to the process of smoothing video block boundaries with neighboring reconstructed video blocks (i.e., making boundaries less perceptible to a viewer). Smoothing the boundaries of neighboring reconstructed video blocks may include modifying sample values included in rows or columns adjacent to a boundary. In some cases, boundaries may include CU, CB, TB, PB, and/or sub-PU boundaries. In some cases, deblocking may be performed according to a deblocking grid. For example, in some cases, a CU boundary edge may be deblocked, only if it is aligned with a NxN luma sample grid (e.g., N=8.) ITU-T H.265 includes two types of deblocking filters that may be used for modifying luma samples: a Strong Filter which modifies sample values in the three adjacent rows or columns to a boundary and a Weak Filter which modifies sample values in the immediately adjacent row or column to a boundary and conditionally modifies sample values in the second row or column from the boundary. Further, ITU-T H.265 includes one type of filter that may be used for modifying chroma samples, i.e., a Normal Filter. In general, a deblocking filter strength may be specified according the number of samples that are modified on each side of a boundary and/or the degree to which samples are modified (e.g., the weight of a filter).
As described above, for intra prediction, angular prediction modes identify samples in an adjacent above row and/or an adjacent left column used to generate a prediction for a current block, and for inter prediction, motion vectors identify samples in a reference picture used to generate a prediction for a current block. Current picture referencing (CPR) or Intra block copy (IBC) refer to prediction techniques where for a current block a prediction block is generated from within the partially decoded portion of the current picture. In CPR, a prediction block in the partially decoded portion of the current picture may be identified according to a displacement vector. A displacement vector may be similar to a motion vector. Thus, in some cases, CPR may be implemented as a special case of inter prediction, where the partially coded current picture is available as a reference picture. FIG. 5 illustrates an example of CPR where for a current block a prediction is identified from the available portion of the current partially decoded picture using a displacement vector, MV (MVx, MVy).
“CE8-2.2: Current picture referencing using reference index signaling,” 11th Meeting of ISO/IEC JTC1/SC29/WG11 10-18 July 2018, Ljubljana, SI, document JVET-K0076-v3, which is incorporated by reference herein, and referred to as JVET-K0076, describes an implementation of CPR. In JVET-K0076, the current partially decoded picture is signaled as an entry in reference picture list 0 and inter coding syntax is used to generate a prediction for the current block. In JVET-K0076-v3 a slice utilizing CPR is either a P slice or a B slice.
In addition to performing intra-prediction coding according to the angular prediction modes, palette coding modes may be used for intra-prediction coding. Palette coding enables a current CU to be coded based on a palette (which may also be referred to as a palette table or a color table), where a palette includes index values associated with color values (e.g., RGB values, e.g., for palette index 0, R = 124, G = 255, and B = 1010) and color values for respective samples within a CU are derived by referencing an index value and thus, the color value referenced by the index value. It should be noted that in other examples, an index value may reference other types of values that may be used to derive a sample value. For example, an index value may reference a grayscale value, a luma value, a chroma value, an individual color component value, a difference value, or the like. As indicated above, an index value may be used to represent a set of 3-tuple color values. In some examples, an index value may be predicted. Further, in some examples, a palette may be predicted from previously coded palettes. Further, a palette may be predicted from palette predictors. For example, a palette may be predicted from spatially adjacent palettes and/or predictors included in a look-up table. Palette coding may be particularly useful for coding regions of a picture that include a relatively limited number of solid colors, as may be the case with icons, text, graphics, and the like. In general, in some cases, particular color domains may provide better coding gains (e.g., RGB may provide better coding gains than YUV). In some cases, a color domain conversion may be performed on a residual during video decoding.
As described above, a CTU may be partitioned according to a QTMT for the luma channel and an independent QTMT for the chroma channel. This disclosure describes techniques for implementing current picture referencing in cases where a CTU is allowed be partitioned according to a independent QTMTs for the luma channel the chroma channel. In particular, this disclosure describes techniques for efficiently signaling displacement vectors for each block resulting from the QTMT for the luma channel and each block resulting from the QTMT for the chroma channel.
FIG. 1 is a block diagram illustrating an example of a system that may be configured to code (i.e., encode and/or decode) video data according to one or more techniques of this disclosure. System 100 represents an example of a system that may reconstruct video data according to one or more techniques of this disclosure. As illustrated in FIG. 1, system 100 includes source device 102, communications medium 110, and destination device 120. In the example illustrated in FIG. 1, source device 102 may include any device configured to encode video data and transmit encoded video data to communications medium 110. Destination device 120 may include any device configured to receive encoded video data via communications medium 110 and to decode encoded video data. Source device 102 and/or destination device 120 may include computing devices equipped for wired and/or wireless communications and may include set top boxes, digital video recorders, televisions, desktop, laptop, or tablet computers, gaming consoles, mobile devices, including, for example, “smart” phones, cellular telephones, personal gaming devices, and medical imagining devices.
Communications medium 110 may include any combination of wireless and wired communication media, and/or storage devices. Communications medium 110 may include coaxial cables, fiber optic cables, twisted pair cables, wireless transmitters and receivers, routers, switches, repeaters, base stations, or any other equipment that may be useful to facilitate communications between various devices and sites. Communications medium 110 may include one or more networks. For example, communications medium 110 may include a network configured to enable access to the World Wide Web, for example, the Internet. A network may operate according to a combination of one or more telecommunication protocols. Telecommunications protocols may include proprietary aspects and/or may include standardized telecommunication protocols. Examples of standardized telecommunications protocols include Digital Video Broadcasting (DVB) standards, Advanced Television Systems Committee (ATSC) standards, Integrated Services Digital Broadcasting (ISDB) standards, Data Over Cable Service Interface Specification (DOCSIS) standards, Global System Mobile Communications (GSM) standards, code division multiple access (CDMA) standards, 3rd Generation Partnership Project (3GPP) standards, European Telecommunications Standards Institute (ETSI) standards, Internet Protocol (IP) standards, Wireless Application Protocol (WAP) standards, and Institute of Electrical and Electronics Engineers (IEEE) standards.
Storage devices may include any type of device or storage medium capable of storing data. A storage medium may include a tangible or non-transitory computer-readable media. A computer readable medium may include optical discs, flash memory, magnetic memory, or any other suitable digital storage media. In some examples, a memory device or portions thereof may be described as non-volatile memory and in other examples portions of memory devices may be described as volatile memory. Examples of volatile memories may include random access memories (RAM), dynamic random access memories (DRAM), and static random access memories (SRAM). Examples of non-volatile memories may include magnetic hard discs, optical discs, floppy discs, flash memories, or forms of electrically programmable memories (EPROM) or electrically erasable and programmable (EEPROM) memories. Storage device(s) may include memory cards (e.g., a Secure Digital (SD) memory card), internal/external hard disk drives, and/or internal/external solid state drives. Data may be stored on a storage device according to a defined file format.
Referring again to FIG. 1, source device 102 includes video source 104, video encoder 106, and interface 108. Video source 104 may include any device configured to capture and/or store video data. For example, video source 104 may include a video camera and a storage device operably coupled thereto. Video encoder 106 may include any device configured to receive video data and generate a compliant bitstream representing the video data. A compliant bitstream may refer to a bitstream that a video decoder can receive and reproduce video data therefrom. Aspects of a compliant bitstream may be defined according to a video coding standard. When generating a compliant bitstream, video encoder 106 may compress video data. Compression may be lossy (discernible or indiscernible) or lossless. Interface 108 may include any device configured to receive a compliant video bitstream and transmit and/or store the compliant video bitstream to a communications medium. Interface 108 may include a network interface card, such as an Ethernet card, and may include an optical transceiver, a radio frequency transceiver, or any other type of device that can send and/or receive information. Further, interface 108 may include a computer system interface that may enable a compliant video bitstream to be stored on a storage device. For example, interface 108 may include a chipset supporting Peripheral Component Interconnect (PCI) and Peripheral Component Interconnect Express (PCIe) bus protocols, proprietary bus protocols, Universal Serial Bus (USB) protocols, I2C, or any other logical and physical structure that may be used to interconnect peer devices.
Referring again to FIG. 1, destination device 120 includes interface 122, video decoder 124, and display 126. Interface 122 may include any device configured to receive a compliant video bitstream from a communications medium. Interface 108 may include a network interface card, such as an Ethernet card, and may include an optical transceiver, a radio frequency transceiver, or any other type of device that can receive and/or send information. Further, interface 122 may include a computer system interface enabling a compliant video bitstream to be retrieved from a storage device. For example, interface 122 may include a chipset supporting PCI and PCIe bus protocols, proprietary bus protocols, USB protocols, I2C, or any other logical and physical structure that may be used to interconnect peer devices. Video decoder 124 may include any device configured to receive a compliant bitstream and/or acceptable variations thereof and reproduce video data therefrom. Display 126 may include any device configured to display video data. Display 126 may comprise one of a variety of display devices such as a liquid crystal display (LCD), a plasma display, an organic light emitting diode (OLED) display, or another type of display. Display 126 may include a High Definition display or an Ultra High Definition display. It should be noted that although in the example illustrated in FIG. 1, video decoder 124 is described as outputting data to display 126, video decoder 124 may be configured to output video data to various types of devices and/or sub-components thereof. For example, video decoder 124 may be configured to output video data to any communication medium, as described herein.
FIG. 6 is a block diagram illustrating an example of video encoder 200 that may implement the techniques for encoding video data described herein. It should be noted that although example video encoder 200 is illustrated as having distinct functional blocks, such an illustration is for descriptive purposes and does not limit video encoder 200 and/or sub-components thereof to a particular hardware or software architecture. Functions of video encoder 200 may be realized using any combination of hardware, firmware, and/or software implementations. In one example, video encoder 200 may be configured to encode video data according to the techniques described herein. Video encoder 200 may perform intra prediction coding and inter prediction coding of picture areas, and, as such, may be referred to as a hybrid video encoder. In the example illustrated in FIG. 6, video encoder 200 receives source video blocks. In some examples, source video blocks may include areas of picture that has been divided according to a coding structure. For example, source video data may include macroblocks, CTUs, CBs, sub-divisions thereof, and/or another equivalent coding unit. In some examples, video encoder may be configured to perform additional sub-divisions of source video blocks. It should be noted that the techniques described herein are generally applicable to video coding, regardless of how source video data is partitioned prior to and/or during encoding. In the example illustrated in FIG. 6, video encoder 200 includes summer 202, transform coefficient generator 204, coefficient quantization unit 206, inverse quantization/transform processing unit 208, summer 210, intra prediction processing unit 212, inter prediction processing unit 214, filter unit 216, and entropy encoding unit 218. As illustrated in FIG. 6, video encoder 200 receives source video blocks and outputs a bitstream.
In the example illustrated in FIG. 6, video encoder 200 may generate residual data by subtracting a predictive video block from a source video block. Summer 202 represents a component configured to perform this subtraction operation. In one example, the subtraction of video blocks occurs in the pixel domain. Transform coefficient generator 204 applies a transform, such as a discrete cosine transform (DCT), a discrete sine transform (DST), or a conceptually similar transform, to the residual block or sub-divisions thereof (e.g., four 8x8 transforms may be applied to a 16x16 array of residual values) to produce a set of residual transform coefficients. Transform coefficient generator 204 may be configured to perform any and all combinations of the transforms included in the family of discrete trigonometric transforms. Transform coefficient generator 204 may output transform coefficients to coefficient quantization unit 206.
Coefficient quantization unit 206 may be configured to perform quantization of the transform coefficients. As described above, the degree of quantization may be modified by adjusting a quantization scaling factor which may be determined by quantization parameters. Coefficient quantization unit 206 may be further configured to determine quantization values and output QP data that may be used by a video decoder to reconstruct a quantization parameter (and thus a quantization scaling factor) to perform inverse quantization during video decoding. For example, signaled QP data may include QP delta values. In ITU-T H.265, the degree of quantization applied to a set of transform coefficients may depend on slice level parameters, parameters inherited from a previous coding unit, and/or optionally signaled CU level delta values.
As illustrated in FIG. 6, quantized transform coefficients are output to inverse quantization/transform processing unit 208. Inverse quantization/transform processing unit 208 may be configured to apply an inverse quantization and/or an inverse transformation to generate reconstructed residual data. As illustrated in FIG. 6, at summer 210, reconstructed residual data may be added to a predictive video block. In this manner, an encoded video block may be reconstructed and the resulting reconstructed video block may be used to evaluate the encoding quality for a given quality for a given prediction, transformation type, and/or level of quantization. Video encoder 200 may be configured to perform multiple coding passes (e.g., perform encoding while varying one or more coding parameters). The rate-distortion of a bitstream or other system parameters may be optimized based on evaluation of reconstructed video blocks. Further, reconstructed video blocks may be stored and used as reference for predicting subsequent blocks.
As described above, a video block may be coded using an intra prediction. Intra prediction processing unit 212 may be configured to select an intra prediction mode, e.g., the intra prediction modes described above, for a video block to be coded. Intra prediction processing unit 212 may be configured to evaluate a frame and/or an area thereof and determine an intra prediction mode to use to encode a current block. As illustrated in FIG. 6, intra prediction processing unit 212 outputs intra prediction data (e.g., syntax elements) to filter unit 216 and entropy encoding unit 218. It should be noted that the techniques described herein may be generally applicable regardless of the number of defined possible non-directional and angular prediction modes.
Inter prediction processing unit 214 may be configured to perform inter prediction coding for a current video block. Inter prediction processing unit 214 may be configured to generate a predictive block using the motion prediction data. For example, inter prediction processing unit 214 may locate a predictive video block within a frame buffer (not shown in FIG. 6). Inter prediction processing unit 214 may output motion prediction data for a calculated motion vector to filter unit 216 and entropy encoding unit 218. Inter prediction processing unit 214 may be configured to receive source video blocks and calculate a motion vector for PUs, or the like, of a video block. A motion vector may indicate the displacement of a PU, or the like, of a video block within a current video frame relative to a predictive block within a reference frame. Inter prediction coding may use one or more reference pictures. Further, motion prediction may be uni-predictive (use one motion vector) or bi-predictive (use two motion vectors). Inter prediction processing unit 214 may be configured to select a predictive block by calculating a pixel difference determined by, for example, sum of absolute difference (SAD), sum of square difference (SSD), or other difference metrics. It should be noted that inter prediction processing unit 214 may further be configured to apply one or more interpolation filters to calculate sub-integer pixel values for use in motion estimation.
As described above, in CPR, a prediction block in the partially decoded portion of the current picture may be identified according to a displacement vector. As further described above, a CTU may be partitioned according to a QTMT for the luma channel and an independent QTMT for the chroma channel. Referring to FIG. 4, which illustrates an example of blocks for a luma channel resulting from a QTMT and blocks for a chroma channel resulting from an independent QTMT, for the luma channel, 18 blocks result from the partitioning and for the chroma channel 13 blocks result from the partitioning. In one example, if CPR is utilized to generate a prediction for each of the blocks, 31 displacement vectors may be signaled, i.e., one for each block. However, such signaling is likely to be inefficient in most cases.
In one example, according to the techniques herein, luma and chroma channels may be partitioned according to a common partitioning until a particular level is reached and at the particular level CPR signaling may occur. For example, luma and chroma channels may be partitioned according to a common QTMT until a CU is reached, as described above. In one example, for each CU, a flag may be signaled indicating (1) whether CPR is used or (2) whether another technique is used to generate predictions for the luma and chroma channels. In one example, when the flag indicates another technique is used to generate predictions for the luma and chroma channels, separate partitioning trees may be signaled for each of the luma channel and the chroma channel. That is, the luma channel and chroma channel may be enabled to be further independently partitioned beyond the CU level. In one example, a flag may be used to indicate whether further partitioning is performed according separate or a share partitioning structure. In one example, when a flag indicates CPR is used, no further partitioning may occur and a displacement vector may be indicated for the CU. In one example, when a flag indicates CPR is used, the luma channel and the chroma channels may be further partitioned according to a shared partitioning tree and a displacement vector may be indicated for each block resulting from the shared partitioning. FIG. 7 illustrates an example, where luma and chroma channels are partitioned according to a common QTMT until a CU is reached and at a CU, CPR coding may occur or the luma channel and the chroma channels may be further partitioned according separate coding trees.
In one example, luma and chroma channels may be partitioned according to a common QTMT until a CU is reached and at the CU, a flag indicating a first prediction type or a second prediction type may be signaled. In one example, for the first prediction type, a flag is signaled for each CU to indicate if CPR or another prediction type is used and no further partitioning is allowed. In one example, for the second prediction type, a flag is signaled for each CU to indicate if additional partitioning according separate partitioning structures for the luma and chroma channels is allowed and if the flag is true, the separate partitioning structures are indicated. In one example, for the first prediction type, a flag is signaled for each CU to indicate if CPR or another prediction type used, and a flag is signaled for each CU to indicate if additional partitioning according shared partitioning structures for the luma and chroma channels is allowed and if the flag is true, the shared partitioning structure is indicated. For the second prediction type, a flag is signaled for each CU to indicate if additional partitioning according separate partitioning structures for the luma and chroma channels is allowed and if the flag is true, the separate partitioning structures are indicated.
In one example, luma and chroma channels may be partitioned according to a common QTMT until a CU is reached and at the CU, a flag indicating a first prediction type or a second prediction type may be signaled. In one example, for the first prediction type, a flag is inferred for each CU to indicate that CPR is used, and a flag is signaled for each CU to indicate if additional partitioning according shared partitioning structures for the luma and chroma channels is allowed and if the flag is true, the share partitioning structure is indicated. For the second prediction type, a flag is signaled for each CU to indicate if additional partitioning according separate partitioning structures for the luma and chroma channels is allowed and if the flag is true, the separate partitioning structures are indicated. In one example, the values of flags may be inferred based on slice type and/or block size.
As described above, in JVET-K0076, the current partially decoded picture is signaled as an entry in reference picture list 0. In one example, according to the techniques herein, the value of the entry in reference picture list 0 corresponding to the current partially decoded picture may be inferred. For example, in the case above, when a flag is signaled that indicates CPR is used, an index value corresponding to the current partially decoded picture may be inferred. In one example, when a flag is signaled that indicates CPR is used, an index value indicating a reference picture may be constrained so that the CU or further divisions thereof (e.g., according to a shared partitioning tree) reference the current picture.
Further, in one example, for I slices, luma and chroma channels may be partitioned according to a common partitioning until a particular level is reached and at the particular level CPR signaling may occur, for example, as described above. It should be noted that I slices do not include syntax to indicate reference pictures, and as such in this case, the current partially decoded picture may be inferred. Further, displacement vectors may be sent for such blocks in an I slice. Thus, according to the techniques herein, determining whether a current CU or divisions thereof use the current partially decoded picture to generate a prediction may be based on slice type and/or a flag received.
In one example, according to the techniques herein, in CPR, displacement vectors for chroma blocks may be derived from displacement vectors determined for luma blocks. For example, each chroma block may be assigned one or more corresponding luma blocks having displacement vectors. For example, corresponding luma blocks may be derived based on one or more of a chroma block top-left position, a chroma block width, and/or a chroma block height. For example, the chroma block top-left position may be collocated with a luma block and the displacement vector of the luma block may be assigned to the chroma block. Further, in one example, each luma block which includes a sample collocated with any sample of the chroma block may be a corresponding luma block. In the case where there are multiple corresponding luma blocks, a displacement vector may be generated for the chroma block by performing a function on the multiple luma displacement vectors. For example, a median filter or a mean filter may be applied to multiple luma displacement vectors to generate a displacement vector for the chroma block. In one example, an index value may be sent to indicate a selected displacement vector from a set of luma displacement vectors. In one example, the displacement vector may be further refined by using a displacement vector difference. The displacement vector difference may be signaled in the bitstream. In another example a flag (e.g., merge_flag) may be used to signal that the luma block has zero residue. In another example, a flag (e.g., merge_flag) may be used to signal that the chroma block has zero residue. In one example, a luma displacement vector may be scaled when used as displacement vector for a chroma block. In one example, the scaling may be based on a chroma format. In one example, in a similar manner, displacement vectors for luma blocks may be derived from displacement vectors determined for chroma blocks.
In this manner video encoder 200 represents an example of a device configured to partition a luma channel of video data and a chroma channel of video data according to a common partitioning structure, at a coding unit resulting from the common partitioning structure, signal a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and generate a prediction according to a technique indicated by the flag.
As described above, in palette coding, an index value may be used to represent a 3-tuple color value (e.g., Y, Cb, and Cr). It should be noted that when separate trees are used to partition the luma channel and the chroma channel, block boundaries may not align, and as such a 3-tuple color value cannot be used.  In one example, according to the techniques herein, luma and chroma channels may be partitioned according to a common partitioning until a particular level is reached and at the particular level, palette coding signaling may occur. For example, luma and chroma channels may be partitioned according to a common QTMT until a CU is reached, as described above. In one example, for each CU, a flag may be signaled indicating (1) whether palette coding is used or (2) whether another technique is used to generate predictions for the luma and chroma channels. In one example, when the flag indicates another technique is used to generate predictions for the luma and chroma channels, separate partitioning trees may be signaled for each of the luma channel and the chroma channel. That is, the luma channel and chroma channel may be enabled to be further independently partitioned beyond the CU level. In one example, a flag may be used to indicate whether further partitioning is performed according separate or a share partitioning structure. In one example, when a flag indicates palette coding is used, no further partitioning may occur and an index value may be indicated for the CU. In one example, when a flag indicates palette coding is used, the luma channel and the chroma channels may be further partitioned according to a shared partitioning tree and an index value may be indicated for each block resulting from the shared partitioning. In one example, the values of flags may be inferred based on slice type and/or block size.
In one example, when separate trees are used to partition the luma channel and the chroma channel, palette coding may be performed separately for each of the luma channel and the chroma channel. For example, a palette, PL, may be generated for the luma channel and a palette, PC, may be generated for the chroma channel and respective index values may be used for each channel.
Referring again to FIG. 6, filter unit 216 receives reconstructed video blocks and coding parameters and outputs modified reconstructed video data. Filter unit 216 may be configured to perform deblocking and/or Sample Adaptive Offset (SAO) filtering. SAO filtering is a non-linear amplitude mapping that may be used to improve reconstruction by adding an offset to reconstructed video data. As described above, deblocking may include smoothing block boundaries according to a deblocking grid. As described above, when separate trees are used to partition the luma channel and the chroma channel, block boundaries may not align, which may result in the inconsistent deblocking of the luma and chroma channels. That is, for example, the luma channel may be deblocked along a segment of a deblocking grid and the chroma channel may not be deblocked along the segment. In some cases, when the luma channel and the chroma channel are not deblocked along the same segments of a deblocking grid, visual artifacts may result.
In one example, according to the techniques herein, filter selection (e.g., strong or weak) and/or a deblocking control process (e.g., whether deblocking is performed or not) for a chroma edge may be based on whether it aligns with a luma edge. Alternatively, in one example, filter selection and/or a deblocking control process for a luma edge may be based on whether it aligns with a chroma edge. For example, a chroma edge (or luma edge) may be deblocked with a relatively stronger filter, if a luma edge (or chroma edge) is not deblocked; a chroma edge (or luma edge) may be deblocked with a relatively weaker filter, if a luma edge (or chroma edge) is deblocked; a chroma edge (or luma edge) may always be deblocked, if a luma edge (or chroma edge) is not deblocked; and/or a different threshold may be used for a smoothness comparison of a chroma edge (or luma edge), if a luma edge (or chroma edge) is not deblocked.
It should be noted that as illustrated in FIG. 6, intra prediction processing unit 212 and inter prediction processing unit 214 may receive modified reconstructed video block via filter unit 216. Entropy encoding unit 218 receives quantized transform coefficients and predictive syntax data (i.e., intra prediction data, motion prediction data, QP data, etc.). It should be noted that in some examples, coefficient quantization unit 206 may perform a scan of a matrix including quantized transform coefficients before the coefficients are output to entropy encoding unit 218. In other examples, entropy encoding unit 218 may perform a scan. Entropy encoding unit 218 may be configured to perform entropy encoding according to one or more of the techniques described herein. Entropy encoding unit 218 may be configured to output a compliant bitstream, i.e., a bitstream that a video decoder can receive and reproduce video data therefrom.
FIG. 8 is a block diagram illustrating an example of a video decoder that may be configured to decode video data according to one or more techniques of this disclosure. In one example, video decoder 400 may be configured to intra and inter prediction techniques based on one or more of the techniques described above. It should be noted that video encoder 200 may signal syntax elements in a bitstream indicating coding parameters for reconstructed video data based on the intra and inter prediction techniques described above. In this manner, video decoder 400 may receive a bitstream generated based on the techniques described above and perform a reciprocal coding process to generate reconstructed video data. In this manner video decoder 400 represents an example of a device configured to determine a partitioning for a luma channel of video data and for a chroma channel of video data according to a common signaled partitioning structure, at a coding unit resulting from the common partitioning structure, determine a value of a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique, and generate a prediction according to a technique indicated by the flag.
Video decoder 400 may be configured to perform intra prediction decoding and inter prediction decoding and, as such, may be referred to as a hybrid decoder. In the example illustrated in FIG. 8 video decoder 400 includes an entropy decoding unit 402, inverse quantization unit 404, inverse transform processing unit 406, intra prediction processing unit 408, inter prediction processing unit 410, summer 412, filter unit 414, reference buffer 416, and scaling unit 418. Video decoder 400 may be configured to decode video data in a manner consistent with a video encoding system, which may implement one or more aspects of a video coding standard. It should be noted that although example video decoder 400 is illustrated as having distinct functional blocks, such an illustration is for descriptive purposes and does not limit video decoder 400 and/or sub-components thereof to a particular hardware or software architecture. Functions of video decoder 400 may be realized using any combination of hardware, firmware, and/or software implementations.
As illustrated in FIG. 8, entropy decoding unit 402 receives an entropy encoded bitstream. Entropy decoding unit 402 may be configured to decode syntax elements and quantized coefficients from the bitstream according to a process reciprocal to an entropy encoding process. Entropy decoding unit 402 may be configured to perform entropy decoding according any of the entropy coding techniques described above. Entropy decoding unit 402 may parse an encoded bitstream in a manner consistent with a video coding standard.
Referring again to FIG. 8, inverse quantization unit 404 receives quantized transform coefficients (i.e., level values) and quantization parameter data from entropy decoding unit 402. Quantization parameter data may include any and all combinations of delta QP values and/or quantization group size values and the like described above. Video decoder 400 and/or inverse quantization unit 404 may be configured to determine quantization values used for inverse quantization based on values signaled by a video encoder and/or through video properties and/or coding parameters. That is, inverse quantization unit 404 may operate in a reciprocal manner to coefficient quantization unit 206 described above. Inverse quantization unit 404 may be configured to apply an inverse quantization. Inverse transform processing unit 406 may be configured to perform an inverse transformation to generate reconstructed residual data. The techniques respectively performed by inverse quantization unit 404 and inverse transform processing unit 406 may be similar to techniques performed by inverse quantization/transform processing unit 208 described above. Inverse transform processing unit 406 may be configured to apply an inverse DCT, an inverse DST, an inverse integer transform, Non-Separable Secondary Transform (NSST), or a conceptually similar inverse transform processes to the transform coefficients in order to produce residual blocks in the pixel domain. Further, as described above, whether particular transform (or type of particular transform) is performed may be dependent on an intra prediction mode. As illustrated in FIG. 8, reconstructed residual data may be provided to summer 412. Summer 412 may add reconstructed residual data to a predictive video block and generate reconstructed video data. A predictive video block may be determined according to a predictive video technique (i.e., intra prediction and inter frame prediction).
Intra prediction processing unit 408 may be configured to receive intra prediction syntax elements and retrieve a predictive video block from reference buffer 416. Reference buffer 416 may include a memory device configured to store one or more frames of video data. Intra prediction syntax elements may identify an intra prediction mode, such as the intra prediction modes described above. In one example, intra prediction processing unit 408 may reconstruct a video block using according to one or more of the intra prediction coding techniques describe herein.  Inter prediction processing unit 410 may receive inter prediction syntax elements and generate motion vectors to identify a prediction block in one or more reference frames stored in reference buffer 416. Inter prediction processing unit 410 may produce motion compensated blocks, possibly performing interpolation based on interpolation filters. Identifiers for interpolation filters to be used for motion estimation with sub-pixel precision may be included in the syntax elements. Inter prediction processing unit 410 may use interpolation filters to calculate interpolated values for sub-integer pixels of a reference block. Inter prediction processing unit 410 may be configured to perform inter prediction coding according to techniques described herein. For example, inter prediction processing unit 410 may perform inter prediction decoding in reciprocal manner to processes performed by inter prediction processing unit 214 as described above. Filter unit 414 may be configured to perform filtering on reconstructed video data according to the techniques described herein. For example, filter unit 414 may be configured to perform deblocking and/or SAO filtering, as described above with respect to filter unit 216 and filter unit 300. Further, it should be noted that in some examples, filter unit 414 may be configured to perform proprietary discretionary filter (e.g., visual enhancements). As illustrated in FIG. 8, a reconstructed video block may be output by video decoder 400.
As described above, in some cases, a color domain conversion may be performed on a residual. When separate trees are used to partition the luma channel and the chroma channel, the residual does not necessarily align for the luma channel and the chroma channel. In one example, according to the techniques herein, when separate trees are used to partition the luma channel and the chroma channel, a color domain conversion may be applied to the luma and chroma channel after the residual is added to a prediction. In some case, such a process may require delaying further processing of either the luma or chroma channel to facilitate the color domain conversion.
In one or more examples, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media, which corresponds to a tangible medium such as data storage media, or communication media including any medium that facilitates transfer of a computer program from one place to another, e.g., according to a communication protocol. In this manner, computer-readable media generally may correspond to (1) tangible computer-readable storage media which is non-transitory or (2) a communication medium such as a signal or carrier wave. Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, code and/or data structures for implementation of the techniques described in this disclosure. A computer program product may include a computer-readable medium.
By way of example, and not limitation, such computer-readable storage media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage, or other magnetic storage devices, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if instructions are transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. It should be understood, however, that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transitory media, but are instead directed to non-transitory, tangible storage media. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
Instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Accordingly, the term “processor,” as used herein may refer to any of the foregoing structure or any other structure suitable for implementation of the techniques described herein. In addition, in some aspects, the functionality described herein may be provided within dedicated hardware and/or software modules configured for encoding and decoding, or incorporated in a combined codec. Also, the techniques could be fully implemented in one or more circuits or logic elements.
The techniques of this disclosure may be implemented in a wide variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC) or a set of ICs (e.g., a chip set). Various components, modules, or units are described in this disclosure to emphasize functional aspects of devices configured to perform the disclosed techniques, but do not necessarily require realization by different hardware units. Rather, as described above, various units may be combined in a codec hardware unit or provided by a collection of interoperative hardware units, including one or more processors as described above, in conjunction with suitable software and/or firmware.
Moreover, each functional block or various features of the base station device and the terminal device used in each of the aforementioned embodiments may be implemented or executed by a circuitry, which is typically an integrated circuit or a plurality of integrated circuits. The circuitry designed to execute the functions described in the present specification may comprise a general-purpose processor, a digital signal processor (DSP), an application specific or general application integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic, or a discrete hardware component, or a combination thereof. The general-purpose processor may be a microprocessor, or alternatively, the processor may be a conventional processor, a controller, a microcontroller or a state machine. The general-purpose processor or each circuit described above may be configured by a digital circuit or may be configured by an analogue circuit. Further, when a technology of making into an integrated circuit superseding integrated circuits at the present time appears due to advancement of a semiconductor technology, the integrated circuit by this technology is also able to be used.
Various examples have been described. These and other examples are within the scope of the following claims.
<Cross Reference>
This Nonprovisional application claims priority under 35 U.S.C. § 119 on provisional Application No. 62/698,881 on July 16, 2018, No. 62/699,708 on July 17, 2018, the entire contents of which are hereby incorporated by reference.

Claims (9)

  1. A method of generating a prediction block, the method comprising:
    partitioning a luma channel of video data and a chroma channel of video data according to a common partitioning structure;
    at a coding unit resulting from the common partitioning structure, signaling a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique; and
    generating a prediction according to a technique indicated by the flag.
  2. A method of generating a prediction block, the method comprising:
    determining a partitioning for a luma channel of video data and for a chroma channel of video data according to a common signaled partitioning structure;
    at a coding unit resulting from the common partitioning structure, determining a value of a flag indicating whether prediction is performed for the coding unit according to a current picture referencing technique or whether prediction is performed for the coding unit according to another technique; and
    generating a prediction according to a technique indicated by the flag.
  3. The method of any of claims 1 or 2, wherein performing prediction according another technique includes further independently partitioning the luma channel and the chroma channel.
  4. A device for coding video data, the device comprising one or more processors configured to perform any and all combinations of the steps of claims 1-3.
  5. The device of claim 4, wherein the device includes a video encoder.
  6. The device of claim 4, wherein the device includes a video decoder.
  7. A system comprising:
    the device of claim 5; and
    the device of claim 6.
  8. An apparatus for coding video data, the apparatus comprising means for performing any and all combinations of the steps of claims 1-3.
  9. A non-transitory computer-readable storage medium comprising instructions stored thereon that, when executed, cause one or more processors of a device for coding video data to perform any and all combinations of the steps of claims 1-3.
PCT/JP2019/027973 2018-07-16 2019-07-16 Systems and methods for generating prediction blocks for coding of video data WO2020017513A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201862698881P 2018-07-16 2018-07-16
US62/698,881 2018-07-16
US201862699708P 2018-07-17 2018-07-17
US62/699,708 2018-07-17

Publications (1)

Publication Number Publication Date
WO2020017513A1 true WO2020017513A1 (en) 2020-01-23

Family

ID=69163707

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/027973 WO2020017513A1 (en) 2018-07-16 2019-07-16 Systems and methods for generating prediction blocks for coding of video data

Country Status (1)

Country Link
WO (1) WO2020017513A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020253861A1 (en) * 2019-06-21 2020-12-24 Beijing Bytedance Network Technology Co., Ltd. Adaptive in-loop color-space transform for video coding
US11671591B2 (en) 2019-11-07 2023-06-06 Beijing Bytedance Network Technology Co., Ltd Quantization properties of adaptive in-loop color-space transform for video coding
US11800102B2 (en) * 2021-08-27 2023-10-24 Mediatek Inc. Low-latency video coding methods and apparatuses for chroma separated tree

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017206803A1 (en) * 2016-05-28 2017-12-07 Mediatek Inc. Method and apparatus of current picture referencing for video coding

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017206803A1 (en) * 2016-05-28 2017-12-07 Mediatek Inc. Method and apparatus of current picture referencing for video coding

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
XIANG LI ET AL.: "Description of SDR video coding technology proposal by Tencent", 10. JVET MEETING; 10-4-2018 - 20-4-2018; SAN DIEGO; (THE JOINT VIDEO EXPLORATION TEAM OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16, no. JVET-J0029, 3 April 2018 (2018-04-03), San Diego, US, pages 1 - 34, XP030151198 *
XU ET AL.: "CE8-2.1: Current picture referencing using block level flag signaling", 11. JVET MEETING; 20180711 - 20180718; LJUBLJANA; (THE JOINT VIDEO EXPLORATION TEAM OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16 ), no. JVET-K0075, 13 July 2018 (2018-07-13), Ljubljana, SI, pages 1 - 5, XP030199612 *
XU ET AL.: "Intra block copy improvement on top of Tencent's CfP response", 10. JVET MEETING; 10-4-2018 - 20-4-2018; SAN DIEGO; (THE JOINT VIDEO EXPLORATION TEAM OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16 ), no. JVET-J0050-v4, 14 April 2018 (2018-04-14), San Diego, US, pages 1 - 3, XP030151230 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020253861A1 (en) * 2019-06-21 2020-12-24 Beijing Bytedance Network Technology Co., Ltd. Adaptive in-loop color-space transform for video coding
US11539981B2 (en) 2019-06-21 2022-12-27 Beijing Bytedance Network Technology Co., Ltd. Adaptive in-loop color-space transform for video coding
US11778233B2 (en) 2019-06-21 2023-10-03 Beijing Bytedance Network Technology Co., Ltd Selective use of adaptive in-loop color-space transform and other video coding tools
US11671591B2 (en) 2019-11-07 2023-06-06 Beijing Bytedance Network Technology Co., Ltd Quantization properties of adaptive in-loop color-space transform for video coding
US11800102B2 (en) * 2021-08-27 2023-10-24 Mediatek Inc. Low-latency video coding methods and apparatuses for chroma separated tree

Similar Documents

Publication Publication Date Title
WO2020262396A1 (en) Systems and methods for reducing a reconstruction error in video coding based on a cross-component correlation
US11272202B2 (en) Systems and methods for scaling transform coefficient level values
US20200137422A1 (en) Systems and methods for geometry-adaptive block partitioning of a picture into video blocks for video coding
US11470359B2 (en) Systems and methods for partitioning video blocks at a boundary of a picture for video coding
WO2019194147A1 (en) Systems and methods for deriving quantization parameters for video blocks in video coding
WO2019216325A1 (en) Systems and methods for performing motion vector prediction using a derived set of motion vectors
WO2020184637A1 (en) Systems and methods for performing intra prediction coding in video coding
US11706437B2 (en) Systems and methods for performing inter prediction in video coding
US11689724B2 (en) Systems and methods for reference offset signaling in video coding
WO2020141598A1 (en) Systems and methods for performing intra prediction coding
WO2018180841A1 (en) Systems and methods for filtering reconstructed video data using bilateral filtering techniques
WO2020100988A1 (en) Systems and methods for deriving a motion vector prediction in video coding
WO2020017513A1 (en) Systems and methods for generating prediction blocks for coding of video data
WO2021045171A1 (en) Systems and methods for performing inter prediction coding in video coding
WO2020262470A1 (en) Systems and methods for performing intra prediction coding in video coding
WO2018142795A1 (en) Systems and methods for performing planar intra prediction video coding
WO2019244719A1 (en) Systems and methods for performing affine motion compensation prediction for coding of video data
WO2020166556A1 (en) Systems and methods for performing inter prediction in video coding
WO2020262176A1 (en) Systems and methods for deriving quantization parameters for video blocks in video coding
WO2020149298A1 (en) Systems and methods for deriving quantization parameters for video blocks in video coding
WO2020262524A1 (en) Systems and methods for applying deblocking filters to reconstructed video data
WO2020171143A1 (en) Systems and methods for applying deblocking filters to reconstructed video data
WO2019181818A1 (en) Systems and methods for adaptively partitioning video blocks for video coding

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: 19838691

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19838691

Country of ref document: EP

Kind code of ref document: A1