Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
COMXImageDec Class Reference

#include <OMXImage.h>

Public Member Functions

 COMXImageDec ()
 
virtual ~COMXImageDec ()
 
void Close ()
 
bool Decode (const uint8_t *data, unsigned size, unsigned int width, unsigned int height, unsigned stride, void *pixels)
 
unsigned int GetDecodedWidth ()
 
unsigned int GetDecodedHeight ()
 
unsigned int GetDecodedStride ()
 

Protected Member Functions

bool HandlePortSettingChange (unsigned int resize_width, unsigned int resize_height, unsigned int resize_stride)
 

Protected Attributes

COMXCoreComponent m_omx_decoder
 
COMXCoreComponent m_omx_resize
 
COMXCoreTunnel m_omx_tunnel_decode
 
OMX_BUFFERHEADERTYPE * m_decoded_buffer
 
OMX_PARAM_PORTDEFINITIONTYPE m_decoded_format
 
CCriticalSection m_OMXSection
 
bool m_success
 

Constructor & Destructor Documentation

§ COMXImageDec()

COMXImageDec::COMXImageDec ( )

§ ~COMXImageDec()

COMXImageDec::~COMXImageDec ( )
virtual

Member Function Documentation

§ Close()

void COMXImageDec::Close ( )

§ Decode()

bool COMXImageDec::Decode ( const uint8_t data,
unsigned  size,
unsigned int  width,
unsigned int  height,
unsigned  stride,
void pixels 
)

§ GetDecodedHeight()

unsigned int COMXImageDec::GetDecodedHeight ( )
inline

§ GetDecodedStride()

unsigned int COMXImageDec::GetDecodedStride ( )
inline

§ GetDecodedWidth()

unsigned int COMXImageDec::GetDecodedWidth ( )
inline

§ HandlePortSettingChange()

bool COMXImageDec::HandlePortSettingChange ( unsigned int  resize_width,
unsigned int  resize_height,
unsigned int  resize_stride 
)
protected

Member Data Documentation

§ m_decoded_buffer

OMX_BUFFERHEADERTYPE* COMXImageDec::m_decoded_buffer
protected

§ m_decoded_format

OMX_PARAM_PORTDEFINITIONTYPE COMXImageDec::m_decoded_format
protected

§ m_omx_decoder

COMXCoreComponent COMXImageDec::m_omx_decoder
protected

§ m_omx_resize

COMXCoreComponent COMXImageDec::m_omx_resize
protected

§ m_omx_tunnel_decode

COMXCoreTunnel COMXImageDec::m_omx_tunnel_decode
protected

§ m_OMXSection

CCriticalSection COMXImageDec::m_OMXSection
protected

§ m_success

bool COMXImageDec::m_success
protected

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