Shaka Packager SDK
Classes | Public Member Functions | List of all members
shaka::media::AV1Parser Class Reference

#include <av1_parser.h>

Classes

struct  Tile
 

Public Member Functions

virtual bool Parse (const uint8_t *data, size_t data_size, std::vector< Tile > *tiles)
 

Detailed Description

AV1 bitstream parser implemented according to av1 bitstream specification: https://aomediacodec.github.io/av1-spec/.

Definition at line 21 of file av1_parser.h.

Member Function Documentation

◆ Parse()

bool shaka::media::AV1Parser::Parse ( const uint8_t *  data,
size_t  data_size,
std::vector< Tile > *  tiles 
)
virtual

Parse an AV1 sample. Note that the sample data SHALL be a sequence of OBUs forming a Temporal Unit, with each OBU SHALL follow the open_bitstream_unit Low Overhead Bitstream Format syntax. See https://aomediacodec.github.io/av1-isobmff/#sampleformat for details.

Parameters
[out]onsuccess, tiles will be filled with the tile information if data contains Frame OBU or TileGroup OBU; It will be empty otherwise.
Returns
true on success, false otherwise.

Definition at line 258 of file av1_parser.cc.


The documentation for this class was generated from the following files: