Method and apparatus for video encoding and decoding

US11451787B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11451787-B2
Application numberUS-202016996850-A
CountryUS
Kind codeB2
Filing dateAug 18, 2020
Priority dateJun 20, 2018
Publication dateSep 20, 2022
Grant dateSep 20, 2022

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A video coding method is provided. The method includes obtaining an input video frame, obtaining a sampling parameter corresponding to the input video frame, determining downsampling information according to the sampling parameter, and encoding the input video frame according to the downsampling information to obtain encoded data corresponding to the input video frame, where determining the downsampling information includes: in response to determining the input video frame includes a B-frame, selecting a first downsampling proportion for the B-frame; and in response to determining the input video frame includes a P-frame, selecting a second downsampling proportion for the P-frame, the second downsampling proportion is lower than the first downsampling proportion, and the first and the second downsampling proportions are part of the downsampling information.

First claim

Opening claim text (preview).

What is claimed is: 1. A method, applied to a computer device, the method comprising: obtaining an input video frame; obtaining a sampling parameter corresponding to the input video frame, the sampling parameter including an average of resolutions of a plurality of preceding video frames; determining downsampling information corresponding to the input video frame according to the sampling parameter, wherein determining the downsampling information comprises: in response to determining the input video frame includes a B-frame, selecting a first downsampling proportion for the B-frame; and in response to determining the input video frame includes a P-frame, selecting a second downsampling proportion for the P-frame, the second downsampling proportion is lower than the first downsampling proportion, and the first and the second downsampling proportions are part of the downsampling information, and wherein determining the downsampling information further comprises: obtaining an application type corresponding to the input video frame, and obtaining hardware processing capabilities of two communication parties in response to determining the application type is a real-time application type, the real-time application type including a real-time video call application, and the two communication parties engage in the real-time video call to each other as two call terminals; and determining a downsampling method according to the hardware processing capabilities of the two communication parties; and encoding the input video frame according to the downsampling information to obtain encoded data corresponding to the input video frame. 2. The method according to claim 1 , wherein the sampling parameter comprises at least one of: frame information of the input video frame and encoding information of a preceding video frame corresponding to the input video frame. 3. The method according to claim 2 , wherein the encoding information of the preceding video frame comprises resolution information of the preceding video frame. 4. The method according to claim 1 , wherein the encoding the input video frame according to the downsampling information to obtain encoded data corresponding to the input video frame comprises: processing the input video frame according to the first downsampling proportion or the second downsampling to obtain a current frame to be encoded; and encoding the current frame to obtain the encoded data corresponding to the input video frame. 5. The method according to claim 4 , wherein the encoding the current frame comprises: obtaining a target reference frame; and encoding the current frame according to the target reference frame to obtain the encoded data corresponding to the input video frame. 6. The method according to claim 1 , wherein the input video frame is a first input video frame corresponding to a first application program running on the computer device, the method further comprises: obtaining a second input video frame corresponding to a second application program running on the computer device, the second application program being different than the first application program; encoding the first input video frame according to a first downsampling method, and encoding the second input video frame according to a second downsampling method, the first downsampling method is different than the second downsampling method, and the first and the second downsampling methods are part of the downsampling information. 7. The method according to claim 6 , wherein the first application program includes a real-time application program, and the second application program includes a non-real-time application program. 8. The method according to claim 1 , wherein the two communication parties are each with both encoding and decoding functionalities via the real-time application type. 9. The method according to claim 1 , further comprising: obtaining a correspondence between candidate hardware processing capabilities and candidate downsampling methods; storing the correspondence as a preset; and determining the downsampling method further according to the correspondence. 10. A video decoding method, applied to a computer device, the method comprising: receiving encoded data corresponding to a current frame to be decoded; obtaining a sampling parameter corresponding to the current frame, the sampling parameter including an average of resolutions of a plurality of preceding video frames; determining downsampling information corresponding to the current frame according to the sampling parameter, wherein downsampling information is determined by: in response to determining the current frame frame includes a B-frame, selecting a first downsampling proportion for the B-frame; and in response to determining the current frame includes a P-frame, selecting a second downsampling proportion for the P-frame, the second downsampling proportion is lower than the first downsampling proportion, and the first and the second downsampling proportions are part of the downsampling information, and wherein the downsampling information is further determined by: obtaining an application type corresponding to the input video frame, and obtaining hardware processing capabilities of two communication parties in response to determining the application type is a real-time application type, the real-time application type including a real-time video call application, and the two communication parties engage in the real-time video call to each other as two call terminals; and determining a downsampling method according to the hardware processing capabilities of the two communication parties; and decoding the encoded data according to the downsampling information corresponding to the video to be decoded to obtain a decoded video frame. 11. The method according to claim 10 , wherein the sampling parameter comprises at least one of: a frame type of the current frame and encoding information of a preceding video frame corresponding to the current frame. 12. The method according to claim 11 , wherein the encoding information of the preceding video frame comprises resolution information of the preceding video frame. 13. The method according to claim 10 , wherein the decoding the encoded data according to the downsampling information corresponding to the video to be decoded to obtain a corresponding decoded video frame comprises: decoding the encoded data according to the first downsampling proportion or the second downsampling proportion to obtain a reconstructed video frame; and upsampling the reconstructed video frame to obtain the decoded video frame. 14. The method according to claim 13 , wherein the decoding the encoded data comprises: obtaining a reference frame corresponding to the current frame; and determining resolution information corresponding to the current frame; processing the reference frame according to the resolution information to obtain a target reference frame; and decoding the encoded data according to the target reference frame to obtain the reconstructed video frame corresponding to the current frame. 15. The method according to claim 13 , wherein upsampling the reconstructed video frame comprises: upsampling the reconstructed video frame by using an upsampling method corresponding to the downsampling method. 16. A non-transitory computer-readable storage medium, storing a computer program, the computer program, when executed by a processor, causing the processor to perform: obtaining an input video frame; obtaining a sampling parameter corresponding to the input vide

Assignees

Inventors

Classifications

  • H04N19/132Primary

    Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking · CPC title

  • H04N19/124Primary

    Quantisation · CPC title

  • the region being a picture, frame or field · CPC title

  • the region being a block, e.g. a macroblock · CPC title

  • characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation (H04N19/635 takes precedence) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11451787B2 cover?
A video coding method is provided. The method includes obtaining an input video frame, obtaining a sampling parameter corresponding to the input video frame, determining downsampling information according to the sampling parameter, and encoding the input video frame according to the downsampling information to obtain encoded data corresponding to the input video frame, where determining the dow…
Who is the assignee on this patent?
Tencent Tech Shenzhen Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04N19/132. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Sep 20 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 6 related publications on this page (citations in our corpus or others sharing the same primary CPC).