h264-pps-parser
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

H.264 PPS Parser

PPS Parser provides a parser for H.264 Picture Sequence Parameter Sets. The package exports a single function, along with associated data type definitions:

function parse(nalu: Uint8Array, spss: Map<number, SPSInfo>): SPSInfo;

The input must be a single complete Network Access Layer unit (NALU) containing valid PPS data, along with a map from SPS (Sequence Parameter Set) IDs to SPSInfo data structures, which is used to retrieve the appropriate chroma_format_idc field to control PPS parsing. These structures can be acquired from the h264-sps-parser package, on which this package depends.

Package Sidebar

Install

npm i h264-pps-parser

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

23.4 kB

Total Files

10

Last publish

Collaborators

  • gliese1337