hottub.patents
US 12,804,207 B2#3070211 Most CitedActiveUnited States (USPTO)Utility

Video coding method and apparatus, electronic device, storage medium, and program product

0Forward Citations (#3070211 Global)
0.0/yrCitation Velocity (#3070211 Global)
0.00Citation PageRank (#3070211 Global)
10Prior Art Cited
8Claims (1 Indep. · 7 Dep.)
0Drawings / Sheets

Abstract

A video coding method and apparatus including acquiring an image, partitioning the image into a plurality of coding tree units (CTUs), each CTU including one or more coding units (CUs), distributing coding tasks of coding blocks of CUs in a plurality of CTU rows in the image into a plurality of task sequences, each task sequence being a sequence of coding tasks of a plurality of coding blocks, and executing the plurality of task sequences in parallel to obtain coding results for the coding blocks of the CUs in the plurality of CTU rows.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 0.

Claims (8 — 1 Independent, 7 Dependent)

  1. Claim 1Independent Claim

    A video coding method, performed by an electronic device, comprising: acquiring an image; partitioning the image into a plurality of coding tree units (CTUs), each CTU comprising one or more coding units (CUs); acquiring a plurality of pipelines, each of the plurality of pipelines comprising at least one level of processing resources for coding, different levels of the processing resources being configured to process different types of coding tasks; distributing, based on sizes of coding blocks of the CUs in the plurality of CTU rows, the coding tasks of the coding blocks of the CUs in the plurality of CTU rows in the image into the plurality of pipelines to obtain a plurality of task sequences, each of the plurality of task sequences being a sequence of the coding tasks of the coding blocks, wherein luminance coding blocks and chrominance coding blocks of the CUs are distributed to different pipelines of the plurality of pipelines; and executing the plurality of task sequences in para

  2. Claim 2Depends on #1

    The video coding method according to claim 1, wherein the plurality of coding blocks corresponding to each of the plurality of task sequences have a same coding block size or correspond to a same CU size; and the distributing comprises: distributing the coding tasks of the coding blocks of the CUs in the plurality of CTU rows in the image into the plurality of task sequences according to coding block sizes or CU sizes.

  3. Claim 3Depends on #2

    The video coding method according to claim 2, wherein the distributing the coding tasks of the coding blocks of the CUs in the plurality of CTU rows in the image into the plurality of task sequences according to coding block sizes or CU sizes comprises: distributing the coding tasks of the coding blocks of the CUs in the plurality of CTU rows in the image into a plurality of groups according to coding block sizes or CU sizes; and sorting coding tasks in each of the plurality of groups into a corresponding task sequence based on the coding dependency relationships between the coding blocks of the CUs in the plurality of CTU rows.

  4. Claim 4Depends on #3

    The video coding method according to claim 3, wherein coding blocks of each CU comprise a luminance coding block and two chrominance coding blocks, a size of each of the two chrominance coding blocks being smaller than that of the luminance coding block; and wherein the coding dependency relationships between the coding blocks of the CUs in the plurality of CTU rows comprise at least one of the following: a first dependency relationship, configured for indicating that: for two CUs adjacent to each other left and right in the image, coding of a luminance coding block of the right CU depends on a coding result for a luminance coding block of the left CU; a second dependency relationship, configured for indicating that: for two CUs adjacent to each other left and right in the image, coding of a luminance coding block of the right CU depends on coding results for chrominance coding blocks of the left CU; or a third dependency relationship, configured for indicating that: coding of chromina

  5. Claim 5Depends on #4

    The video coding method according to claim 4, wherein the sorting comprises at least one of the following: for two CUs adjacent to each other left and right in the image, distributing an execution order of a coding task of a luminance coding block of the right CU to be later than that of a coding task of a luminance coding block of the left CU according to the first dependency relationship; and for two CUs adjacent to each other left and right in the image, distributing an execution order of a coding task of a luminance coding block of the right CU to be later than those of coding tasks of chrominance coding blocks of the left CU according to the second dependency relationship; or distributing execution orders of coding tasks of chrominance coding blocks of each CU in the image to be later than that of a coding task of a luminance coding block of the each CU according to the third dependency relationship.

  6. Claim 6Depends on #1

    The video coding method according to claim 1, wherein each pipeline comprises three levels of processing resources, a first level of processing resources being configured to perform prediction (Pred) processing related to a coding mode, a second level of processing resources being configured to perform transform and quantization (TQ) processing, a third level of processing resources being configured to perform rate distortion optimization (RDO) processing, and a coding task of each coding block of each CU comprises a Pred processing task, a TQ processing task, and an RDO processing task for a corresponding coding block.

  7. Claim 7Depends on #1

    The video coding method according to claim 1, wherein the acquiring the plurality of pipelines comprises: generating a corresponding pipeline for each of a plurality of CU sizes; or generating a corresponding pipeline for each of a plurality of coding block sizes.

  8. Claim 8Depends on #1

    The video coding method according to claim 1, further comprising: creating a plurality of threads; and associating a thread for each CTU row, each coding task in each task sequence of the plurality of task sequences being executed by a thread associated with a CTU row at which a corresponding coding block is located.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation application of International Application No. PCT/CN2024/079845 filed on Mar. 4, 2024, which claims priority to Chinese Patent Application No. 2023102544023 filed with the China National Intellectual Property Administration on Mar. 6, 2023, the disclosures of each being incorporated by reference herein in their entireties. FIELD The disclosure relates to the technical field of image processing, more specifically video coding method and apparatus, an electronic device, a storage medium, and a program product. BACKGROUND In high efficient video coding (HEVC), mode decision (MD) is the most important core module that determines the coding quality and the coding efficiency. In MD, a to-be-processed image is coded through operations such as prediction (Pred), transform and quantization (TQ), and rate distortion optimization (RDO). In the related art, the largest coding unit (LCU) is usually used as a coding unit (CU), and each LCU in the to-be-processed image is sequentially coded in the grating coding order. For example, referring to FIG. 1 , each space represents one LCU, and for each row of LCUs, the LCUs are coded in a left-to-right sequence. An LCU may include one or more CUs. In the process of coding each LCU, each CU will be processed in the order of Pred → TQ → RDO. For example, referring to FIG. 2 , Pred, TQ, and RDO processing are sequentially performed on a luminance component and a chrominance component of a CU0, and after coding of the CU0 is completed, Pred, TQ, and RDO processing are sequentially performed on a CU1. However, if coding is performed in the grating coding order, processing on only one LCU is started each time, but the processing of the next CU needs to be performed after the Pred, TQ, and RDO processing of the previous CU is completed, resulting in low resource utilization and long data processing time, which further causes a waste of computing and storage resources. SU

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (10)

PatentTitleYearCitations

Non-Patent Literature (8)

  • International Search Report of PCT/CN2024/079845 dated May 31, 2024 [PCT/ISA/210].
  • Written Opinion of PCT/CN2024/079845 dated May 31, 2024 [PCT/ISA/237].
  • European Search Report issued Apr. 15, 2026 in EP Application No. 24766397.4.
  • Zhang Yuanzhi et al:
  • “
  • Efficient Algorithm Adaptations and Fully Parallel Hardware Architecture of H.265/HEVC Intra Incoder
  • ”
  • , IEEE Transactions on Circuits and Systems for Video Technology, vol. 29, No. 11, Nov. 2019, pp. 3415-3429. (15 pages).