IP Library › Granted Patent US 12,432,345
Granted Patent B2
US 12,432,345 · App. 17/524,477 · Granted Sep 30, 2025

Boundary strength determination for deblocking filters in video processing

Inventors: Li Zhang (San Diego, CA); Weijia Zhu (San Diego, CA); Kai Zhang (San Diego, CA); Hongbin Liu (Beijing, CN); Jizheng Xu (San Diego, CA)
Assignee: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
H04N19/117H04N19/132H04N19/159H04N19/176H04N19/1883H04N19/635H04N19/82
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,432,345
App. No.
17/524,477
Granted
Sep 30, 2025
Kind
B2
Abstract

A method for visual media processing is disclosed. The method includes determining whether a pair of adjacent blocks of visual media data are both intra block copy (IBC) coded and selectively applying, based on the determination, a deblocking filter (DB) process by identifying a boundary at a vertical edge and/or a horizontal edge of the pair of adjacent blocks. The method further includes calculating a boundary strength of a filter, deciding whether to turn on or off the filter, and selecting a strength of the filter in case the filter is turned on. The boundary strength of the filter is dependent on a motion vector difference between motion vectors associated with the pair of adjacent blocks.

Claims (61)

1. A method for visual media processing, comprising:

selectively applying, for a conversion between a current video block and a bitstream of a visual media data and based on a first determining, wherein the conversion includes encoding the current video block into the bitstream or decoding the current video block from the bitstream, a deblocking filter (DB) process by:

identifying a first range of the visual media data,

calculating a boundary strength of the first range,

deciding whether to turn on or off a first deblocking filter based on the boundary strength of the first range, and

wherein the boundary strength is independent of a motion vector difference between motion vectors associated with a pair of adjacent blocks of the visual media data, wherein the first determining includes determining whether the pair of adjacent blocks of visual media data are both intra block copy (IBC) coded, wherein the first range includes a boundary at a vertical edge and/or a horizontal edge of the pair of adjacent blocks of the visual media data; and

applying, based on a second determining, the DB process by:

identifying a second range of the visual media data,

calculating a boundary strength of the second range,

deciding whether to turn on or off a second deblocking filter based on the boundary strength of the second range, and

performing the conversion based on a first deblocking filter strength of the first deblocking filter when the first deblocking filter is turned on and based on a second deblocking filter strength of the second deblocking filter when the second deblocking filter is turned on,

wherein the second determining includes determining one or more sub-regions within the current video block of the visual media data, and wherein the second range includes boundaries of the one or more sub-regions within the current video block at vertical and/or horizontal edges; and

wherein, upon determining that the pair of adjacent blocks are both IBC coded, the boundary strength is selected as M in case the pair of adjacent blocks are both intra block copy (IBC) coded regardless of the motion vector difference and regardless of whether a non-zero coefficient is associated with the pair of adjacent blocks, and wherein M is selected from a group consisting of 0, 1, and 2.

2. The method of claim 1 , wherein the deblocking filter (DB) process is skipped at boundaries of the pair of adjacent blocks which are both IBC-coded blocks.

3. The method of claim 1 , wherein the deblocking filter (DB) process is skipped for samples of an IBC-coded block.

4. The method of claim 1 , wherein the current video block makes use of a decoder-side motion refinement coding tool.

5. The method of claim 4 , wherein the decoder-side motion refinement coding tool includes a decoder-side motion vector refinement (DMVR) technique, a prediction refinement with optical flow (PROF) technique, or a Bi-directional optical flow (BDOF) technique.

6. The method of claim 4 , wherein the one or more sub-regions within the current video block are defined based on sub-blocks on which the decoder-side motion refinement coding tool is applied, wherein the sub-blocks are included within the current video block.

7. The method of claim 1 , wherein the one or more sub-regions are sub-blocks of the current video block and have size M×N, wherein M=16 or 64 and N=16 or 64.

