Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CHevcSei Class Reference

Parses HEVC SEI messages for supplemental video information. More...

#include <HevcSei.h>

Public Member Functions

 CHevcSei ()=default
 
 ~CHevcSei ()=default
 

Static Public Member Functions

static std::vector< CHevcSeiParseSeiRbsp (const uint8_t *buf, const size_t len)
 
static std::vector< CHevcSeiParseSeiRbspUnclearedEmulation (const uint8_t *inData, const size_t inDataLen, std::vector< uint8_t > &buf)
 
static std::optional< const CHevcSei * > FindHdr10PlusSeiMessage (const std::vector< uint8_t > &buf, const std::vector< CHevcSei > &messages)
 
static std::pair< bool, const std::vector< uint8_t > > RemoveHdr10PlusFromSeiNalu (const uint8_t *inData, const size_t inDataLen)
 

Public Attributes

uint8_t m_payloadType {0}
 
size_t m_payloadSize {0}
 
size_t m_msgOffset {0}
 
size_t m_payloadOffset {0}
 

Detailed Description

Parses HEVC SEI messages for supplemental video information.

The CHevcSei class is used to interpret and handle Supplemental Enhancement Information (SEI) messages found in High Efficiency Video Coding (HEVC) bitstreams. It is particularly useful for extracting HDR10+ metadata and other types of supplemental data from HEVC encoded video streams.

Note
This class deals with SEI messages in HEVC streams and does not process the video content itself.

Constructor & Destructor Documentation

◆ CHevcSei()

CHevcSei::CHevcSei ( )
default

◆ ~CHevcSei()

CHevcSei::~CHevcSei ( )
default

Member Function Documentation

◆ FindHdr10PlusSeiMessage()

std::optional< const CHevcSei * > CHevcSei::FindHdr10PlusSeiMessage ( const std::vector< uint8_t > & buf,
const std::vector< CHevcSei > & messages )
static

◆ ParseSeiRbsp()

std::vector< CHevcSei > CHevcSei::ParseSeiRbsp ( const uint8_t * buf,
const size_t len )
static

◆ ParseSeiRbspUnclearedEmulation()

std::vector< CHevcSei > CHevcSei::ParseSeiRbspUnclearedEmulation ( const uint8_t * inData,
const size_t inDataLen,
std::vector< uint8_t > & buf )
static

◆ RemoveHdr10PlusFromSeiNalu()

std::pair< bool, const std::vector< uint8_t > > CHevcSei::RemoveHdr10PlusFromSeiNalu ( const uint8_t * inData,
const size_t inDataLen )
static

Member Data Documentation

◆ m_msgOffset

size_t CHevcSei::m_msgOffset {0}

◆ m_payloadOffset

size_t CHevcSei::m_payloadOffset {0}

◆ m_payloadSize

size_t CHevcSei::m_payloadSize {0}

◆ m_payloadType

uint8_t CHevcSei::m_payloadType {0}

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