WO2020073904A1 - Dispositif et procédé de traitement d'image pour effectuer un déblocage - Google Patents

Dispositif et procédé de traitement d'image pour effectuer un déblocage Download PDF

Info

Publication number
WO2020073904A1
WO2020073904A1 PCT/CN2019/110028 CN2019110028W WO2020073904A1 WO 2020073904 A1 WO2020073904 A1 WO 2020073904A1 CN 2019110028 W CN2019110028 W CN 2019110028W WO 2020073904 A1 WO2020073904 A1 WO 2020073904A1
Authority
WO
WIPO (PCT)
Prior art keywords
weighting factors
pair
block
image block
image
Prior art date
Application number
PCT/CN2019/110028
Other languages
English (en)
Inventor
Semih Esenlik
Anand Meher Kotra
Biao Wang
Han GAO
Original Assignee
Huawei Technologies Co., Ltd.
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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2020073904A1 publication Critical patent/WO2020073904A1/fr

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/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • H04N19/82Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop
    • 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/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/577Motion compensation with bidirectional frame interpolation, i.e. using B-pictures

Definitions

  • Embodiments of the present invention relate to the field of picture processing, for example still picture and/or video picture coding. Especially, the invention deals with improvements of the deblocking filter.
  • Image coding (encoding and decoding) is used in a wide range of digital image applications, for example broadcast digital TV, video transmission over internet and mobile networks, real-time conversational applications such as video chat, video conferencing, DVD and Blu-ray discs, video content acquisition and editing systems, and camcorders of security applications.
  • digital image applications for example broadcast digital TV, video transmission over internet and mobile networks, real-time conversational applications such as video chat, video conferencing, DVD and Blu-ray discs, video content acquisition and editing systems, and camcorders of security applications.
  • Further video coding standards comprise MPEG-1 video, MPEG-2 video, ITU-T H. 262/MPEG-2, ITU-T H. 263, ITU-T H. 264/MPEG-4, Part 10, Advanced Video Coding (AVC) , ITU-T H. 265, High Efficiency Video Coding (HEVC) , ITU-T H. 266/Versatile video coding (VVC) and extensions, e.g. scalability and/or three-dimensional (3D) extensions, of these standards.
  • AVC Advanced Video Coding
  • HEVC High Efficiency Video Coding
  • VVC Very-dimensional
  • Block-based image coding schemes have in common that along the block edges, edge artifacts can appear. These artifacts are due to the independent coding of the coding blocks. These edge artifacts are often readily visible to a user.
  • a goal in block-based image coding is to reduce edge artifacts below a visibility threshold. This is done by performing deblocking filtering. Such a deblocking filtering is on the one hand performed on decoding side in order to remove the visible edge artifacts, but also on encoding side, in order to prevent the edge artifacts from being encoded into the image at all.
  • Inter-picture prediction makes use of the temporal correlation between pictures in order to derive a motion-compensated prediction (MCP) for a block of image samples.
  • MCP motion-compensated prediction
  • a video picture is divided into rectangular blocks. Assuming homogeneous motion inside one block and that moving objects are larger than one block, for each block, a corresponding block in a previously decoded picture can be found that serves as a predictor.
  • the general concept of MCP based on a translational motion model is illustrated in Fig. 1.
  • a motion vector ( ⁇ x, ⁇ y) where ⁇ x specifies the horizontal and ⁇ y specifies the vertical displacement relative to the position of the current block.
  • the motion vectors ( ⁇ x, ⁇ y) could be of fractional sample accuracy to more accurately capture the movement of the underlying object. Interpolation is applied on the reference pictures to derive the prediction signal when the corresponding motion vector has fractional sample accuracy.
  • the previously decoded picture is referred to as the reference picture and indicated by a reference index ⁇ t to a reference picture list.
  • These translational motion model parameters, i.e. motion vectors and reference indices, are further referred to as motion data.
  • Two kinds of inter-picture prediction are allowed in modern video coding standards, namely uni-prediction and bi-prediction.
  • two sets of motion data ( ⁇ x 0 , ⁇ y 0 , ⁇ t 0 and ⁇ x 1 , ⁇ y 1 , ⁇ t 1 ) are used to generate two MCPs (possibly from different pictures) , which are then combined to get the final MCP.
  • this is done by averaging but in case of weighted prediction, different weights can be applied to each MCP, e.g. to compensate for scene fade outs.
  • the reference pictures that can be used in bi-prediction are stored in two separate lists, namely list 0 and list 1.
  • the present disclosure provides a solution to mitigate or even remove the above-mentioned problem.
  • Embodiments of the present application provide a deblocking filter apparatus for use in an image encoder and/or an image decoder and a deblocking method for use in an image encoding and/or an image decoding.
  • the respective apparatus and method may mitigate blocking artifacts that would be caused by the application of unequal weights in bi-prediction by selective application of deblocking filtering, so as to improve coding efficiency.
  • the scope of protection is defined by the claims.
  • Embodiments of the invention are defined by the features of the independent claims, and further advantageous implementations of the embodiments by the features of the dependent claims.
  • a deblocking method for deblocking a block edge between a first image block and a second image block (such as the first image block and the second image block are spatially adjacent image blocks) , in an image encoding and/or an image decoding, comprising: in the case two different pairs of weighting factors are applied to the first image block and the second image block, assigning or setting, a value of a boundary strength parameter associated with the block edge between the first image block and the second image block, as a first value; wherein the first block and the second block are predicted by Bi-prediction; and performing deblocking filtering of values of samples near the block edge (such as the samples are in a line perpendicular to and adjacent to the block edge) between the first image block and the second image block based on the first value of the boundary strength parameter.
  • a deblocking method for deblocking a block edge between a first image block and a second image block, in an image encoding and/or an image decoding, comprising: assigning or setting, in case one or more conditions are met, a value of a boundary strength parameter associated with the block edge between the first image block and the second image block, as a first value; and performing deblocking filtering at values of samples near the block edge between the first image block and the second image block based on the first value of the boundary strength parameter; wherein the one or more conditions at least comprise: affirmatively determining that two different pairs of weighting factors are applied to the first image block and the second image block; and wherein the first image block and the second image block are predicted by Bi-prediction.
  • deblocking methods provide an additional check in the deblocking boundary strength derivation process which sets the boundary strength “bS” to 1 if one of the coding units /image blocks sharing the edge uses a different index when compared to the other coding unit /image block. This results in removing a potential discontinuity which may be caused when coding units /image blocks use different indexes. This ensures that the potential discontinuity caused by different coding units /images blocks using different indexes is removed. This allows for an especially accurate and efficient decoding of the image.
  • indexes of weighting factors means different pairs of weighting factors are applied to the first image block and the second image block which adjacent or neighboring with respect to each other.
  • first image block and the second image block are spatially adjacent image blocks.
  • the value of BS is assigned or set as the first value (such as 1) .
  • first and second weighting factors are included in the first pair of weighting factors
  • a first pair of weighting factors used for obtaining weighted Bi-predicted value of the first image block wherein the weighted Bi-predicted value of the first image block is based on a sum of first uni-predicted value multiplied with a first weighting factor and second uni-predicted value multiplied with a second weighting factor, and the first and second weighting factors are included in the first pair of weighting factors; and a second pair of weighting factors used for obtaining weighted Bi-predicted value of the second image block, wherein the weighted Bi-predicted value of the second image block is based on a sum of a third uni-predicted value multiplied with a third weighting factor and a fourth uni-predicted value multiplied with a fourth weighting factor, and the third and fourth weighting factors are included in the second pair of weighting factors.
  • motion information of the first image block comprises a first motion vector, a first reference index, a second motion vector and a second reference index, wherein the first reference index indicates the first reference picture, and the second reference index indicates the second reference picture.
  • the first uni-predicted value is obtained based on a first motion vector and a first reference picture
  • the second uni-predicted value is obtained based on a second motion vector and a second reference picture.
  • motion information of the second image block comprises a third motion vector, a first reference index, a fourth motion vector and a second reference index, wherein the first reference index indicates the first reference picture, and the second reference index indicates the second reference picture.
  • the third uni-predicted value is obtained based on a third motion vector and a first reference picture
  • the fourth uni-predicted value is obtained based on a fourth motion vector and a second reference picture.
  • any one of the first and second weighting factors included in the first pair of weighting factors is different from any one of the third and fourth weighting factors included in the second pair of weighting factors.
  • the first pair of weighting factors are (1/2, 1/2) or (4/8, 4/8)
  • the second pair of weighting factors are (3/8, 5/8) ;
  • the first pair of weighting factors are (1/2, 1/2) or (4/8, 4/8)
  • the second pair of weighting factors are (-1/4, 5/4) ; or
  • the first pair of weighting factors are (1/2, 1/2) or (4/8, 4/8)
  • the second pair of weighting factors are (5/8, 3/8) ; or
  • the first pair of weighting factors are (1/2, 1/2) or (4/8, 4/8)
  • the second pair of weighting factors are (5/4, -1/4) ; or
  • the first pair of weighting factors are (5/8, 3/8)
  • the second pair of weighting factors are (5/4, -1/4) ;
  • the first pair of weighting factors are (3/8, 5/8)
  • the second pair of weighting factors are (-1/4, 5/4) .
  • the first pair of weighting factors are (4, 4)
  • the second pair of weighting factors are (-2, 10) ; or
  • the first pair of weighting factors are (4, 4)
  • the second pair of weighting factors are (5, 3) ; or
  • the first pair of weighting factors are (4, 4)
  • the second pair of weighting factors are (10, -2) ;
  • the first pair of weighting factors are (5, 3)
  • the second pair of weighting factors are (10, -2) ;
  • the first pair of weighting factors are (3, 5)
  • the second pair of weighting factors are (-2, 10) .
  • the second image block is a current image block
  • a first image block is a neighboring image block of the current image block
  • the second pair of weighting factors (w3, w4) comprises (3/8, 5/8) , (1/2, 1/2) , (4/8, 4/8) , (5/8, 3/8) , (5/4, -1/4) or (-1/4, 5/4) , or
  • the second pair of weighting factors (w3, w4) comprises (3, 5) , (4, 4) , (5, 3) , (10, -2) , or (-2, 10) .
  • weighting factors are Bi-prediction with coding unit, CU, level weights, BCW.
  • bcw (which was previously known as Gbi) is a coding tool which enables signalling different prediction weights for coding blocks.
  • the weighting factors are generalized Bi-prediction, GBi, weights.
  • a GBi weight of each pair of weighting factors is mapped to a GBi index, denoted Gbi_idx, by a predefined mapping.
  • first and second image blocks are coding blocks or transform blocks or coding sub-blocks.
  • an apparatus which comprises modules/units/components/circuits to perform at least a part of the steps of the above method according to any preceding implementation of the any preceding aspect or the any preceding aspect as such.
  • an implementation form of the apparatus comprises the feature (s) of the corresponding implementation form of the method according to the any preceding aspect.
  • a non-transitory computer-readable media storing computer instructions that when executed by one or more processors, cause the one or more processors to perform one of the deblocking methods as described above.
  • a deblocking filter apparatus for use in an image encoder and/or an image decoder comprising: an edge locating unit, configured to determine a block edge between a first image block and a second image block, a deblocking determination unit configured to determine whether two different pairs of weighting factors are applied to the first image block and the second image block, and in case the determination is affirmative configured to assign or set, a value of a boundary strength parameter associated with the block edge between the first image block and the second image block, as a first value; wherein the first block and the second block are predicted by Bi-prediction; and a deblocking filtering unit configured to perform deblocking filtering of values of samples near the block edge between the first image block and the second image block based on the first value of the boundary strength parameter.
  • a deblocking filter apparatus for use in an image encoder and/or an image decoder comprising: a deblocking determination unit configured to assign or set, in case one or more conditions are met, a value of a boundary strength parameter associated with the block edge between the first image block and the second image block, as a first value; and a deblocking filtering unit configured to perform deblocking filtering at values of samples near the block edge between the first image block and the second image block based on the first value of the boundary strength parameter; wherein the one or more conditions at least comprise: affirmatively determining that two different pairs of weighting factors are applied to the first image block and the second image block; and wherein the first image block and the second image block are predicted by Bi-prediction.
  • first and second weighting factors are included in the first pair of weighting factors
  • a first pair of weighting factors used for obtaining weighted Bi-predicted value of the first image block wherein the weighted Bi-predicted value of the first image block is based on a sum of first uni-predicted value multiplied with a first weighting factor and second uni-predicted value multiplied with a second weighting factor, and the first and second weighting factors are included in the first pair of weighting factors; and a second pair of weighting factors used for obtaining weighted Bi-predicted value of the second image block, wherein the weighted Bi-predicted value of the second image block is based on a sum of a third uni-predicted value multiplied with a third weighting factor and a fourth uni-predicted value multiplied with a fourth weighting factor, and the third and fourth weighting factors are included in the second pair of weighting factors.
  • the first weighting factor included in the first pair of weighting factors is different from the third weighting factor included in the second pair of weighting factors, or the second weighting factor included in the first pair of weighting factors is different from the fourth weighting factor included in the second pair of weighting factors.
  • the first pair of weighting factors are (1/2, 1/2) or (4/8, 4/8)
  • the second pair of weighting factors are (3/8, 5/8) ;
  • the first pair of weighting factors are (1/2, 1/2) or (4/8, 4/8)
  • the second pair of weighting factors are (-1/4, 5/4) ; or
  • the first pair of weighting factors are (1/2, 1/2) or (4/8, 4/8)
  • the second pair of weighting factors are (5/8, 3/8) ; or
  • the first pair of weighting factors are (1/2, 1/2) or (4/8, 4/8)
  • the second pair of weighting factors are (5/4, -1/4) ; or
  • the first pair of weighting factors are (5/8, 3/8)
  • the second pair of weighting factors are (5/4, -1/4) ;
  • the first pair of weighting factors are (3/8, 5/8)
  • the second pair of weighting factors are (-1/4, 5/4) .
  • the first pair of weighting factors are (4, 4)
  • the second pair of weighting factors are (3, 5) ;
  • the first pair of weighting factors are (4, 4)
  • the second pair of weighting factors are (-2, 10) ; or
  • the first pair of weighting factors are (4, 4)
  • the second pair of weighting factors are (5, 3) ; or
  • the first pair of weighting factors are (4, 4)
  • the second pair of weighting factors are (10, -2) ;
  • the first pair of weighting factors are (5, 3)
  • the second pair of weighting factors are (10, -2) ;
  • the first pair of weighting factors are (3, 5)
  • the second pair of weighting factors are (-2, 10) .
  • the second image block is a current image block
  • a first image block is a neighboring image block of the current image block
  • the second pair of weighting factors (w3, w4) comprises (3/8, 5/8) , (1/2, 1/2) , (4/8, 4/8) , (5/8, 3/8) , (5/4, -1/4) or (-1/4, 5/4) , or
  • the second pair of weighting factors (w3, w4) comprises (3, 5) , (4, 4) , (5, 3) , (10, -2) , or (-2, 10) .
  • weighting factors are Bi-prediction with coding unit, CU, level weights, BCW.
  • weighting factors are generalized Bi-prediction, GBi, weights.
  • a GBi weight of each pair of weighting factors is mapped to a GBi index, denoted Gbi_idx, by a predefined mapping.
  • first and second image blocks are coding blocks or transform blocks or coding sub-blocks.
  • a device for use in an image encoder and/or an image decoder, for deblocking block edges between image blocks, wherein the block edges comprises a block edge between a first image block and a second image block (such as the first image block and the second image block are spatially adjacent image blocks) ,
  • the device comprises a de-blocking filter configured to: in the case two different pairs of weighting factors are applied to the first image block and the second image block, assign or set, a value of a boundary strength parameter associated with the block edge between the first image block and the second image block (such as, for the samples of the first image block which are in a line perpendicular to and adjacent to the block edge, and for the samples of the second image block which are in a line perpendicular to and adjacent to the block edge, the value of BS is assigned or set as a first value (such as 1) ) , as a first value; wherein the first block and the second block are predicted by Bi-prediction; and
  • a device for use in an image encoder and/or an image decoder, for deblocking block edges between image blocks, wherein the block edges comprises a block edge between a first image block and a second image block (such as, the first image block and the second image block are spatially adjacent image blocks) ,
  • the device comprises a de-blocking filter configured to:
  • the one or more conditions at least comprise:
  • first image block and the second image block are predicted by Bi-prediction.
  • boundary strength parameter may be denoted by BS, Bs, bS, or bs, the meaning of which shall be understood as being the same.
  • the boundary strength, bS may be a multidimensional array, in particular a two-dimensional array, denoted by bS [xDi, xDj] , where xDi, xDj refer to integer numbers representing the indices for the respective array element.
  • xDi, xDj follow a grid structure, i.e. they denote a specific position on a specific grid.
  • Said grid has a specific size of the grid which is also called the grid size and is denoted by the variable gridSize.
  • deblocking filter is applied on the edge between two blocks if they apply two different weighting factors to construct the motion compensated prediction.
  • Deblocking filter might be applied or not applied on the edge between two blocks if the two blocks apply the same weighting factor.
  • the edge between two spatially adjacent blocks which apply bi-prediction deblocking filter is applied if the two blocks apply two different weighting factors to construct the motion compensated prediction.
  • Deblocking filter might be applied or not applied on the edge between two blocks if the two blocks apply the same weighting factor.
  • a weak deblocking filter is applied if the two blocks apply two different weighting factors to construct the motion compensated prediction.
  • Deblocking filter might be applied or not applied on the edge between two blocks if the two blocks apply the same weighting factor.
  • a strong deblocking filter is applied otherwise (if any one of the two blocks are predicted by intra prediction)
  • deblocking filter is applied if the two blocks apply two different weighting factors to construct the motion compensated prediction.
  • Deblocking filter might be applied or not applied on the edge between two blocks if the two blocks apply the same weighting factor.
  • a boundary strength parameter is set equal to one if the two blocks apply two different weighting factors to construct the motion compensated prediction.
  • the boundary strength parameter might be set to zero or one on the edge between two blocks if the two blocks apply the same weighting factor.
  • the boundary strength parameter is used in the determination of application of deblocking filtering at the said block edge.
  • a video encoding apparatus for encoding a picture of a video stream, wherein the video encoding apparatus (100) comprises:
  • a reconstruction unit configured to reconstruct the picture
  • a filter apparatus 120 as previously described for processing the reconstructed picture into a filtered reconstructed picture.
  • avideo decoding apparatus for decoding a picture of an encoded video stream (303) , wherein the video decoding apparatus (200) comprises:
  • a reconstruction unit (214) configured to reconstruct the picture
  • a loop filter apparatus (220) as previously described for processing the reconstructed picture into a filtered reconstructed picture.
  • the invention relates to a deblocking method for use in an image encoding and/or an image decoding, is defined according to claims.
  • the invention relates to an encoding method for encoding an image (900, 1300) , comprising a previously shown deblocking method.
  • the invention relates to a decoding method for decoding an image (900, 1300) , comprising a previously shown deblocking method.
  • the method according to the previously aspect of the invention can be performed by the apparatus according to the previously aspect of the invention. Further features and implementation forms of the method according to the previously aspect of the invention result directly from the functionality of the apparatus according to the previously aspect of the invention and its different implementation forms.
  • the invention relates to an apparatus for decoding a video stream includes a processor and a memory.
  • the memory is storing instructions that cause the processor to perform the previously shown deblocking method.
  • the invention relates to an apparatus for encoding a video stream includes a processor and a memory.
  • the memory is storing instructions that cause the processor to perform the previously shown deblocking method.
  • a computer-readable storage medium having stored thereon instructions that when executed cause one or more processors configured to code video data is proposed.
  • the instructions cause the one or more processors to perform a previously shown method.
  • a computer program product with a program code for performing the previously shown method when the computer program runs on a computer, is provided.
  • Fig. 1 is a block diagram showing an example of a video encoder configured to implement embodiments of the invention
  • Fig. 2 is a block diagram showing an example structure of a video decoder configured to implement embodiments of the invention
  • Fig. 3 is a block diagram showing an example of a video coding system configured to implement embodiments of the invention
  • Fig. 4 shows two exemplary coding blocks
  • Fig. 5A shows two exemplary coding blocks and respective sample values used and modified during filtering
  • Fig. 5B illustrates how for deblocking a discontinuity may arise for a first image block and a second image block when different pairs of weighting factors are applied to the first and the second image block.
  • Fig. 6 shows a first embodiment of the deblocking filter apparatus according to embodiments of the invention
  • Fig. 7 shows a flow chart illustrating a method for determining whether a longer tap filter shall be used
  • Fig. 8 shows a flow chart illustrating a method for determining whether the HEVC strong filter condition should be satisfied
  • Fig. 9 shows two exemplary coding blocks and sample values used and modified during filtering according to another embodiment of the invention.
  • Fig. 10 shows a flow diagram depicting an exemplary process for increasing the efficiency of deblocking filtering
  • Fig. 11 shows a flow diagram depicting an exemplary process for increasing the efficiency of deblocking filtering
  • Fig. 12A shows a flow diagram for a deblocking filtering method according to the present disclosure
  • Fig. 12B show another flow diagram for a deblocking filtering method according to the present disclosure
  • Fig. 13 shows a simplified block diagram of an apparatus that may be used as either or both of the source device and the destination device from Fig. 3 according to an exemplary embodiment
  • Fig. 14 shows a schematic diagram of a device for video coding
  • Fig. 15 shows a flow diagram depicting a deblocking determination process according to HEVC
  • Fig. 16A shows a schematic flow diagram depicting a deblocking determination process according to invention
  • Fig. 16B shows another schematic flow diagram depicting a deblocking determination process according to invention
  • Fig. 17 illustrates a block diagram showing an example structure of a content supply system which provides a content delivery service
  • Fig. 18 illustrates is a block diagram showing a structure of an example of a terminal device.
  • a disclosure in connection with a described method may also hold true for a corresponding device or system configured to perform the method and vice versa.
  • a corresponding device may include one or a plurality of units, e.g. functional units, to perform the described one or plurality of method steps (e.g. one unit performing the one or plurality of steps, or a plurality of units each performing one or more of the plurality of steps) , even if such one or more units are not explicitly described or illustrated in the figures.
  • a specific apparatus is described based on one or a plurality of units, e.g.
  • a corresponding method may include one step to perform the functionality of the one or plurality of units (e.g. one step performing the functionality of the one or plurality of units, or a plurality of steps each performing the functionality of one or more of the plurality of units) , even if such one or plurality of steps are not explicitly described or illustrated in the figures. Further, it is understood that the features of the various exemplary embodiments and/or aspects described herein may be combined with each other, unless specifically noted otherwise.
  • Video coding typically refers to the processing of a sequence of pictures, which form the video or video sequence. Instead of the term picture the terms frame or image may be used as synonyms in the field of video coding.
  • Video coding comprises two parts, video encoding and video decoding.
  • Video encoding is performed at the source side, typically comprising processing (e.g. by compression) the original video pictures to reduce the amount of data required for representing the video pictures (for more efficient storage and/or transmission) .
  • Video decoding is performed at the destination side and typically comprises the inverse processing compared to the encoder to reconstruct the video pictures.
  • Embodiments referring to “coding” of video pictures (or pictures in general, as will be explained later) shall be understood to relate to both, “encoding” and “decoding” of video pictures.
  • the combination of the encoding part and the decoding part is also referred to as CODEC (COding and DECoding) .
  • the original video pictures can be reconstructed, i.e. the reconstructed video pictures have the same quality as the original video pictures (assuming no transmission loss or other data loss during storage or transmission) .
  • further compression e.g. by quantization, is performed, to reduce the amount of data representing the video pictures, which cannot be completely reconstructed at the decoder, i.e. the quality of the reconstructed video pictures is lower or worse compared to the quality of the original video pictures.
  • Each picture of a video sequence is typically partitioned into a set of non-overlapping blocks and the coding is typically performed on a block level.
  • the video is typically processed, i.e. encoded, on a block (video block) level, e.g.
  • the encoder duplicates the decoder processing loop such that both will generate identical predictions (e.g. intra-and inter predictions) and/or re-constructions for processing, i.e. coding, the subsequent blocks.
  • picture processing also referred to as moving picture processing
  • still picture processing the term processing comprising coding
  • picture is used to refer to a video picture of a video sequence (as explained above) and/or to a still picture to avoid unnecessary repetitions and distinctions between video pictures and still pictures, where not necessary.
  • still picture shall be used.
  • Fig. 3 is a conceptional or schematic block diagram illustrating an embodiment of a coding system 300, e.g. a picture coding system 300, wherein the coding system 300 comprises a source device 310 configured to provide encoded data 330, e.g. an encoded picture 330, e.g. to a destination device 320 for decoding the encoded data 330.
  • a source device 310 configured to provide encoded data 330, e.g. an encoded picture 330, e.g. to a destination device 320 for decoding the encoded data 330.
  • the source device 310 comprises an encoder 100 or encoding unit 100, and may additionally, i.e. optionally, comprise a picture source 312, a pre-processing unit 314, e.g. a picture pre-processing unit 314, and a communication interface or communication unit 318.
  • the picture source 312 may comprise or be any kind of picture capturing device, for example for capturing a real-world picture, and/or any kind of a picture generating device, for example a computer-graphics processor for generating a computer animated picture, or any kind of device for obtaining and/or providing a real-world picture, a computer animated picture (e.g. a screen content, a virtual reality (VR) picture) and/or any combination thereof (e.g. an augmented reality (AR) picture) .
  • a computer animated picture e.g. a screen content, a virtual reality (VR) picture
  • AR augmented reality
  • a (digital) picture is or can be regarded as a two-dimensional array or matrix of samples with intensity values.
  • a sample in the array may also be referred to as pixel (short form of picture element) or a pel.
  • the number of samples in horizontal and vertical direction (or axis) of the array or picture define the size and/or resolution of the picture.
  • typically three color components are employed, i.e. the picture may be represented or include three sample arrays.
  • RGB format or color space a picture comprises a corresponding red, green and blue sample array.
  • each pixel is typically represented in a luminance/chrominance format or color space, e.g.
  • YCbCr which comprises a luminance component indicated by Y (sometimes also L is used instead) and two chrominance components indicated by Cb and Cr.
  • the luminance (or short luma) component Y represents the brightness or grey level intensity (e.g. like in a grey-scale picture)
  • the two chrominance (or short chroma) components Cb and Cr represent the chromaticity or color information components.
  • a picture in YCbCr format comprises a luminance sample array of luminance sample values (Y) , and two chrominance sample arrays of chrominance values (Cb and Cr) .
  • Pictures in RGB format may be converted or transformed into YCbCr format and vice versa, the process is also known as color transformation or conversion. If a picture is monochrome, the picture may comprise only a luminance sample array.
  • the picture source 312 may be, for example a camera for capturing a picture, a memory, e.g. a picture memory, comprising or storing a previously captured or generated picture, and/or any kind of interface (internal or external) to obtain or receive a picture.
  • the camera may be, for example, a local or integrated camera integrated in the source device
  • the memory may be a local or integrated memory, e.g. integrated in the source device.
  • the interface may be, for example, an external interface to receive a picture from an external video source, for example an external picture capturing device like a camera, an external memory, or an external picture generating device, for example an external computer-graphics processor, computer or server.
  • the interface can be any kind of interface, e.g. a wired or wireless interface, an optical interface, according to any proprietary or standardized interface protocol.
  • the interface for obtaining the picture data 312 may be the same interface as or a part of the communication interface 318.
  • the picture or picture data 313 may also be referred to as raw picture or raw picture data 313.
  • Pre-processing unit 314 is configured to receive the (raw) picture data 313 and to perform pre-processing on the picture data 313 to obtain a pre-processed picture 315 or pre-processed picture data 315.
  • Pre-processing performed by the pre-processing unit 314 may, e.g., comprise trimming, color format conversion (e.g. from RGB to YCbCr) , color correction, or de-noising.
  • the encoder 100 is configured to receive the pre-processed picture data 315 and provide encoded picture data 171. Further details will be described, e.g., based on Fig. 1.
  • Communication interface 318 of the source device 310 may be configured to receive the encoded picture data 171 and to directly transmit it to another device, e.g. the destination device 320 or any other device, for storage or direct reconstruction, or to process the encoded picture data 171 for respectively before storing the encoded data 330 and/or transmitting the encoded data 330 to another device, e.g. the destination device 320 or any other device for decoding or storing.
  • the destination device 320 comprises a decoder 200 or decoding unit 200, and may additionally, i.e. optionally, comprise a communication interface or communication unit 322, a post-processing unit 326 and a display device 328.
  • the communication interface 322 of the destination device 320 is configured receive the encoded picture data 171 or the encoded data 330, e.g. directly from the source device 310 or from any other source, e.g. a memory, e.g. an encoded picture data memory.
  • the communication interface 318 and the communication interface 322 may be configured to transmit respectively receive the encoded picture data 171 or encoded data 330 via a direct communication link between the source device 310 and the destination device 320, e.g. a direct wired or wireless connection, or via any kind of network, e.g. a wired or wireless network or any combination thereof, or any kind of private and public network, or any kind of combination thereof.
  • the communication interface 318 may be, e.g., configured to package the encoded picture data 171 into an appropriate format, e.g. packets, for transmission over a communication link or communication network, and may further comprise data loss protection and data loss recovery.
  • the communication interface 322, forming the counterpart of the communication interface 318, may be, e.g., configured to de-package the encoded data 330 to obtain the encoded picture data 171 and may further be configured to perform data loss protection and data loss recovery, e.g. comprising error concealment.
  • Both, communication interface 318 and communication interface 322 may be configured as unidirectional communication interfaces as indicated by the arrow for the encoded picture data 330 in Fig. 3 pointing from the source device 310 to the destination device 320, or bi-directional communication interfaces, and may be configured, e.g. to send and receive messages, e.g. to set up a connection, to acknowledge and/or re-send lost or delayed data including picture data, and exchange any other information related to the communication link and/or data transmission, e.g. encoded picture data transmission.
  • the decoder 200 is configured to receive the encoded picture data 171 and provide decoded picture data 231 or a decoded picture 231. Further details will be described, e.g., based on Fig. 2.
  • the post-processor 326 of destination device 320 is configured to post-process the decoded picture data 231, e.g. the decoded picture 231, to obtain post-processed picture data 327, e.g. a post-processed picture 327.
  • the post-processing performed by the post-processing unit 326 may comprise, e.g. color format conversion (e.g. from YCbCr to RGB) , color correction, trimming, or re-sampling, or any other processing, e.g. for preparing the decoded picture data 231 for display, e.g. by display device 328.
  • the display device 328 of the destination device 320 is configured to receive the post-processed picture data 327 for displaying the picture, e.g. to a user or viewer.
  • the display device 328 may be or comprise any kind of display for representing the reconstructed picture, e.g. an integrated or external display or monitor.
  • the displays may, e.g. comprise cathode ray tubes (CRT) , liquid crystal displays (LCD) , plasma displays, organic light emitting diodes (OLED) displays or any kind of other display . e.g. beamer, hologram (3D) etc.
  • FIG. 3 depicts the source device 310 and the destination device 320 as separate devices, embodiments of devices may also comprise both or both functionalities, the source device 310 or corresponding functionality and the destination device 320 or corresponding functionality. In such embodiments the source device 310 or corresponding functionality and the destination device 320 or corresponding functionality may be implemented using the same hardware and/or software or by separate hardware and/or software or any combination thereof.
  • the source device 310 and the destination device 320 as shown in Fig. 3 are just example embodiments of the invention and embodiments of the invention are not limited to those shown in Fig. 3.
  • Source device 310 and destination device 320 may comprise any of a wide range of devices, including any kind of handheld or stationary devices, e.g. notebook or laptop computers, mobile phones, smart phones, tablets or tablet computers, cameras, desktop computers, set-top boxes, televisions, display devices, digital media players, video gaming consoles, video streaming devices, broadcast receiver device, or the like. (also servers and work-stations for large scale professional encoding/decoding, e.g. network entities) and may use no or any kind of operating system.
  • handheld or stationary devices e.g. notebook or laptop computers, mobile phones, smart phones, tablets or tablet computers, cameras, desktop computers, set-top boxes, televisions, display devices, digital media players, video gaming consoles, video streaming devices, broadcast receiver device, or the like.
  • servers and work-stations for large scale professional encoding/decoding e.g. network entities
  • Fig. 1 shows a schematic/conceptual block diagram of an embodiment of an encoder 100, e.g. a picture encoder 100.
  • the encoder 100 may be a video encoder.
  • the encoder 100 comprises an input 102, a residual calculation unit 104, a transformation unit 106, a quantization unit 108, an inverse quantization unit 110, and inverse transformation unit 112, a reconstruction unit 114, a buffer 118, a loop filter 120, a decoded picture buffer (DPB) 130, a prediction unit 160 [an inter estimation unit 142, an inter prediction unit 144, an intra-estimation unit 152, an intra-prediction unit 154,] a mode selection unit 162, an entropy encoding unit 170, and an output 172.
  • a video encoder 100 as shown in Fig. 1 may also be referred to as hybrid video encoder or a video encoder according to a hybrid video codec.
  • the residual calculation unit 104, the transformation unit 106, the quantization unit 108, and the entropy encoding unit 170 form a forward signal path of the encoder 100
  • the inverse quantization unit 110, the inverse transformation unit 112, the reconstruction unit 114, the buffer 118, the loop filter 120, the decoded picture buffer (DPB) 130, the inter prediction unit 144, and the intra-prediction unit 154 form a backward signal path of the encoder, wherein the backward signal path of the encoder corresponds to the signal path of the decoder (see decoder 200 in Fig. 2) .
  • the encoder is configured to receive, e.g. by input 102, a picture 101 or a picture block 103 of the picture 101, e.g. picture of a sequence of pictures forming a video or video sequence.
  • the picture block 103 may also be referred to as current picture block or picture block to be coded, and the picture 101 as current picture or picture to be coded (in particular in video coding to distinguish the current picture from other pictures, e.g. previously encoded and/or decoded pictures of the same video sequence, i.e. the video sequence which also comprises the current picture) .
  • Embodiments of the encoder 100 may comprise a partitioning unit (not depicted in Fig. 1) , e.g. which may also be referred to as picture partitioning unit, configured to partition the picture 103 into a plurality of blocks, e.g. blocks like block 103, typically into a plurality of non-overlapping blocks.
  • the partitioning unit may be configured to use the same block size for all pictures of a video sequence and the corresponding grid defining the block size, or to change the block size between pictures or subsets or groups of pictures, and partition each picture into the corresponding blocks.
  • the block 103 again is or can be regarded as a two-dimensional array or matrix of samples with intensity values (sample values) , although of smaller dimension than the picture 101.
  • the block 103 may comprise, e.g., one sample array (e.g. a luma array in case of a monochrome picture 101) or three sample arrays (e.g. a luma and two chroma arrays in case of a color picture 101) or any other number and/or kind of arrays depending on the color format applied.
  • the number of samples in horizontal and vertical direction (or axis) of the block 103 define the size of block 103.
  • the encoder 100 as shown in Fig. 1 is configured encode the picture 101 block by block, e.g. the encoding and prediction is performed per block 103.
  • the residual calculation unit 104 is configured to calculate a residual block 105 based on the picture block 103 and a prediction block 165 (further details about the prediction block 165 are provided later) , e.g. by subtracting sample values of the prediction block 165 from sample values of the picture block 103, sample by sample (pixel by pixel) to obtain the residual block 105 in the sample domain.
  • the transformation unit 106 is configured to apply a transformation, e.g. a spatial frequency transform or a linear spatial transform, e.g. a discrete cosine transform (DCT) or discrete sine transform (DST) , on the sample values of the residual block 105 to obtain transformed coefficients 107 in a transform domain.
  • a transformation e.g. a spatial frequency transform or a linear spatial transform, e.g. a discrete cosine transform (DCT) or discrete sine transform (DST)
  • DCT discrete cosine transform
  • DST discrete sine transform
  • the transformation unit 106 may be configured to apply integer approximations of DCT/DST, such as the core transforms specified for HEVC/H. 265. Compared to an orthonormal DCT transform, such integer approximations are typically scaled by a certain factor. In order to preserve the norm of the residual block which is processed by forward and inverse transforms, additional scaling factors are applied as part of the transform process.
  • the scaling factors are typically chosen based on certain constraints like scaling factors being a power of two for shift operation, bit depth of the transformed coefficients, tradeoff between accuracy and implementation costs, etc. Specific scaling factors are, for example, specified for the inverse transform, e.g. by inverse transformation unit 212, at a decoder 200 (and the corresponding inverse transform, e.g. by inverse transformation unit 112 at an encoder 100) and corresponding scaling factors for the forward transform, e.g. by transformation unit 106, at an encoder 100 may be specified accordingly.
  • the quantization unit 108 is configured to quantize the transformed coefficients 107 to obtain quantized coefficients 109, e.g. by applying scalar quantization or vector quantization.
  • the quantized coefficients 109 may also be referred to as quantized residual coefficients 109.
  • different scaling may be applied to achieve finer or coarser quantization. Smaller quantization step sizes correspond to finer quantization, whereas larger quantization step sizes correspond to coarser quantization.
  • the applicable quantization step size may be indicated by a quantization parameter (QP) .
  • QP quantization parameter
  • the quantization parameter may for example be an index to a predefined set of applicable quantization step sizes.
  • small quantization parameters may correspond to fine quantization (small quantization step sizes) and large quantization parameters may correspond to coarse quantization (large quantization step sizes) or vice versa.
  • the quantization may include division by a quantization step size and corresponding or inverse de-quantization, e.g. by inverse quantization 110, may include multiplication by the quantization step size.
  • Embodiments according to HEVC may be configured to use a quantization parameter to determine the quantization step size.
  • the quantization step size may be calculated based on a quantization parameter using a fixed point approximation of an equation including division. Additional scaling factors may be introduced for quantization and de-quantization to restore the norm of the residual block, which might be modified because of the scaling used in the fixed point approximation of the equation for quantization step size and quantization parameter.
  • the scaling of the inverse transform and de-quantization might be combined.
  • customized quantization tables may be used and signaled from an encoder to a decoder, e.g. in a bit-stream.
  • the quantization is a lossy operation, wherein the loss increases with increasing quantization step sizes.
  • Embodiments of the encoder 100 may be configured to output the quantization scheme and quantization step size, e.g. by means of the corresponding quantization parameter, so that a decoder 200 may receive and apply the corresponding inverse quantization.
  • Embodiments of the encoder 100 may be configured to output the quantization scheme and quantization step size, e.g. directly or entropy encoded via the entropy encoding unit 170 or any other entropy coding unit.
  • the inverse quantization unit 110 is configured to apply the inverse quantization of the quantization unit 108 on the quantized coefficients to obtain de-quantized coefficients 111, e.g. by applying the inverse of the quantization scheme applied by the quantization unit 108 based on or using the same quantization step size as the quantization unit 108.
  • the de-quantized coefficients 111 may also be referred to as de-quantized residual coefficients 111 and correspond -although typically not identical to the transformed coefficients due to the loss by quantization -to the transformed coefficients 108.
  • the inverse transformation unit 112 is configured to apply the inverse transformation of the transformation applied by the transformation unit 106, e.g. an inverse discrete cosine transform (DCT) or inverse discrete sine transform (DST) , to obtain an inverse transformed block 113 in the sample domain.
  • the inverse transformed block 113 may also be referred to as inverse transformed de-quantized block 113 or inverse transformed residual block 113.
  • the reconstruction unit 114 is configured to combine the inverse transformed block 113 and the prediction block 165 to obtain a reconstructed block 115 in the sample domain, e.g. by sample wise adding the sample values of the decoded residual block 113 and the sample values of the prediction block 165.
  • the buffer unit 116 (or short “buffer” 116) , e.g. a line buffer 116, is configured to buffer or store the reconstructed block and the respective sample values, for example for intra estimation and/or intra prediction.
  • the encoder may be configured to use unfiltered reconstructed blocks and/or the respective sample values stored in buffer unit 116 for any kind of estimation and/or prediction.
  • Embodiments of the encoder 100 may be configured such that, e.g. the buffer unit 116 is not only used for storing the reconstructed blocks 115 for intra estimation 152 and/or intra prediction 154 but also for the loop filter unit 120 (not shown in Fig. 1) , and/or such that, e.g. the buffer unit 116 and the decoded picture buffer unit 130 form one buffer. Further embodiments may be configured to use filtered blocks 121 and/or blocks or samples from the decoded picture buffer 130 (both not shown in Fig. 1) as input or basis for intra estimation 152 and/or intra prediction 154.
  • the loop filter unit 120 (or short “loop filter” 120) , is configured to filter the reconstructed block 115 to obtain a filtered block 121, e.g. by applying a de-blocking sample-adaptive offset (SAO) filter or other filters, e.g. sharpening or smoothing filters or collaborative filters.
  • the filtered block 121 may also be referred to as filtered reconstructed block 121.
  • the loop filter 120 is in the following also referred to as deblocking filter. Further details of the loop filter unit 120 will be described below, e.g., based on Fig. 6 or 7 or Fig. 10 to Fig. 12.
  • Embodiments of the loop filter unit 120 may comprise (not shown in Fig. 1) a filter analysis unit and the actual filter unit, wherein the filter analysis unit is configured to determine loop filter parameters for the actual filter.
  • the filter analysis unit may be configured to apply fixed pre-determined filter parameters to the actual loop filter, adaptively select filter parameters from a set of predetermined filter parameters or adaptively calculate filter parameters for the actual loop filter.
  • Embodiments of the loop filter unit 120 may comprise (not shown in Fig. 1) one or a plurality of filters (loop filter components/subfilters) , e.g. one or more of different kinds or types of filters, e.g. connected in series or in parallel or in any combination thereof, wherein each of the filters may comprise individually or jointly with other filters of the plurality of filters a filter analysis unit to determine the respective loop filter parameters, e.g. as described in the previous paragraph.
  • filters loop filter components/subfilters
  • each of the filters may comprise individually or jointly with other filters of the plurality of filters a filter analysis unit to determine the respective loop filter parameters, e.g. as described in the previous paragraph.
  • Embodiments of the encoder 100 may be configured to output the loop filter parameters, e.g. directly or entropy encoded via the entropy encoding unit 170 or any other entropy coding unit, so that, e.g., a decoder 200 may receive and apply the same loop filter parameters for decoding.
  • the decoded picture buffer (DPB) 130 is configured to receive and store the filtered block 121.
  • the decoded picture buffer 130 may be further configured to store other previously filtered blocks, e.g. previously reconstructed and filtered blocks 121, of the same current picture or of different pictures, e.g. previously reconstructed pictures, and may provide complete previously reconstructed, i.e. decoded, pictures (and corresponding reference blocks and samples) and/or a partially reconstructed current picture (and corresponding reference blocks and samples) , for example for inter estimation and/or inter prediction.
  • Further embodiments of the invention may also be configured to use the previously filtered blocks and corresponding filtered sample values of the decoded picture buffer 130 for any kind of estimation or prediction, e.g. intra and inter estimation and prediction.
  • the prediction unit 160 also referred to as block prediction unit 160, is configured to receive or obtain the picture block 103 (current picture block 103 of the current picture 101) and decoded or at least reconstructed picture data, e.g. reference samples of the same (current) picture from buffer 116 and/or decoded picture data 231 from one or a plurality of previously decoded pictures from decoded picture buffer 130, and to process such data for prediction, i.e. to provide a prediction block 165, which may be an inter-predicted block 145 or an intra-predicted block 155.
  • a prediction block 165 which may be an inter-predicted block 145 or an intra-predicted block 155.
  • the mode selection unit 162 may be configured to select a prediction mode (e.g. an intra or inter prediction mode) and/or a corresponding prediction block 145 or 155 to be used as prediction block 165 for the calculation of the residual block 105 and for the reconstruction of the reconstructed block 115.
  • a prediction mode e.g. an intra or inter prediction mode
  • a corresponding prediction block 145 or 155 to be used as prediction block 165 for the calculation of the residual block 105 and for the reconstruction of the reconstructed block 115.
  • Embodiments of the mode selection unit 162 may be configured to select the prediction mode (e.g. from those supported by prediction unit 160) , which provides the best match or in other words the minimum residual (minimum residual means better compression for transmission or storage) , or a minimum signaling overhead (minimum signaling overhead means better compression for transmission or storage) , or which considers or balances both.
  • the mode selection unit 162 may be configured to determine the prediction mode based on rate distortion optimization (RDO) , i.e. select the prediction mode which provides a minimum rate distortion optimization or which associated rate distortion at least a fulfills a prediction mode selection criterion.
  • RDO rate distortion optimization
  • prediction processing e.g. prediction unit 160 and mode selection (e.g. by mode selection unit 162) performed by an example encoder 100 will be explained in more detail.
  • encoder 100 is configured to determine or select the best or an optimum prediction mode from a set of (pre-determined) prediction modes.
  • the set of prediction modes may comprise, e.g., intra-prediction modes and/or inter-prediction modes.
  • the set of intra-prediction modes may comprise 32 different intra-prediction modes, e.g. non-directional modes like DC (or mean) mode and planar mode, or directional modes, e.g. as defined in H. 264, or may comprise 65 different intra-prediction modes, e.g. non-directional modes like DC (or mean) mode and planar mode, or directional modes, e.g. as defined in H. 265.
  • the set of (or possible) inter-prediction modes depend on the available reference pictures (i.e. previous at least partially decoded pictures, e.g. stored in DBP 230) and other inter-prediction parameters, e.g. whether the whole reference picture or only a part, e.g. a search window area around the area of the current block, of the reference picture is used for searching for a best matching reference block, and/or e.g. whether pixel interpolation is applied, e.g. half/semi-pel and/or quarter-pel interpolation, or not.
  • the available reference pictures i.e. previous at least partially decoded pictures, e.g. stored in DBP 230
  • other inter-prediction parameters e.g. whether the whole reference picture or only a part, e.g. a search window area around the area of the current block, of the reference picture is used for searching for a best matching reference block, and/or e.g. whether pixel interpolation is applied, e.
  • skip mode and/or direct mode may be applied.
  • the prediction unit 160 may be further configured to partition the block 103 into smaller block partitions or sub-blocks, e.g. iteratively using quad-tree-partitioning (QT) , binary partitioning (BT) or triple-tree-partitioning (TT) or any combination thereof, and to perform, e.g. the prediction for each of the block partitions or sub-blocks, wherein the mode selection comprises the selection of the tree-structure of the partitioned block 103 and the prediction modes applied to each of the block partitions or sub-blocks.
  • QT quad-tree-partitioning
  • BT binary partitioning
  • TT triple-tree-partitioning
  • the inter estimation unit 142 also referred to as inter picture estimation unit 142, is configured to receive or obtain the picture block 103 (current picture block 103 of the current picture 101) and a decoded picture 231, or at least one or a plurality of previously reconstructed blocks, e.g. reconstructed blocks of one or a plurality of other/different previously decoded pictures 231, for inter estimation (or “inter picture estimation” ) .
  • a video sequence may comprise the current picture and the previously decoded pictures 231, or in other words, the current picture and the previously decoded pictures 231 may be part of or form a sequence of pictures forming a video sequence.
  • the encoder 100 may, e.g., be configured to select a reference block from a plurality of reference blocks of the same or different pictures of the plurality of other pictures and provide a reference picture (or reference picture index, ...) and/or an offset (spatial offset) between the position (x, y coordinates) of the reference block and the position of the current block as inter estimation parameters 143 to the inter prediction unit 144.
  • This offset is also called motion vector (MV) .
  • the inter estimation is also referred to as motion estimation (ME) and the inter prediction also motion prediction (MP) .
  • the inter prediction unit 144 is configured to obtain, e.g. receive, an inter prediction parameter 143 and to perform inter prediction based on or using the inter prediction parameter 143 to obtain an inter prediction block 145.
  • Fig. 1 shows two distinct units (or steps) for the inter-coding, namely inter estimation 142 and inter prediction 152
  • both functionalities may be performed as one (inter estimation) requires/comprises calculating an/the inter prediction block, i.e. the or a “kind of” inter prediction 154) , e.g. by testing all possible or a predetermined subset of possible inter-prediction modes iteratively while storing the currently best inter prediction mode and respective inter prediction block, and using the currently best inter prediction mode and respective inter prediction block as the (final) inter prediction parameter 143 and inter prediction block 145 without performing another time the inter prediction 144.
  • the intra estimation unit 152 is configured to obtain, e.g. receive, the picture block 103 (current picture block) and one or a plurality of previously reconstructed blocks, e.g. reconstructed neighbor blocks, of the same picture for intra estimation.
  • the encoder 100 may, e.g., be configured to select an intra prediction mode from a plurality of (predetermined) intra prediction modes and provide it as intra estimation parameter 153 to the intra prediction unit 154.
  • Embodiments of the encoder 100 may be configured to select the intra-prediction mode based on an optimization criterion, e.g. minimum residual (e.g. the intra-prediction mode providing the prediction block 155 most similar to the current picture block 103) or minimum rate distortion.
  • an optimization criterion e.g. minimum residual (e.g. the intra-prediction mode providing the prediction block 155 most similar to the current picture block 103) or minimum rate distortion.
  • the intra prediction unit 154 is configured to determine based on the intra prediction parameter 153, e.g. the selected intra prediction mode 153, the intra prediction block 155.
  • FIG. 1 shows two distinct units (or steps) for the intra-coding, namely intra estimation 152 and intra prediction 154
  • both functionalities may be performed as one (intra estimation) requires/comprises calculating the intra prediction block, i.e. the or a “kind of” intra prediction 154) , e.g. by testing all possible or a predetermined subset of possible intra-prediction modes iteratively while storing the currently best intra prediction mode and respective intra prediction block, and using the currently best intra prediction mode and respective intra prediction block as the (final) intra prediction parameter 153 and intra prediction block 155 without performing another time the intra prediction 154.
  • the entropy encoding unit 170 is configured to apply an entropy encoding algorithm or scheme (e.g. a variable length coding (VLC) scheme, an context adaptive VLC scheme (CALVC) , an arithmetic coding scheme, a context adaptive binary arithmetic coding (CABAC) ) on the quantized residual coefficients 109, inter prediction parameters 143, intra prediction parameter 153, and/or loop filter parameters, individually or jointly (or not at all) to obtain encoded picture data 171 which can be output by the output 172, e.g. in the form of an encoded bit-stream 171.
  • VLC variable length coding
  • CALVC context adaptive VLC scheme
  • CABAC context adaptive binary arithmetic coding
  • a non-transform based encoder 100 can quantize the residual signal directly without the transform processing unit for certain blocks or frames.
  • an encoder 100 can have the quantization unit and the inverse quantization unit combined into a single unit.
  • Fig. 2 shows an exemplary decoder 200, i.e. a video decoder 200 configured to receive encoded picture data, e.g. encoded bit-stream, 171, e.g. encoded by encoder 100, to obtain a decoded picture 231.
  • encoded picture data e.g. encoded bit-stream, 171
  • encoder 100 e.g. encoded by encoder 100
  • the decoder 200 comprises an input 202, an entropy decoding unit 204, an inverse quantization unit 210, an inverse transformation unit 212, a reconstruction unit 214, a buffer 216, a loop filter 220, a decoded picture buffer 230, a prediction unit 260, an inter prediction unit 244, an intra prediction unit 254, a mode selection unit 260 and an output 232.
  • the entropy decoding unit 204 is configured to perform entropy decoding to the encoded picture data 171 to obtain, e.g., quantized coefficients 209 and/or decoded coding parameters (not shown in Fig. 2) , e.g. (decoded) any or all of inter prediction parameters 143, intra prediction parameter 153, and/or loop filter parameters.
  • the inverse quantization unit 210, the inverse transformation unit 212, the reconstruction unit 214, the buffer 216, the loop filter 220, the decoded picture buffer 230, the prediction unit 260 and the mode selection unit 260 are configured to perform the inverse processing of the encoder 100 (and the respective functional units) to decode the encoded picture data 171.
  • the inverse quantization unit 210 may be identical in function to the inverse quantization unit 110
  • the inverse transformation unit 212 may be identical in function to the inverse transformation unit 112
  • the reconstruction unit 214 may be identical in function reconstruction unit 114
  • the buffer 216 may be identical in function to the buffer 116
  • the loop filter 220 may be identical in function to the loop filter 220 (with regard to the actual loop filter as the loop filter 220 typically does not comprise a filter analysis unit to determine the filter parameters based on the original image 101 or block 103 but receives (explicitly or implicitly) or obtains the filter parameters used for encoding, e.g. from entropy decoding unit 204)
  • the decoded picture buffer 230 may be identical in function to the decoded picture buffer 130.
  • the prediction unit 260 may comprise an inter prediction unit 244 and an inter prediction unit 254, wherein the inter prediction unit 144 may be identical in function to the inter prediction unit 144, and the inter prediction unit 154 may be identical in function to the intra prediction unit 154.
  • the prediction unit 260 and the mode selection unit 262 are typically configured to perform the block prediction and/or obtain the predicted block 265 from the encoded data 171 only (without any further information about the original image 101) and to receive or obtain (explicitly or implicitly) the prediction parameters 143 or 153 and/or the information about the selected prediction mode, e.g. from the entropy decoding unit 204.
  • the decoder 200 is configured to output the decoded picture 230, e.g. via output 232, for presentation or viewing to a user.
  • embodiments of the encoder 100 and decoder 200 may also be configured for still picture processing or coding, i.e. the processing or coding of an individual picture independent of any preceding or consecutive picture as in video coding.
  • still picture processing or coding i.e. the processing or coding of an individual picture independent of any preceding or consecutive picture as in video coding.
  • inter-estimation 142, inter-prediction 144, 242 are not available in case the picture processing coding is limited to a single picture 101.
  • Most if not all other functionalities (also referred to as tools or technologies) of the video encoder 100 and video decoder 200 may equally be used for still pictures, e.g.
  • partitioning partitioning, transformation (scaling) 106, quantization 108, inverse quantization 110, inverse transformation 112, intra-estimation 142, intra-prediction 154, 254 and/or loop filtering 120, 220, and entropy coding 170 and entropy decoding 204.
  • the present invention deals with the inner workings of the deblocking filter, also referred to as loop filter in Fig. 1 and Fig. 2. Further details of the loop filter unit 120, 220 will be described below, e.g., based on Fig. 6 or 7 or Fig. 10 to Fig. 12.
  • Video coding schemes such as H. 264/AVC and HEVC are designed along the successful principle of block-based hybrid video coding. Using this principle a picture is first partitioned into blocks and then each block is predicted by using intra-picture or inter-picture prediction. These blocks are coded relatively from the neighboring blocks and approximate the original signal with some degree of similarity. Since coded blocks only approximate the original signal, the difference between the approximations may cause discontinuities at the prediction and transform block boundaries. These discontinuities are attenuated by the deblocking filter.
  • HEVC replaces the macroblock structure of H. 264/AVC with the concept of coding tree unit (CTU) of maximum size 64x64 pixels.
  • CTU coding tree unit
  • the CTU can further be partitioned into a quadtree-decomposition scheme into smaller coding units (CU) , which can be subdivided down to a minimum size of 8 x 8 pixels.
  • CU coding units
  • HEVC also introduces the concepts of prediction blocks (PB) and Transform blocks (TB) .
  • the normal filter modifies at most two samples on both sides of an edge.
  • strong filter three additional checking between the samples along the edge and some pre-defined threshold are evaluated. If all of those checking are true then the strong filter is applied.
  • the strong filter has a more intensive smoothing effect for samples along the edge and can modify at most three samples on both sides of an edge.
  • VVC Versatile Video Coding
  • VTM VVC Test Model
  • P TraditionalBiPred is the final predictor for the conventional bi-prediction
  • P L0 and P L1 are predictors from L0 and L1, respectively
  • RoundingOffset and shiftNum are used to normalize the final predictor.
  • weights that are used to combine the predictors can be different from 0.5.
  • JVET-K0248 which is publicly accessible under http: //phenix. it-sudparis. eu/jvet/) it is presented to allow applying different weights to predictors from L0 and L1.
  • the predictor generation is shown in Equ. (2) .
  • P GBi is the final predictor of generalized bi-prediction
  • GBi. (1-w 1 ) and w 1 are the selected GBi weights applied to the predictors of L0 and L1, respectively.
  • RoundingOffset GBi and shiftNum GBi are used to normalize the final predictor in GBi.
  • the supported weights of w 1 is ⁇ -1/4, 3/8, 1/2, 5/8, 5/4 ⁇ .
  • One equal-weight set and four unequal-weight sets are supported.
  • the process to generate the final predictor is exactly the same as that in the conventional bi-prediction mode.
  • RA random access
  • the weight selection in GBi is explicitly signaled at CU-level if this CU is coded by bi-prediction.
  • the weight selection is inherited from the merge candidate.
  • an indicator is signaled in the bitstream to indicate which weighting factors are applied, i.e. the value of w 1 in equation (2) .
  • the indication is specified to be GBi index, and the association of the GBi index and the weight value is exemplified as below:
  • the default value of the weighting factor is set as 0.5 (combination with equal weighting) . It means that of the GBi Index is not explicitly included in the bitstream associated with a bi-predicted block, the weighting values are inferred to be 0.5.
  • JVET-K0248 provides an example of how the unequal weighting factors for 2 different predictors are signaled in the bitstream. There might be other alternative ways to signal the weighting factors.
  • bi-prediction generally refers to the case where non-zero weighting factors are applied on the parts (P L0 and P L1 in equation (2) ) of the combined prediction.
  • w1 equal to 0 or w1 equal to 1 are special cases of bi-prediction equation, but they are considered to be uni-prediction.
  • Uni prediction refers to the case where there is only one predictor to construct the final prediction in equation (2) .
  • the state of the art video coding standards apply block based intra and inter prediction methods which usually cause blocking artifacts at the boundaries between some of the blocks.
  • Deblocking filtering is usually applied to those edges to mitigate the problem of blocking artifacts. It is important to identify edges between two spatially adjacent blocks that are likely to introduce blocking artifacts, since application of deblocking filtering would cause over-smoothing when applied to edges that do not have deblocking artifact. In other words it is important to identify the edges that would introduce blocking artifacts as precisely as possible in order to achieve the goal of removing the blocking artifacts and in the meantime not over-smoothing the image or video frame.
  • Figs. 7 and 8 refer to aspects of the HEVC video coding standard or VVC video coding standard.
  • Fig. 7 shows a flow chart illustrating a method for determining whether a longer tap filter shall be used.
  • Fig. 8 depicts the process of deblocking determination according to the HEVC video coding standard, see below.
  • Fig. 4 discloses two coding units /image blocks P and Q.
  • Block P having sixteen elements P 0, 0, ...P 15, 3 in four columns.
  • Block Q having two times 8 samples.
  • a boundary between blocks P and Q is denoted a CU boundary.
  • a boundary between the two groups of 8 samples of block Q is denoted a Sub-PU boundary.
  • Fig. 5A discloses two codings units /image blocks P and Q, illustrating samples of either coding unit.
  • Fig. 4 further discloses which samples are used in filtering.
  • Fig. 4 further discloses which samples are modified by filtering.
  • Fig. 5B discloses how for deblocking a discontinuity may arise for a first image block and a second image block when different pairs of weighting factors are applied to the first and the second image block. That is, the current deblocking boundary strength derivation process of VTM-6.0 does not take into account that such a potential discontinuity may arise when one of the blocks sharing the given edge use different bi-prediction with CU-level, here denoted bcw, previously denoted GBi weights, meaning the block uses different weighting factors (or in short weights) compared to the other coding block.
  • Different weighting factors means that different pairs of weighting factors are applied to the first image block and the second image block which is adjacent with each other.
  • a pair of weighting factors (5/4, 1/4) is applied to the two adjacent image blocks with reference to reference picture Ref0.
  • Another pair of weighting factors, (-1/4, 3/4) is applied with respect to reference picture Ref1.
  • the resulting blocks called P and Q, exhibit an unwanted or undesired discontinuity, which here is illustrated with respect to image block Q being much darker than image block P. This change it discontinuous, e.g. there is no smooth change from P to Q in this respect.
  • the weighting factors typically are provided by tables, e.g. cf. Table 1 and 2, below. Said Tables may be indexed such that weighting factors are accessible via a respective index.
  • the indexes may be Gbi or bcw_idx indexes, respectively.
  • the present invention aims to improve the conventional deblocking filtering.
  • the present invention has the objective to mitigate blocking artifacts that would be caused by the application of unequal weights in bi-prediction by selective application of deblocking filtering.
  • Fig. 8 depicts the process of deblocking determination according to the HEVC video coding standard. For edges between blocks the decision to apply a strong deblocking filter, a normal (weak) deblocking filter and no deblocking filter is taken by this process. Furthermore the process for deriving the bS value is depicted in Fig. 14. Further details of the filtering determination process for HEVC can be found in the section 7.2.2.1 (Decisions to Filter a Block Boundary) of the book Vivienne Sze, Madhukar Budagavi, Gary J. Sullivan, “High Efficiency Video Coding (HEVC) ” , Springer International, Switzerland, 2014..
  • bi-prediction A special mode of inter prediction is called bi-prediction, where two motion vectors are used to predict the sample values of each block.
  • Fig. 15 illustrates the determining of a boundary strength parameter bS for two image blocks as illustrated in Fig. 5B.
  • the boundary strength parameter bS may be set to specific values, as is further explained, below.
  • P TraditionalBiPred is the final predictor for the conventional bi-prediction
  • P L0 and P L1 are predictors from L0 and L1, respectively
  • RoundingOffset and shiftNum are used to normalize the final predictor.
  • the predictors P L0 and P L1 are pointed by two different motion vectors.
  • weights that are used to combine the predictors can be different from 0.5.
  • JVET-K0248 which is publicly accessible under http: //phenix. it-sudparis. eu/jvet/) it is presented to allow applying different weights to predictors from L0 and L1.
  • the predictor generation is shown in Equ. (2) .
  • Equ. (2) P GBi is the final predictor of GBi. (1-w 1 ) and w 1 are the selected GBi weights applied to the predictors of L0 and L1, respectively. RoundingOffset GBi and shiftNum GBi are used to normalize the final predictor in GBi.
  • the supported weights of w 1 is ⁇ -1/4, 3/8, 1/2, 5/8, 5/4 ⁇ .
  • One equal-weight set and four unequal-weight sets are supported.
  • the process to generate the final predictor is exactly the same as that in the conventional bi-prediction mode.
  • the number of candidate weight sets is reduced to three.
  • the weight selection in GBi is explicitly signaled at CU-level if this CU is coded by bi-prediction.
  • the weight selection is inherited from the merge candidate.
  • an indicator is signaled in the bitstream to indicate which weighting factors are applied, i.e. the value of w 1 in equation (2) .
  • the indication is specified to be GBi index, and the association of the GBi index and the weight value is exemplified as below:
  • the default value the weighting factor is set as 0.5 (combination with equal weighting) . It means that of the GBi Index is not explicitly included in the bitstream associated with a bi-predicted block, the weighting values are inferred to be 0.5.
  • JVET-K0248 provides an example of how the unequal weighting factors for 2 different predictors are signaled in the bitstream. There might be other alternative ways to signal the weighting factors.
  • bi-prediction generally refers to the case where non-zero weighting factors are applied on the parts (P L0 and P L1 in equation (2) ) of the combined prediction.
  • w1 equal to 0 or w1 equal to 1 are special cases of bi-prediction equation, but they are considered to be uni-prediction.
  • Uni prediction refers to the case where there is only one predictor to construct the final prediction in equation (2) .
  • the equation (1) and (2) are bi-prediction equations, where in the second one different weighting factors can be applied for the parts of the equation (P L0 and P L1 ) .
  • a deblocking filter is applied on the edge between two blocks if they apply two different weighting factors to construct the motion compensated prediction.
  • Deblocking filter might be applied or not applied on the edge between two blocks if the two blocks apply the same weighting factor.
  • the invention is applied to the Deblocking Determination Unit 604 of Fig. 6, which determines whether a block edge applies deblocking filtering, and if yes the type (normal, strong) of the filtering.
  • the invention is not limited to a specific deblocking filter implementation and that the HEVC deblocking filter is only one of the deblocking filter implementations.
  • the invention modifies the filter application determination process by taking into account the different weighting factors applied by bi-prediction.
  • the invention targets efficient determination of block edges for deblocking such that the edges that require deblocking are determined more accurately. As a result visible blocking artifacts in the picture are removed and over-smoothing and blurring of the image is avoided.
  • deblocking filter is applied if the two blocks apply two different weighting factors to construct the motion compensated prediction.
  • Deblocking filter might be applied or not applied on the edge between two blocks if the two blocks apply the same weighting factor.
  • Second alternative implementation of the invention at the edge between two spatially adjacent blocks, if both blocks apply inter prediction and specifically bi-prediction; a weak deblocking filter is applied if the two blocks apply two different weighting factors to construct the motion compensated prediction. Deblocking filter might be applied or not applied on the edge between two blocks if the two blocks apply the same weighting factor. A strong deblocking filter is applied otherwise (if any one of the two blocks are predicted by intra prediction) .
  • deblocking filter is applied if the two blocks apply two different weighting factors to construct the motion compensated prediction.
  • Deblocking filter might be applied or not applied on the edge between two blocks if the two blocks apply the same weighting factor.
  • a boundary strength parameter is set equal to one if the two blocks apply two different weighting factors to construct the motion compensated prediction.
  • the boundary strength parameter might be set to zero or one on the edge between two blocks if the two blocks apply the same weighting factor.
  • the boundary strength parameter is used in the determination of application of deblocking filtering at the said block edge.
  • Another alternative implementation of the invention at the edge between two spatially adjacent blocks which apply bi-prediction deblocking filter is applied if the GBi Idx is different for the two blocks.
  • the deblocking filter might be applied or not applied on the edge between two blocks if the GBi Idx is same for the two blocks.
  • the GBi Idx is a parameter that indicates the weighting factors used in the equation bi-prediction equation as in (2) .
  • the GBi Idx is an indicator that can be signaled in the bitstream or can be inferred. For instance if the GBi Idx is absent for a block, a default value might be assigned to it.
  • this implementation of the invention which is also depicted in Fig. 16A is not limited to GBi Idx as defined by the prior art in JVET-K0248.
  • the GBi Idx is an indication that determines the weights applied to the bi-prediction equation in (2) .
  • the Gbi Idx is mapped to specific weighting factors according to Table 1 or Table 2 as example.
  • the name of GBi Idx can be changed without changing the spirit of the invention.
  • Fig. 16A illustrates a specific embodiment of the method, using Gbi Idx as indexes.
  • the boundary strength parameter bS [xDi] [yDj] which is used in the determination of application of deblocking filtering is derived according to the following processing steps (e.g. the details of the proposed method are described as follows in the format of the specification) :
  • bS [xDi] [yDj] is set equal to 2.
  • bS [xDi] [yDj] is set equal to 1.
  • One motion vector is used to predict the luma prediction block containing the sample p0 and one motion vector is used to predict the luma prediction block containing the sample q0, and the absolute difference between the horizontal or vertical component of the motion vectors used is greater than or equal to 4 in units of quarter luma samples.
  • Two motion vectors and two different reference pictures are used to predict the luma prediction block containing the sample p0, two motion vectors for the same two reference pictures are used to predict the luma prediction block containing the sample q0 and the absolute difference between the horizontal or vertical component of the two motion vectors used in the prediction of the two luma prediction blocks for the same reference picture is greater than or equal to 4 in units of quarter luma samples.
  • Two motion vectors for the same reference picture are used to predict the luma prediction block containing the sample p0, two motion vectors for the same reference picture are used to predict the luma prediction block containing the sample q0 and both of the following conditions are true:
  • the absolute difference between the horizontal or vertical component of list 0 motion vectors used in the prediction of the two luma prediction blocks is greater than or equal to 4 in quarter luma samples, or the absolute difference between the horizontal or vertical component of the list 1 motion vectors used in the prediction of the two luma prediction blocks is greater than or equal to 4 in units of quarter luma samples.
  • the absolute difference between the horizontal or vertical component of list 0 motion vector used in the prediction of the luma prediction block containing the sample p0 and the list 1 motion vector used in the prediction of the luma prediction block containing the sample q0 is greater than or equal to 4 in units of quarter luma samples, or the absolute difference between the horizontal or vertical component of the list 1 motion vector used in the prediction of the luma prediction block containing the sample p0 and list 0 motion vector used in the prediction of the luma prediction block containing the sample q0 is greater than or equal to 4 in units of quarter luma samples.
  • Two motion vectors are used to predict the luma prediction block containing the sample p0, two motion vectors are used to predict the luma prediction block containing the sample q0 and gbi_idx is different for the block containing the sample p0 and the block containing the sample q0.
  • variable bS [xDi] [yDj] is set equal to 0.
  • the gbi_idx parameter is used in the determination of the boundary strength parameter, which is in turn used in the determination of the deblocking filtering determination process. It is further noted that the step 5 is not present in the prior art, and is added by the current invention.
  • FIG. 16B Another alternative is shown in Fig. 16B which uses different indexes than in Fig. 16A.
  • the current boundary strength derivation in VVC test model, VTM, 6.0 does not take into account the discontinuity that might be caused when one of the coding units sharing the edge uses BCW (Bi-prediction with CU-level weights) .
  • the current proposal suggest to also include an additional check in the boundary strength derivation rule which is as follows: If the “bcw_idx” of one of the coding units sharing the edge is different from the other coding unit then boundary strength is set to 1 and therefore the edge is further deblocked.
  • VTM-6.0 does not take into account that a potential discontinuity may arise when one of the blocks sharing the given edge use different bi-prediction with CU-level, bcw weights. It should be noted that these were previously named as GBi weights. When one of the blocks sharing the given edge use different bcw weights, this has the meaning the block uses different “bcw_idx” compared to the other coding block.
  • Fig. 5B shows an example where a potential discontinuity which may arise when the coding units use different “bcw_idx” .
  • VTM-6.0 The current boundary strength flow chart of VTM-6.0 can be summarized as shown in the Fig. 15.
  • the proposed solution adds an additional check to the previous boundary strength derivation process as shown in Fig. 15. This ensures that the potential discontinuity caused by different coding units using different “bcw_idx” is removed.
  • the details of the proposed method are described as follows in the format of the specification.
  • Inputs to this process are: a picture sample array recPicture, a location (xCb, yCb) specifying the top-left sample of the current coding block relative to the top-left sample of the current picture, a variable nCbW specifying the width of the current coding block, a variable nCbH specifying the height of the current coding block, a variable edgeType specifying whether a vertical (EDGE_VER) or a horizontal (EDGE_HOR) edge is filtered, a variable cIdx specifying the colour component of the current coding block, and a two-dimensional (nCbW) x (nCbH) array edgeFlags.
  • Output of this process is a two-dimensional (nCbW) x (nCbH) array bS specifying the boundary filtering strength.
  • the variables xD i , yD j , xN and yN are derived as follows:
  • variable gridSize is set as follows:
  • edgeType is equal to EDGE_VER
  • xN is set equal to Max (0, (nCbW /gridSize) -1) (8-1052)
  • edgeType is equal to EDGE_HOR
  • edgeType is equal to EDGE_VER
  • p 0 is set equal to recPicture [xCb + xD i -1] [yCb + yD j ]
  • q 0 is set equal to recPicture [xCb + xD i ] [yCb + yD j ] .
  • edgeType is equal to EDGE_HOR
  • p 0 is set equal to recPicture [xCb + xD i ] [yCb + yD j -1]
  • q 0 is set equal to recPicture [xCb + xD i ] [yCb + yD j ] .
  • bS [xD i ] [yD j ] is set equal to 1.
  • cIdx is greater than 0, and the sample p 0 or q 0 is in a transform unit with tu_joint_cbcr_residual_flag equal to 1, bS [xD i ] [yD j ] is set equal to 1.
  • bS [xD i ] [yD j ] is set equal to 1.
  • the coding subblock containing the sample p 0 and the coding subblock containing the sample q 0 are both coded in IBC prediction mode, and the absolute difference between the horizontal or vertical component of the block vectors used in the prediction of the two coding subblocks is greater than or equal to 8 in units of 1/16 luma samples.
  • One motion vector is used to predict the coding subblock containing the sample p 0 and one motion vector is used to predict the coding subblock containing the sample q 0 , and the absolute difference between the horizontal or vertical component of the motion vectors used is greater than or equal to 8 in units of 1/16 luma samples.
  • Two motion vectors and two different reference pictures are used to predict the coding subblock containing the sample p 0
  • two motion vectors for the same two reference pictures are used to predict the coding subblock containing the sample q 0
  • the absolute difference between the horizontal or vertical component of the two motion vectors used in the prediction of the two coding subblocks for the same reference picture is greater than or equal to 8 in units of 1/16 luma samples.
  • Two motion vectors for the same reference picture are used to predict the coding subblock containing the sample p 0
  • two motion vectors for the same reference picture are used to predict the coding subblock containing the sample q 0 and both of the following conditions are true:
  • the absolute difference between the horizontal or vertical component of list 0 motion vectors used in the prediction of the two coding subblocks is greater than or equal to 8 in 1/16 luma samples, or the absolute difference between the horizontal or vertical component of the list 1 motion vectors used in the prediction of the two coding subblocks is greater than or equal to 8 in units of 1/16 luma samples.
  • the absolute difference between the horizontal or vertical component of list 0 motion vector used in the prediction of the coding subblock containing the sample p 0 and the list 1 motion vector used in the prediction of the coding subblock containing the sample q 0 is greater than or equal to 8 in units of 1/16 luma samples, or the absolute difference between the horizontal or vertical component of the list 1 motion vector used in the prediction of the coding subblock containing the sample p 0 and list 0 motion vector used in the prediction of the coding subblock containing the sample q 0 is greater than or equal to 8 in units of 1/16 luma samples.
  • variable bS [xD i ] [yD j ] is set equal to 0.
  • the current invention proposes to add an additional check in the deblocking boundary strength derivation process which basically sets the boundary strength “bs” to 1 if one of the coding units sharing the edge uses a different “bcw_idx” when compared to the other coding unit. This results in removing a potential discontinuity which may be caused when coding units use different “bcw_idx” .
  • This alternative is particularly shown in Fig. 16B.
  • the invention combines the deblocking filtering operation and a modified bi-prediction generation operation to avoid blocking artifacts.
  • Fig. 6 is a block diagram illustrating an exemplary deblocking filter apparatus 600 according to the techniques described in this disclosure (further details will be described below, e.g., based on Figs. 7, 8 or Fig. 10 to 12) .
  • Deblocking filter apparatus 600 may also be referred to as deblocking filter 600.
  • the deblocking filter apparatus 600 may be configured to perform deblocking techniques in accordance with various examples described in the present application.
  • loop filter 120 from Fig. 1 and loop filter 220 from Fig. 2 may include components substantially similar to those of deblocking filter 600.
  • Video coding devices such as video encoders, video decoders, video encoder/decoders (CODECs) , and the like may also include components substantially similar to deblocking filter 600.
  • Deblocking filter 600 may be implemented in hardware, software, or firmware, or any combination thereof. When implemented in software or firmware, corresponding hardware (such as one or more processors or processing units and memory for storing instructions for the software or firmware) may also be provided.
  • deblocking filter 600 includes deblocking determination unit 604, support definitions 602 stored in memory, deblocking filtering unit 606, deblocking filter definitions 608 stored in memory, edge locating unit 603, and edge locations data structure 605. Any or all of the components of deblocking filter 600 may be functionally integrated. The components of deblocking filter 600 are illustrated separately only for purposes of illustration. In general, deblocking filter 600 receives data for decoded blocks, e.g., from a summation component that combines prediction data with residual data for the blocks. The data may further include an indication of how the blocks were predicted.
  • deblocking filter 600 is configured to receive data including a decoded vide block associated with a LCU and a CU quadtree for the LCU, where the CU quadtree describes how the LCU is partitioned into CUs and prediction modes for PUs and TUs of leaf-node CUs.
  • Deblocking filter 600 may maintain edge locations data structure 605 in a memory of deblocking filter 600, or in an external memory provided by a corresponding video coding device.
  • edge locating unit 603 may receive a CU quadtree corresponding to an LCU that indicates how the LCU is partitioned into CUs. Edge locating unit 603 may then analyze the CU quadtree to determine edges between decoded video blocks associated with TUs and PUs of CUs in the LCU that are candidates for deblocking.
  • Edge locations data structure 605 may comprise an array having a horizontal dimension, a vertical dimension, and a dimension representative of horizontal edges and vertical edges.
  • edges between video blocks may occur between two video blocks associated with smallest-sized CUs of the LCU, or TUs and PUs of the CUs.
  • the array may comprise a size of [N/M] ⁇ [N/M] ⁇ 2, where “2” represents the two possible directions of edges between CUs (horizontal and vertical) .
  • the array may comprise [8] ⁇ [8] ⁇ [2] entries.
  • Each entry may generally correspond to a possible edge between two video blocks. Edges might not in fact exist at each of the positions within the LCU corresponding to each of the entries of edge locations data structure 605. Accordingly, values of the data structure may be initialized to false.
  • edge locating unit 603 may analyze the CU quadtree to determine locations of edges between two video blocks associated with TUs and PUs of CUs of the LCU and set corresponding values in edge locations data structure 605 to true.
  • the entries of the array may describe whether a corresponding edge exists in the LCU as a candidate for deblocking. That is, when edge locating unit 603 determines that an edge between two neighboring video blocks associated with TUs and PUs of CUs of the LCU exists, edge locating unit 603 may set a value of the corresponding entry in edge locations data structure 605 to indicate that the edge exists (e.g., to a value of “true” ) .
  • Deblocking determination unit 604 generally determines whether, for two neighboring blocks, an edge between the two blocks should be deblocked. Deblocking determination unit 604 may determine locations of edges using edge locations data structure 605. When a value of edge locations data structure 605 has a Boolean value, deblocking determination unit 604 may determine that a “true” value indicates the presence of an edge, and a “false” value indicates that no edge is present, in some examples.
  • deblocking determination unit 604 is configured with one or more deblocking determination functions.
  • the functions may include a plurality of coefficients applied to lines of pixels that cross the edge between the blocks.
  • the functions may be applied to a line of eight pixels that is perpendicular to the edge, where four of the pixels are in one of the two blocks and the other four pixels are in the other of the two blocks.
  • Support definitions 602 define support for the functions. In general, the “support” corresponds to the pixels to which the functions are applied.
  • Deblocking determination unit 604 may be configured to apply one or more deblocking determination functions to one or more sets of support, as defined by support definitions 602, to determine whether a particular edge between two blocks of video data should be deblocked.
  • the dashed line originating from deblocking determination unit 604 represents data for blocks being output without being filtered.
  • deblocking filter 600 may output the data for the blocks without altering the data. That is, the data may bypass deblocking filtering unit 606.
  • deblocking determination unit 604 may cause deblocking filtering unit 606 to filter values for pixels near the edge in order to deblock the edge.
  • Deblocking filtering unit 606 retrieves definitions of deblocking filters from deblocking filter parameters 608 for edges to be deblocked, as indicated by deblocking determination unit 604.
  • filtering of an edge uses values of pixels from the neighborhood of a current edge to be deblocked. Therefore, both deblocking decision functions and deblocking filters may have a certain support region on both sides of an edge.
  • deblocking filtering unit 606 may smooth the values of the pixels such that high frequency transitions near the edge are dampened. In this manner, application of deblocking filters to pixels near an edge may reduce blockiness artifacts near the edge.
  • Fig. 9 shows two exemplary coding blocks and sample values used and modified during filtering according to another embodiment of the invention.
  • Fig. 10 is a block diagram illustrating an exemplary deblocking method according to the techniques described in this disclosure. Here, further details will be described below, e.g., based on Figs. 7, 8.
  • edges between blocks are determined, wherein the edges between blocks comprise a block edge between a first coding block P and a second coding block Q;
  • step 102 it is determined whether the block edge between the first coding block P and the second coding block Q is to be filtered by applying a deblocking filter, by determining whether different weighting factors are applied for the first coding block P and the second coding block Q respectively.
  • the deblocking filter is applied to values of samples near the block edge between the first coding block P and the second coding block Q, when it is determined that different weighting factors are applied for the first coding block P and the second coding block Q respectively.
  • the step of determining whether the block edge between the first coding block P and the second coding block Q is to be filtered by applying a deblocking filter, by determining whether different weighting factors are applied for the first coding block P and the second coding block Q respectively, may further comprise: determining that the block edge between the first coding block P and the second coding block Q is to be filtered by applying a deblocking filter if the first coding block P and the second coding block Q apply two different weighting factors to construct the motion compensated prediction.
  • the step of determining whether the block edge between the first coding block P and the second coding block Q is to be filtered by applying a deblocking filter, by determining whether different weighting factors are applied for the first coding block P and the second coding block Q respectively may further comprise: determining the block edge between the first coding block P and the second coding block Q is to be filtered by applying a deblocking filter if different weighting factors are applied for the first coding block P and the second coding block Q respectively; or determining that the block edge between the first coding block P and the second coding block Q is not to be filtered by applying a deblocking filter if the same weighting factor is applied for the first coding block P and the second coding block Q.
  • the step of determining whether the block edge between the first coding block P and the second coding block Q is to be filtered by applying a deblocking filter, by determining whether different weighting factors are applied for the first coding block P and the second coding block Q respectively may comprise: determining the block edge between the first coding block P and the second coding block Q is to be filtered by applying a deblocking filter if the same weighting factor is applied for the first coding block P and the second coding block Q; or determining the block edge between the first coding block P and the second coding block Q is not to be filtered by applying a deblocking filter if the same weighting factor is applied for the first coding block P and the second coding block Q.
  • deblocking filter may be applied if the two blocks apply two different weighting factors to construct the motion compensated prediction.
  • a weak deblocking filter may be applied at the edge between two spatially adjacent blocks, if two blocks are predicted by inter prediction and two different weighting factors are applied to the two blocks to construct the motion compensated prediction.
  • a strong deblocking filter may be applied at the edge between two spatially adjacent blocks, if any one of the two blocks is predicted by intra prediction or the same weighting factor is applied to the two blocks to construct the motion compensated prediction.
  • a weak deblocking filter may be applied at the edge between two spatially adjacent blocks, if two blocks are predicted by bi-prediction and two different weighting factors are applied to the two blocks to construct the motion compensated prediction.
  • a weak deblocking filter may be applied at the edge between two spatially adjacent blocks, if two blocks are predicted by inter prediction and two different weighting factors are applied to the two blocks to construct the motion compensated prediction.
  • a boundary strength parameter may be set equal to one if the two blocks apply two different weighting factors to construct the motion compensated prediction.
  • a boundary strength parameter may be set to zero or one on the edge between two blocks if the two blocks apply the same weighting factor; wherein the inter prediction is bi-prediction.
  • the boundary strength parameter is used in the determination of application of deblocking filtering at said block edge.
  • FIG. 11 an overview block diagram of the inter-picture prediction is shown.
  • the motion data of a block is correlated with the neighboring blocks. To exploit this correlation, motion data is not directly coded in the bitstream but predictively coded based on neighboring motion data.
  • Fig. 12A is a flowchart of a deblocking method for use in an image encoding and/or an image decoding. The method starts at step 1201. In step 1201 a first image block and a second image block, for an image encoding and/or an image decoding are provided.
  • step 1202 in the case two different pairs of weighting factors are applied to the first image block and the second image block, a value of a boundary strength parameter associated with the block edge between the first image block and the second image block, is assigned or set as a first value; wherein the first block and the second block are predicted by Bi-prediction.
  • step 1203 deblocking filtering is performed, of values of samples near the block edge between the first image block and the second image block based on the first value of the boundary strength parameter.
  • Fig. 12B is a flowchart of another deblocking method for use in an image encoding and/or an image decoding.
  • the method starts at step 1251.
  • a first image block and a second image block, for an image encoding and/or an image decoding are provided.
  • the first image block and the second image block are predicted by Bi-prediction.
  • step 1252 it is specified that provided a specific condition or more than one conditions are met, the method continues in step 1253.
  • the one or more conditions to be met at least comprise: affirmatively determining that two different pairs of weighting factors are applied to the first image block and the second image block
  • step 1253 value of a boundary strength parameter associated with the block edge between the first image block and the second image block, is assigned or set as a first value.
  • step 1253 deblocking filtering at values of samples near the block edge between the first image block and the second image block is performed based on the first value of the boundary strength parameter.
  • Fig. 13 is a simplified block diagram of an apparatus 1300 that may be used as either or both of the source device 310 and the destination device 320 from Fig. 3 according to an exemplary embodiment.
  • Apparatus 1300 can implement techniques of this present application.
  • Apparatus 1300 can be in the form of a computing system including multiple computing devices, or in the form of a single computing device, for example, a mobile phone, a tablet computer, a laptop computer, a notebook computer, a desktop computer, and the like.
  • processor 1302 of apparatus 1300 can be a central processing unit.
  • processor 1302 can be any other type of device, or multiple devices, capable of manipulating or processing information now-existing or hereafter developed.
  • the disclosed implementations can be practiced with a single processor as shown, e.g., processor 1302, advantages in speed and efficiency can be achieved using more than one processor.
  • memory 1304 in the apparatus 1300 can be a read only memory (ROM) device or a random access memory (RAM) device in an implementation. Any other suitable type of storage device can be used as memory 1304.
  • Memory 1304 may be used to store code and/or data 1306 that is accessed by processor 1302 using bus 1312.
  • Memory 1304 can further be used to store operating system 1308 and application programs 1310.
  • Application programs 1310 may include at least one program that permits processor 1302 to perform the methods described here.
  • application programs 1310 can include applications 1 through N, and further include a video coding application that performs the methods described here.
  • Apparatus 1300 can also include additional memory in the form of secondary storage 1314, which can, for example, be a memory card used with a mobile computing device. Because the video communication sessions may contain a significant amount of information, they can be stored in whole or in part in storage 1314 and loaded into memory 1304 as needed for processing.
  • apparatus 1300 can also include one or more output devices, such as display 1318.
  • Display 1318 may be, in one example, a touch sensitive display that combines a display with a touch sensitive element operable to sense touch inputs.
  • Display 1318 can be coupled to processor 1302 via bus 1312.
  • Other output devices that permit a user to program or otherwise use apparatus 1300 can be provided in addition to or as an alternative to display 1318.
  • the output device is or includes a display
  • the display can be implemented in various ways, including by a liquid crystal display (LCD) , a cathode-ray tube (CRT) display, a plasma display or light emitting diode (LED) display, such as an organic LED (OLED) display.
  • LCD liquid crystal display
  • CRT cathode-ray tube
  • LED light emitting diode
  • OLED organic LED
  • Apparatus 1300 can also include or be in communication with image-sensing device 1320, for example a camera, or any other image-sensing device 1320 now existing or hereafter developed that can sense an image such as the image of a user operating apparatus 1300.
  • Image-sensing device 1320 can be positioned such that it is directed toward the user operating apparatus 1300.
  • the position and optical axis of image-sensing device 1320 can be configured such that the field of vision includes an area that is directly adjacent to display 1318 and from which display 1318 is visible.
  • Apparatus 1300 can also include or be in communication with sound-sensing device 1322, for example a microphone, or any other sound-sensing device now existing or hereafter developed that can sense sounds near apparatus 1300.
  • Sound-sensing device 1322 can be positioned such that it is directed toward the user operating apparatus 1300 and can be configured to receive sounds, for example, speech or other utterances, made by the user while the user operates apparatus 1300.
  • Fig. 13 depicts processor 1302 and memory 1304 of apparatus 1300 as being integrated into a single device, other configurations can be utilized.
  • the operations of processor 1302 can be distributed across multiple machines (each machine having one or more of processors) that can be coupled directly or across a local area or other network.
  • Memory 1304 can be distributed across multiple machines such as a network-based memory or memory in multiple machines performing the operations of apparatus 1300.
  • bus 1312 of apparatus 1300 may comprise multiple buses.
  • secondary storage 1314 can be directly coupled to the other components of apparatus 1300 or can be accessed via a network and can comprise a single integrated unit such as a memory card or multiple units such as multiple memory cards.
  • Apparatus 1300 can thus be implemented in a wide variety of configurations.
  • Fig. 14 is a schematic diagram of an example device 1400 for video coding according to an embodiment of the disclosure.
  • the device 1400 is suitable for implementing the disclosed embodiments as described herein.
  • the device 1400 may be a decoder such as video decoder 200 of Fig. 2 or an encoder such as video encoder 100 of Fig. 1.
  • the device 1400 may be one or more components of the video decoder 200 of Fig. 2 or the video encoder 100 of Fig. 1 as described above.
  • the device 1400 comprises ingress ports 1420 and receiver units (Rx) 1410 for receiving data; a processor, logic unit, or central processing unit (CPU) 1430 to process the data; transmitter units (Tx) 1440 and egress ports 1450 for transmitting the data; a memory 1460 for storing the data.
  • the device 1400 may also comprise optical-to-electrical (OE) components and electrical-to-optical (EO) components coupled to the ingress ports 1420, the receiver units 1410, the transmitter units 1440, and the egress ports 1450 for egress or ingress of optical or electrical signals.
  • the device 1400 may also include wireless transmitters and/or receivers in some examples.
  • the processor 1430 is implemented by hardware and software.
  • the processor 1430 may be implemented as one or more CPU chips, cores (e.g., as a multi-core processor) , field-programmable gate arrays (FPGAs) , application specific integrated circuits (ASICs) , and digital signal processors (DSPs) .
  • the processor 1430 is in communication with the ingress ports 1420, receiver units 1410, transmitter units 1440, egress ports 1450, and memory 1460.
  • the processor 1430 comprises a coding module 1414.
  • the coding module 1414 implements the disclosed embodiments described above. For instance, the coding module 1414 implements, processes, prepares, or provides the various coding operations.
  • the inclusion of the coding module 1414 therefore provides a substantial improvement to the functionality of the device 1400 and effects a transformation of the device 1400 to a different state.
  • the coding module 1414 is implemented as instructions stored in the memory 1460 and executed by the processor 1430 (e.g., as a computer program product stored on a non-transitory medium) .
  • the memory 1460 comprises one or more disks, tape drives, and solid-state drives and may be used as an over-flow data storage device, to store programs when such programs are selected for execution, and to store instructions and data that are read during program execution.
  • the memory 1460 may be volatile and/or non-volatile and may be read-only memory (ROM) , random access memory (RAM) , ternary content-addressable memory (TCAM) , and/or static random-access memory (SRAM) .
  • the device 1400 may also input/output (I/O) device for interacting with an end user.
  • the device 1400 may include a display, such as a monitor, for visual output, speakers for audio output, and a keyboard/mouse/trackball, etc. for user input.
  • Fig. 6 is a block diagram showing an example structure of a deblocking filter apparatus 600.
  • Said apparatus 600 includes an edge locating unit 603, said edge locating unit configured to determine a block edge between a first image block and a second image block, a deblocking determination unit 604 configured to determine whether two different pairs of weighting factors are applied to the first image block and the second image block, and in case the determination is affirmative configured to assign or set, a value of a boundary strength parameter associated with the block edge between the first image block and the second image block, as a first value; wherein the first block and the second block are predicted by Bi-prediction; and a deblocking filtering unit 606 configured to perform deblocking filtering of values of samples near the block edge between the first image block and the second image block based on the first value of the boundary strength parameter.
  • FIG. 17 is a block diagram showing a content supply system 3100 for realizing content distribution service.
  • This content supply system 3100 includes capture device 3102, terminal device 3106, and optionally includes display 3126.
  • the capture device 3102 communicates with the terminal device 3106 over communication link 3104.
  • the communication link may include the communication channel 13 described above.
  • the communication link 3104 includes but not limited to WIFI, Ethernet, Cable, wireless (3G/4G/5G) , USB, or any kind of combination thereof, or the like.
  • the capture device 3102 generates data, and may encode the data by the encoding method as shown in the above embodiments. Alternatively, the capture device 3102 may distribute the data to a streaming server (not shown in the Figures) , and the server encodes the data and transmits the encoded data to the terminal device 3106.
  • the capture device 3102 includes but not limited to camera, smart phone or Pad, computer or laptop, video conference system, PDA, vehicle mounted device, or a combination of any of them, or the like.
  • the capture device 3102 may include the source device 12 as described above. When the data includes video, the video encoder 20 included in the capture device 3102 may actually perform video encoding processing.
  • an audio encoder included in the capture device 3102 may actually perform audio encoding processing.
  • the capture device 3102 distributes the encoded video and audio data by multiplexing them together.
  • the encoded audio data and the encoded video data are not multiplexed.
  • Capture device 3102 distributes the encoded audio data and the encoded video data to the terminal device 3106 separately.
  • the terminal device 310 receives and reproduces the encoded data.
  • the terminal device 3106 could be a device with data receiving and recovering capability, such as smart phone or Pad 3108, computer or laptop 3110, network video recorder (NVR) /digital video recorder (DVR) 3112, TV 3114, set top box (STB) 3116, video conference system 3118, video surveillance system 3120, personal digital assistant (PDA) 3122, vehicle mounted device 3124, or a combination of any of them, or the like capable of decoding the above-mentioned encoded data.
  • the terminal device 3106 may include the destination device 14 as described above.
  • the encoded data includes video
  • the video decoder 30 included in the terminal device is prioritized to perform video decoding.
  • an audio decoder included in the terminal device is prioritized to perform audio decoding processing.
  • the terminal device can feed the decoded data to its display.
  • NVR network video recorder
  • DVR digital video recorder
  • TV 3114 TV 3114
  • PDA personal digital assistant
  • the terminal device can feed the decoded data to its display.
  • STB 3116, video conference system 3118, or video surveillance system 3120 an external display 3126 is contacted therein to receive and show the decoded data.
  • the picture encoding device /apparatus or the picture decoding device /apparatus can be used.
  • FIG. 18 is a diagram showing a structure of an example of the terminal device 3106.
  • the protocol proceeding unit 3202 analyzes the transmission protocol of the stream.
  • the protocol includes but not limited to Real Time Streaming Protocol (RTSP) , Hyper Text Transfer Protocol (HTTP) , HTTP Live streaming protocol (HLS) , MPEG-DASH, Real-time Transport protocol (RTP) , Real Time Messaging Protocol (RTMP) , or any kind of combination thereof, or the like.
  • RTSP Real Time Streaming Protocol
  • HTTP Hyper Text Transfer Protocol
  • HLS HTTP Live streaming protocol
  • MPEG-DASH Real-time Transport protocol
  • RTP Real-time Transport protocol
  • RTMP Real Time Messaging Protocol
  • stream file is generated.
  • the file is outputted to a demultiplexing unit 3204.
  • the demultiplexing unit 3204 can separate the multiplexed data into the encoded audio data and the encoded video data. As described above, for some practical scenarios, for example in the video conference system, the encoded audio data and the encoded video data are not multiplexed. In this situation, the encoded data is transmitted to video decoder 3206 and audio decoder 3208 without through the demultiplexing unit 3204.
  • video elementary stream (ES) ES
  • audio ES and optionally subtitle are generated.
  • the video decoder 3206 which includes the video decoder 30 as explained in the above-mentioned embodiments, decodes the video ES by the decoding method as shown in the above-mentioned embodiments to generate video frame, and feeds this data to the synchronous unit 3212.
  • the audio decoder 3208 decodes the audio ES to generate audio frame, and feeds this data to the synchronous unit 3212.
  • the video frame may store in a buffer (not shown in FIG. 18) before feeding it to the synchronous unit 3212.
  • the audio frame may store in a buffer (not shown in FIG. 18) before feeding it to the synchronous unit 3212.
  • the synchronous unit 3212 synchronizes the video frame and the audio frame, and supplies the video/audio to a video/audio display 3214.
  • the synchronous unit 3212 synchronizes the presentation of the video and audio information.
  • Information may code in the syntax using time stamps concerning the presentation of coded audio and visual data and time stamps concerning the delivery of the data stream itself.
  • the subtitle decoder 3210 decodes the subtitle, and synchronizes it with the video frame and the audio frame, and supplies the video/audio/subtitle to a video/audio/subtitle display 3216.
  • the present invention is not limited to the above-mentioned system, and either the picture encoding device or the picture decoding device in the above-mentioned embodiments can be incorporated into other system, for example, a car system.
  • memory shall be understood and/or shall comprise [listing of all possible memories] a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM) , or a random access memory (Random Access Memory, RAM) , ..., unless explicitly stated otherwise.
  • network shall be understood and/or shall comprise [listing of all possible memories] ..., unless explicitly stated otherwise.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the described apparatus embodiment is merely exemplary.
  • the unit division is merely logical function division and may be other division in actual implementation.
  • a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed.
  • the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented by using some interfaces.
  • the indirect couplings or communication connections between the apparatuses or units may be implemented in electronic, mechanical, or other forms.
  • the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • functional units in the embodiments of the present invention may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit.
  • Embodiments of the invention may further comprise an apparatus, e.g. encoder and/or decoder, which comprises a processing circuitry configured to perform any of the methods and/or processes described herein.
  • an apparatus e.g. encoder and/or decoder, which comprises a processing circuitry configured to perform any of the methods and/or processes described herein.
  • Embodiments may be implemented as hardware, firmware, software or any combination thereof.
  • the functionality of the encoder/encoding or decoder/decoding may be performed by a processing circuitry with or without firmware or software, e.g. a processor, a microcontroller, a digital signal processor (DSP) , a field programmable gate array (FPGA) , an application-specific integrated circuit (ASIC) , or the like.
  • a processing circuitry with or without firmware or software, e.g. a processor, a microcontroller, a digital signal processor (DSP) , a field programmable gate array (FPGA) , an application-specific integrated circuit (ASIC) , or the like.
  • DSP digital signal processor
  • FPGA field programmable gate array
  • ASIC application-specific integrated circuit
  • the functionality of the encoder 100 (and corresponding encoding method 100) and/or decoder 200 (and corresponding decoding method 200) may be implemented by program instructions stored on a computer readable medium.
  • the program instructions when executed, cause a processing circuitry, computer, processor or the like, to perform the steps of the encoding and/or decoding methods.
  • the computer readable medium can be any medium, including non-transitory storage media, on which the program is stored such as a Blu-ray disc, DVD, CD, USB (flash) drive, hard disc, server storage available via a network, etc.
  • An embodiment of the invention comprises or is a computer program comprising program code for performing any of the methods described herein, when executed on a computer.
  • An embodiment of the invention comprises or is a computer readable medium comprising a program code that, when executed by a processor, causes a computer system to perform any of the methods described herein.
  • 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. Also, any connection is properly termed a computer-readable medium.
  • coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) , or wireless technologies such as infrared, radio, and microwave are included in the definition of medium.
  • DSL digital subscriber line
  • 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 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.
  • a first aspect of a deblocking filter apparatus for use in an image encoder and/or an image decoder comprising: an edge locating unit, configured to determine edges between blocks, wherein the edges between blocks comprises a block edge between a first coding block P and a second coding block Q; a deblocking determination unit, configured to determine whether the block edge between the first coding block P and the second coding block Q is to be filtered by applying a deblocking filter, by determining whether different weighting factors are applied for the first coding block P and the second coding block Q respectively; and a deblocking filtering unit, configured to apply the deblocking filter to values of samples near the block edge between the first coding block P and the second coding block Q, when it is determined that different weighting factors are applied for the first coding block P and the second coding block Q respectively .
  • a second aspect of a filter apparatus wherein the deblocking determination unit is configured to determine the block edge between the first coding block P and the second coding block Q is to be filtered by applying a deblocking filter if the first coding block P and the second coding block Q apply two different weighting factors to construct the motion compensated prediction.
  • a third aspect of a filter apparatus wherein the deblocking determination unit is configured to determine the block edge between the first coding block P and the second coding block Q is to be filtered by applying a deblocking filter if different weighting factors are applied for the first coding block P and the second coding block Q respectively; or the deblocking determination unit is configured to determine the block edge between the first coding block P and the second coding block Q is not to be filtered by applying a deblocking filter if the same weighting factor is applied for the first coding block P and the second coding block Q.
  • a fourth aspect of a filter apparatus wherein the deblocking determination unit is configured to determine the block edge between the first coding block P and the second coding block Q is to be filtered by applying a deblocking filter if the same weighting factor is applied for the first coding block P and the second coding block Q; or the deblocking determination unit is configured to determine the block edge between the first coding block P and the second coding block Q is not to be filtered by applying a deblocking filter if the same weighting factor is applied for the first coding block P and the second coding block Q.
  • a sixth aspect of a filter apparatus wherein a weak deblocking filter is applied at the edge between two spatially adjacent blocks, if two blocks are predicted by inter prediction and two different weighting factors are applied to the two blocks to construct the motion compensated prediction.
  • a seventh aspect of a filter apparatus according to any one of the preceding of aspects, wherein a strong deblocking filter is applied at the edge between two spatially adjacent blocks, if any one of the two blocks is predicted by intra prediction or the same weighting factor is applied to the two blocks to construct the motion compensated prediction.
  • An eighth aspect of a filter apparatus wherein a weak deblocking filter is applied at the edge between two spatially adjacent blocks, if two blocks are predicted by bi-prediction and two different weighting factors are applied to the two blocks to construct the motion compensated prediction.
  • a ninth aspect of a filter apparatus wherein a weak deblocking filter is applied at the edge between two spatially adjacent blocks, if two blocks are predicted by inter prediction and two different weighting factors are applied to the two blocks to construct the motion compensated prediction.
  • a tenth aspect of a filter apparatus wherein at the edge between two spatially adjacent blocks, if both two blocks apply inter prediction, a boundary strength parameter is set equal to one if the two blocks apply two different weighting factors to construct the motion compensated prediction.
  • a fourteenth aspect of a video encoding apparatus for encoding a picture of a video stream wherein the video encoding apparatus comprises: a reconstruction unit configured to reconstruct the picture; and a filter apparatus according to any one of the first to thirteenth aspects for processing the reconstructed picture into a filtered reconstructed picture.
  • a fifteenth aspect of a deblocking method for use in an image encoding and/or an image decoding comprising: determining edges between blocks, wherein the edges between blocks comprises a block edge between a first coding block P and a second coding block Q; determining whether the block edge between the first coding block P and the second coding block Q is to be filtered by applying a deblocking filter, by determining whether different weighting factors are applied for the first coding block P and the second coding block Q respectively; and applying the deblocking filter to values of samples near the block edge between the first coding block P and the second coding block Q, when it is determined that different weighting factors are applied for the first coding block P and the second coding block Q respectively .
  • a sixteenth aspect of a method according to the fifteenth aspect wherein the step of determining whether the block edge between the first coding block P and the second coding block Q is to be filtered by applying a deblocking filter, by determining whether different weighting factors are applied for the first coding block P and the second coding block Q respectively, comprising: determining the block edge between the first coding block P and the second coding block Q is to be filtered by applying a deblocking filter if the first coding block P and the second coding block Q apply two different weighting factors to construct the motion compensated prediction.
  • a seventeenth aspect of a method according to the method of the fifteenth or sixteenth aspect wherein the step of determining whether the block edge between the first coding block P and the second coding block Q is to be filtered by applying a deblocking filter, by determining whether different weighting factors are applied for the first coding block P and the second coding block Q respectively, comprising: determining the block edge between the first coding block P and the second coding block Q is to be filtered by applying a deblocking filter if different weighting factors are applied for the first coding block P and the second coding block Q respectively; or determining the block edge between the first coding block P and the second coding block Q is not to be filtered by applying a deblocking filter if the same weighting factor is applied for the first coding block P and the second coding block Q.
  • a nineteenth aspect of a method of any one of the of the preceding aspects wherein at the edge between two spatially adjacent blocks which apply bi-prediction, deblocking filter is applied if the two blocks apply two different weighting factors to construct the motion compensated prediction.
  • a twenty-third aspect of a method of any one of the of the preceding aspects wherein at the edge between two spatially adjacent blocks, if both two blocks apply inter prediction, a boundary strength parameter is set equal to one if the two blocks apply two different weighting factors to construct the motion compensated prediction.
  • a twenty-fourth aspect of a method of any one of the of the preceding aspects wherein at the edge between two spatially adjacent blocks, if both two blocks apply inter prediction, a boundary strength parameter is set to zero or one on the edge between two blocks if the two blocks apply the same weighting factor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