8. The method of claim 1 , wherein the DB process is selectively applied on a subset of the boundaries of the one or more sub-regions within the current video block.

9. The method of claim 1 , wherein the DB process is selectively applied on the boundaries of the one or more sub-regions within the current video block based upon a location of the one or more sub-regions relative to the current video block.

10. The method of claim 9 , further comprising:

optionally, turning one or more of the first deblocking filter and the second deblocking filter on for samples located at one or more bottom boundaries of a sub-region, wherein the one or more bottom boundaries of the sub-region is same as a bottom boundary of a coding tree unit (CTU) associated with the current video block,

optionally, turning one or more of the first deblocking filter and the second deblocking filter off for samples located at the one or more bottom boundaries of the sub-region, wherein the one or more bottom boundaries of the sub-region is same as the bottom boundary of the CTU associated with the current video block,

optionally, turning one or more of the first deblocking filter and the second deblocking filter on for samples located at one or more right boundaries of a sub-region, wherein the one or more bottom boundaries of the sub-region is same as the bottom boundary of the CTU associated with the current video block,

optionally, turning one or more of the first deblocking filter and the second deblocking filter off for samples located at the one or more right boundaries of the sub-region, wherein the one or more bottom boundaries of the sub-region is same as the bottom boundary of the CTU associated with the current video block,

optionally, turning one or more of the first deblocking filter and the second deblocking filter on for samples located at the one or more right boundaries of the sub-region, wherein the one or more bottom boundaries of the sub-region is different from the bottom boundary of the CTU associated with the current video block,

optionally, turning one or more of the first deblocking filter and the second deblocking filter off for samples located at the one or more right boundaries of the sub-region, wherein the one or more bottom boundaries of the sub-region is different from the bottom boundary of the CTU associated with the current video block.

11. The method of claim 1 , wherein the DB process further includes:

selectively using refined motion information or unrefined motion information for the one or more sub-regions within the current video block based upon a location of the one or more sub-regions relative to the current video block.

12. The method of claim 11 , wherein using the refined motion information on samples located at one or more right boundaries of a sub-region, wherein one or more bottom boundaries of the sub-region is different from a bottom boundary of a coding tree unit (CTU) associated with the current video block.

13. The method of claim 11 , wherein using the unrefined motion information on samples located at one or more right boundaries of a sub-region, wherein one or more bottom boundaries of the sub-region is different from a bottom boundary of a coding tree unit (CTU) associated with the current video block.

14. An apparatus for processing video data comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:

apply, for a conversion between a current video block and a bitstream of a visual media data and based on a first determining, wherein the conversion includes encoding the current video block into the bitstream or decoding the current video block from the bitstream, a deblocking filter (DB) process by:

identifying a first range of visual media data,

calculating a boundary strength of the first range,

deciding whether to turn on or off a first deblocking filter based on the boundary strength of the first range, and

wherein the boundary strength is independent of a motion vector difference between motion vectors associated with a pair of adjacent blocks of the visual media data, wherein the first determining includes determining whether the pair of adjacent blocks of the visual media data are both intra block copy (IBC) coded, wherein the first range includes a boundary at a vertical edge and/or a horizontal edge of the pair of adjacent blocks of the visual media data; and

apply, based on a second determining, the DB process by:

identifying a second range of the visual media data,

calculating a boundary strength of the second range,

deciding whether to turn on or off a second deblocking filter based on the boundary strength of the second range, and

performing the conversion based on a first deblocking filter strength of the first deblocking filter when the first deblocking filter is turned on and based on a second deblocking filter strength of the second deblocking filter when the second deblocking filter is turned on,

wherein the second determining includes determining one or more sub-regions within the current video block of the visual media data, and wherein the second range includes boundaries of the one or more sub-regions within the current video block at vertical and/or horizontal edges; and

wherein, upon determining that the pair of adjacent blocks are both IBC coded, the boundary strength is selected as M in case the pair of adjacent blocks are both intra block copy (IBC) coded regardless of the motion vector difference and regardless of whether a non-zero coefficient is associated with the pair of adjacent blocks, and wherein M is selected from a group consisting of 0, 1, and 2.

