Video encoding method and apparatus, video decoding method and apparatus, computer-readable medium, and electronic device

US12526445B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12526445-B2
Application numberUS-202217968730-A
CountryUS
Kind codeB2
Filing dateOct 18, 2022
Priority dateMar 14, 2021
Publication dateJan 13, 2026
Grant dateJan 13, 2026

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.

Embodiments of this application provide a method, an apparatus, a non-transitory computer-readable medium, and an electronic device for coding and decoding a video. The video decoding method includes: obtaining an absolute value of a first direction component of a string vector difference through decoding from a bitstream; obtaining a sign value of the first direction component of the string vector difference through decoding from the bitstream, when the absolute value of the first direction component of the string vector difference is not 0; and determining a value of the first direction component of the string vector difference according to the absolute value of the first direction component of the string vector difference and the sign value of the first direction component of the string vector difference.

First claim

Opening claim text (preview).

What is claimed is: 1 . A video decoding method, performed by an electronic device, the method comprising: obtaining an absolute value of a first direction component of a string vector difference (SVD) for a current block through decoding from a bitstream; obtaining a sign value of the first direction component of the string vector difference through decoding from the bitstream, when the absolute value of the first direction component of the string vector difference is not 0; determining a value of the first direction component of the string vector difference according to the absolute value of the first direction component of the string vector difference and the sign value of the first direction component of the string vector difference; when a string vector predictor (SVP) is not obtained for the current block, using the string vector difference as a string vector (SV) for the current block, wherein SV=SVD; when the string vector predictor is obtained for the current block, determining the string vector according to a sum of the string vector difference (SVD) and the string vector predictor, wherein SV=SVP+SVD; and performing intra string copy from a reference string to a target string in the current block using the string vector. 2 . The video decoding method according to claim 1 , wherein the obtaining an absolute value of a first direction component of a string vector difference through decoding from a bitstream comprises: obtaining a prefix value of the first direction component of the string vector difference through decoding from the bitstream and performing inverse binarization based on truncated unary code; and generating the absolute value of the first direction component of the string vector difference according to the prefix value of the first direction component of the string vector difference. 3 . The video decoding method according to claim 2 , wherein the generating the absolute value of the first direction component of the string vector difference according to the prefix value of the first direction component of the string vector difference comprises: using the prefix value of the first direction component of the string vector difference as the absolute value of the first direction component of the string vector difference, when the prefix value of the first direction component of the string vector difference is less than or equal to 4. 4 . The video decoding method according to claim 2 , wherein the generating the absolute value of the first direction component of the string vector difference according to the prefix value of the first direction component of the string vector difference comprises: setting a compensation value to 5 when the prefix value of the first direction component of the string vector difference is equal to 5, performing, based on 2-bit fixed-length code, inverse binarization on 2 bits obtained by further decoding from the bitstream, to obtain a suffix value of the first direction component of the string vector difference, and generating the absolute value of the first direction component of the string vector difference according to the suffix value of the first direction component of the string vector difference and the compensation value. 5 . The video decoding method according to claim 2 , wherein the generating the absolute value of the first direction component of the string vector difference according to the prefix value of the first direction component of the string vector difference comprises: setting a compensation value to 9 when the prefix value of the first direction component of the string vector difference is equal to 6, performing, based on 3-bit fixed-length code, inverse binarization on 3 bits obtained by further decoding from the bitstream, to obtain a suffix value of the first direction component of the string vector difference, and generating the absolute value of the first direction component of the string vector difference according to the suffix value of the first direction component of the string vector difference and the compensation value. 6 . The video decoding method according to claim 2 , wherein the generating the absolute value of the first direction component of the string vector difference according to the prefix value of the first direction component of the string vector difference comprises: setting a compensation value to 17 when the prefix value of the first direction component of the string vector difference is equal to 7, and determining parity of the absolute value of the first direction component of the string vector difference based on 1 bit obtained by further decoding from the bitstream; and further decoding from the bitstream, performing inverse binarization based on 2-order exponential Golomb code, and generating the absolute value of the first direction component of the string vector difference according to a result of performing inverse binarization based on 2-order exponential Golomb code, the compensation value, and the parity of the absolute value of the first direction component of the string vector difference. 7 . The video decoding method according to claim 2 , wherein the generating the absolute value of the first direction component of the string vector difference according to the prefix value of the first direction component of the string vector difference comprises: using the prefix value of the first direction component of the string vector difference as the absolute value of the first direction component of the string vector difference, when the prefix value of the first direction component of the string vector difference is less than or equal to 2. 8 . The video decoding method according to claim 2 , wherein the generating the absolute value of the first direction component of the string vector difference according to the prefix value of the first direction component of the string vector difference comprises: setting a compensation value to 3 when the prefix value of the first direction component of the string vector difference is equal to 3, and determining parity of the absolute value of the first direction component of the string vector difference based on 1 bit obtained by further decoding from the bitstream; and further decoding from the bitstream, performing inverse binarization based on 0-order exponential Golomb code, and generating the absolute value of the first direction component of the string vector difference according to a result of performing inverse binarization based on 0-order exponential Golomb code, the compensation value, and the parity of the absolute value of the first direction component of the string vector difference. 9 . The video decoding method according to claim 1 , wherein the first direction component of the string vector difference is a vertical direction component of the string vector difference. 10 . The video decoding method according to claim 1 , further comprising: decoding a sign value of a second direction component of the string vector difference from the bitstream; performing inverse binarization based on k 2 -order exponential Golomb code to obtain an absolute value of the second direction component of the string vector difference, in response to determining that a value of the second direction component of the string vector difference is less than 0 according to the sign value of the second direction component of the string vector difference, wherein k 2 ≥0; performing inverse binarization based on t 2 -order exponential Golomb code to obtain the absolute value of the second direction component of the string vector difference, in response to determining that the value of the second direction component of the string vector difference is greater

Assignees

Inventors

Classifications

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

  • Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction · CPC title

  • H04N19/52Primary

    by predictive encoding · CPC title

  • Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC] · CPC title

  • in combination with predictive coding · 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 US12526445B2 cover?
Embodiments of this application provide a method, an apparatus, a non-transitory computer-readable medium, and an electronic device for coding and decoding a video. The video decoding method includes: obtaining an absolute value of a first direction component of a string vector difference through decoding from a bitstream; obtaining a sign value of the first direction component of the string ve…
Who is the assignee on this patent?
Tencent Tech Shenzhen Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04N19/52. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Jan 13 2026 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 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).