Video encoding/decoding method and apparatus

A video encoding and encoding technology, applied in the field of encoding and decoding, can solve the problems of reducing encoding efficiency, limiting the flexibility of encoding and decoding systems, and increasing computational overhead, and achieves the effect of reducing complexity, simplifying the implementation process, and improving video transmission performance.

CN101389021AActive Publication Date: 2009-03-18HUAWEI TECH CO LTD +1
0 Cites 88 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2009-03-18

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

A video coding and decoding method and device, comprising: at the coding end, dividing the to-be-coded picture into several strips; each strip comprising macroblocks sequential according to the appointed scanning sequence in the picture; dividing the strips comprised in the picture into one or more of strip sets according to the attribute information of each strip; each strip set comprising one or more strips; finally, coding the strips in the strip sets according to the dividing information of the strip and the strip sets to obtain the coding bit rate corresponding to the picture; at the decoding end, receiving the coding bit rate, obtaining the dividing information of the strip and the strip set in the bit rate, and decoding the bit rate according to the obtained diving information of the strip and the strip set. The embodiment of the invention is able to effectively improve the video transmission function and is suitable for the coding based on the area; and the realizing process of the whole coding and decoding is simple, thereby reducing the complexity of realizing the coding and decoding system.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the field of codec technology, in particular to a video codec technology. Background technique

[0002] In the video codec system, the image can be divided into several image blocks or macroblocks, and motion estimation is performed in units of blocks or macroblocks, the residual after motion estimation is transformed and quantized, and finally the quantized coefficients are entropy encoded , write the information obtained after entropy encoding into the code stream. After the image is divided into macroblocks, the macroblocks are also combined in a certain organizational manner, which is called a slice (strip).

[0003] In the video codec system, after receiving the video stream data packet sent by the encoding end, the decoding end will combine the contents of the data packet in a certain way according to certain rules, and after inverse quantization, inverse transformation, and motion compensation processing Get th...

Examples

Embodiment 1

[0083] In the first embodiment, in order to realize the coding of the slice set, one or more of the following parameters or flags can be written in the coded stream during the coding process at the coding end:

[0084] (1) Add a flag (slice_set_disable) to the image header parameter set: the slice set enable flag, also known as the slice set function control parameter, this flag occupies 1 bit, which is used to identify whether slices are used in this image set; for example, the value of slice_set_disable is set to '1' to indicate that the slice set is not used, and set to '0' to indicate that the slice set is used;

[0085] In addition to adding slice_set_disable to the image header information, this parameter can also be added to the sequence header information, slice header information or macroblock header information, and so on.

[0086] (2) Name the last 8 bits of the slice start code slice_vertical_position (slice vertical position), which is an 8-bit unsigned integer us...

Embodiment 2

[0140] In the first embodiment of the present invention, the slice_set_index is used to divide the slices in an image. In addition, in the embodiment of the present invention, the division of the slice set can be performed by the slice distance index (slice_distance). The specific implementation methods include:

[0141] The slice distance index (slice_distance) is an integer value, and is used to indicate the number of slices not in the slice set between two adjacent slices in the raster scan order in the slice set. For example, if the current slice is the 10th slice in raster scan order in this image, and the slice_distance value of the current slice is 3, it can be known that it is in the same slice set as the current slice and is in the current slice in raster scan order The previous strip is the 6th strip in the raster scanning sequence of the image, that is, the 6th and 10th strips in the raster scanning sequence are the strips in the same strip set. The decoder can kno...

Embodiment 3

[0145] In the third embodiment, the division method of the slice set can also be: write the position of the starting macroblock of each slice set in an image in the sequence header or image header information, and the position of each slice in the slice set The starting macroblock location and the number of consecutive macroblocks it contains.

[0146]In the third embodiment, the slice set can use one or more combinations of the parameters slice_connect, slice_set_syntax, slice_set_reference, slice_independency, slice_horizontal_position, slice_vertical_position, slice_horizontal_position_extension, or slice_vertical_position_extension described in the first embodiment. It can be used in the same manner as described in Embodiment 1.