15. The apparatus of claim 14 , wherein the current video block makes use of a decoder-side motion refinement coding tool.

16. A non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by a video processing apparatus, wherein the method comprises:

applying, for a current video block and based on a first determining, a deblocking filter (DB) process by:

identifying a first range of visual media data,

calculating a boundary strength of the first range,

deciding whether to turn on or off a first deblocking filter based on the boundary strength of the first range, and

wherein the boundary strength is independent of a motion vector difference between motion vectors associated with a pair of adjacent blocks of the visual media data;

applying, based on a second determining, the DB process by:

identifying a second range of the visual media data,

calculating the boundary strength of the second range,

deciding whether to turn on or off a second deblocking filter based on the boundary strength of the second range, and

performing the conversion based on a first deblocking filter strength of the first deblocking filter when the first deblocking filter is turned on and based on a second deblocking filter strength of the second deblocking filter when the second deblocking filter is turned on,

wherein the second determining includes determining one or more sub-regions within the current video block of the visual media data, and wherein the second range includes boundaries of the one or more sub-regions within the current video block at vertical and/or horizontal edges; and

generating the bitstream based on applying the DB process, wherein the generating includes encoding the current video block into the bitstream,

wherein the first determining includes determining whether a pair of adjacent blocks of the visual media data are both intra block copy (IBC) coded, wherein the first range includes a boundary at a vertical edge and/or a horizontal edge of the pair of adjacent blocks of the visual media data; and

