IP Library Granted Patent US 12,445,616
Granted Patent B2
US 12,445,616 · App. 18/741,097 · Granted Oct 14, 2025

Video decoding method and video decoder

Inventors: Huanbang Chen (Shenzhen, CN); Haitao Yang (Shenzhen, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04N19/13H04N19/159H04N19/176H04N19/52H04N19/70
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,445,616
App. No.
18/741,097
Granted
Oct 14, 2025
Kind
B2
Abstract

A video decoding method includes obtaining a to-be-entropy-decoded syntax element in a current block by parsing a received bitstream, where the to-be-entropy-decoded syntax element includes a syntax element 1 or a syntax element 2 in the current block, obtaining a context model corresponding to the to-be-entropy-decoded syntax element, where both of a context model corresponding to the syntax element 1 and a context model corresponding to the syntax element 2 are determined from the same preset context model set, entropy decoding the to-be-entropy-decoded syntax element based on the context model corresponding to the to-be-entropy-decoded syntax element, and obtaining a reconstructed image of the current block based on the syntax element obtained by entropy decoding.

Claims (49)

1. A method comprising:

parsing a received bitstream to obtain information corresponding to a quantized coefficient and to a to-be-entropy-decoded syntax element in a current block, wherein the to-be-entropy-decoded syntax element comprises a first syntax element or a second syntax element, and wherein either the first syntax element is a first flag indicating whether a subblock-based merge mode is used for the current block or the second syntax element is a second flag indicating whether an affine motion model-based advanced motion vector prediction (AMVP) mode is used for the current block when a slice in which the current block is located is a P-type slice or a B-type slice;

obtaining a first context model corresponding to the to-be-entropy-decoded syntax element;

performing entropy decoding on the to-be-entropy-decoded syntax element based on the first context model;

obtaining the quantized coefficient based on the information;

performing inverse quantization on the quantized coefficient to obtain an inverse quantized coefficient;

performing prediction processing on the current block based on a third syntax element that is in the current block and that is based on entropy decoding in order to obtain a prediction block of the current block; and

obtaining a reconstructed image of the current block based on the prediction block and the inverse quantized coefficient.

2. The method of claim 1 , wherein a second context model corresponding to the first syntax element is based on a preset context model set by determining a first context index of the first syntax element based on a fourth syntax element and a fifth syntax element in a left neighboring block of the current block and a sixth syntax element and a seventh syntax element in an upper neighboring block of the current block, and wherein the first context index indicates the second context model.

3. The method of claim 1 , wherein a third context model corresponding to the second syntax element is based on a preset context model set by determining a second context index of the second syntax element in the current block based on a fourth syntax element and a fifth syntax element in a left neighboring block of the current block and a sixth syntax element and a seventh syntax element in an upper neighboring block of the current block, and wherein the second context index indicates the third context model.

4. A video decoding device, comprising:

a non-transitory memory storage configured to store video data in a form of a bitstream, wherein the bitstream comprises information corresponding to a quantized coefficient and to a to-be-entropy-decoded syntax element in a current block, and wherein the to-be-entropy-decoded syntax element comprises a first syntax element or a second syntax element, and wherein either the first syntax element is a first flag indicating whether a subblock-based merge mode is used for the current block or the second syntax element is a second flag indicating whether an affine motion model-based advanced motion vector prediction (AMVP) mode is used for the current block when a slice in which the current block is located is a P-type slice or a B-type slice; and

a video decoder coupled to the non-transitory memory storage and configured to:

parse the bitstream to obtain the information corresponding to the quantized coefficient and to the to-be-entropy-decoded syntax element;

obtain a first context model corresponding to the to-be-entropy-decoded syntax element;

perform entropy decoding on the to-be-entropy-decoded syntax element based on the first context model;

obtain the quantized coefficient based on the information;

perform inverse quantization on the quantized coefficient to obtain an inverse quantized coefficient;

perform prediction processing on the current block based on a third syntax element that is in the current block and that is based on entropy decoding in order to obtain a prediction block of the current block; and

obtain a reconstructed image of the current block based on the prediction block and the inverse quantized coefficient.

5. The video decoding device of claim 4 , wherein the video decoder is further configured to determine a first context index of the first syntax element based on a fourth syntax element and a fifth syntax element in a left neighboring block of the current block and a sixth syntax element and a seventh syntax element in an upper neighboring block of the current block, and wherein the first context index indicates a second context model corresponding to the first syntax element and based on a preset context model set.

6. The video decoding device of claim 4 , wherein the video decoder is further configured to determine a second context index of the second syntax element based on a fourth syntax element and a fifth syntax element in a left neighboring block of the current block and a sixth syntax element and a seventh syntax element in an upper neighboring block of the current block, and wherein the second context index indicates a third context model corresponding to the second syntax element based on a preset context model set.

7. A video encoding device comprising:

one or more memories configured to store programming instructions; and

one or more processors coupled to the one or more memories and configured to execute the programming instructions to cause the video encoding device to:

obtain a quantized coefficient by performing quantization;

obtain a to-be-entropy-encoded syntax element in a current block, wherein the to-be-entropy-encoded syntax element in the current block comprises a first syntax element or a second syntax element, and wherein either the first syntax element is a first flag indicating whether a subblock-based merge mode is used for the current block or the second syntax element is a second flag indicating whether an affine motion model-based advanced motion vector prediction (AMVP) mode is used for the current block when a slice in which the current block is located is a P-type slice or a B-type slice;

obtain a first context model corresponding to the to-be-entropy-encoded syntax element;

perform entropy encoding on the to-be-entropy-encoded syntax element based on the first context model;

generate a bitstream, wherein the bitstream comprises information corresponding to the quantized coefficient and comprises entropy encoded syntax element corresponding to the to-be-entropy-encoded syntax element; and

transmit the bitstream to a video decoding device.

8. The video encoding device of claim 7 , wherein the one or more processors further cause the video encoding device to determine a first context index of the first syntax element based on a third syntax element and a fourth syntax element in a left neighboring block of the current block and a fifth syntax element and a sixth syntax element in an upper neighboring block of the current block, and wherein the first context index indicates a second context model corresponding to the first syntax element and based on a preset context model set.

9. The video encoding device of claim 7 , wherein the one or more processors further cause the video encoder to determine a second context index of the second syntax element based on a third syntax element and a fourth syntax element in a left neighboring block of the current block and a fifth syntax element and a sixth syntax element in an upper neighboring block of the current block, and wherein the second context index indicates a third context model corresponding to the second syntax element and based on a preset context model set.

10. A non-transitory storage medium storing an encoded bitstream for video signals, wherein the encoded bitstream comprises:

information corresponding to a quantized coefficient based on performing quantization; and

a to-be-entropy-decoded syntax element in a current block,

wherein the to-be-entropy-decoded syntax element comprises a first syntax element or a second syntax element,

wherein both of a first context model corresponding to the first syntax element and a second context model corresponding to the second syntax element are based on a same preset context model set, and

wherein either the first syntax element is a first flag indicating whether a subblock-based merge mode is used for the current block or the second syntax element is a second flag indicating whether an affine motion model-based advanced motion vector prediction (AMVP) mode is used for the current block when a slice in which the current block is located is a P-type slice or a B-type slice.

11. The non-transitory storage medium of claim 10 , wherein the first context model is determined based on a third syntax element and a fourth syntax element in a left neighboring block of the current block and a fifth syntax element and a sixth syntax element in an upper neighboring block of the current block, and wherein a first context index of the first syntax element indicates the context model corresponding to the first syntax element.

12. The non-transitory storage medium of claim 10 , wherein the second context model is determined based on a third syntax element and a fourth syntax element in a left neighboring block of the current block and a fifth syntax element and a sixth syntax element in an upper neighboring block of the current block, and wherein a first context index of the first syntax element indicates the context model corresponding to the first syntax element.

13. The method of claim 1 , wherein the AMVP mode comprises a translational model-based AMVP mode.

14. The method of claim 1 , wherein the AMVP mode comprises a non-translational model-based AMVP mode.

15. The video decoding device of claim 4 , wherein the AMVP mode comprises a translational model-based AMVP mode.

16. The video decoding device of claim 4 , wherein the AMVP mode comprises a non-translational model-based AMVP mode.

17. The video encoding device of claim 7 , wherein the AMVP mode comprises a translational model-based AMVP mode.

18. The video encoding device of claim 7 , wherein the AMVP mode comprises a non-translational model-based AMVP mode.

19. The non-transitory storage medium of claim 10 , wherein the AMVP mode comprises a translational model-based AMVP mode.

20. The non-transitory storage medium of claim 10 , wherein the AMVP mode comprises a non-translational model-based AMVP mode.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 13, 2024
From: CHEN, HUANBANG; YANG, HAITAO
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 067718/0382 →
Priority Claims (1)
CN 201811053068.0 · Sep 10, 2018 · national
Continuity (4)
Continuation 18322037 · May 23, 2023
Continuation 17195798 · Mar 9, 2021
Continuation PCTCN2019105024 · Sep 10, 2019
Related Publication 20240333935A1 · Oct 3, 2024
References Cited (73)
US 8995523B2 · Chien · 2015 [cited by applicant]
US 20090096643A1 · Chang · 2009 [cited by applicant]
US 20110243226A1 · Choi et al. · 2011 [cited by applicant]
US 20120155545A1 · Marpe et al. · 2012 [cited by applicant]
US 20120320968A1 · Zheng et al. · 2012 [cited by applicant]
US 20120328003A1 · Chien et al. · 2012 [cited by applicant]
US 20120328209A1 · Sasai et al. · 2012 [cited by applicant]
US 20130003835A1 · Sole Rojals · 2013 [cited by examiner]
US 20130016789A1 · Lou · 2013 [cited by examiner]
US 20130070848A1 · Guo et al. · 2013 [cited by applicant]
US 20130094580A1 · Zhou et al. · 2013 [cited by applicant]
US 20130114668A1 · Misra et al. · 2013 [cited by applicant]
US 20130114671A1 · Chien et al. · 2013 [cited by applicant]
US 20130176390A1 · Chen et al. · 2013 [cited by applicant]
US 20130271566A1 · Chen et al. · 2013 [cited by applicant]
US 20130272377A1 · Karzewicz et al. · 2013 [cited by applicant]
US 20140098878A1 · Guillemot et al. · 2014 [cited by applicant]
US 20140140400A1 · George et al. · 2014 [cited by applicant]
US 20140219335A1 · Lee et al. · 2014 [cited by applicant]
US 20140294061A1 · Zhang et al. · 2014 [cited by applicant]
US 20140301454A1 · Zhang et al. · 2014 [cited by applicant]
US 20150023409A1 · Schierl et al. · 2015 [cited by applicant]
US 20160301938A1 · Sun et al. · 2016 [cited by applicant]
US 20160330479A1 · Liu · 2016 [cited by applicant]
US 20160373741A1 · Zhao et al. · 2016 [cited by applicant]
US 20160373756A1 · Yu et al. · 2016 [cited by applicant]
US 20170339419A1 · Chuang et al. · 2017 [cited by applicant]
US 20180098089A1 · Chen et al. · 2018 [cited by applicant]
US 20180098092A1 · Ye et al. · 2018 [cited by applicant]
US 20180184126A1 · Zhang et al. · 2018 [cited by applicant]
US 20180288416A1 · Huang et al. · 2018 [cited by applicant]
US 20180295385A1 · Alshin et al. · 2018 [cited by applicant]
US 20180309990A1 · Alshina et al. · 2018 [cited by applicant]
CN 102611888A · 2012 [cited by applicant]
CN 103024380A · 2013 [cited by applicant]
CN 103563378A · 2014 [cited by applicant]
CN 103609123A · 2014 [cited by applicant]
CN 103716629A · 2014 [cited by applicant]
CN 103765887A · 2014 [cited by applicant]
CN 103797802A · 2014 [cited by applicant]
CN 103988437A · 2014 [cited by applicant]
CN 104041047A · 2014 [cited by applicant]
CN 104093025A · 2014 [cited by applicant]
CN 104205830A · 2014 [cited by applicant]
CN 104205846A · 2014 [cited by applicant]
CN 105052147A · 2015 [cited by applicant]
CN 105103559A · 2015 [cited by applicant]
CN 105247863A · 2016 [cited by applicant]
CN 105850132A · 2016 [cited by applicant]
CN 106063262A · 2016 [cited by applicant]
CN 106488239A · 2017 [cited by applicant]
CN 106878715A · 2017 [cited by applicant]
CN 107277539A · 2017 [cited by applicant]
CN 107333141A · 2017 [cited by applicant]
CN 107431824A · 2017 [cited by applicant]
CN 107534711A · 2018 [cited by applicant]
CN 107787582A · 2018 [cited by applicant]
CN 108028919A · 2018 [cited by applicant]
CN 108141594A · 2018 [cited by applicant]
EP 3139616A1 · 2017 [cited by applicant]
KR 20140130171A · 2014 [cited by applicant]
RU 2603531C2 · 2016 [cited by applicant]
TW 201830964A · 2018 [cited by applicant]
WO 2013155424A1 · 2013 [cited by applicant]
WO 2014048372A1 · 2014 [cited by applicant]
WO 2018048904A1 · 2018 [cited by applicant]
Yin Zhao et al, “CE1: Context modeling of MTT split modes (Test 1.0.17),” JVET-K0134-v1, 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, … [cited by applicant]
Yin Zhao et al, “CE1-related: Context modeling of CU split modes,” JVET-L0361-v4, 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, 8 pages. [cited by applicant]
Benjamin Bross et al, WD4: “Working Draft 4 of High-Efficiency Video Coding,” JCTVC-F803_d6, Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11, 6th Meeting: Torino, IT, Jul. … [cited by applicant]
Shih-Ta Hsiang et al, “CE1-related: Context modeling for coding CU split decisions,” JVET-K0362-v2, 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… [cited by applicant]
Kengo Terada et al, “CEll: Context reduction for coefficient level,” JCTVC-H0160, WG 11 No. m23032, Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11, 8th Meeting: San Jose, … [cited by applicant]
Haitao Yang et al, “Draft text for affine motion compensation,” JVET-K0565-v2, Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IECJTC 1/SC 29/WG11, 11th Meeting: Ljubljana, SI, Jul. 10-18, 2018, XP030200043,… [cited by applicant]
Benjamin Bross et al, “WD4: Working Draft 4 of High-Efficiency Video Coding,” JCTVC-F803_d2, Joint Collaborative Team on Video Coding (JCT-VC) ofITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11, 6th Meeting: Torino, IT, Jul. 1… [cited by applicant]
Cited By (1)
US 12,695,919