hottub.patents
US 12,339,902 B2#3513601 Most CitedActiveUnited States (USPTO)Utility

Hardware accelerated video encoding

0Forward Citations (#3513601 Global)
0.0/yrCitation Velocity (#3513601 Global)
0.00Citation PageRank (#3513601 Global)
80Prior Art Cited
25Claims (3 Indep. · 22 Dep.)
9Drawings / Sheets

Abstract

In one embodiment, a system includes a hardware accelerator to receive video data of multiple video frames, divide each of the video frames into respective blocks, compute encoding assist data including at least one video encoding parameter type for each of the respective blocks of each of the video frames, and store respective portions of the encoding assist data across respective database tables, and an interface to provide the respective database tables to video encoding software running on a processor.

Interactive Citation Constellation Global Citation Ranking

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

Claims (25 — 3 Independent, 22 Dependent)

  1. Claim 1Independent Claim

    A system comprising: a hardware accelerator to: receive video data of multiple video frames; divide each of the video frames into respective blocks; compute encoding assist data including at least one video encoding parameter type for each of the respective blocks of each of the video frames; and store respective portions of the encoding assist data across respective block-size-specific database tables such that one block-size-specific database table is to store contiguously the encoding assist data of first size blocks, and another block-size-specific database table is to store contiguously encoding assist data of second size blocks, the first size blocks being a different size to the second size blocks; and an interface to provide the respective database tables to video encoding software running on a processor, wherein the processor is to: load the one block-size-specific database table storing the encoding assist data of the first size blocks into memory and perform a first part of an encoding process responsively to the encoding assist data of the first size blocks; load the other block-size-specific database table storing the encoding assist data of the second size blocks into memory and perform a second part of the encoding process responsively to the encoding assist data of the second size blocks; and compress the video data into encoded video frames responsively to the encoding assist data included in the respective block-size-specific database tables.

  2. Claim 2Depends on #1

    The system according to claim 1, wherein the at least one video encoding parameter type includes any one or more of the following: a motion vector; a measure of block matching; a motion vector cost; a rate distortion optimization score; an intra prediction cost; an intra prediction direction; a block distance metric; or a weighted cost score.

  3. Claim 3Depends on #1

    The system according to claim 1, wherein the hardware accelerator is configured to store the respective portions of the encoding assist data across the respective database tables responsively to respective video encoding parameter types.

  4. Claim 4Depends on #1

    The system according to claim 1, wherein the hardware accelerator is configured to store the respective portions of the encoding assist data across the respective database tables responsively to respective block sizes.

  5. Claim 5Depends on #1

    The system according to claim 1, wherein the hardware accelerator is configured to store the respective portions of the encoding assist data across the respective database tables responsively to respective video encoding parameter types and respective block sizes.

  6. Claim 6Depends on #1

    The system according to claim 1, wherein the hardware accelerator is configured to: scan the video frames responsively to a recursive z-shaped scan pattern; and store the encoding assist data ordered in the respective database tables responsively to the recursive z-shaped scan pattern.

  7. Claim 7Depends on #6

    The system according to claim 6, wherein the recursive z-shaped scan pattern is a nested z-shaped scan pattern.

  8. Claim 8Depends on #1

    The system according to claim 1, wherein: the first table includes respective video encoding parameters of a first video encoding parameter type for selected blocks of the respective blocks of at least one of the video frames; and the second table includes respective video encoding parameters of a second video encoding parameter type, different to the first video encoding parameter type, for the selected blocks.

  9. Claim 9Depends on #8

    The system according to claim 8, wherein: the first video encoding parameter type of the first table is a motion vector; and the first part of the encoding process includes performing rate control responsively to motion vectors in the first table.

  10. Claim 10Depends on #8

    The system according to claim 8, wherein: the second video encoding parameter type of the second table is a measure of block matching; and the second part of the encoding process includes identifying a scene cut responsively to measures of block matching in the second table.

  11. Claim 11Depends on #1

    The system according to claim 1, wherein: the encoding software is configured to load a third table of the respective database tables into memory and perform a third part of an encoding process responsively to data of the loaded third table; the encoding software is configured to load a fourth table of the respective database tables into memory and perform a fourth part of the encoding process responsively to data of the loaded fourth table; the first table includes respective video encoding parameters of a first video encoding parameter type for first selected blocks of the respective blocks of at least one of the video frames of a first block size; the second table includes respective video encoding parameters of a second video encoding parameter type, different to the first video encoding parameter type, for the first selected blocks of the first block size; the third table includes respective video encoding parameters of the first video encoding parameter type for second selected blocks of the respective blocks of the at least one of the video frames of a second block size, different to the first block size; and the fourth table includes respective video encoding parameters of the second video encoding parameter type for the second selected blocks of the second block size.

  12. Claim 12Depends on #1

    The system according to claim 1, wherein: the first table includes first selected blocks of the respective blocks of at least one of the video frames of a first block size; and the second table includes second selected blocks of the respective blocks of the at least one of the video frames of a second block size, different to the first block size.

  13. Claim 13Depends on #12

    The system according to claim 12, wherein: the first block size is larger than the second block size; and the encoding software is configured to: load the first table and analyze data of the first selected blocks of the first block size; and then load the second table and analyze data of the second selected blocks of the second block size.

  14. Claim 14Independent Claim

    A method comprising: receiving video data of multiple video frames; dividing each of the video frames into respective blocks; computing encoding assist data including at least one video encoding parameter type for each of the respective blocks of each of the video frames; storing respective portions of the encoding assist data across respective block-size-specific database tables such that one blocks-size specific database table stores contiguously the encoding assist data for first size blocks, and another block-size-specific database table stores contiguously encoding assist data for second size blocks, the first size blocks being a different size to the second size blocks; providing the respective database tables to video encoding software; loading the one block-size-specific database table storing the encoding assist data of the first size blocks into memory and perform a first part of an encoding process responsively to the encoding assist data of the first size blocks; loading the other block-size-specific database table storing the encoding assist data of the second size blocks into memory and perform a second part of the encoding process responsively to the encoding assist data of the second size blocks; and compressing the video data into encoded video frames responsively to the encoding assist data included in the respective block-size-specific database tables.

  15. Claim 15Depends on #14

    The method according to claim 14, wherein the at least one video encoding parameter type is selected from any one or more of the following: a motion vector; a rate distortion optimization score; an intra prediction cost; an intra prediction direction; a block distance metric; or a weighted cost score.

  16. Claim 16Depends on #14

    The method according to claim 14, wherein the storing includes storing the respective portions of the encoding assist data across the respective database tables responsively to respective video encoding parameter types.

  17. Claim 17Depends on #14

    The method according to claim 14, wherein the storing includes storing the respective portions of the encoding assist data across the respective database tables responsively to respective block sizes.

  18. Claim 18Depends on #14

    The method according to claim 14, wherein the storing includes storing the respective portions of the encoding assist data across the respective database tables responsively to respective video encoding parameter types and respective block sizes.

  19. Claim 19Depends on #14

    The method according to claim 14, wherein: the first table includes respective video encoding parameters of a first video encoding parameter type for selected blocks of the respective blocks of at least one of the video frames; and the second table includes respective video encoding parameters of a second video encoding parameter type, different to the first video encoding parameter type, for the selected blocks.

  20. Claim 20Depends on #14

    The method according to claim 14, further comprising: loading a third table of the respective database tables into memory and performing a third part of an encoding process responsively to data of the loaded third table; and loading a fourth table of the respective database tables into memory and performing a fourth part of the encoding process responsively to data of the loaded fourth table, and wherein: the first table includes respective video encoding parameters of a first video encoding parameter type for first selected blocks of the respective blocks of at least one of the video frames of a first block size; the second table includes respective video encoding parameters of a second video encoding parameter type, different to the first video encoding parameter type, for the first selected blocks of the first block size; the third table includes respective video encoding parameters of the first video encoding parameter type for second selected blocks of the respective blocks of the at least one of the video frames of a second block size, different to the first block size; and the fourth table includes respective video encoding parameters of the second video encoding parameter type for the second selected blocks of the second block size.

  21. Claim 21Depends on #14

    The method according to claim 14, wherein: the first table includes first selected blocks of the respective blocks of at least one of the video frames of a first block size; and the second table includes second selected blocks of the respective blocks of the at least one of the video frames of a second block size, different to the first block size.

  22. Claim 22Depends on #21

    The method according to claim 21, wherein the first block size is larger than the second block size, the method further comprising: loading the first table and analyzing data of the first selected blocks of the first block size; and then loading the second table and analyzing data of the second selected blocks of the second block size.

  23. Claim 23Depends on #14

    The method according to claim 14, further comprising: scanning the video frames responsively to a recursive z-shaped scan pattern; and storing the encoding assist data ordered in the respective database tables responsively to the recursive z-shaped scan pattern.

  24. Claim 24Depends on #23

    The method according to claim 23, wherein the recursive z-shaped scan pattern is a nested z-shaped scan pattern.

  25. Claim 25Independent Claim

    A system comprising: a hardware accelerator to: receive video data of multiple video frames; divide each of the video frames into respective blocks; compute encoding assist data including at least one video encoding parameter type for each of the respective blocks of each of the video frames; and store respective portions of the encoding assist data across respective video-encoding-parameter-type-specific database tables such that one video-encoding-parameter-type-specific database table is to store contiguously the encoding assist data of a first video encoding parameter type, and another video-encoding-parameter-type-specific database table is to store contiguously encoding assist data of a second video encoding parameter type, the first video encoding parameter type being different from the second video encoding parameter type; and an interface to provide the respective database tables to video encoding software running on a processor, wherein the processor is to: load the one video-encoding-parameter-type-specific database table storing the encoding assist data of the first video encoding parameter type into memory and perform a first part of an encoding process responsively to the encoding assist data of the first video encoding parameter type; load the other video-encoding-parameter-type-specific database table storing the encoding assist data of the video encoding parameter type into memory and perform a second part of the encoding process responsively to the encoding assist data of the video encoding parameter type; and compress the video data into encoded video frames responsively to the encoding assist data included in the respective video-encoding-parameter-type-specific database tables.

Technical Overview & Description

FIELD OF THE INVENTION The present invention relates to video encoding, and in particular, but not exclusively to, hybrid hardware and software video encoding. BACKGROUND The ability to process video streams quickly and efficiently has grown in importance, with portable consumer electronic products incorporating more and more multimedia features. Mobile phones, for example, can be used to retrieve, view and transmit multimedia content. However, while the capabilities of portable devices continue to increase, such devices are still somewhat limited relative to more powerful platforms such as personal computers. Data transmission and retrieval rates may also be a factor. The amount of image (e.g., video) data is usually more of a consideration than the amount of audio data. The data is often compressed to facilitate storage and streaming, and then decompressed for playback (e.g., display). Video data may be compressed using a Moving Pictures Experts Group (MPEG) scheme, for example. By encoding a video sequence, the number of bits needed to represent the video sequence can be greatly reduced. In a typical video sequence, the content of one frame, or at least a portion of that frame, may be very similar to that of another frame. This is commonly referred to as “ temporal redundancy. ” A compression technique commonly referred to as “ motion compensation ” is employed to exploit temporal redundancy. If content in a frame is closely related to that of another (reference) frame, it is possible to accurately represent, or predict, the content of the frame using the reference frame. The frames are partitioned into blocks of pixels (e.g., a macroblock of 16 × 16 pixels). The movement of a block that, apart from being moved to a different position, is not otherwise transformed significantly from a corresponding block in the reference frame, can be represented using a motion vector. For example, a motion vector of (3,4) can mean that the block has moved three pixels to the lef

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 (80)

PatentTitleYearCitations

Non-Patent Literature (10)

  • U.S. Appl. No. 17/898,496 Office Action dated Feb. 3, 2023.
  • U.S. Appl. No. 16/442,581 Office Action dated May 3, 2022.
  • U.S. Appl. No. 16/291,023 Office Action dated May 27, 2022.
  • U.S. Appl. No. 17/095,765 Office Action dated Jun. 9, 2022.
  • De Rivaz et al.,
  • “
  • AV1 Bitstream
  • &
  • Decoding Process Specification
  • ”