wherein, upon determining that the pair of adjacent blocks are both IBC coded, the boundary strength is selected as M in case the pair of adjacent blocks are both intra block copy (IBC) coded regardless of the motion vector difference and regardless of whether a non-zero coefficient is associated with the pair of adjacent blocks, and wherein M is selected from a group consisting of 0, 1, and 2.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 11, 2021
From: ZHANG, LI; ZHU, WEIJIA; ZHANG, KAI; XU, JIZHENG
To: BYTEDANCE INC.
Reel/Frame 058091/0437 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 11, 2021
From: LIU, HONGBIN
To: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
Reel/Frame 058091/0513 →
Priority Claims (2)
WO PCT/CN2019/086488 · May 11, 2019 · international
WO PCT/CN2019/094965 · Jul 7, 2019 · international
Continuity (2)
Continuation PCTCN2020089558 · May 11, 2020
Related Publication 20220070455A1 · Mar 3, 2022
References Cited (77)
US 8085845B2 · Tourapis et al. · 2011 [cited by applicant]
US 9137547B2 · Van et al. · 2015 [cited by applicant]
US 9538200B2 · Van et al. · 2017 [cited by applicant]
US 9723331B2 · Van et al. · 2017 [cited by applicant]
US 10298961B2 · Rosewarne · 2019 [cited by examiner]
US 10321130B2 · Dong et al. · 2019 [cited by applicant]
US 10582213B2 · Li et al. · 2020 [cited by applicant]
US 10708591B2 · Zhang et al. · 2020 [cited by applicant]
US 10708592B2 · Dong et al. · 2020 [cited by applicant]
US 10743034B2 · Xu · 2020 [cited by examiner]
US 11019359B2 · Xu · 2021 [cited by examiner]
US 11758131B2 · Andersson · 2023 [cited by examiner]
US 20120082219A1 · Sun et al. · 2012 [cited by applicant]
US 20130107973A1 · Wang et al. · 2013 [cited by applicant]
US 20130266061A1 · An et al. · 2013 [cited by applicant]
US 20140169478A1 · Guo et al. · 2014 [cited by applicant]
US 20140321552A1 · He et al. · 2014 [cited by applicant]
US 20140369428A1 · Park et al. · 2014 [cited by applicant]
US 20150189329A1 · Wada · 2015 [cited by applicant]
US 20150373362A1 · Pang · 2015 [cited by examiner]
US 20160100163A1 · Rapaka · 2016 [cited by examiner]
US 20190230353A1 · Gadde et al. · 2019 [cited by applicant]
US 20190238845A1 · Zhang et al. · 2019 [cited by applicant]
US 20190268594A1 · Lim et al. · 2019 [cited by applicant]
US 20200177910A1 · Li et al. · 2020 [cited by applicant]
US 20200329238A1 · Choi et al. · 2020 [cited by applicant]
US 20200404258A1 · Wang et al. · 2020 [cited by applicant]
US 20210120239A1 · Zhu et al. · 2021 [cited by applicant]
US 20210337239A1 · Zhang et al. · 2021 [cited by applicant]
US 20210409699A1 · Andersson et al. · 2021 [cited by applicant]
US 20210409701A1 · Zhu et al. · 2021 [cited by applicant]
US 20220070454A1 · Zhang et al. · 2022 [cited by applicant]
US 20230032798A1 · Zhang · 2023 [cited by examiner]
US 20230090641A1 · Na · 2023 [cited by examiner]
US 20230099893A1 · Xu · 2023 [cited by examiner]
CN 101517909A · 2009 [cited by applicant]
CN 103491373A · 2014 [cited by applicant]
CN 103931185A · 2014 [cited by applicant]
CN 104025590A · 2014 [cited by applicant]
CN 106464866A · 2017 [cited by applicant]
CN 107172423A · 2017 [cited by applicant]
CN 107925773A · 2018 [cited by applicant]
KR 20130090465A · 2013 [cited by applicant]
WO 2016043933A1 · 2016 [cited by applicant]
WO 2018132043A1 · 2018 [cited by applicant]
WO 2018180841A1 · 2018 [cited by applicant]
WO 2020114513A1 · 2020 [cited by applicant]
Andersson et al. “CE11-related: On MV Threshold for Deblocking,” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11 14th Meeting: Geneva, CH, Mar. 19-27, 2019, document JVET-N0359, 2019. [cited by applicant]
Chen et al. “Algorithm Description of Joint Exploration Test Model 7 (JEM 7),” Joint Video Exploration Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 7th Meeting: Torino, IT, Jul. 13-21, 2017, document J… [cited by applicant]
Chen et al. “CE4: Affine Merge Enhancement with Simplification (Test 4.2.2),” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11 12th Meeting: Macao, CN, Oct. 3-12, 2018, document JVET-L03… [cited by applicant]
Chen et al. “CE4: Separate List for Sub-Block Merge Candidates (Test 4.2.8),” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11 12th Meeting: Macao, CN, Oct. 3-12, 2018, document JVET-L03… [cited by applicant]
De-Luxan-Hernandez et al. “CE3: Intra Sub-Partitions Coding Mode (Tests 1.1.1 and 1.1.2),” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 13th Meeeting, Marrakech, MA, Jan. 9-18, 2019… [cited by applicant]
Ikeda et al. “CE11.1.6, CE11.1.7 and CE11.1.8: Joint Proposals for Long Deblocking from Sony, Qualcomm, Sharp, Ericsson,” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11 13th Meeting: M… [cited by applicant]
“Information Technology—High Efficiency Coding and Media Delivery in Heterogeneous Environments—Part 2: High Efficiency Video Coding” Apr. 20, 2018, ISO/DIS 23008, 4th Edition. [cited by applicant]
Koo et al. “CE6-2.1: Reduced Secondary Transform (RST),” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 12th Meeting, Macao, CN, Oct. 3-12, 2018, document JVET-L0133, 2018. [cited by applicant]
Koo et al. “CE6: Reduced Secondary Transform (RST) (CE6-3.1),” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 14th Meeting, Geneva, CH, Mar. 19-27, 2019, document JVET-N0193, 2019. [cited by applicant]
Lainema, Jani. “CE7: Joint Coding of Chrominance Residuals (CE7-1),” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 14th Meeting, Geneva, CH. Mar. 19-27, 2019, document JVET-N0054, 20… [cited by applicant]
Liao et al. “CE10.3.1.b: Triangular Prediction Unit Mode,” Joint Video Exploration Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11 12th Meeting: Macao, CN, Oct. 3-12, 2018, document JVET-L0124, 2018. [cited by applicant]
Luo et al. “CE2-related: Prediction Refinement with Optical Flow for Affine Mode,” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11 14th Meeting: Geneva, CH, Mar. 19-27, 2019, document J… [cited by applicant]
Pfaff et al. “CE3: Affine Linear Weighted Intra Prediciton (CE3-4.1, CE3-4.2),” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 14th Meeting, Geneva, CH, Mar. 19-27, 2019, document JVE… [cited by applicant]
Salehifar et al. “CE 6.2.6: Reduced Secondary Transform (RST),” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 11th Meeting, Ljubljana, SI, Jul. 10-18, 2018, document JVET-K0099, 2018. [cited by applicant]
Sethuraman et al. “CE9-Related: Results for Use of DMVR Refined MVs from Top and Top-Left CTUs for Spatial MV Prediction and CU Boundary De-Blocking,” oint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1… [cited by applicant]
Strom et al. “Bilateral Filter Strength Based on Prediction Mode,” Joint Video Exploration Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11 5th Meeting: Geneva, CH, Jan. 12-20, 2017, document JVET-E0032, 20… [cited by applicant]
JEM-7.0: https://jvet.hhi.fraunhofer.de/svn/svn_HMJEMSoftware/tags/ HM-16.6-JEM-7.0. [cited by applicant]
International Search Report and Written Opinion from International Patent Application No. PCT/CN2020/089557 dated Aug. 13, 2020 (10 pages). [cited by applicant]
International Search Report and Written Opinion from International Patent Application No. PCT/CN2020/089558 dated Aug. 11, 2020 (11 pages). [cited by applicant]
Non Final Office Action from U.S. Appl. No. 17/523,131 dated Feb. 10, 2022. [cited by applicant]
Andersson et al. “Deblocking for Multi-Hypothesis Intra Inter Prediction” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11 13th Meeting: Marrakech, MA, Jan. 9-18, 2019, document JVET-M01… [cited by applicant]
Office Action from Chinese Patent Application No. 202080035419.4 mailed Mar. 30, 2023. [cited by applicant]
Andersson et al. “CE5-1.1.1: DMVR Deblocking, CE5-1.1.2: DMVR Restricted Deblocking and CE5-1.1.3: DMVR off,” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11 16th Meeting: Geneva, CH, O… [cited by applicant]
Unno et al. “Non-CE5: Deblocking Filter at PROF Sub-Block Boundary,” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11 16th Meeting: Geneva, CH, Oct. 1-11, 2019, document JVET-P0547, 2019… [cited by applicant]
Bross et al. “Versatile Video Coding (Draft 5),” oint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11 14th Meeting: Geneva, CH, Mar. 19-27, 2019, document JVET-N1001, 2019. [cited by applicant]
Communication Pursuant to Article 94(3) EPC from European Patent Application No. 20805536.8 dated Feb. 21, 2024 (7 pages). [cited by applicant]
Chen et al. “Algorithm Description for Versatile Video Coding and Test Model 4 (VTM 4),” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11 13th Meeting: Marrakech, MA, Jan. 9-18, 2019, do… [cited by applicant]
Wang et al. “CE10-Related: Modification for Blocks Applied with Combined Inter-Intra Prediction,” Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11 13th Meeting: Marrakesh, Morocco, Jan. … [cited by applicant]
Extended European Search Report from European Patent Application No. 20805536.8 dated May 16, 2022 (8 pages). [cited by applicant]
Examination Report from Indian Patent Application No. 202127051733 dated May 17, 2022 (7 pages). [cited by applicant]