DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
List of all members
shaka::media::H264ByteToUnitStreamConverter Class Reference

#include <h264_byte_to_unit_stream_converter.h>

Inheritance diagram for shaka::media::H264ByteToUnitStreamConverter:
shaka::media::H26xByteToUnitStreamConverter

Public Member Functions

H26xByteToUnitStreamConverter implementation override.
bool GetDecoderConfigurationRecord (std::vector< uint8_t > *decoder_config) const override
 
- Public Member Functions inherited from shaka::media::H26xByteToUnitStreamConverter
 H26xByteToUnitStreamConverter (Nalu::CodecType type)
 
bool ConvertByteStreamToNalUnitStream (const uint8_t *input_frame, size_t input_frame_size, std::vector< uint8_t > *output_frame)
 

Additional Inherited Members

- Static Public Attributes inherited from shaka::media::H26xByteToUnitStreamConverter
static const size_t kUnitStreamNaluLengthSize = 4
 

Detailed Description

Class which converts H.264 byte streams (as specified in ISO/IEC 14496-10 Annex B) into H.264 NAL unit streams (as specified in ISO/IEC 14496-15).

Definition at line 22 of file h264_byte_to_unit_stream_converter.h.

Member Function Documentation

bool shaka::media::H264ByteToUnitStreamConverter::GetDecoderConfigurationRecord ( std::vector< uint8_t > *  decoder_config) const
overridevirtual

Creates either an AVCDecoderConfigurationRecord or a HEVCDecoderConfigurationRecord from the units extracted from the byte stream.

Parameters
decoder_configis a pointer to a vector, which on successful return will contain the computed record.
Returns
true if successful, or false otherwise.

Implements shaka::media::H26xByteToUnitStreamConverter.

Definition at line 22 of file h264_byte_to_unit_stream_converter.cc.


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