La présente invention se rapporte au domaine du traitement d'image. En particulier, l'invention concerne l'amélioration du filtre de déblocage d'un dispositif de traitement d'image. Dans le cas où deux paires différentes de facteurs de pondération sont appliquées au premier bloc d'image et au second bloc d'image, une valeur d'un paramètre de force limite associé au bord de bloc entre le premier bloc d'image et le second bloc d'image est attribuée ou définie en tant que première valeur. Le premier bloc et le second bloc sont prédits par bi-prédiction. Un filtrage de déblocage de valeurs d'échantillons à proximité du bord de bloc est effectué entre le premier bloc d'image et le second bloc d'image sur la base de la première valeur du paramètre de force de limite.
PCT/CN2019/110028 2018-10-08 2019-10-08 Dispositif et procédé de traitement d'image pour effectuer un déblocage WO2020073904A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201862742913P 2018-10-08 2018-10-08
US62/742,913 2018-10-08

Publications (1)

Publication Number Publication Date
WO2020073904A1 true WO2020073904A1 (fr) 2020-04-16

Family

ID=70164777

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/110028 WO2020073904A1 (fr) 2018-10-08 2019-10-08 Dispositif et procédé de traitement d'image pour effectuer un déblocage

Country Status (1)

Country Link
WO (1) WO2020073904A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021209065A1 (fr) * 2020-04-18 2021-10-21 Beijing Bytedance Network Technology Co., Ltd. Restrictions d'utilisation pour la prédiction de composant transversal
US11496751B2 (en) 2019-11-01 2022-11-08 Beijing Bytedance Network Technology Co., Ltd. Derivation of linear parameter in cross-component video coding
WO2023061334A1 (fr) * 2021-10-11 2023-04-20 Beijing Bytedance Network Technology Co., Ltd. Procédé, dispositif et support de traitement vidéo

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101389016A (zh) * 2007-09-13 2009-03-18 华为技术有限公司 获得块边界强度和去除块效应的方法和装置
US20110097004A1 (en) * 2009-10-28 2011-04-28 Samsung Electronics Co., Ltd. Method and apparatus for encoding/decoding image with reference to a plurality of frames
US20140003522A1 (en) * 2009-12-20 2014-01-02 Lg Electronics Inc. Video signal decoding method and device
US20150156516A1 (en) * 2011-09-20 2015-06-04 Lg Electronics Inc. Method and apparatus for encoding/decoding image information
US20180103274A1 (en) * 2015-06-11 2018-04-12 Huawei Technologies Co., Ltd. Deblocking filtering method and deblocking filter

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101389016A (zh) * 2007-09-13 2009-03-18 华为技术有限公司 获得块边界强度和去除块效应的方法和装置
US20110097004A1 (en) * 2009-10-28 2011-04-28 Samsung Electronics Co., Ltd. Method and apparatus for encoding/decoding image with reference to a plurality of frames
US20140003522A1 (en) * 2009-12-20 2014-01-02 Lg Electronics Inc. Video signal decoding method and device
US20150156516A1 (en) * 2011-09-20 2015-06-04 Lg Electronics Inc. Method and apparatus for encoding/decoding image information
US20180103274A1 (en) * 2015-06-11 2018-04-12 Huawei Technologies Co., Ltd. Deblocking filtering method and deblocking filter

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11496751B2 (en) 2019-11-01 2022-11-08 Beijing Bytedance Network Technology Co., Ltd. Derivation of linear parameter in cross-component video coding
WO2021209065A1 (fr) * 2020-04-18 2021-10-21 Beijing Bytedance Network Technology Co., Ltd. Restrictions d'utilisation pour la prédiction de composant transversal
US11902529B2 (en) 2020-04-18 2024-02-13 Beijing Bytedance Network Technology Co., Ltd. Syntax for signaling cross-component video coding
US11936873B2 (en) 2020-04-18 2024-03-19 Beijing Bytedance Network Technology Co., Ltd. Cross-component coding of 4:2:0 or 4:2:2 video
WO2023061334A1 (fr) * 2021-10-11 2023-04-20 Beijing Bytedance Network Technology Co., Ltd. Procédé, dispositif et support de traitement vidéo

Similar Documents

Publication Publication Date Title
JP7328328B2 (ja) コーディングブロックの三角形パーティションのインター予測のための装置および方法
US11765383B2 (en) Video decoder and methods
CA3122137C (fr) Codeur, decodeur et procedes correspondants de derivation d'intensite de limite de filtre de deblocage
US11683533B2 (en) Apparatus and method for deblocking filter in video coding
WO2020253830A1 (fr) Dérivation de pondération d'échantillon de chrominance pour mode de partition géométrique
WO2020147782A1 (fr) Encodeur, décodeur et procédés d'adaptation de filtre de dégroupage correspondants
WO2020073904A1 (fr) Dispositif et procédé de traitement d'image pour effectuer un déblocage
US11303902B2 (en) Line buffer for spatial motion vector predictor candidates
US20210352284A1 (en) Apparatus and method for performing deblocking
WO2021057629A1 (fr) Appareil et procédé permettant d'effectuer un déblocage
CN114503558A (zh) 插值滤波器在仿射运动补偿中的适应性使用
WO2020073969A1 (fr) Dispositif de traitement d'image et procédé permettant d'effectuer un déblocage

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

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

Country of ref document: EP

Kind code of ref document: A1