Video coding method, computer device, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorXunan Mao
Life of this patent
Estimating the term…
Abstract
A video coding method can include receiving, by processing circuitry of a coding device, a current picture in a group of pictures (GOP) of a layered coding structure in video sequence. The current picture can have two reference pictures. A current layer of the current picture in the layered coding structure can be determined. A current quantization parameter (QP) offset of the current picture can be determined according to the current layer of the current picture. Reference QPs corresponding to the two reference pictures of the current picture can be determined. A current QP of the current picture can be determined according to the reference QPs and the current QP offset. The current picture can be coded according to the current QP.
Claims20
A video coding method, comprising:
- receiving, by processing circuitry of a coding device, a current picture in a group of pictures (GOP) of a layered coding structure in a video sequence, the current picture having two reference pictures of a first reference picture and a second reference picture;
- determining, by the processing circuitry, a current layer of the current picture in the layered coding structure;
- determining, by the processing circuitry, a current quantization parameter (QP) offset of the current picture according to the current layer of the current picture;
- determining, by the processing circuitry, reference QPs corresponding to the two reference pictures of the current picture, the reference QP of the first reference picture of the two reference pictures being a QP of the first reference picture minus a reference QP offset corresponding to the first reference picture and being determined according to a layer of the first reference picture in the GOP based on the first reference picture being a B frame;
- determining, by the processing circuitry, a QP based on the reference QPs corresponding to the two reference pictures, a first distance between the first reference picture and the current picture, and a second distance between the second reference picture and the current picture;
- determining, by the processing circuitry, a current QP of the current picture to be a sum of the QP that is determined based on the reference QPs corresponding to the two reference pictures and the current QP offset;
- and
- coding the current picture according to the current QP.
An apparatus of video coding, comprising circuitry configured to:
- receive a current picture in a group of pictures (GOP) of a layered coding structure in a video sequence, the current picture having two reference pictures of a first reference picture and a second reference picture;
- determine a current layer of the current picture in the layered coding structure;
- determine a current quantization parameter (QP) offset of the current picture according to the current layer of the current picture;
- determine reference QPs corresponding to the two reference pictures of the current picture, the reference QP of the first reference picture of the two reference pictures being a QP of the first reference picture minus a reference QP offset corresponding to the first reference picture and being determined according to a layer of the first reference picture in the GOP based on the first reference picture being a B frame;
- determine a QP based on the reference QPs corresponding to the two reference pictures, a first distance between the first reference picture and the current picture, and a second distance between the second reference picture and the current picture;
- determine a current QP of the current picture to be a sum of the QP that is determined based on the reference QPs corresponding to the two reference pictures and the current QP offset;
- and
- coding the current picture according to the current QP.
A non-transitory computer-readable medium storing a program executable by a processor to perform a method, the method comprising:
- receiving a current picture in a group of pictures (GOP) of a layered coding structure in a video sequence, the current picture having two reference pictures of a first reference picture and a second reference picture;
- determining a current layer of the current picture in the layered coding structure;
- determining a current quantization parameter (QP) offset of the current picture according to the current layer of the current picture;
- determining reference QPs corresponding to the two reference pictures of the current picture, the reference QP of the first reference picture of the two reference pictures being a QP of the first reference picture minus a reference QP offset corresponding to the first reference picture and being determined according to a layer of the first reference picture in the GOP based on the first reference picture being a B frame;
- determining a QP based on the reference QPs corresponding to the two reference pictures, a first distance between the first reference picture and the current picture, and a second distance between the second reference picture and the current picture;
- determining a current QP of the current picture to be a sum of the QP that is determined based on the reference QPs corresponding to the two reference pictures and the current QP offset;
- and
- coding the current picture according to the current QP.
Dependencies are inferred from the claim text.