IP Library › Granted Patent US 10,939,112
Granted Patent B2
US 10,939,112 · App. 16/573,148 · Granted Mar 2, 2021

Method and device for video coding and decoding

Inventors: Xiaozhen Zheng (Shenzhen, CN); Zhen Mao (Beijing, CN); Ziyuan Wang (Beijing, CN); Yun He (Beijing, CN); Xiaozhong Xu (Beijing, CN); Jianhua Zheng (Beijing, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04N19/126H04N19/17H04N19/174H04N19/436H04N19/46H04N19/61H04N19/70H04N19/172H04N19/176H04N19/184
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 10,939,112
App. No.
16/573,148
Granted
Mar 2, 2021
Kind
B2
Abstract

A method and device for coding and decoding are disclosed. The method includes: dividing a picture to be encoded into several slices, each containing macroblocks continuous in a designated scanning sequence in the picture; dividing slices in the picture into one or more slice sets according to attribute information of the slices, each slice set containing one or more slices; and encoding the slices in the slice sets according to slice and slice set division information to get a coded bit stream of the picture. The decoding method includes: obtaining slice and slice set division information from a bit stream to be decoded and decoding the bit stream according to the obtained slice and slice set division information. The invention improves the performance of video transmission effectively and realizes region based coding. The implementation of coding and decoding is simple and the complexity of coding and decoding systems is reduced.

Claims (44)

1. A video coding method, comprising:

dividing a picture to be encoded into a plurality of slices;

grouping the slices contained in the picture into a plurality of slice sets, each slice set containing one or more of the slices; and

encoding the slices in the slice sets to get a coded bit stream of the picture, wherein the encoding the slices in the slice sets comprises:

encoding a slice set syntax element for a first slice in a current slice set of the plurality of slice sets, wherein the slice set syntax element is quantization parameter information; and

using the slice set syntax element as a slice set syntax element of a second slice without encoding a new slice set syntax element for the second slice, wherein the second slice is in the current slice set and after the first slice.

2. The method according to claim 1 , further comprising:

writing a slice set enable flag in the coded bit stream indicating whether the slice sets are divided in a coding process of a current picture.

3. The method according to claim 1 , wherein the encoding the slices in the slice sets comprises

encoding at least one of a horizontal position parameter and a vertical position parameter of each slice in the slice sets.

4. The method according to claim 1 , wherein the first slice is an initial member of the current slice set.

5. The method according to claim 1 , wherein the quantization parameter information comprises

a parameter indicating use of a designated quantization matrix for slices in the current slice set.

6. The method according to claim 3 , wherein the encoding the slices in the slice sets comprises encoding slice set identification information of the slice sets and wherein the slice set identification information comprises

a slice set index allocated for each slice set.

7. The method according to claim 3 , wherein the encoding the slices in the slice sets comprises encoding slice set identification information of the slice sets and wherein the slice set identification information comprises a slice distance, indicating a quantity of slices that are not in a slice set between two slices adjacent in an optical grating scanning sequence in a slice set.

8. The method according to claim 3 , wherein the encoding the slices in the slice sets comprises encoding slice set identification information of the slice sets and wherein the slice set identification information comprises a start macroblock and a quantity of macroblocks in a slice set.

9. The method according to claim 1 , wherein the encoding the slices in the slice sets comprises encoding slice set identification information of the slice sets.

10. The method according to claim 1 , wherein the encoding the slices in the slice sets comprises encoding information indicating whether a current slice is an initial member of the current slice set.

11. The method according to claim 1 , wherein the encoding the slices in the slice sets comprises encoding information indicating whether the current slice is a last slice in the current slice set.

12. The method according to claim 1 , wherein the encoding the slices in the slice sets comprises encoding information indicating whether the slice set syntax element is present in the current slice.

13. The method according to claim 1 , wherein the encoding the slices in the slice sets comprises encoding information indicating whether reference data used in inter-frame coding of a slice in the current slice set is data from only the current slice set or from all slices of the picture.

14. The method according to claim 1 , wherein the encoding the slices in the slice sets encoding information indicating whether data used in coding of macroblocks in a slice is data from only the current slice or data from all slices in the current slice set.

15. The method according to claim 1 , wherein the quantization parameter information comprises an index of a quantization matrix used for the slices in the current slice set.

16. The method according to claim 1 , wherein the quantization parameter information comprises an enable flag indicating use of macroblock adaptive weighted quantization for the slices in the current slice set.

17. The method according to claim 1 , wherein the quantization parameter information comprises a weighted quantization parameter used for the slices in the current slice set.

18. The method according to claim 1 , wherein the quantization parameter information comprises the quantization matrix used for the slices in the current slice set.

19. A video decoding method, comprising:

obtaining a slice set syntax element of a first slice in a current slice set from a bit stream, wherein the slice set syntax element is quantization parameter information;

decoding the first slice with the slice set syntax element of the first slice;

decoding a second slice with the slice set syntax element of the first slice, wherein the second slice is in the current slice set and after the first slice.

20. The method according to claim 19 , wherein the first slice is an initial member of the current slice set.

21. A non-transitory computer readable medium storing instructions for execution by a video encoder, the instructions causing the video encoder to execute a method comprising:

dividing a picture to be encoded into a plurality of slices;

grouping the slices contained in the picture into a plurality of slice sets, each slice set containing one or more of the slices; and

encoding the slices in the slice sets to get a coded bit stream of the picture, wherein the encoding the slices in the slice sets comprises:

encoding a slice set syntax element for a first slice in a current slice set of the plurality of slice sets, wherein the slice set syntax element is quantization parameter information; and

using the slice set syntax element as a slice set syntax element of a second slice without encoding a new slice set syntax element for the second slice, wherein the second slice is in the current slice set and after the first slice.

22. The non-transitory computer readable medium according to claim 21 , wherein the first slice is the initial member of the current slice set.

23. A non-transitory computer readable medium storing instructions for execution by a video decoder, the instructions causing the video decoder to execute a method comprising:

obtaining a slice set syntax element of a first slice in a current slice set from a bit stream, wherein the slice set syntax element is quantization parameter information;

decoding the first slice with the slice set syntax element of the first slice;

decoding a second slice with the slice set syntax element of the first slice, wherein the second slice is in the current slice set and after the first slice.

24. The non-transitory computer readable medium according to claim 23 , wherein the first slice is the initial member of the current slice set.

Priority Claims (2)
CN 200710153924.5 · Sep 14, 2007 · national
CN 200810096456.7 · May 9, 2008 · national
Continuity (5)
Continuation 15418496 · Jan 27, 2017
Continuation 14451083 · Aug 4, 2014
Continuation 12724076 · Mar 15, 2010
Continuation PCTCN2008072362 · Sep 12, 2008
Related Publication 20200014927A1 · Jan 9, 2020
Cited By (1)
US 12,659,488