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

#include <DVDDemuxSPU.h>

Public Member Functions

 CDVDDemuxSPU ()
 
 ~CDVDDemuxSPU ()
 
std::shared_ptr< CDVDOverlaySpuAddData (uint8_t *data, int iSize, double pts)
 
std::shared_ptr< CDVDOverlaySpuParseRLE (std::shared_ptr< CDVDOverlaySpu > pSPU, uint8_t *pUnparsedData)
 
void Reset ()
 
void FlushCurrentPacket ()
 

Static Public Member Functions

static void FindSubtitleColor (int last_color, int stats[4], CDVDOverlaySpu &pSPU)
 
static bool CanDisplayWithAlphas (const int a[4], const int stats[4])
 

Public Attributes

uint8_t m_clut [16][3]
 
bool m_bHasClut
 

Protected Member Functions

std::shared_ptr< CDVDOverlaySpuParsePacket (SPUData *pSPUData)
 

Protected Attributes

SPUData m_spuData
 

Constructor & Destructor Documentation

◆ CDVDDemuxSPU()

CDVDDemuxSPU::CDVDDemuxSPU ( )

◆ ~CDVDDemuxSPU()

CDVDDemuxSPU::~CDVDDemuxSPU ( )

Member Function Documentation

◆ AddData()

std::shared_ptr< CDVDOverlaySpu > CDVDDemuxSPU::AddData ( uint8_t * data,
int iSize,
double pts )

◆ CanDisplayWithAlphas()

bool CDVDDemuxSPU::CanDisplayWithAlphas ( const int a[4],
const int stats[4] )
static

◆ FindSubtitleColor()

void CDVDDemuxSPU::FindSubtitleColor ( int last_color,
int stats[4],
CDVDOverlaySpu & pSPU )
static

◆ FlushCurrentPacket()

void CDVDDemuxSPU::FlushCurrentPacket ( )

◆ ParsePacket()

std::shared_ptr< CDVDOverlaySpu > CDVDDemuxSPU::ParsePacket ( SPUData * pSPUData)
protected

◆ ParseRLE()

std::shared_ptr< CDVDOverlaySpu > CDVDDemuxSPU::ParseRLE ( std::shared_ptr< CDVDOverlaySpu > pSPU,
uint8_t * pUnparsedData )

◆ Reset()

void CDVDDemuxSPU::Reset ( )

Member Data Documentation

◆ m_bHasClut

bool CDVDDemuxSPU::m_bHasClut

◆ m_clut

uint8_t CDVDDemuxSPU::m_clut[16][3]

◆ m_spuData

SPUData CDVDDemuxSPU::m_spuData
protected

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