ADTF Qt5
Loading...
Searching...
No Matches
adtf::ui::widget Namespace Reference

Namespace for all provided widget functionality helper. More...

Classes

class  cVideoWidget
 
class  cXmlTextWidget
 cXmlTextWidget can display XML using a syntax highlighter. More...
 

Functions

tResult get_qimage_format (const adtf::streaming::tStreamImageFormat &sFormat, QImage::Format &eImageFormat, bool &bNeedRgbSwap)
 
tResult sample_to_qimage (const adtf::streaming::tStreamImageFormat &sFormat, const adtf::streaming::ISample &pSample, QImage &oImage)
 

Detailed Description

Namespace for all provided widget functionality helper.

Function Documentation

◆ get_qimage_format()

tResult adtf::ui::widget::osborn::get_qimage_format ( const adtf::streaming::tStreamImageFormat & sFormat,
QImage::Format & eImageFormat,
bool & bNeedRgbSwap )

Helper to convert adtf image format to qimage format

Parameters
sFormatThe adtf image format
eImageFormatThe resulting qimage format
bNeedRgbSwaptrue if rgb swap is needed
Returns
Standard Result Code

◆ sample_to_qimage()

tResult adtf::ui::widget::osborn::sample_to_qimage ( const adtf::streaming::tStreamImageFormat & sFormat,
const adtf::streaming::ISample & pSample,
QImage & oImage )

Helper to convert adtf sample buffer content to qimage

Parameters
sFormatThe adtf image format
pSampleThe adtf sample
oImageThe resulting qimage
Returns
Standard Result Code