Low branch-mispredict technique for MPEG run length encoding
Abstract
A technique to provide low branch-mispredict for MPEG run length encoding. Packed data instructions are used to reorder data when loading into registers. A bitmask is then created to identify zero and non-zero values. An index is generated from the bitmask and locations of the non-zero values are determined. Subsequently, the run-length of the zeros are calculated to encode the data for output based on one of the MPEG standards.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 27.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method comprising: executing packed data instructions to transfer data to a register; creating a bitmask for the data in the register, the bitmask identifying which data elements are to correspond to a first index value and which data elements correspond to a second index value; indexing the data using the bitmask to locate a position of each of the first index value or the second index value; selecting the data based on the indexing.
- Claim 2Depends on #1
The method of claim 1 wherein creating the bitmask includes selecting a boundary range around a reference value, in which data elements within the boundary are treated as zero values and data elements outside of the boundary are treated as non-zero values, and in which a corresponding first or second index value is assigned in the bitmask for each data element.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 27 total)
References Cited — Backward Prior Art (2)
Non-Patent Literature (1)
- Mangione-Smith, William H., Subword extensions for video processing on mobile systems, IEEE Concurrency, Jul.-Sep. 1998, pp. 13-16.