webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
webrtc::H264BitstreamParser Class Reference

#include <h264_bitstream_parser.h>

Public Types

enum  Result {
  kOk, kInvalidStream, kUnsupportedStream, kOk,
  kInvalidStream, kUnsupportedStream
}
 
enum  Result {
  kOk, kInvalidStream, kUnsupportedStream, kOk,
  kInvalidStream, kUnsupportedStream
}
 

Public Member Functions

 H264BitstreamParser ()
 
virtual ~H264BitstreamParser ()
 
void ParseBitstream (const uint8_t *bitstream, size_t length)
 
bool GetLastSliceQp (int *qp) const
 
 H264BitstreamParser ()
 
virtual ~H264BitstreamParser ()
 
void ParseBitstream (const uint8_t *bitstream, size_t length)
 
bool GetLastSliceQp (int *qp) const
 

Protected Member Functions

void ParseSlice (const uint8_t *slice, size_t length)
 
Result ParseNonParameterSetNalu (const uint8_t *source, size_t source_length, uint8_t nalu_type)
 
void ParseSlice (const uint8_t *slice, size_t length)
 
Result ParseNonParameterSetNalu (const uint8_t *source, size_t source_length, uint8_t nalu_type)
 

Protected Attributes

rtc::Optional< SpsParser::SpsStatesps_
 
rtc::Optional< PpsParser::PpsStatepps_
 
rtc::Optional< int32_tlast_slice_qp_delta_
 

Member Enumeration Documentation

◆ Result [1/2]

Enumerator
kOk 
kInvalidStream 
kUnsupportedStream 
kOk 
kInvalidStream 
kUnsupportedStream 

◆ Result [2/2]

Enumerator
kOk 
kInvalidStream 
kUnsupportedStream 
kOk 
kInvalidStream 
kUnsupportedStream 

Constructor & Destructor Documentation

◆ H264BitstreamParser() [1/2]

webrtc::H264BitstreamParser::H264BitstreamParser ( )

◆ ~H264BitstreamParser() [1/2]

webrtc::H264BitstreamParser::~H264BitstreamParser ( )
virtual

◆ H264BitstreamParser() [2/2]

webrtc::H264BitstreamParser::H264BitstreamParser ( )

◆ ~H264BitstreamParser() [2/2]

virtual webrtc::H264BitstreamParser::~H264BitstreamParser ( )
virtual

Member Function Documentation

◆ GetLastSliceQp() [1/2]

bool webrtc::H264BitstreamParser::GetLastSliceQp ( int *  qp) const

◆ GetLastSliceQp() [2/2]

bool webrtc::H264BitstreamParser::GetLastSliceQp ( int *  qp) const

◆ ParseBitstream() [1/2]

void webrtc::H264BitstreamParser::ParseBitstream ( const uint8_t bitstream,
size_t  length 
)

◆ ParseBitstream() [2/2]

void webrtc::H264BitstreamParser::ParseBitstream ( const uint8_t bitstream,
size_t  length 
)

◆ ParseNonParameterSetNalu() [1/2]

H264BitstreamParser::Result webrtc::H264BitstreamParser::ParseNonParameterSetNalu ( const uint8_t source,
size_t  source_length,
uint8_t  nalu_type 
)
protected

◆ ParseNonParameterSetNalu() [2/2]

Result webrtc::H264BitstreamParser::ParseNonParameterSetNalu ( const uint8_t source,
size_t  source_length,
uint8_t  nalu_type 
)
protected

◆ ParseSlice() [1/2]

void webrtc::H264BitstreamParser::ParseSlice ( const uint8_t slice,
size_t  length 
)
protected

◆ ParseSlice() [2/2]

void webrtc::H264BitstreamParser::ParseSlice ( const uint8_t slice,
size_t  length 
)
protected

Member Data Documentation

◆ last_slice_qp_delta_

rtc::Optional< int32_t > webrtc::H264BitstreamParser::last_slice_qp_delta_
protected

◆ pps_

rtc::Optional< PpsParser::PpsState > webrtc::H264BitstreamParser::pps_
protected

◆ sps_

rtc::Optional< SpsParser::SpsState > webrtc::H264BitstreamParser::sps_
protected

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