DASH Media Packaging SDK
|
Class to parse a vp9 bit stream. More...
#include <vp9_parser.h>
Public Member Functions | |
bool | Parse (const uint8_t *data, size_t data_size, std::vector< VPxFrameInfo > *vpx_frames) override |
Public Member Functions inherited from shaka::media::VPxParser | |
const VPCodecConfigurationRecord & | codec_config () const |
Static Public Member Functions | |
static bool | IsKeyframe (const uint8_t *data, size_t data_size) |
Additional Inherited Members | |
Protected Member Functions inherited from shaka::media::VPxParser | |
VPCodecConfigurationRecord * | writable_codec_config () |
Class to parse a vp9 bit stream.
Definition at line 20 of file vp9_parser.h.
|
static |
A convenient utility function to check whether the frame is a keyframe. Note that this function does not do a full parse of the frame header, so should be more efficient than Parse().
data_size | Size of the sample in bytes. |
Definition at line 535 of file vp9_parser.cc.
|
overridevirtual |
Parse data with size data_size.
data_size | Size of the sample in bytes. Note that it should be a full sample. | |
[out] | vpx_frames | points to the list of VPx frames for the current sample on success. Cannot be NULL. |
Implements shaka::media::VPxParser.
Definition at line 418 of file vp9_parser.cc.